I had a device stucked in the logo by software problem, i was unable to install the app (memory was not recognized), but i can use ADB, so this solved my problem. so, i started with the installation of right version of CWM.
Even if your android device is stucked in the logo, collect internal info, data backup(full with app and customization) and check filesystems
PREPARATION: Create a backup folder, go to this folder and start CMD
mkdir backup
cd backup (if you have fully installed the adb you can change your actual location)
PART 1: get information
adb pull /proc/partitions .
adb pull /proc/self/mountinfo .
adb shell "ls -la /sbin/*fs* > /tmp/availables_native_filesystem_tools.txt" (To know your filesystems check tools)
adb pull /tmp/availables_native_filesystem_tools.txt
adb shell "ls -la /sbin/*fs* > /tmp/etc_files_properties.txt" (To know your etc/files links, mounts points, usr/grp/other properties "permissions"), fell free to save this info about every important folder )
adb pull /tmp/etc_files_properties.txt
adb pull /etc/vold.fstab (to know your actual internal and external sdcard asignation - some app/FW move everything to external memory so after a recovery this file is crucial or your device keep on bootlopp - caution this files are linux/unix type text, so don't change nor add any format like end line adjust )
adb shell "df -k /dev/block/st* > /tmp/filesystems_info.txt"
PART 2: The most important files to backup (/efs keep info to regenerate IMEI + WIFI MAC + BT MAC)
This part thanks to rotohammer 2010-12-05
adb pull /efs .
adb shell su -c "dd if=/dev/block/bml1 of=/sdcard/boot.bin bs=4096"
adb shell su -c "dd if=/dev/block/bml2 of=/sdcard/pit.pit bs=4096"
adb shell su -c "dd if=/dev/block/stl3 of=/sdcard/efs.rfs bs=4096"
adb shell su -c "dd if=/dev/block/bml4 of=/sdcard/Sbl.bin bs=4096"
adb shell su -c "dd if=/dev/block/stl6 of=/sdcard/param.lfs bs=4096"
adb shell su -c "dd if=/dev/block/bml7 of=/sdcard/zImage bs=4096"
adb shell su -c "dd if=/dev/block/stl9 of=/sdcard/factoryfs.rfs bs=4096"
adb shell su -c "dd if=/dev/block/stl10 of=/sdcard/dbdata.rfs bs=4096"
adb shell su -c "dd if=/dev/block/stl11 of=/sdcard/cache.rfs bs=4096"
adb shell su -c "dd if=/dev/block/bml12 of=/sdcard/modem.bin bs=4096"
adb shell su -c "tar -czvf /sdcard/data.tar.gz /data"
adb pull /sdcard/param.lfs .
adb pull /sdcard/zImage .
adb pull /sdcard/factoryfs.rfs .
adb pull /sdcard/dbdata.rfs .
adb pull /sdcard/cache.rfs .
adb pull /sdcard/modem.bin .
adb pull /sdcard/efs.rfs .
adb pull /sdcard/boot.bin .
adb pull /sdcard/Sbl.bin .
adb pull /sdcard/pit.pit .
adb pull /sdcard/data.tar.gz .
... Feel free to add aditionals filesystems and folders to backup...
Note:
1.-You will be prompted for superuser permissions on the Tabs LCD on every dd command but if you are ROOT with CWM or any permanente root APP, you can get an error so delete the "su -c " parameter...
2.-If you don't have the tar command on your tab, install Busybox Installer from the market.
I just paste the above commands in the my command shell window and when you're done all the files are siting in your current (backup) directory. Thanks to the Source:
https://xdaforums.com/showthread.php?t=850359
PART 3: Check filesystem to fix fs errors (by your own hands):
adb shell "umount /efs"
adb shell "fsck_msdos -pf /dev/block/stl3"
adb shell "umount /cache"
adb shell "fsck_msdos -pf /dev/block/stl11"
adb shell "umount /dbdata"
adb shell "fsck_msdos -pf /dev/block/stl10"
adb shell "umount /data"
adb shell "fsck_msdos -pf /dev/block/stl9"
adb shell "fsck_msdos -pf /dev/block/stl11"
(Of course this is not permited : adb shell "umount /system" because you are there at this time)
PART 4: Use one of this reboot options after every adb restart to keep the filesystems and memory healty...
Only if Wipe+Hardreset is required: adb shell "reboot recovery"
Only if Download is required: adb shell "reboot download"
any other way: adb shell "reboot"
PART 5: Restore (Requires Heindall / Odin / Flash sw).
This part thanks to rotohammer 2010-12-05
First flash the data back:
Code:
adb push data.tar.gz /sdcard/data.tar.gz
adb shell su -c "tar -zxvf /sdcard/data.tar.gz"
adb reboot download
Now flash the dumps with Heimdall:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.rfs --modem modem.bin --cache cache.rfs --dbdata dbdata.rfs --param param.lfs
Of course you could tar the files right n the Tab and flash via Odin if you really want to:
Code:
adb shell
cd /sdcard
tar -cf mybackup.tar cache.rfs dbdata.rfs factoryfs.rfs modem.bin param.lfs zImage
exit
adb pull /sdcard/mybackup.tar .
Disclaimer
This is an individual and personal compilation so, i sincerely hope this extract help someone, sometime, somewhere, but... Myself nor anybody will take responsibility for any actions you take using these instructions or applications. ROM flashing can void your warranty and should be the last option. Please proceed with caution and at your own accord and risk. Flashing will completely erase your device's memory. Make a backup of everything you need, for this objective i present 1 backup option, please use this and any other that you know. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features or actions here included!
I test this solution (till part 4) on my own device but YOU are choosing to make these actions, and if you point the finger at me for messing up your device, sorry I won't cry with you.