yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] rsquigley:
K im abit of a total noob here, I want to root my rogers magic so that i can get the paid apps as well as better keyboard running, and the new HERO rom. however it is TOTAL chinese to me. Is there a step by step instructions from the very start to the very end of everything involved in rooting the rogers magic? Im sure that with that i can just follow instructions and come out the other end with my magic intact. the instructions on the first post here from Amon_RA ( thank you VERY MUCH by the way, U2 Haykuro) seem simple enough, however, is that all i need to do.....some instructions that i have breezed over in other forums for the g1 seem way more involved. man, what i would give to have a step by step youtube video for the rogers magic rooting......say my right testical,,,,,,lol
[myTouch 3G, Magic Android Development] skittleguy:
This is essentially what I posted over on HoFo, so here it is again. Assuming you are running on Windows:

1. Make sure that you have downloaded the latest Android SDK. Put is somewhere accessible, such as C:\Android

2. Grab fastboot.exe and put it in the tools directory of the SDK.

3. Male sure that your computer is configued to use the proper debugging drivers. They should be in the SDK.

4. Grab this update.zip and put it on your SD card.

5. Grab the RAv1.0 Modded Recovey image and put it in the SDK tools directory.

6. Open a command prompt (shift-click in the tools directory and "Open command window here")

7. Making sure that you have everything in place, power down the phone and boot into Recovery Mode (hold the Power and Back keys until the three skating droids appear).

8. Go to the command propmt you opened earlier and type the following

fastboot boot recovery-RAv1.0H.img

If you did this correctly, the Rogers screen will flash and the phone will boot into the Recovery Rom (black with the HTC logo in the back).

9. I cannot stress this enough, RUN A NANDROID BACKUP. Assuming your SD card has enough free space, you can use this backup to recover if you need to return the phone to its original state.

10. If you've ran the backup, then "Apply sdcard:update.zip". It should say something about flashing then complete nicely.

NOTE: If neither steps 9 nor 10 work properly, and you get some error about the the SD-Card not existing, remove and reinsert the SD-Card.

11. Lastly, "Reboot system now", and enjoy having a rooted rom.

As with any process where you muck with the rom, there runs a risk of bricking so do this at your own risk. All I can say is that it worked for me :cool:

These instructions are an amalgamation of Haykuro's and Amon_RA's. You can find the Recovery.img thread here. Phew, I need a drink.
[myTouch 3G, Magic Android Development] birnie:
Well I got my phone rooted :) thanks to all for the great work.

Now this opens up a few more questions. I have installed the Wireless Tether, but cant seem to get it to work. When I look at the log I see an error:

“setting up firewall rules…. Iptables v1.3.7: cant initialize iptables table ‘filter’: iptables who?(do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.”

My next question, when I try and install the Overclockwidget, when I run it it states I need root access. Is there some special way to install apps, or run them with root access?

Thanks for the help,

Birnie
[myTouch 3G, Magic Android Development] tribalmunky:
I ran the market enabler on mine and it didn't seem to do anything eventhough it said it was successful.
[myTouch 3G, Magic Android Development] unplug:
can i run the htc hero rom once i root the phone?

**also how do i do the command promt?
[myTouch 3G, Magic Android Development] hotweiss:
Yes you can, but once you reboot, your phone freezes. Wait for the update that's coming tomorrow. What do you mean, how do you do the command prompt.
[myTouch 3G, Magic Android Development] drewX2:
Thanks, Ill give it a shot.
[myTouch 3G, Magic Android Development] unplug:
well i dont know how to open a command or use it.

essentially steps 6 and 8
[myTouch 3G, Magic Android Development] bcrook:
I am assuming you are running Windows but if this is incorrect, please feel free to correct me. I can help you with Ubuntu and probably OSX as well.

The command prompt is the Windows command prompt that you can use to run commands. You can launch it by going to start:run:and type cmd: hit enter. This will launch a black window with a prompt. Now, i am assuming you have the android SDK all set up and that you have the <android sdk location>/tools/ in the Windows PATH variable....if not, there are tutorials around...I don't know how on Windows as I run Ubuntu. In the Android SDK folder you will see a folder called tools. While holding shift, right click on this folder and click "Open Command Window Here"

Now the the command window should have something similar to this:

C:\<android SDK location>\tools>

this is where you type the commands mentioned in the above steps. If you get any errors post them here and I am sure someone can help.
[myTouch 3G, Magic Android Development] unplug:
ahhh thank you guys...figured it out :)

