Jump to content

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


Guest glossywhite

Recommended Posts

Guest tilal6991
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
[/code]

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

why are you trying to baksmali qcnvitems?

Link to comment
Share on other sites

Guest glossywhite

why are you trying to baksmali qcnvitems?

To then pack it into a .dex, which I then dex2jar, which is what I import in Eclipse!

NOTE:

I am using qcnvitems.odex and qcrilhook.odex from the ORANGE /system/framewor, now that I am back on the ORANGE firmware for testing.

Edited by glossywhite
Link to comment
Share on other sites

Guest tilal6991

To then pack it into a .dex, which I then dex2jar, which is what I import in Eclipse!

NOTE:

I am using qcnvitems.odex and qcrilhook.odex from the ORA /system/framewor, now that I am back on the ORANGE firmware for testing.

ah I see. You should probably use the HTC Kitchen. It baksmalis stuff really well. Google it. It should be on xDa.

Link to comment
Share on other sites

Guest glossywhite

ah I see. You should probably use the HTC Kitchen. It baksmalis stuff really well. Google it. It should be on xDa.

I sincerely hope I am not the ONLY person sitting here struggling with this. I don't think that is right. Someone else on this forum SHOULD be helping with this!

Link to comment
Share on other sites

Guest glossywhite

Error log from logcat :(

10-20 00:26:43.960: VERBOSE/QC_NV_ITEMS(1340): QcNvItems instance created.

10-20 00:26:43.970: INFO/QC_RIL_OEM_HOOK(1340): QcRilOemHook Service Created Successfully

10-20 00:26:43.970: VERBOSE/QC_NV_ITEMS(1340): getLockCode()

10-20 00:26:43.970: DEBUG/KeyguardViewMediator(151): setHidden false

10-20 00:26:43.970: DEBUG/QC_RIL_OEM_HOOK(1340): mOemIdentifier is QUALCOMM

10-20 00:26:43.970: DEBUG/QC_RIL_OEM_HOOK(1340): requestId is 524289

10-20 00:26:43.970: DEBUG/QC_RIL_OEM_HOOK(1340): requestSize is 4

10-20 00:26:43.970: INFO/QC_RIL_OEM_HOOK(1340): QcRilOemHook Service Created Successfully

10-20 00:26:43.970: VERBOSE/QC_NV_ITEMS(1340): getLockCode()

10-20 00:26:43.970: DEBUG/QC_RIL_OEM_HOOK(1340): mOemIdentifier is QUALCOMM

10-20 00:26:43.970: DEBUG/KeyguardViewMediator(151): setHidden false

10-20 00:26:43.970: DEBUG/PowerManagerService(151): setScreenBrightnessOverride -1

10-20 00:26:43.970: DEBUG/PowerManagerService(151): setButtonBrightnessOverride -1

10-20 00:26:43.970: DEBUG/QC_RIL_OEM_HOOK(1340): requestId is 524289

10-20 00:26:43.970: DEBUG/QC_RIL_OEM_HOOK(1340): requestSize is 4

10-20 00:26:43.970: VERBOSE/QC_RIL_OEM_HOOK(1340): sendQcRilOemHookMsg: Outgoing Data is 5155414c434f4d4d010008000400000052000000

10-20 00:26:43.980: VERBOSE/QC_RIL_OEM_HOOK(1340): sendQcRilOemHookMsg: Outgoing Data is 5155414c434f4d4d010008000400000052000000

[b]10-20 00:26:43.980: WARN/QC_NV_ITEMS(1340): doNvRead() Failed : com.android.internal.telephony.CommandException: GENERIC_FAILURE

10-20 00:26:43.980: WARN/System.err(1340): com.android.internal.telephony.CommandException: GENERIC_FAILURE

10-20 00:26:43.980: WARN/System.err(1340): 	at com.android.qualcomm.qcrilhook.QcRilHook.sendRilOemHookMsg(QcRilHook.java:215)

10-20 00:26:43.980: WARN/System.err(1340): 	at com.android.qualcomm.qcrilhook.QcRilHook.sendQcRilHookMsg(QcRilHook.java:322)

10-20 00:26:43.980: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.doNvRead(QcNvItems.java:109)

10-20 00:26:43.980: WARN/QC_NV_ITEMS(1340): doNvRead() Failed : com.android.internal.telephony.CommandException: GENERIC_FAILURE

10-20 00:26:43.980: WARN/System.err(1340): com.android.internal.telephony.CommandException: GENERIC_FAILURE

10-20 00:26:43.980: WARN/System.err(1340): 	at com.android.qualcomm.qcrilhook.QcRilHook.sendRilOemHookMsg(QcRilHook.java:215)

10-20 00:26:43.980: WARN/System.err(1340): 	at com.android.qualcomm.qcrilhook.QcRilHook.sendQcRilHookMsg(QcRilHook.java:322)

10-20 00:26:43.980: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.doNvRead(QcNvItems.java:109)

10-20 00:26:43.990: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.getLockCode(QcNvItems.java:768)

10-20 00:26:43.990: WARN/System.err(1340): 	at com.hope.it.hopeunlocks.onCreate(hopeunlocks.java:19)

10-20 00:26:43.990: WARN/System.err(1340): 	at [/b]android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

10-20 00:26:43.990: DEBUG/KeyguardViewMediator(151): setHidden false

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1709)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1761)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread.access$1500(ActivityThread.java:124)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:947)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.os.Handler.dispatchMessage(Handler.java:99)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.os.Looper.loop(Looper.java:130)

