View Single Post
  #21 (permalink)  
Old 12-29-2009, 02:57 PM
flipzmode's Avatar
flipzmode
VIP Member
Offline
Threadstarter
 
Join Date: Jan 2009
Posts: 390
Reputation: 2820
flipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIPflipzmode is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [pre-kitchen] 12/28/09-0.1b | fresh pre-kitchen | fixed 'unable to open debug' er

Quote:
Originally Posted by BruceBanner View Post
this is what happens after i tried again after placing 3 files into root of sd card

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Personal\HTC Hero\fresh-pre-kitchen-0.1>
C:\Personal\HTC Hero\fresh-pre-kitchen-0.1>
C:\Personal\HTC Hero\fresh-pre-kitchen-0.1>.\adb\adb-windows shell
$ /data/local/asroot2 /system/bin/sh
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
/data/local/asroot2 /system/bin/sh
/data/local/asroot2: permission denied
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount: Operation not permitted
$ cat /system/bin/sh > /system/bin/su
cat /system/bin/sh > /system/bin/su
cannot create /system/bin/su: read-only file system
$ chmod 4755 /system/bin/su
chmod 4755 /system/bin/su
Unable to chmod /system/bin/su: No such file or directory
$ flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img
flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img
error writing recovery: Permission denied
$ reboot recovery
reboot recovery
C:\Personal\HTC Hero\fresh-pre-kitchen-0.1>

and now on the screen of my hero is has a phone lying down with and exclamation sign to the left of it?????
It booted your phone in to recovery but because the recovery image didn't flash it's just sitting at that screen. Pull the battery from your phone and then turn it back on and it will be fine, no worries.

As for the commands you copy and pasted... the reason it didn't work is because the 1st half of the commands didn't work properly so the "root" utility didn't have the ability to do what it's supposed to do. That's why you see "permission denied" and "Operation not permitted". Can you copy and paste the following file here:

c:\folder-with-kitchen\adb\root-debug.txt
__________________
Fresh Evo: 4.2 (Android 2.3.3) || 3.5.0.1 (Android 2.2)
Fresh Hero: 2.4.0 (Android 2.1) || Fresh Kitchen
CDMA Hero Development & Fresh ROM home: http://GeekFor.Me || Twitter
Reply With Quote
This post has been thanked 1 times.