Guest tilal6991 Posted October 19, 2011 Report Posted October 19, 2011 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?
Guest glossywhite Posted October 19, 2011 Report Posted October 19, 2011 (edited) 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 October 19, 2011 by glossywhite
Guest tilal6991 Posted October 19, 2011 Report Posted October 19, 2011 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.
Guest glossywhite Posted October 19, 2011 Report Posted October 19, 2011 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!
Guest tilal6991 Posted October 19, 2011 Report Posted October 19, 2011 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! http://github.com/dsixda/Android-Kitchen/archives/master - there you go. I would help but I can't :(
Guest glossywhite Posted October 19, 2011 Report Posted October 19, 2011 If anyone can reference this: http://code.google.com/p/smali/wiki/DeodexInstructions (bottom part) and then look at this: And tell me what I need to add, to resolve this missing class?
Guest glossywhite Posted October 19, 2011 Report Posted October 19, 2011 (edited) 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 October 20, 2011 by glossywhite
Guest gitf@ce Posted October 20, 2011 Report Posted October 20, 2011 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!
Guest gregorv Posted October 20, 2011 Report Posted October 20, 2011 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.
Guest tilal6991 Posted October 20, 2011 Report Posted October 20, 2011 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.
Guest Navie Posted October 20, 2011 Report Posted October 20, 2011 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.
Guest Blueton Posted October 20, 2011 Report Posted October 20, 2011 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
Guest glossywhite Posted October 20, 2011 Report Posted October 20, 2011 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.
Guest tilal6991 Posted October 20, 2011 Report Posted October 20, 2011 I fixed that error, but thanks. so did it produce an unlock code or another error? And could you please post the apk?
Guest unrandomsam Posted October 26, 2011 Report Posted October 26, 2011 Did anyone try editing the IMEI to one that has a known lock code - putting the code in and then re changing the IMEI
Guest glossywhite Posted October 26, 2011 Report Posted October 26, 2011 (edited) 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 October 26, 2011 by glossywhite
Guest tillaz Posted October 26, 2011 Report Posted October 26, 2011 (edited) removed Edited October 26, 2011 by tillaz
Guest glossywhite Posted October 26, 2011 Report Posted October 26, 2011 (edited) i would not go there... you can get a max of 5 year in jail for changing IMIE numbers..... 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 October 26, 2011 by glossywhite
Guest philmein Posted October 26, 2011 Report Posted October 26, 2011 (edited) 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/11 giffgaff will get my custom back or maybe a imobile sim vodafone network Edited October 26, 2011 by philmein
Guest achromic Posted October 26, 2011 Report Posted October 26, 2011 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
Guest glossywhite Posted October 26, 2011 Report Posted October 26, 2011 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.
Guest Navie Posted October 26, 2011 Report Posted October 26, 2011 (edited) 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 October 26, 2011 by Navie
Guest tilal6991 Posted October 26, 2011 Report Posted October 26, 2011 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now