10-20 00:26:43.990: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.getLockCode(QcNvItems.java:768)

10-20 00:26:43.990: WARN/System.err(1340): 	at com.hope.it.hopeunlocks.onCreate(hopeunlocks.java:19)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

10-20 00:26:43.990: DEBUG/KeyguardViewMediator(151): setHidden false

10-20 00:26:43.990: DEBUG/PowerManagerService(151): setScreenBrightnessOverride -1

10-20 00:26:43.990: DEBUG/PowerManagerService(151): setButtonBrightnessOverride -1

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1709)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1761)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread.access$1500(ActivityThread.java:124)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:947)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.os.Handler.dispatchMessage(Handler.java:99)

10-20 00:26:43.990: WARN/System.err(1340): 	at android.os.Looper.loop(Looper.java:130)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.main(ActivityThread.java:3822)

10-20 00:26:44.000: WARN/System.err(1340): 	at java.lang.reflect.Method.invokeNative(Native Method)

10-20 00:26:44.000: WARN/System.err(1340): 	at java.lang.reflect.Method.invoke(Method.java:507)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

10-20 00:26:44.000: WARN/System.err(1340): 	at dalvik.system.NativeStart.main(Native Method)

10-20 00:26:44.000: WARN/System.err(1340): java.io.IOException

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.doNvRead(QcNvItems.java:113)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.getLockCode(QcNvItems.java:768)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.hope.it.hopeunlocks.onCreate(hopeunlocks.java:19)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1709)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1761)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.access$1500(ActivityThread.java:124)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:947)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.os.Handler.dispatchMessage(Handler.java:99)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.os.Looper.loop(Looper.java:130)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.main(ActivityThread.java:3822)

10-20 00:26:44.000: DEBUG/KeyguardViewMediator(151): setHidden false

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.main(ActivityThread.java:3822)

10-20 00:26:44.000: WARN/System.err(1340): 	at java.lang.reflect.Method.invokeNative(Native Method)

10-20 00:26:44.000: WARN/System.err(1340): 	at java.lang.reflect.Method.invoke(Method.java:507)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

10-20 00:26:44.000: WARN/System.err(1340): 	at dalvik.system.NativeStart.main(Native Method)

10-20 00:26:44.000: WARN/System.err(1340): java.io.IOException

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.doNvRead(QcNvItems.java:113)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.android.qualcomm.qcnvitems.QcNvItems.getLockCode(QcNvItems.java:768)

10-20 00:26:44.000: WARN/System.err(1340): 	at com.hope.it.hopeunlocks.onCreate(hopeunlocks.java:19)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1709)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1761)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.access$1500(ActivityThread.java:124)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:947)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.os.Handler.dispatchMessage(Handler.java:99)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.os.Looper.loop(Looper.java:130)

10-20 00:26:44.000: WARN/System.err(1340): 	at android.app.ActivityThread.main(ActivityThread.java:3822)

10-20 00:26:44.000: DEBUG/KeyguardViewMediator(151): setHidden false

10-20 00:26:44.010: WARN/System.err(1340): 	at java.lang.reflect.Method.invokeNative(Native Method)

10-20 00:26:44.010: WARN/System.err(1340): 	at java.lang.reflect.Method.invoke(Method.java:507)

10-20 00:26:44.010: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

10-20 00:26:44.010: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

10-20 00:26:44.010: WARN/System.err(1340): 	at dalvik.system.NativeStart.main(Native Method)

10-20 00:26:44.010: DEBUG/PowerManagerService(151): setScreenBrightnessOverride -1

10-20 00:26:44.010: DEBUG/PowerManagerService(151): setButtonBrightnessOverride -1

10-20 00:26:44.010: WARN/System.err(1340): 	at java.lang.reflect.Method.invokeNative(Native Method)

10-20 00:26:44.010: WARN/System.err(1340): 	at java.lang.reflect.Method.invoke(Method.java:507)

10-20 00:26:44.010: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)

10-20 00:26:44.010: WARN/System.err(1340): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

10-20 00:26:44.010: WARN/System.err(1340): 	at dalvik.system.NativeStart.main(Native Method)

