adb pull command for the secondary partition? - Galaxy S I9000 General

hi all,
i'm trying to pull files off my phone before sending it in for repair/replacement. does anyone know the adb pull command to pull stuff off the secondary partition? i was able to back up the entire file system which i believe is all on the primary partition but i don't know how to pull files off the secondary partition. please help! thanks

Related

Hero's Kryptonite?

I tried to flash the Hero rom by partitioning my stock micro sd (the 1 that came with the phone)
...yeah i know it says not recommended but my 16gb card is being mailed and i couldnt wait.
anyway...now it will show the boot image and play the sound and then it will just be a black screen and wont go any further.
would i able to salvage this when my 16 gig card comes somehow?
could i flash back to an older rom? is the app_s folder in the ext partition going to interfere with that at all?
Please help!!!
Unbelievable
CC CEO said:
I tried to flash the Hero rom by partitioning my stock micro sd (the 1 that came with the phone)
...yeah i know it says not recommended but my 16gb card is being mailed and i couldnt wait.
anyway...now it will show the boot image and play the sound and then it will just be a black screen and wont go any further.
would i able to salvage this when my 16 gig card comes somehow?
could i flash back to an older rom? is the app_s folder in the ext partition going to interfere with that at all?
Please help!!!
Click to expand...
Click to collapse
i would recommend to go back to your backup (you did do a backup right?)
just flash the data, system, and boot .img files back
since you're doing Hero im guessing you have the newer SPL
you might run into a roadblock trying to fastboot so if you cant get the fastboot to work then boot into recovery mode and then go into a command prompt and run the following:
adb shell
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
Click to expand...
Click to collapse
this will let you access your memory card
get the HardSPL from here
copy it into your card as "update.zip"
now apply the update with ALT+S
after its done you can reboot back into the bootloader with ALT+X and typing
reboot bootloader
Click to expand...
Click to collapse
now you should be able to flash you backups like usual
nope didnt make a backup...i know..
but...
i was able to format my sdcard back to its original state and i flashed google ion back on the phone. question is are there any lingering affects to the phone itself? in setting up the ext2 or anything on the stock card might i have pushed or pulled something i shouldnt have from the internal storage if i didnt create a backup??
if so. how would i fix this?
if you Alt+W'd the phone there wont be any lingering effects,,,, its wiped and wont bother you no sunder!
I was having the same problem as you, as I too am only using the stock 1gb sdhc that came w/ the g1.
just did searching on here and I got it up n running.
I'm thinking maybe you did like me and pushed the /app_s/ folder while the SD was mounted to your pc, this is what I am guessing was my issue.
I've come to that conclusion since I've done the push w/o mounting the SD
Also I found that I had to be in the app_s folder on my computer to push it right, at first I was pushing it and it was going into /system/sd/app_s/app_s
Here's Haykuro's original instruction's
Installation:
1. Download http://www.droiddeveloper.com/hrbuilds/app_s.zip
2. extract "app_s" into your sdcard's ext2 partition.
3. Download http://www.droiddeveloper.com/hrbuilds/hero-signed.zip
4. Place on regular sd card.
5. Reboot into recovery, wipe and flash.
6. Enjoy.
--
for step 2... make sure you are in the actual app_s folder when you do the following command and make sure the sd card is NOT mounted.
adb push app_s /system/sd/app_s
--
follow the rest of the instruction's as stated and you should be fine.
now, to get it running smoother...
follow the tutorial here...
http://forum.xda-developers.com/showthread.php?t=521251
also within the thread there's tip's on moving the Rosie.apk along w/ widget's to internal memory, I just focused on the larger widget's, the largest being the weather one.
hope this help's.
just one noob tryna help another noob out ;-)
please help
When i am doing the update.. i am getting this error.. .
E: Can't chown/mod /system/xbin (not such file or dir)
E: Failure at line 12: set_perm_recursive 0 2000 0755 06755 SYSTEM:xbin
installation aborted."
please help!!

Making emulator's system.img persistent

Hi, I'm wondering how to make the system.img used by the emulator persistent across reboots. From `emulator -help-disk-images`:
It will also use the following writable image files:
userdata-qemu.img the persistent data partition image
system-qemu.img an *optional* persistent system image
cache.img an *optional* cache partition image
sdcard.img an *optional* SD Card partition image
Click to expand...
Click to collapse
I tried to copy the stock system.img as system-qemu.img to the directory of my avd but it didn't work. What am I doing wrong?
If this cannot be done, modifying the system.img and use that in the current non-persistent way would be ok too.
Thanks
Anyone? Thanks

Fastest way to pull system files to pc?

What would the best way to pull all my system files so I can start messing with them be?
Connect to computer via disk drive and then adb pull /system?
Tar the whole partition with cvjpf to preserve permissions and put the tar on your SD.
Evostance said:
What would the best way to pull all my system files so I can start messing with them be?
Connect to computer via disk drive and then adb pull /system?
Click to expand...
Click to collapse
working on the exact same thing hahaha lol but it should be in general
sfjuocekr said:
Tar the whole partition with cvjpf to preserve permissions and put the tar on your SD.
Click to expand...
Click to collapse
thats a good way too
i've mounted the system.img
mount -o loop -t ext3 system.img /tmp and you can put /what ever directory you want instead of temp if you want.
i got the system.img from an official ruu and its rom.zip
got quiet a lot to do tonight
Moved to General