gonan send a donation :)
[myTouch 3G, Magic Android Development] Knightshade:
So, I'm using Windows, have followed everything to the letter. DId the whole adb devices to confirm that the drivers have been installed correctly, my device is recognized. Once into the FASTBOOT on the device, the test completes successfully, I press the back button on the device, it displays FASTBOOT USB. Once I type the command fastboot boot recovery-RAv1.0H.img command prompt displays <waiting for device> and then nothing....

I have left the device alone for 30-45 minutes and nothing...

...no restart, no prompts, not even anything in CMD prompt....

...any help?
[myTouch 3G, Magic Android Development] BrumBrum74:
I can't seem to get device listed in ADB. I can run ADB DEVICES command, but the list showing is empty.

Drivers for Andoid have been installed correctly and no errors in Device Manager. When connected in fastboot mode on Android (3 Android skaters), Device Manager shows Adb-HTC Bootloader)

Have reinstalled drivers. Am on XP Pro SP3.

Any clue what could be wrong?
[myTouch 3G, Magic Android Development] cocaice2009:
rooted...but just found wifi doesn't work:( anybody got the same issue?

My HTC Magic SPL info:

SAPPHIRE PVT 32A SHIP S-ON H

HBOOT-1.33.0009 (SAPP10000)

CPLD-12

RADIO-3.22.20.17

May 8 2009,21:02:32
[myTouch 3G, Magic Android Development] cocaice2009:
i got the same issue when just bought it... u may need to download and install htc sync, it works for me
[myTouch 3G, Magic Android Development] BrumBrum74:
No luck with HTC Sync either.

Are there any differences from the usb drivers for G1 compared to the Sapphire? If I connect my G1, Adb Devices commands find my G1 without any problems at all.
[myTouch 3G, Magic Android Development] Andy0x2A:
rooting problems

I am attempting to root my HTC magic.

I've ran the apply sdcard:update.zip after backing up, then I adb shell'd into the phone, copied su from /data/su to /bin/su , then ran sync and then reboot.

In the phone, trying to su

$su

su: uid 10110 not allowed to su

#

#cd /root

# cat /data/su >test

cannot create test: read-only file system

#

I am attempting to use su from su.zip at

http://android-dls.com/wiki/index.php?title=Magic_Root_Access

**

While following the directions on the site,

I couldn't find /system/xbin

so I used /system/bin and there was no su already in there.

Any help would be greatly appreciated.

Andy
[myTouch 3G, Magic Android Development] BrumBrum74:
Is there a way to put recovery img from sdcard to phone through Terminal on the mobile phone when having superuser?
[myTouch 3G, Magic Android Development] Knightshade:
Thank you cocaice2009! installing HTC Sync and then completing all the steps worked perfectly!
[myTouch 3G, Magic Android Development] cocaice2009:
glad to see that! btw, after rooted, is ur wifi still working?
[myTouch 3G, Magic Android Development] assembledinnz:
wifi stopped working for me... had to push wlan.ko into /system/lib/modules and it works.
[myTouch 3G, Magic Android Development] cocaice2009:
thanks... where to get this wlan.ko? i didn't see it here? :confused:
[myTouch 3G, Magic Android Development] AverageCanadian:
alright since most of us in this thread are giant newbs...

Can we use any of the recent G1 roms on our phone and just change the APN settings?

I was told that it would be best to place the boot.img that Haykuro has provided for us in any update.zip that we use? Is that the correct procedure?

edit: sorry, wrong thread
[myTouch 3G, Magic Android Development] tato22:
ill take back what i said just looking out for my 954 buddie
[myTouch 3G, Magic Android Development] cisoprogressivo:
Is this working also for italian TIM Magic (HTC Customized)?

But after this root can we install every kind of ROM?

Because with the daldroid how-to we can use only his ROM
[myTouch 3G, Magic Android Development] skittleguy:
? Amon_RA worker with Haykuro on this, and he put HKs paypal info in the OP.
[myTouch 3G, Magic Android Development] angelicmoon:
Didn't Haykuro do this?

