New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
molson24
Old
#1  
Member - OP
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
Default Unlock Problem: Permission Denied??

I have my device bridged and it says its connected and recognized when I run ADB. When I try to run the Script it says the following:

Failed to copy /efs/nv_data.bin Permission: Denied

*Error Unable to find file <.\nv_data.bin>

Could not find C:\Documents and Settings\1\Desktop\Generate Unlock Windows\nv_data.bin

If anyone could help that would be greatly appreciated.

It is on JFD stock, which I rooted from JF16 using Odin.

I have installed all the drivers as well, and I have it on debug mode.
 
molson24
Old
#2  
Member - OP
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
If I root the phone, will that work?

Also, what are some good programs to copy the EFS folder?

Sorry for all the questions.
 
heygrl
Old
#3  
heygrl's Avatar
Senior Member
Thanks Meter 40
Posts: 1,959
Join Date: Nov 2009
Location: Las Vegassss
I'm fairly certain you have to be rooted
-Samsung Galaxy S III Ceramic/Marble White on T-Mobile
-Samsung Exhibit 4G
-Samsung Vibrant
-Samsung Captivate on T-Mobile
 
molson24
Old
#4  
Member - OP
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
I am rooted as of 10 mins ago.

I tried to unlock it and I still got the same thing.

It says Permission Denied

Anyone have any ideas?
 
molson24
Old
#5  
Member - OP
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
Does anyone know how to get SU permission?

I am trying to pull that nv_data.bin

But it says I do not have permission.
 
firefly6240
Old
#6  
firefly6240's Avatar
Senior Member
Thanks Meter 24
Posts: 430
Join Date: Jan 2010
Location: Kingwood
Quote:
Originally Posted by molson24 View Post
Does anyone know how to get SU permission?

I am trying to pull that nv_data.bin

But it says I do not have permission.
in Terminal?
type:
su
(and hit enter)
before the command that needs superuser permission.
Carrier: T-Mobile
Phone: Samsung Vibrant (MT3G used for development purposes)
Rom: Macnut R13 With The R13 Kernel
Recovery: ClockworkMod Recovery
SD: 2GB stock class 4 card, 16GB Internal Memory
 
firefly6240
Old
#7  
firefly6240's Avatar
Senior Member
Thanks Meter 24
Posts: 430
Join Date: Jan 2010
Location: Kingwood
Also you probably would be better off just pulling the whole efs folder.
Carrier: T-Mobile
Phone: Samsung Vibrant (MT3G used for development purposes)
Rom: Macnut R13 With The R13 Kernel
Recovery: ClockworkMod Recovery
SD: 2GB stock class 4 card, 16GB Internal Memory
 
firefly6240
Old
#8  
firefly6240's Avatar
Senior Member
Thanks Meter 24
Posts: 430
Join Date: Jan 2010
Location: Kingwood
Quote:
Originally Posted by molson24 View Post
I have my device bridged and it says its connected and recognized when I run ADB. When I try to run the Script it says the following:

Failed to copy /efs/nv_data.bin Permission: Denied

*Error Unable to find file <.\nv_data.bin>

Could not find C:\Documents and Settings\1\Desktop\Generate Unlock Windows\nv_data.bin

If anyone could help that would be greatly appreciated.

It is on JFD stock, which I rooted from JF16 using Odin.

I have installed all the drivers as well, and I have it on debug mode.
for permission denied try this:

open terminal emulator on your phone (download it from the market if you dont have it yet)
or you can type "adb shell" without quotations into the dos prompt and do it from there.
and type:

su
chmod 777 /efs/nv_data.bin
exit
exit

then in the dos prompt try:
adb pull /efs

or if you just want nv_data.bin:

adb pull /efs/nv_data.bin

if you need further help, this was written for the 19000 but it should help you anyways.
http://www.communityhosting.net/sgsunlock/i9000.html
Carrier: T-Mobile
Phone: Samsung Vibrant (MT3G used for development purposes)
Rom: Macnut R13 With The R13 Kernel
Recovery: ClockworkMod Recovery
SD: 2GB stock class 4 card, 16GB Internal Memory
The Following User Says Thank You to firefly6240 For This Useful Post: [ Click to Expand ]
 
jmcghee1973
Old
#9  
jmcghee1973's Avatar
Senior Member
Thanks Meter 95
Posts: 582
Join Date: Oct 2010
Location: Chillicothe, Ohio
You need to copy your nv_data.bin from your phone to your pc

You should see a folder made in the repair_nv_data folder like this Sauverarde_efs_apres_reparation

Move your nv_data.bin there along with nv_data.binvierge and repairation_nv_data.jar and Step2 and Step 4

Run Step 2 again and then Step 4 after its done creating the new nv_data.bin

I can't remember but I think you have to delete nv_data.md5 and a few others from your phone first
 
molson24
Old
#10  
Member - OP
Thanks Meter 0
Posts: 42
Join Date: Nov 2010
Thanks for the help boys!

The phone is now unlocked, it took the whole night, but I finally got it.

Ended up using this method here

http ://www.communityhosting.net/sgsunlock/

Worked fine, but theres alot of steps you have to follow, so it just takes time.

The reason I was having problems with the SU permission, was because the phone screen always shuts off after a few seconds or w/e and I never saw the pop up asking to accept the SU Permission. lol


XDA PORTAL POSTS

Responses From Ubuntu Pouring Into Ubuntu Touch Q&A Thread

Ubuntu has become the most successful *nix distribution for a number of reasons, … more

Heimdall Suite 1.4.0 Released

The release version of Heimdall Suite 1.4.0 is now available after an epic wait. You may remember hearing about … more

A Guide to Paid Work on XDA-Developers

For the longest time, XDA has been a bastion, a pillar in the world of development. This is … more