Guest nrdz Posted January 20, 2010 Report Posted January 20, 2010 hi all Before i post my question I would like to say what a great forum and community this is, ex iPhone user , HTC Hero is simply awesome, so powerfull in its own way compared to a jailbroken iphone. Any way, im trying to do a nandroid +ext backup using amron backup but keep getting Error: run 'nandroid-mobile.sh' via adb!. I have flashed the latest htc rom rooted from modaco link, and want to upgrage to modaco custom mod, but before i do i want to backup (is it nescessary even before going to modaco custom rom?). I have run wiped SDext/Data factory/Davica cache, repaired sd ext, partation sd to swap 32, ext 512 and rest fat, the card has plenty free space, I have also from adb ran tune2fs -E test_fs /dev/block/mmcblk0p2 from this thread but no luck, http://android.modaco.com/content/htc-hero...s/#entry1153024 I have pasted the sd error log below for your expertise. any ideas is appreciated? Starting recovery on Wed Jan 20 13:10:15 2010 can't open /dev/tty0: No such file or directory framebuffer: fd 3 (320 x 480) Build : RA-hero-v1.5.2 Fixing execute permissions for /cache I:Set boot command "boot-recovery" Command: "/sbin/recovery" ro.secure=0 ro.allow.mock.location=0 ro.debuggable=0 persist.service.adb.enable=1 ro.ril.ecc.HTC-WWE=999 ro.build.id=CUPCAKE ro.build.display.id=CUPCAKE.eng.u70000.20090827.103405 ro.build.version.incremental=eng.u70000.20090827.103405 ro.build.version.sdk=3 ro.build.version.release=1.5 ro.build.date=Thu Aug 27 10:35:04 CST 2009 ro.build.date.utc=1251340504 ro.build.type=user ro.build.user=u70000 ro.build.host=Android-X02 ro.build.tags=test-keys ro.product.model=HTC Hero ro.product.brand=htc_wwe ro.product.name=htc_hero ro.product.device=hero ro.product.board=hero ro.product.manufacturer=HTC ro.product.locale.language= ro.product.locale.region= ro.board.platform=msm7k ro.build.product=hero ro.build.description=2.73.405.5 146733 CL#61267 release-keys ro.build.changelist=61267 ro.product.ua= ro.build.fingerprint=htc_wwe/htc_hero/hero/hero:1.5/2.73.405.5/61267:user/test-keys keyguard.no_require_sim=1 rild.libpath=/system/lib/libhtc_ril.so ro.ril.hep=1 wifi.interface=tiwlan0 ro.ril.htcmaskw1.bitmask=4294967295 ro.ril.htcmaskw1=14449 ro.ril.hsupa.category=5 wifi.supplicant_scan_interval=45 ro.sf.lcd_density=160 ro.com.google.locationfeatures=1 persist.service.mount.playsnd=0 settings.display.autobacklight=1 settings.display.brightness=102 ro.ril.def.agps.mode=2 ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html ro.com.google.networklocation=1 ro.config.ringtone=Innovation.mp3 ro.config.notification_sound=Color.mp3 ro.config.alarm_sound=Light.mp3 ro.config.cal_notification=Vector.mp3 ro.config.msg_notification=Ascend.mp3 ro.setupwizard.mode=DISABLED ro.com.google.clientidbase=android-htc ro.config.sync=yes net.bt.name=Android net.change=net.bt.name dalvik.vm.stack-trace-file=/data/anr/traces.txt ro.modversion=RA-hero-v1.5.2 ro.factorytest=0 ro.serialno=HT97NL906495 ro.bootmode=recovery_manual ro.baseband=6.35.09.26 ro.carrier=HTC-WWE ro.bootloader=1.76.0004 ro.hardware=hero ro.revision=128 ro.cid=HTC__001 init.svc.recovery=running init.svc.adbd=running adb.connected= I:Set boot command "" I:Set boot command "" Create Nandroid + ext backup? Press HOME to confirm, any other key to abort. Performing backup : . nandroid-mobile v2.2.1 Using G1 keyboard, enter a prefix substring and then <CR> or just <CR> to accept default: Accepting default. Using - prefix to create a backup folder mounting system and data read-only, sdcard read-write checking free space on sdcard ..Dumping boot to /sdcard/nandroid/HT97NL906495/BCDEMRS-20100120-1311/boot.img.....done ..Dumping recovery to /sdcard/nandroid/HT97NL906495/BCDEMRS-20100120-1311/recovery.img......done .Dumping misc to /sdcard/nandroid/HT97NL906495/BCDEMRS-20100120-1311/misc.img...done Dumping system to /sdcard/nandroid/HT97NL906495/BCDEMRS-20100120-1311/system.img.............................................................done Dumping data to /sdcard/nandroid/HT97NL906495/BCDEMRS-20100120-1311/data.img...............done Dumping cache to /sdcard/nandroid/HT97NL906495/BCDEMRS-20100120-1311/cache.img....done Storing the ext2(Apps, Dalvik-cache) contents in the backup folder. Warning: --ext2 specified but unable to mount the ext2 partition. Error : Run 'nandroid-mobile.sh' via adb! I:Set boot command "" I:Set boot command "" I:Set boot command "" Move recovery.log to SD Press HOME to confirm, any other key to abort. Moving : .unmounting /system unmounting /sdcard unmounting /data
Guest kendon Posted January 20, 2010 Report Posted January 20, 2010 good work so far, nothing to complain about in your first post :) to find your problem, what does adb shell mount -a say when executed in recovery? and what was the result of the tune2fs command?
Guest nrdz Posted January 20, 2010 Report Posted January 20, 2010 good work so far, nothing to complain about in your first post :) to find your problem, what does adb shell mount -a say when executed in recovery? and what was the result of the tune2fs command? I try my best, thanks in advanced for your help :) / # tune2fs -E test_fs /dev/block/mmcblk0p2 tune2fs -E test_fs /dev/block/mmcblk0p2 tune2fs 1.41.6 (30-May-2009) Setting test filesystem flag / # mount -a mount -a mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or direc tory / # the path /dev/block/mmcblk0p2 exists, but no /system/sd, as failed. hope that helps,
Guest kendon Posted January 21, 2010 Report Posted January 21, 2010 the path /dev/block/mmcblk0p2 exists, but no /system/sd, as failed. strange. the directory exists in mcr roms, try flashing it again. if it still doesn't work try to create the directory by hand in adb shell: adb shell mkdir /system/sd adb shell chown 1000:1000 /system/sd adb shell chmod 771 /system/sd
Guest peetsl Posted February 1, 2010 Report Posted February 1, 2010 hi guys, Im trying to install my first custom rom and am encountering similar problems with the backup stage as the previous poster, so any help would be appreciated. my recovery.log file is as follows Starting recovery on Mon Feb 1 00:15:46 2010 can't open /dev/tty0: No such file or directory framebuffer: fd 3 (320 x 480) Build : RA-hero-v1.5.2 Fixing execute permissions for /cache I:Set boot command "boot-recovery" Command: "/sbin/recovery" ro.secure=0 ro.allow.mock.location=0 ro.debuggable=0 persist.service.adb.enable=1 ro.ril.ecc.HTC-WWE=999 ro.build.id=CUPCAKE ro.build.display.id=CUPCAKE.eng.u70000.20090827.103405 ro.build.version.incremental=eng.u70000.20090827.103405 ro.build.version.sdk=3 ro.build.version.release=1.5 ro.build.date=Thu Aug 27 10:35:04 CST 2009 ro.build.date.utc=1251340504 ro.build.type=user ro.build.user=u70000 ro.build.host=Android-X02 ro.build.tags=test-keys ro.product.model=HTC Hero ro.product.brand=htc_wwe ro.product.name=htc_hero ro.product.device=hero ro.product.board=hero ro.product.manufacturer=HTC ro.product.locale.language= ro.product.locale.region= ro.board.platform=msm7k ro.build.product=hero ro.build.description=2.73.405.5 146733 CL#61267 release-keys ro.build.changelist=61267 ro.product.ua= ro.build.fingerprint=htc_wwe/htc_hero/hero/hero:1.5/2.73.405.5/61267:user/test-keys keyguard.no_require_sim=1 rild.libpath=/system/lib/libhtc_ril.so ro.ril.hep=1 wifi.interface=tiwlan0 ro.ril.htcmaskw1.bitmask=4294967295 ro.ril.htcmaskw1=14449 ro.ril.hsupa.category=5 wifi.supplicant_scan_interval=45 ro.sf.lcd_density=160 ro.com.google.locationfeatures=1 persist.service.mount.playsnd=0 settings.display.autobacklight=1 settings.display.brightness=102 ro.ril.def.agps.mode=2 ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html ro.com.google.networklocation=1 ro.config.ringtone=Innovation.mp3 ro.config.notification_sound=Color.mp3 ro.config.alarm_sound=Light.mp3 ro.config.cal_notification=Vector.mp3 ro.config.msg_notification=Ascend.mp3 ro.setupwizard.mode=DISABLED ro.com.google.clientidbase=android-htc ro.config.sync=yes net.bt.name=Android net.change=net.bt.name dalvik.vm.stack-trace-file=/data/anr/traces.txt ro.modversion=RA-hero-v1.5.2 ro.factorytest=0 ro.serialno=HT9C1L900454 ro.bootmode=recovery_manual ro.baseband=6.35.06.18 ro.carrier=COMMON ro.bootloader=1.76.0007 ro.hardware=hero ro.revision=128 ro.cid=HTC__044 init.svc.recovery=running init.svc.adbd=running I:Set boot command "" I:Set boot command "" Create Nandroid + ext backup? Press HOME to confirm, any other key to abort. Performing backup : . nandroid-mobile v2.2.1 Using G1 keyboard, enter a prefix substring and then <CR> or just <CR> to accept default: Accepting default. Using - prefix to create a backup folder mounting system and data read-only, sdcard read-write checking free space on sdcard ..Dumping boot to /sdcard/nandroid/HT9C1L900454/BCDEMRS-20100201-0015/boot.img.....done ..Dumping recovery to /sdcard/nandroid/HT9C1L900454/BCDEMRS-20100201-0015/recovery.img......done .Dumping misc to /sdcard/nandroid/HT9C1L900454/BCDEMRS-20100201-0015/misc.img...done Dumping system to /sdcard/nandroid/HT9C1L900454/BCDEMRS-20100201-0015/system.img..........................................................done Dumping data to /sdcard/nandroid/HT9C1L900454/BCDEMRS-20100201-0015/data.img................done Dumping cache to /sdcard/nandroid/HT9C1L900454/BCDEMRS-20100201-0015/cache.img....done Storing the ext2(Apps, Dalvik-cache) contents in the backup folder. Warning: --ext2 specified but unable to mount the ext2 partition. Error : Run 'nandroid-mobile.sh' via adb! I:Set boot command "" I:Set boot command "" I:Set boot command "" Move recovery.log to SD Press HOME to confirm, any other key to abort. Moving : .unmounting /system unmounting /sdcard unmounting /data Same as nrdz's when i run the / # tune2fs -E test_fs /dev/block/mmcblk0p2 command i get the following: tune2fs -E test_fs /dev/block/mmcblk0p2 tune2fs 1.41.6 (30-May-2009) tune2fs: No such file or directory while trying to open /dev/block/mmcblk0p2 Couldn't find valid filesystem superblock. and the /# mount -a command: mount -a mount: mounting /dev/block/mmcblk0p2 on /system/sd failed: No such file or directory I have tried flashing again and run into exactly the same problems and have tried making the directories by hand, it'll allow me to make the directory and change ownership of it but if i run the mount -a command again i still get the previous return Sure hope ya's can help me out...........
Guest peetsl Posted February 1, 2010 Report Posted February 1, 2010 Ok - think i may have sorted myself out but jus wanna check. (safety concious me) Since im doing this to my virgin hero, theres basically nothing on the SD card and no ext partition - so i tried doing just the "nand" backup and that worked no bother and the folder is now sitting happily on my pc hard drive. so the big question is will that backup be enough to get me back to a working phone should the worst occur in the next step?? Thanks again
Guest nrdz Posted February 1, 2010 Report Posted February 1, 2010 hey, good to know im not the only one,lol Kendon, sorry for late reply to MY post, adb shell mkdir /system/sd adb shell chown 1000:1000 /system/sd adb shell chmod 771 /system/sd tried this no luck, the directory does exist, tried a reflash, still no luck... to peetsl, nandroid backup works perfectly on mine, just nandroid + ext causes an error, I believe nandroid backup, backs up the rom, where as nandroid + ext included apps to? correct me if im wrong.
Guest deeone Posted February 7, 2010 Report Posted February 7, 2010 @nrdz Nandroid + ext includes your "ext" partition of your sd card in your backup ;)
Guest kendon Posted February 7, 2010 Report Posted February 7, 2010 hi guys, Im trying to install my first custom rom and am encountering similar problems with the backup stage as the previous poster, so any help would be appreciated. ... when i run the / # tune2fs -E test_fs /dev/block/mmcblk0p2 command i get the following: tune2fs -E test_fs /dev/block/mmcblk0p2 tune2fs 1.41.6 (30-May-2009) tune2fs: No such file or directory while trying to open /dev/block/mmcblk0p2 Couldn't find valid filesystem superblock. are you sure you have an ext partition on your sdcard?
Guest kendon Posted February 7, 2010 Report Posted February 7, 2010 hey, good to know im not the only one,lol Kendon, sorry for late reply to MY post, adb shell mkdir /system/sd adb shell chown 1000:1000 /system/sd adb shell chmod 771 /system/sd tried this no luck, the directory does exist, tried a reflash, still no luck... to peetsl, nandroid backup works perfectly on mine, just nandroid + ext causes an error, I believe nandroid backup, backs up the rom, where as nandroid + ext included apps to? correct me if im wrong. try to repartition your sdcard. run the "tune2fs ..." command ONLY if you have created an ext4 partition (or upgraded to ext4)! i suggest to use ext2 btw, don't see the advantages overwhelming, and journaling filesystems aren't good for sdcards.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now