Ok, I'm going to try to keep this brief and to the point. The simple method is this:
1) Put shifty in diag mode.
2) Open QPST's EFS Explorer
3) Create a empty folder off of root called "open sesame door", minus the quotes
4) Reboot phone
5) Put her back in diag mode
6) Open QPST's EFS Explorer again.. You'll notice your NVM directory is now unlocked.
7) Go to the sub dir "NUM" under NVM, and copy files 0, 1 and 1943 to wherever
8) File 0 is your pesn (reversed), file 1 is the checksum for pesn (reversed), and file 1943 is your meid. Attached to this are these files 0'ed out, with proper pesn checksum. Delete the originals off of phone, copy mine in their place, delete open sesame door dir and reboot. PRESTO! Both zero'ed and ready to be repaired.
Any help for someone who has none of those files in the folder? Thanks in advance.
Possibly..
Did you create the folder "open sesame door" off of your phones EFS root? If you did, did you spell sesame correctly? If you did, did you reboot your phone after creating said directory, then checked NVM dir only after rebooting? If the answer is yes to all of the above, then no I probably cannot help you =/
what baseband
what baseband is your shift?
Related
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
studacris said:
Well to begin with you can take an existing zip with the file path you need, delete everything in the folders not touching the META-inf folder at all, those are the install instructions, and put the file you want to flash in the correct folder. I think thats how everyone starts out.
Click to expand...
Click to collapse
but your update-script has to match what you are flashing via cwm. if you take a rom zip and just pop in a few files in place of the whole rom structures, your flash will fail because your update-script is looking for specific structures.
Oxicottin said:
Hello, I have searched everywhere and cant find the answer to my question. I wanted to replace a file using CWM .zip how in the heck do I do that? Most of all I just wanted to learn how to do it as well...
Thanks,
Chad
Click to expand...
Click to collapse
One way would be to use: Update Zip creator/modifier (Requires Windows)
yeah it would be bad mojo if you used a wipe rom zips META INFO to make an update zip.....
Thanks a million everyone......
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
modest_mandroid said:
Sorry for being late to the party again.. Here goes my attempt at an explanation though:
Essentially, a CWM flashable zip is just a zip file with the file system replicated in it. So for example, if you wanted to add swype, and you know Swype.apk would regularly go in /system/app, then you would create a blank folder called 'system', and another folder inside system called 'app', and put your Swype.apk inside that. (/system/app/Swype.apk)
After that, all that's left is to build an update script. So, from your root directory (where your system folder is), you would make another directory called META-INF, with a folder inside called 'com', another one inside that called 'google', and finally one called 'android' inside that (/META-INF/com/google/android), you put a text file in there called 'update-script' that tells recovery what you want to do (in this case, copy swype over to the corresponding directory on the file system).
http://forum.xda-developers.com/showthread.php?t=641223
^There's a guide for how to make those. You can also pick apart any rom you find in the dev section and check out the update script for reference.
After that, it's just a matter of zipping up all the contents in your root directory, then signing the zip with testsign.jar
Click to expand...
Click to collapse
Is there a way from the CWM interface to do the same with a backup you create? I noticed backups are not in the same format, they are usually .img, .tar, and an md5 file?
In Root Explorer, if I try to paste a folder in a situation where it should overwrite the target folder, it is instead placed inside it. For example:
1) create /sdcard/test/
2) copy the new folder
3) paste into /sdcard/
The result should be that one test folder overwrites the other, with no structure change. However, you end up instead with /sdcard/test/test/
If I instead delete "test" before step 3, the pasted test ends up where it should (inside /sdcard/, rather than inside /sdcard/test/). The moral seems to be if you know you are going to overwrite a folder, you must manually delete it first (which makes backup restoration with multiple indentured over-writes problematic).
Try for yourself and see. Am I missing something? Is this a known issue?
I was trying to fix my fota files after reading this guide, http://forum.xda-developers.com/showthread.php?t=1025610 and I was unsure when it said
"Step 9: Navigate to /data/fota and paste the 2 files in this folder"
So at first glance I didn't notice the actual folder, and just deleted a file that I think said, "Fota" and pasted the folders in the /data folder.
Only now after I reread and checked everything did I realize that I did the wrong thing so now I'm wondering if there's anyway I can find a copy of that file and push it back in.
EDIT: Nvm, I was able to fix it by loading up a backup. Ergo..
Okay, let me start off by saying i did not discover this so no props to me. essentally your going to be using QPST EFS File explorer and HEX Editor. Open EFS File explorer and connect >will need your SPC code< then you should have a folder Named "nvm" it should be locked, that is okay. next go to the parent directory "/" right click>new>Directory and type "/open sesame door" i know, i know, sounds dumb but it works. Reboot and reconnect. Your nvm file should be unlocked. Open the "num" folder, then find and copy to your desktop the files named "0" and "1943". Open in win hex and zero them out then save. go back to the location in EFS where you found these files right click in the field copy from PC and do it for both files. WHALA!
Zero meid
bk73w said:
Okay, let me start off by saying i did not discover this so no props to me. essentally your going to be using QPST EFS File explorer and HEX Editor. Open EFS File explorer and connect >will need your SPC code< then you should have a folder Named "nvm" it should be locked, that is okay. next go to the parent directory "/" right click>new>Directory and type "/open sesame door" i know, i know, sounds dumb but it works. Reboot and reconnect. Your nvm file should be unlocked. Open the "num" folder, then find and copy to your desktop the files named "0" and "1943". Open in win hex and zero them out then save. go back to the location in EFS where you found these files right click in the field copy from PC and do it for both files. WHALA!
Click to expand...
Click to collapse
OK, i've unlocked my nvm file, but in the num folder there is no "0" or "1943" on my htc evo 4g.
Is there another file that might have it? there is a "0.prl" in the "nvm" folder but not "num".
thank you.
amscomputerpro said:
OK, i've unlocked my nvm file, but in the num folder there is no "0" or "1943" on my htc evo 4g.
Is there another file that might have it? there is a "0.prl" in the "nvm" folder but not "num".
thank you.
Click to expand...
Click to collapse
What version of qpst u using? Try getting the newest qpst, i had same problem and it worked for me
Try what silver suggested. I would tell you the exact version but I just upgraded my home pc's.
Sent from my SGPT12 using XDA Premium HD app
but this only works with HTC devices, correct?
supermaxkato said:
but this only works with HTC devices, correct?
Click to expand...
Click to collapse
Not quite sure.
Sent from my 831C using XDA Free mobile app
So, like the title suggests, my factoryapp folder is missing, I've used Terminal Emulator to try and fix the factory mode problem but it tells me that it can't find efs/factoryapp, I've done a factory reset but my factoryapp folder's still missing, I didn't backup my efs folder, is there any other way, besides service center, that I can exit factory mode? please i found efs folder in my phone but there is no factoryapp folder my im is normale wifi the same but i have black window with yellew writing in the home screen thanks
LAZREG said:
So, like the title suggests, my factoryapp folder is missing, I've used Terminal Emulator to try and fix the factory mode problem but it tells me that it can't find efs/factoryapp, I've done a factory reset but my factoryapp folder's still missing, I didn't backup my efs folder, is there any other way, besides service center, that I can exit factory mode? please i found efs folder in my phone but there is no factoryapp folder my im is normale wifi the same but i have black window with yellew writing in the home screen thanks
Click to expand...
Click to collapse
Did you enable root permissions first?
Download es file Explorer, enable root for it from within its menu, open up the correct sequence of folders and it should be there. It won't show up if you skip that step.
I wouldn't do it from the terminal.
BadUsername said:
Did you enable root permissions first?
Download es file Explorer, enable root for it from within its menu, open up the correct sequence of folders and it should be there. It won't show up if you skip that step.
I wouldn't do it from the terminal.
Click to expand...
Click to collapse
I'm sure snoop has posted this in at least 3-5 threads. It's getting quite redundant as this issue seems to be more of an issue than usual
From my CM11 S3