I thought he was the only one who worked on rooting the device
[myTouch 3G, Magic Android Development] angelicmoon:
Anyway, Congratulations guys. and super thanks to whoever made this possible, although I'm not gonna use it :p.
[myTouch 3G, Magic Android Development] skittleguy:
I formally apologize for any confusion I might have caused. Both Haykuro and Amon_RA worked on getting Root going. In my haste, I made a post in another thread only thanking Amon_RA (which was an idiot move on my part).
[myTouch 3G, Magic Android Development] froesei:
From what I can see, a lot of people worked on this. Obviously Haykuro put in a lot of time, and the rooted magic wouldn't have happened without him. And a great big thanks for that!!! But other people have made contributions as well.

But really, it's not about getting recognition anyway, is it?
[myTouch 3G, Magic Android Development] tribalmunky:
So are there any confirmed ROMs that can be used on Rogers Magic yet?
[myTouch 3G, Magic Android Development] hotweiss:
The Ion ROM and the Hero ROM both work with the Rogers Magic.
[myTouch 3G, Magic Android Development] zedex26:
i THINK i rooted my phone properly now... anyway to verify it?

and for "radio"... i'm not sure if i have the latest version because the rogers phone seems to have different baseband and build numbers...

anyway here's mine *after rooting... if it worked*

Baseband version:

