[INFO] Backup the pds partition of your Atrix!

XCellPhoneSalesRep

Senior Member
Oct 31, 2010
1,007
291
0
40
The Joisey Shore, Nu Joisey
goo.gl
Could someone please tell me what is wrong :confused:

I'm getting "cannot open for read: Permission denied"


Thanks in advance!

Code:
c:\>cd android-sdk

c:\android-sdk>cd platform-tools

c:\android-sdk\platform-tools>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ su
su
Permission denied
$ dd if=/dev/block/mmcblk0p3 of=/sdcard/pds.img
dd if=/dev/block/mmcblk0p3 of=/sdcard/pds.img
/dev/block/mmcblk0p3: cannot open for read: Permission denied
$ su
su
dd if=/dev/block/mmcblk0p3 of=/sdcard/pds.img
dd if=/dev/block/mmcblk0p3 of=/sdcard/pds.img
Permission denied
$ /dev/block/mmcblk0p3: cannot open for read: Permission denied
$
 

katinatez

Senior Member
Mar 17, 2011
2,884
18,746
203
What about CWM4?

I just unlocked bootloader, installed Tenfars CWM4. And under backups there is an option to (Backup & Restore PDS) has anyone tried this option yet seems more easier? My second question is any glitches while running this command in CWM4?
 

ericjackson

Senior Member
Mar 10, 2011
77
4
0
hmm, thinking either you aren't rooted or you're not granting superuser permissions on the phone when you enter SU?
+1 this was my issue, i unlocked the phone and did the su command again and my phone prompted me to grant it permission. then after that it worked. your $ should then change to a # when you enter su
 

bennyboie

Member
Apr 17, 2006
17
0
0
Hey there, got a quick q... so I did the backup as stated, and the adb interface seemed to go just like everyone elses has. I have since updated to GB leaked ATT (Ken's), and changed out to Faux's Kernel. Now, when I try to use ADB, something weird happens:

I type in "adb shell", and it takes me immediately to the "#" instead of the "$" as before. If I type in "su", it just repeats it and the "#" comes up again. What does this mean? Does this mean that I am granted SU access automatically when I access my phone through ADB Shell?
 

specialk0324

Senior Member
Aug 17, 2010
121
1
0
Pittsburgh
Hey there, got a quick q... so I did the backup as stated, and the adb interface seemed to go just like everyone elses has. I have since updated to GB leaked ATT (Ken's), and changed out to Faux's Kernel. Now, when I try to use ADB, something weird happens:

I type in "adb shell", and it takes me immediately to the "#" instead of the "$" as before. If I type in "su", it just repeats it and the "#" comes up again. What does this mean? Does this mean that I am granted SU access automatically when I access my phone through ADB Shell?

Same boat for me....this worked flawless before I switched to ninja 4.5 speed freak and faux. 0.1.2 kernel ....don't know if that matters or not but thought I'd post it....maybe someone can help
Sent from my MB860 using XDA App
 

djmisi

Member
Oct 29, 2009
40
1
0
Budapest
This should work:

1. Install Android SDK per directions on site.
2. cd $SDK_DIR/platform-tools
3. ./adb shell
4. su
5. dd if=/dev/block/mmcblk0p3 of=/sdcard/pds.img
6. exit
7. exit
8 ./adb pull /sdcard/pds.img ~/
or
8. Remove SD card and plug it into a computer adapter and copy the file off manually.
and how do we push it back, to where it belongs?
Can you tell us the exact commands?
 

rozzco

Senior Member
Mar 4, 2011
381
51
58
This was super easy! Didn't have to go into fastboot mode or anything. Just plugged it in and typed:
adb shell
su
dd if=/dev/block/mmcblk0p3 of=/sdcard-ext/pds.img
exit
exit
 
D

dhf9*&Dh884jdk

Guest
I'm having touchscreen and CPU frequency problems and never backed up my PDS. Is there any way I can get my stock PDS image back (before the problems) so I have my own MAC addresses instead of using the ones included in the pdsfix?