Unable to write to ums lunfile (No such file or directory)

Hi every:
Recently and I don't know why my sdcard leave working as usual. I try to mount from recovery and get this message:
E:Unable to write to ums lunfile (No such file or directory)
Click to expand...
Click to collapse
So I don't know how to solve it. I try to read the SD in another phone and it reads OK without problem so SD isn't the problem, also I did format from Windows as FAT32 but still having the same problem, any help on this? It's possible it's a SW problem or it's HW problem? I'm freaking out
I have the same problem.
any solution?
I got the same problem, but I noticed my s off was now on too, I have the files to turn it back on from UNREVOKED through CWM or even flash back to stock image but I'm concerned this may brick my device as I'm not the most experienced user, any tips,knowledge or warnings before I try would be appreciated.
I'm having the same issue trying to reload my recovery mostly trying to get into recovery to instally my gummy rom. I cannot access my sd card via cwm 3.0.0.8 on my droid charge gummy charged 2.1 rom. Please help!
Ok, finally and after a deep, long, tedious Google search I found a solution, at least for me works and for now my memory and my phone are OK. Here is the steps:
1. If you have any recovery rename it to recovery.img and copy to the folder where you have fastboot.
2. Extract your SD and run this command:
Code:
fastboot.exe -c board_sapphire.disable_sdcard=0 boot recovery.img
3. Insert SD again
4. Run this command from adb shell
Code:
#mount /sdcard
Run as many times you need in order to get SD mounted.
This works for me so good lock for every of you that have the same problem as me in the past

What's app database recovery.

can anyone help me please i need to retrieve msgstore.db.crypt7 from my internal memory i have rooted my phone and have omega custom rom.i accidentally deleted the whole folder using es file explorer what's app only retrieves the message back 7 days ago and i need to go back further more,i have tried undelete and digger disk both dont find the internal memory i have tried several applications but wont find my phone i have enabled usb debug mode still wont find my phone i have heard recuva works but sgs5 doesnt have usb mass storage but on my pc windows 7 it shows portable device so i can see my internal and external but not through programs can anyone help me please?
bump any help please?
If you did the smart thing i.e. turned your phone off immediately after you deleted the file, you should be able to recover it. But if you kept mucking around (in addition to not having a backup of your phone), all bets are off. You may well have overwritten the database if you continued to use the phone.
Your best bet would be to copy the area of phone memory where the database is or was. That both preserves a copy of what is recoverable and lets you avail yourself of the large number of PC based data recovery programs available.
The following terminal (CLI) commands should image (make an exact copy) of the /data and /system partitions to your external SD card. Then use a PC based data recovery program to recover the deleted file. Check these commands for typos before executing them. A typo could make a real mess of your phone's file system.
$ su
# dd if=/dev/block/mmcblk0p25 of=/extSdCard/data.img
# dd if=/dev/block/mmcblk0p23 of=/extSdCard/system.img
.
fffft said:
If you did the smart thing i.e. turned your phone off immediately after you deleted the file, you should be able to recover it. But if you kept mucking around (in addition to not having a backup of your phone), all bets are off. You may well have overwritten the database if you continued to use the phone.
Your best bet would be to copy the area of phone memory where the database is or was. That both preserves a copy of what is recoverable and lets you avail yourself of the large number of PC based data recovery programs available.
The following terminal (CLI) commands should image (make an exact copy) of the /data and /system partitions to your external SD card. Then use a PC based data recovery program to recover the deleted file. Check these commands for typos before executing them. A typo could make a real mess of your phone's file system.
$ su
# dd if=/dev/block/mmcblk0p25 of=/extSdCard/data.img
# dd if=/dev/block/mmcblk0p23 of=/extSdCard/system.img
.
Click to expand...
Click to collapse
Thanks i've tried every recovery software for android but it's not detecting any of the internal memory as sgs5 does not have usb mass storage i have enabled usb debug settings i have the samsung usb drivers but it shows up on my windows 7 as a portable device.
do you recommend any decent software or tutorial's which might help me recover it.
Thanks for your help!
xxmcvapourxx said:
i've tried every recovery software for android but it's not detecting any of the internal memory as sgs5 does not have usb mass storage
Click to expand...
Click to collapse
You didn't follow any part of what I suggested, so it's a mystery why you quoted my post. I specifically advocated using PC based data recovery software, not an android app. And at no time would you need your S5 to be in MSC (mass storage) mode.
Use the posted commands to copy your memory contents to a SD card, plug the SD card into a PC and then use a PC based data recovery app. The commands can be entered from a terminal emulator app, TWRP or an ADB shell session CLI.
Good luck
.

Categories

Resources