Trying to Root my first G1. Having some wierd issues.
Been searching the net for 2 days with no working solution.
Successfully downgraded to RC29, it says so in the settings.
Then working with freshly FAT32 formatted SDCARDs (of sizes 4gb, 1gb and 1/2gb), I attempted these two methods:
Method 1:
Clockwork's Telnet installed
From home screen i punch in <enter><enter>telnetd<enter>
Launch Telnet, connect to localhost:23
Telnet displays: ??[]??[]?? ??[]?? #
From there I type (with no errors): mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
## is now displayed. I CD into sdcard, LS the contents to confirm I'm there. Seems normal.
then...
## flash_image recovery cm-recovery-1.4.img
which returns this:
mtd: erase failure at 0x00000000 (I/O error)
mtd: erase failure at 0x00000000 (I/O error)
mtd: skipping write block at 0x00000000 <-----pauses here for a second, then again...
mtd: erase failure at 0x00000000 (I/O error)
mtd: erase failure at 0x00000000 (I/O error)
mtd: skipping write block at 0x00000000
##
Method 2:
Recovery Flasher 1.1.3 installed (Previous versions of this APK come up as unsuccessful installations)
Note, the "Download Recovery Image" button is grayed from the begining.
I type the path/name of the recovery image on the sdcard (Tried both CM's image and RA's image)
The button changes from "Download Recovery Image" to "Flash Recovery Image" as soon as I finish typing the path.
However... The button remains gray and disabled. No explanation is given.
Also as a side note (in case it is relevant), when I hit Backup Recovery Image I get "working do not interrupt", then "Backup FAILED: Image is invalid.
This is all going a little outta my league and is getting real frustrating haha. Any help is reeaaally appreciated.
Bump. I can't be the only one with this problem, anyone?
Don't use the mount command when you telnet in. I haven't seen that on a rooting guide before, and it's definitely not part of Cyanogen's instructions.
As soon as you've opened the telnet connection, cd into the sdcard and run the flash_image command.
There's a link to Cyanogen's installation instructions in his ROM thread. Everything is explicitly spelled out, and easy to follow.
Okay, i did try and search this but seems like nobody asked or its buried under a lot of threads. I thought I saw somebody how to fix it also but cant find it. Anyways, im trying to root my phone but i get after the unrevoked part where i type in:
# Flash_image recovery /sdcard/recovery.img
I typed it in right and i get a lot of out of memory.
Any help from this point?
Thx
to be more specific I get this error after typing in
# Flash_image recovery /sdcard/recovery.img
then i get this
mtd: read error at 0x00000000 (out of memory)
it repeats it and the 0x00000000 changes to different numbers and letters.
Nvm i restarted my phone then tried again and it fixed the prob.
Hi, every time i try to use the recovery to flash anything i get an error "E: can't read MISC: No space left on device"
this pops up even when i enter recovery mode. I am a beginner at this and am trying to figure things out but i cant even get anything flashed. i followed the instructions to get root access and flashed Amon Ra recovery but i booted back into recovery just now and its the default recovery. have no clue whats going on, any advice?
more specifically, i tried to flash the radio 2.22.23.02 and it goes thru the update, says to reboot but says the E: cant read error. when i fast boot to check it is still the stock radio
thats cause when you root a g1 you are supposed to flash the generic g1 rooted rom to keep root look it up in the forms
thanks, i took your advice and flashed a rooted version of RC33. however i still get the E: cant read MISC error. i will try again to get everything working since i have a rooted rom now.
still cant get anything to flash, now the recovery wont even show what is on the sd card when i select flash zip from sd.
i have read numerous threads on the subject and the only success in fixing this is to flash a working misc.img file, however i cant find any and i dont have a backup because the phone was like this when i got it
heres recovery log
Starting recovery on Fri Sep 3 06:58:08 2010
framebuffer: fd 4 (320 x 480)
Build : RA-dream-v1.7.0
mtd: ECC errors (0 soft, 1 hard) at 0x00000000
mtd: ECC errors (0 soft, 1 hard) at 0x00020000
E:Can't read MISC:
(No space left on device)
Fixing execute permissions for /cache
mtd: ECC errors (0 soft, 1 hard) at 0x00000000
mtd: ECC errors (0 soft, 1 hard) at 0x00020000
E:Can't read MISC:
(No space left on device)
Command: "/sbin/recovery"
ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
ro.build.id=CUPCAKE
ro.build.display.id=CUPCAKE.eng.shade.20090601.011513
ro.build.version.incremental=eng.shade.20090601.011513
ro.build.version.sdk=3
ro.build.version.release=1.5
ro.build.date=Mon Jun 1 01:46:59 EDT 2009
ro.build.date.utc=1243835219
ro.build.type=user
ro.build.user=shade
ro.build.host=toxygene
ro.build.tags=ota-rel-keys,test-keys
ro.product.model=Android Dev Phone 1
ro.product.brand=android-devphone1
ro.product.name=htc_dream
ro.product.device=dream
ro.product.board=trout
ro.product.manufacturer=htc
ro.product.locale.language=
ro.product.locale.region=
ro.board.platform=msm7k
ro.build.product=dream
ro.build.description=htc_dream-user 1.5 CUPCAKE eng.shade.20090601.011513 test-keys
ro.build.fingerprint=generic/htc_dream/dream/trout:1.5/CUPCAKE/eng.shade.20090601.011513:user/test-keys
rild.libpath=/system/lib/libhtc_ril.so
wifi.interface=tiwlan0
ro.config.notification_sound=F1_New_SMS.ogg
ro.config.sync=yes
net.bt.name=Android
net.change=net.bt.name
da
lvik.vm.stack-trace-file=/data/anr/traces.txt
ro.modversion=RA-dream-v1.7.0
ro.factorytest=0
ro.serialno=HT98WGZ00999
ro.bootmode=recovery
ro.baseband=1.22.12.29
ro.carrier=TMUS
ro.bootloader=~t
ro.hardware=trout
ro.revision=128
init.svc.dmesg=stopped
init.svc.recovery=running
init.svc.adbd=running
mtd: ECC errors (0 soft, 1 hard) at 0x00000000
mtd: ECC errors (0 soft, 1 hard) at 0x00020000
E:Can't read MISC:
(No space left on device)
mtd: ECC errors (0 soft, 1 hard) at 0x00000000
mtd: ECC errors (0 soft, 1 hard) at 0x00020000
E:Can't read MISC:
(No space left on device)
Move recovery.log to SD
Press HOME to confirm,
any other key to abort.
Moving : .
Click to expand...
Click to collapse
i dont understand why it wont let me update the radio??? i can downgrade to RC29, upgrade to RC33, install whatever recovery i want (although they give me the cant read MISC error) but i cannot upgrade the radio
Hi,
I got a rogers dream and i tried several ways to root it, but i cannot so far:
1. follow wiki guide, but i cannot got into recovery mode by holding Home key while power on the phone, it hangs on at rogers screen.
2. try goldcard. cannot update, showing Model ID incorrect, failed. i am not sure it is because my card or something else.
3. i tried flashrc(?), it failed updating img.
4. i tried telnet. remote refused.
if you succeed rooting a rogers dream 1.33.0010, please tell me how.
thanks,
Follow this guide
http://wiki.cyanogenmod.com/index.php?title=Full_Update_Guide_-_Rogers_Dream_911_Patched
thanks for your swift reply. that is the wiki i followed, but when i tried to install DangerSPL, i cannot go into recovery by holding HOME while power on the phone. it hangs at Rogers screen.
i checked radio and it is correct version. should i flash radio still?
any suggestion?
thanks,
Well you certainly need recovery..
The original steps for that process are here: http://forum.xda-developers.com/wiki/index.php?title=Rooting_HTC_Branded_EBI1_Dreams
(as cm wiki sometimes is organized more for maintenance by people who don't use a rogers dream than being user friendly.. and they removed the link to the xda thread with all the q&a on the process)
the error however is either you are flashing the wrong recovery; or the flash of the recovery failed. make sure your flashing one of the '-R' ra-recoverys.
best to take it from the top.. if recovery still fails some people have found re-flashing the e911 rom and trying again helped (see 'Returning to Stock Rogers' on the xda wiki page)
still i cannot go into recovery.
can you tell me how long i have to hold HOME key in order to boot into recovery?
i push HOME and POWER together, and then i can only see ROGERS. it probably stays there forever.
one thing i cannot follow wiki before is LONG HOLD POWER TO TURN OFF PHONE.
thanks,
JaydenCanada said:
still i cannot go into recovery.
can you tell me how long i have to hold HOME key in order to boot into recovery?
i push HOME and POWER together, and then i can only see ROGERS. it probably stays there forever.
one thing i cannot follow wiki before is LONG HOLD POWER TO TURN OFF PHONE.
thanks,
Click to expand...
Click to collapse
If you can boot normally but not recovery (ie you are stuck on the rogers logo and it never changes when you boot holding down home) their is a problem with the recovery you flashed. (We will not move on from this statement unless we find why there is an issue with the recovery or that the incorrect recovery was flashed)
As for long press power or end on the phone that is how you get the shutdown menu in the rogers and other roms.. so I'm not sure what is wrong if that is failing outside user error.
I need you to do the following if you want help:
1) flash (as per the restore stock rogers rom on the xda wiki) the e911 patched rogers nbh file
2) making sure you document every command you run and saving the console output to a text file run the e911 rooting process as per xda wiki
3) if you can't boot recovery post said output here.. however first check it with the sample output
thanks for your patience.
when i say long press power button cannot power off the phone, i mean i cannot turn off the phone by only press it, i have to go through two more windows, one is power down options and another is confirmation.
i will follow the instructions again to see what happen. do you suggest any recovery image? or something else i can do ?
thanks
wait what. power down options?
I don't remember power down options on the stock rom
Sleeepy2 said:
wait what. power down options?
I don't remember power down options on the stock rom
Click to expand...
Click to collapse
Certainly had power off and airplane mode.. probably reboot as well but I forget.
JaydenCanada said:
i will follow the instructions again to see what happen. do you suggest any recovery image? or something else i can do ?
thanks
Click to expand...
Click to collapse
The recovery image with the md5 sum in the instructions is what most people use.
after i run exploid, i can see three files: hotplug, loading, and sim_lock_status were generated, as well rootshell in /system/bin.
i tried to go into recovery, but i cannot, because it hangs on ROGERS screen forever. i have to pull battery out to reboot. then i checked /sqlite_stmt_journals, exploid, loading, hotplug and sim_lock_status were all gone. there were two files there: screen_lock_status and pattern_lock_status.
i don't have sim card in the phone, can it cause the problem?
BTW: i even followed "how to root Droid" to install exploid, using chmod 755 and turn on/off wifi after running exploid.
any suggestion? thanks,
Please don't follow the droidx instructions, and follow the Rogers root instructions.. the root exploit is the same but the hardware and goal is different.
many others hard successfully rooted and some q/a on the process is in this thread: http://forum.xda-developers.com/showthread.php?p=7306638#post7306638
You have not given the console output to your attempt so as I said earlier I have no additional recommendations than what I have already provided as we do not know what recovery you flashed.
i am very new to this thing. does "console out" mean the screen captures? i will supply tomorrow.
i had tried different recovery image, the results are same. could you send me a known working image for rogers dream?
[email protected]
thanks
please kindly have a look. thanks.
the output shows in the following:
D:\MyDocs\JD\android\adb_1.0.26>adb push spl-signed.zip /sdcard/1_33_2005_spl.zi
p
452 KB/s (0 bytes in 188246.000s)
D:\MyDocs\JD\android\adb_1.0.26>adb push recovery-RA-dream-v1.7.0R-cyan.img /dat
a/local
1159 KB/s (0 bytes in 4712448.003s)
D:\MyDocs\JD\android\adb_1.0.26>adb push exploid /sqlite_stmt_journals
372 KB/s (0 bytes in 11917.000s)
D:\MyDocs\JD\android\adb_1.0.26>adb shell chmod 777 /sqlite_stmt_journals/exploi
d
D:\MyDocs\JD\android\adb_1.0.26>adb shell /sqlite_stmt_journals/exploid
[*] Android local root exploid (C) The Android Exploid Crew
[*] Modified by birdman for the DroidX
[+] Using basedir=/sqlite_stmt_journals, path=/sqlite_stmt_journals/exploid
[+] opening NETLINK_KOBJECT_UEVENT socket
[+] sending add message ...
[*] Try to invoke hotplug now, clicking at the wireless
[*] settings, plugin USB key etc.
[*] You succeeded if you find /system/bin/rootshell.
[*] GUI might hang/restart meanwhile so be patient.
D:\MyDocs\JD\android\adb_1.0.26>adb shell
$ rootshell
rootshell
Password (echoed):secretlol
secretlol
# chmod 666 /dev/mtd/mtd1
chmod 666 /dev/mtd/mtd1
# exit
exit
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
mtd: write error at 0x00120000 (I/O error)
mtd: verification error at 0x00120000 (I/O error)
mtd: write error at 0x00120000 (I/O error)
mtd: verification error at 0x00120000 (I/O error)
mtd: skipping write block at 0x00120000
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
$ exit
exit
D:\MyDocs\JD\android\adb_1.0.26>
this is files under /dev/mtd:
does it have something to do with the "skipping writing"?
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
mtd: write error at 0x00120000 (I/O error)
mtd: verification error at 0x00120000 (I/O error)
mtd: write error at 0x00120000 (I/O error)
mtd: verification error at 0x00120000 (I/O error)
mtd: skipping write block at 0x00120000
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
JaydenCanada said:
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
mtd: write error at 0x00120000 (I/O error)
mtd: verification error at 0x00120000 (I/O error)
mtd: write error at 0x00120000 (I/O error)
mtd: verification error at 0x00120000 (I/O error)
mtd: skipping write block at 0x00120000
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
Click to expand...
Click to collapse
See now we know the error .. well that there was an error anyway.
I'm used to a memory error not the io error. Usually when flash_image fails it skips the block and writes the data in the next block.. if all is well the block is flagged bad and the spl booting the recovery does the same.. seems not all is well in your case.
Before going too crazy. . Lets see if we can make it work.
1) restore the rogers nbh
2) try to boot recovery (hopefully) you will enter stock recovery with the /!\ image.. alt+L will show a short list of options, you may reboot to the rogers rom.. if it fails to boot make a note to inform me in your next reply and reboot into the rogers Tom
3) try the root process again with the 1.6.2R recovery
Amon_RA said:
recovery-RA-dream-v1.6.2R.img (Click here to download from a Mirror) - MD5Sum: b9db12cdd9a1e42b3187425e89c5fbe5
Click to expand...
Click to collapse
3b) if it works you can use fastboot to flash 1.7.0 after installing the 1.33.2005 spl.. I think 1.7.0 will work then..
Report back if it works great. . If not things are a bit more complex. . Particular if the stock recovery also fails.
when you said "rogers nbh", do you mean Bootscreen.nbh?
can i use this: http://forum.xda-developers.com/showthread.php?t=341753
sorry, i am new to this.
really appreciate
JaydenCanada said:
when you said "rogers nbh", do you mean Bootscreen.nbh?
can i use this: http://forum.xda-developers.com/showthread.php?t=341753
sorry, i am new to this.
really appreciate
Click to expand...
Click to collapse
No I mean this: http://forum.xda-developers.com/wik...Branded_EBI1_Dreams#Returning_to_Stock_Rogers
i restore rogers nbh. and i can go into recovery mode. after press alt-L, it shows:
android system recovery utility
there are three options:
reboot system now
apply sdcard:update.zip
wipe date/factory reset
but on the bottom there is warning:
E:Can't open /cache/recovery/command
what i supposed to do next?
thanks,
i tried to go through the instruction. but rootshell won't be generated after run exploid. i can see exploid had run, but in /system/bin there is no rootshell.
i tried
IMMEDIATELY after executing the next step, toggle wifi or bluetooth off and back on
Run "./exploid" and follow directions on screen. Once this completes you'll be back at a shell prompt.
Click to expand...
Click to collapse
rootshell generated. but still i have this:
$ flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
flash_image recovery /data/local/recovery-RA-dream-v1.7.0R-cyan.img
mtd: erase failure at 0x00120000 (I/O error)
mtd: erase failure at 0x00120000 (I/O error)
mtd: skipping write block at 0x00120000
it seemed there is something preventing writing to that block.
thanks