I give up, for tonight! Anyone got any ideas what half of this means?

Edited by glossywhite
Link to comment
Share on other sites

Guest gitf@ce

I sincerely hope I am not the ONLY person sitting here struggling with this. I don't think that is right. Someone else on this forum SHOULD be helping with this!

I suspect the problem is all the devs involved with the Blade are happy sticking with it, and don't see the Skate as much of an upgrade. Their eyes must be better than mine that's for sure! Paul (site owner) appears to have thrown the Skate out of the window, as he has not visited this forum (without prompting) or updated his rom for ages.

Maybe now the price has dropped things may change with Christmas just around the corner. Things are tight out there and this is the cheapest 4.3 phone by some margin.

Full respect to you though for having a go and keeping the unlocking issue alive... thanks!

Link to comment
Share on other sites

Guest gregorv

Glossywhite.

I will help but I don't have this skills.

If you unlock it, you should be awarded with few gbp or euros :) (paypal donate...)

Kind regards.

Link to comment
Share on other sites

Guest tilal6991

Glossy

.if you look at the Smali output when you disassemble qcrilhook.odex and look at the line the first line of the error is referring to you see that the error is sent regardless of whether ther is an error or not.

Link to comment
Share on other sites

Glossywhite.

I will help but I don't have this skills.

If you unlock it, you should be awarded with few gbp or euros :) (paypal donate...)

Kind regards.

Same here and I agree with the donation, btw...if the unlock code is located where you think its located, won't it be easier to delete that part of the memory on the phone?...or is that not possible? I was just thinking the turbosim must bypass this or similar as it obviously doesn't delete it.

Link to comment
Share on other sites

Guest Blueton

I sincerely hope I am not the ONLY person sitting here struggling with this. I don't think that is right. Someone else on this forum SHOULD be helping with this!

Glossy

I dont have the skills for this but have put up a challenge in the blade forum to see if any Devs will have a look and give us a hand

http://android.modaco.com/topic/347624-devs-challenge/

It might help. Good luck with the work

Link to comment
Share on other sites

Guest glossywhite

Glossy

.if you look at the Smali output when you disassemble qcrilhook.odex and look at the line the first line of the error is referring to you see that the error is sent regardless of whether ther is an error or not.

I fixed that error, but thanks.

Link to comment
Share on other sites

Guest glossywhite

WARNING TO THOSE WRITING TO NVITEMS AND POTENTIALLY BRICKING THEIR PHONE(S):

One simple piece of advice, learned through doing the same and bricking my OMC...

Don't bother. Be patient, and wait for a proper unlock solution, unless you enjoy £120-160 paperweights. You're human, you get tired, and mistakes can be made (oh believe me!). I'm done with attempting to unlock my OMC; I'll let someone else with better experience, resources and funding, take that risk. Until the solution is out, I'm happy to wait.

Just my advice.

Edited by glossywhite
Link to comment
Share on other sites

Guest glossywhite

i would not go there... you can get a max of 5 year in jail for changing IMIE numbers..... sad.gif

I agree. Don't bother, even for the sake of your phone, but mainly for the sake of your freedom!

[uPDATE ON MY OMC]

Received new OMC today. CWM & BlueMonte installed flawlessly. My last unit must have been the odd one out :)

Edited by glossywhite
Link to comment
Share on other sites

Guest philmein

might as well pay orange there £20 to unlock ( i resent giving them anything but there payg plans are crap) 2 weeks for unlock bought 09/08/11 unlock time 09/11/11smile.gif giffgaff will get my custom back or maybe a imobile sim vodafone network

Edited by philmein
Link to comment
Share on other sites

Guest achromic

Same for me, really need to unlock the phone. Get it working on 3, then switch to Giffgaff when the contract is up

Sent from my ZTE-BLADE using Tapatalk

Link to comment
Share on other sites

Guest glossywhite

Yeah. I didn't even mean to do it. I flashed the wrong nvitems and it must have accidentally changed the imei. I realised when orange blocked it what I had done wrong. it was an accident but if you do it on purpose then it would be a problem.

I think you're a little naive to be publishing the fact that you did this, on a public forum.

Link to comment
Share on other sites

How do Orange block the phone?...if it gets blocked when you put in an Orange sim card then...I was thinking you could put in another sim and then input the unlock code and then Orange will have no idea about it, I guess it doesn't work that way or someone would have figured it by now.

Edited by Navie
Link to comment
Share on other sites

Guest tilal6991

How do Orange block the phone?...if it gets blocked when you put in an Orange sim card then...I was thinking you could put in another sim and then input the unlock code and then Orange will have no idea about it, I guess it doesn't work that way or someone would have figured it by now.

nope. Essentially it asks for an unlock code regardless of the sim. So you're stuck.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.