62.52S.20.18U_3.22.20.17 (vs the 2.22.19.26I which is supposed to be the "newest radio" so i'm a bit confused)

Build number:

2.16.631.6 146733 CL#33776 release-keys (none of those RC30 or RC8 stuff)
[myTouch 3G, Magic Android Development] tribalmunky:
Huh, I was under the assumption that we couldn't use most ROMS because of the memory offsets. Or is my train of thinking wrong?
[myTouch 3G, Magic Android Development] Amon_RA:
If you fix the offsets and update the kernel it works...
[myTouch 3G, Magic Android Development] tribalmunky:
Well I guess that's sorta the answer I was looking for. I was really wondering if someone who's accustomed to doing that stuff was making ports of cooked ROMS currently out. It's just that I don't have the time to fiddle around with kernel compiling, especially since my phone is keeping me in touch with my work so I can't have it off or in some boot loader or end up bricking it.
[myTouch 3G, Magic Android Development] Amon_RA:
Those ports are all over the forum... :

http://xdaforums.com/showthread.php?t=530972

http://xdaforums.com/showthread.php?t=531837

http://xdaforums.com/showthread.php?t=531630

I even explained how to do it yourself in a very detailed guide... :

http://xdaforums.com/showpost.php?p=4040214&postcount=23
[myTouch 3G, Magic Android Development] jfive74:
Ive restored my rogers nandroid backups and org spl. Am i to believe that my phone is in

stock/out the box

state? And that any rooting, su, etc is gone?

I want to start all this stuff over again from fresh. Thanks.
[myTouch 3G, Magic Android Development] jfive74:
noticed that on my windows vista pc, in my devices/adb, my device is listed as a dream device. is this normal? should it say magic?
[myTouch 3G, Magic Android Development] jfive74:
is this done on sd card? do i place su folder in tools? need some assistance please
[myTouch 3G, Magic Android Development] hotweiss:
no, you do it from your desktop...
[myTouch 3G, Magic Android Development] BlueIvory:
I don't get droid at all and am at my wits end?

I have been at this since the root came out and still nothing. 6 days of trying and no I am not stupid and have read all the forums. Can someone please help me in the simplest way possible for my brain does not get this. Everytime over 50 and yes I have downloaded all the files many time when I fastboot my device it says no image file. 2. ADB shows up as installed correctly but with 2 diff vista machines and 6 usb cables, a reformat, yes it has consumed me, it still comes up unrecognized device. I will even pay for someon'es help and the simpler the fix the better. thanks, kevin
[myTouch 3G, Magic Android Development] Jeromin:
I've been trying to install the debugging USB drivers on my XP machine. Does anyone know how to install them without Windows installing the base USB drivers whenever I plug the Magic in?

I've tried doing it in safe mode, disabling PnP etc. But everytime I plug in the magic Windows installs its on proprietary drivers and wont let me update to the Android SDK usb drivers.
[myTouch 3G, Magic Android Development] Blue1k:
Can someone explain how to check if it is rooted.

I ran all the steps but market enabler gives an error when I ran it (houston we have a problem??)

How do I run adb root?

It gives giving me a message about the phone is offline.

I connected it in USB debug mode.

Any help would be appreciated..kinda of new to this.
[myTouch 3G, Magic Android Development] Blue1k:
Ok maybe I am way off but I tried the following in a terminal emulator:

su (permission denied)

adb root (permission denied)

Is it not rooted? I followed the steps perfectly! Arrgh so close yet so far :(

Edit...I don't get any messages about the img being copied over. I think this is the problem. Any suggestions??

When I run fastboot it says downloading "boot.img" ...okay

but this happens instantly which means it is not copying over the img file...

Man this is really bugging me
[myTouch 3G, Magic Android Development] Amon_RA:
abd shell

=> If you see a # instead of an $ you have root...

Isn't it a bit weird that you want to have root when you don't know how to check it yourself? :confused:
[myTouch 3G, Magic Android Development] Blue1k:
Not really,

I am a linux guy but I never have used a Linux based phone. Nothing wrong with learning is there? My experience has been with wm as you can see by my sig.

Am I not allowed to root this phone because I don't know which command to use?

All I wanted was to have a phone that I can use Market enabler to see paid apps in Canada and to enable voice search.

Sheesh....:(
[myTouch 3G, Magic Android Development] Blue1k:
Not really,

I am a linux guy but I never have used a Linux based phone. I haven't used linux in a long time now so I guess I forgot the # meant you had root access. My mistake.

Nothing wrong with learning is there? My experience has been with wm as you can see by my sig.

Am I not allowed to root this phone because I don't know which command to use?

Sheesh....:(

All I wanted was to have a phone that I can use Market enabler to see paid apps in Canada and to enable voice search.

Would anyone be willing to help me out. Thank you.:)

(sorry about the double post..not sure what happened.)
[myTouch 3G, Magic Android Development] computerdan:
Original Rogers ROM anyone?

I did a nandroid backup of my original Rogers ROM, tried the HTC Hero build and now want to move back to my original ROM as Hero is a tad to slow and chunky for my liking.

However, when I tried to follow the restoration instructions at http://www.arbitraryuser.com/blog/2...n-south-africa-to-get-android-market-and-more, I keep getting errors at the INFOsignature checking part. The error is:

FAILED: (remote: signature verify fail)

I've attempted my best to search for a solution to this problem to no avail.

Does anyone have a copy of the original Rogers ROM or know how I can restore my nandroid backup successfully?

Many thanks in advance!
[myTouch 3G, Magic Android Development] dubsat:
Are you still with SPL 1.33.0009?

You need SPL 1.33.2005 to restore your .img

Look at this thread http://xdaforums.com/showthread.php?t=529019
[myTouch 3G, Magic Android Development] skittleguy:
I think we need an "informative threads" thread like they have in the Dream section.

Thoughts?
[myTouch 3G, Magic Android Development] dubsat:
I think It's a must!
[myTouch 3G, Magic Android Development] jaemo:
Edit: I gave it one last try and it seems to have worked. Backing up as I type so we'll see if this works!

First off, THANK YOU for making the directions that much clearer for us. I really appreciate that.

I am having a strange issue when I get to just about the end of step 8 (ie: I get into recovery mode, and issue my fastboot command)

The phone reboots, but all that happens is I see the rogers logo. It seems to get stuck there.

Here's the log output from my terminal:

Majikthise:tools jaemo$ fastboot-mac boot recovery-RAv1.0H.img

creating boot image...

creating boot image - 16384 bytes

downloading 'boot.img'... OKAY

booting... OKAY

I never seem to see the actual recovery ROM boot up. Not sure whats up with that.

I eventually have to take out the battery and reboot it, whereupon it just boots up normally. adb shell reveals $ not # so clearly I did not root it.

I'm doing this on my iMac, but I don't think that should make a difference (apart from the shell command being fastboot-mac).

Anyone else have this issue?

TIA for any replies, even if they do not help me!
[myTouch 3G, Magic Android Development] pdawookie:
thanks :)

Ok so I rooted my Rogers Magic and its giving me # in adb shell

I can echo " " > test.txt in most places. and my mount list shows /system is mounted rw, now I am trying to copy the new su command and it says to replace the su command in /system/xbin

when I am logged in I do not see a /system/xbin but in Terminal I do see the xbin as non root, here is what I am doing to get to this point

C:\HTC>adb shell

#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

# mount

mount

rootfs / rootfs ro 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0

/dev/block/mtdblock3 /system yaffs2 rw 0 0

/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0

/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0

/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=

1000,fmask=0711,dmask=0700,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,s

hortname=mixed,utf8 0 0

#

## cd /system

cd /system

# ls

ls

bin

fonts

build.prop

lib

app

etc

usr

test

customize

media

lost+found

framework

#

#

And there is no xbin dir and I cannot cd to it or call files from it. I have installed the new su as nsu in /system/bin and it does all terminal user to drop to root by typing $nsu but once su'd to root in terminal I do not see the xbin dir as well

Did I miss something or is this normal? My final goal was to install the market enabler but when I try to run the .apk I get permission denied from the filemanager

Cheers
[myTouch 3G, Magic Android Development] Amon_RA:
Uninstall the SU apk you installed earlier, and remove any su binary which you were messing with before...

Download and unzip : http://rapidshare.com/files/252728428/SU.zip , you will find the su binary and the Superuser.apk in the zip that you have to push in the steps below.

adb remount
adb push su /system/bin
adb shell chmod 4755 /system/bin/su
adb install Superuser.apk

reboot your mobile
[myTouch 3G, Magic Android Development] pdawookie:
thanks :)

Thanks for the help.. and for this entire thread!!! Kudos

I tried this and is seems to not work. When installing the .apk I get an error Here is what I see

C:\android-sdk-windows-1.5_r2\tools>adb remount

remount succeeded

C:\android-sdk-windows-1.5_r2\tools>

C:\android-sdk-windows-1.5_r2\tools>adb push su /system/bin

1054 KB/s (50602 bytes in 0.046s)

C:\android-sdk-windows-1.5_r2\tools>

C:\android-sdk-windows-1.5_r2\tools>adb shell chmod 4755 /system/bin/su

C:\android-sdk-windows-1.5_r2\tools>

C:\android-sdk-windows-1.5_r2\tools>adb install Superuser.apk

354 KB/s (17011 bytes in 0.046s)

pkg: /data/local/tmp/Superuser.apk

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

I have a rogers magic phone

HTC Magic

FW 1.5

Baseband ver 62.525.20.18U_3.22.20.17

Kernel 2.6.27-dd63d1eb

build number 2.16.631.6.146733
[myTouch 3G, Magic Android Development] :
I also have this issue.
[myTouch 3G, Magic Android Development] pdawookie:
fixed the su problem another way

Take a look at this thread it fixed the problem for me.

http://xdaforums.com/showthread.php?t=520099

I can now su from better terminal but I still do not see xbin directory but now my apps that require root are working and it seems all good

Cheers
[myTouch 3G, Magic Android Development] NguyenHuu:
I already sent the OP a PM but just in case he gets too many PMs and doesnt check his messages, I thought I posted here too for anyone that can chime in.

Greetings! I have been around for a while, I am coming from the Dream forum but am going to get the roger's magic soon. I want to root it and get it running with some custom roms.

With the G1, long story short, i'm sure you are aware of it, we had to flash to a previous rom that to take advantage of the "root bug." After that we were able to flash to new custom roms and recovery images without losing root.

Is this the same with the roger's magic? For example, if I follow the steps in this thread to get root, can I then go ahead and change/upgrade to newer recovery images and custom roms like Cyanogen's latest 1.4 recovery and JAC's latest hero port without losing root? Will this give me both root on device and through computer/adb?

Thanks for your advice! appreciate the work. Keeping up with the G1 development was fun and exciting and I hope the same for the magic forum once the MyTouch3G is out and more people jump over to help out in the Magic forum.
[myTouch 3G, Magic Android Development] ClintonH:
Here is the guide I used and would suggest you try out if your getting a Rogers Magic.

Once you have it Rooted you can flash any ROM that is for a 32a board(288mb RAM)

Heres the Roms that are moded to work for the Rogers Magic.

Clinton
[myTouch 3G, Magic Android Development] pmp.s:
hi first of all i would like to thanks everyone for the hard work here.

i have an htc magic ROGERS that i would like to root. i read the threads but am still not sure. i have few question plz.

1-do i have to unzip the update before copying it to my SD?

2- the RAv1.0 do i have to copy it to the SD ? or install it?

3- step number 5 what do i have to do ecxactly ?

4- i tried to install RAv1.0 and while i unzip it i get an error

thank you very much againe
[myTouch 3G, Magic Android Development] ClintonH:
I would try this out. No offence t the OP the guide in my link is a bit easier for new guys to fallow.

Here is the guide I used and would suggest you try out if your getting a Rogers Magic.

Once you have it Rooted you can flash any ROM that is for a 32a board(288mb RAM)

Heres the Roms that are moded to work for the Rogers Magic.

Clinton