01-22-2010 09:47 PM
158 123 ...
tools
  1. Jerry Hildenbrand's Avatar
    wget http://zenthought.org/tmp/asroot2
    ./adb push asroot2 /data/local/ && ./adb shell chmod 0755 /data/local/asroot2
    ./adb shell
    /data/local/asroot2 /system/bin/sh

    then

    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    cd /system/bin
    cat sh > su
    chmod 4755 su

    and you now have su.


    I didn't find this. Was just sent to me (6 or 7 times already lol) in my mailbox. If the above steps don't make sense to you, you're better off waiting for someone to create a CDMA specific recovery ROM and flash it. Soon
    11-07-2009 03:06 PM
  2. Jerry Hildenbrand's Avatar
    Just for fun and visuals -

    Running PicME as root



    SU in terminal


    Now to work on the tcp stack, BT file transfer, app2sd, and dialer lock bug
    11-07-2009 04:01 PM
  3. Jerry Hildenbrand's Avatar
    quick little step by step to get root + wireless tethering on your Hero

    I'll assume you're running windows.
    1. DL the Android SDK here --> Android SDK | Android Developers
    2. Unzip the SDK to c:/
    3. Download http://zenthought.org/system/files/a...20091107-2.apk and save it to your desktop as a .zip file
    4. Open flashrec and in the assets/raw/ folder copy asroot2 to the C:\android-sdk-windows-1.6_r1\tools directory.
    5. Open the command line and browse to C:\android-sdk-windows-1.6_r1\tools (on Vista or Win 7 just shift+right click on the tools dir in explorer and open command window here)
    6. Type the following EXACTLY as written:

    adb push asroot2 /data/local/
    adb shell chmod 0755 /data/local/asroot2
    adb shell
    /data/local/asroot2 /system/bin/sh

    you will see a friendly message telling you to enjoy your root. Notice the root prompt.

    7. Now type:

    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
    cd /system/bin
    cat sh > su
    chmod 4755 su

    this changes the permissions of su so you call call it and run apps as root.


    8. In the Market, download a terminal. I recommend Terminal Emulator. Open it, click and hold menu until OSK comes up. Type in su, and see if $ changes to #. If so, congrats. You're root. Close the term app. If not, you did something wrong. Start over.

    9. DL Downloads - android-wifi-tether - Project Hosting on Google Code on your phone.

    10. Open the downloads folder, run the wifi-tether.apk (using your preferred installer). Once installed you're done. Run it, surf away. Be prepared for a big bill should you do something silly and get Sprint's attention, unless you have PAM on your account.


    protip - dl and install google chrome on your computer to use while tethered. Shows a google footprint instead of an IE/Safari or firefox footprint, and wont raise as many flags to Sprint.
    11-07-2009 05:20 PM
  4. 702DROID's Avatar
    do i need to make a back up or anything im new to this whole android thing but want to be able to do the wifi tether and apps2sd thanks
    11-07-2009 06:05 PM
  5. Jerry Hildenbrand's Avatar
    1. This only works on the Sprint Hero (maybe the Vzw Eris, not at work and can't try)

    2. If you have a CDMA Hero, use windows, and follow my instructions above exactly as written you'll have wifi/BT tethering. Still working on apps2sd, will post once it's all sorted.

    3. If the above doesn't make a lot of sense to you, I would suggest you wait for a day or so. RA has a recovery image for the CDMA Hero already, and I would suspect in 24 hours or less you'll have your pick of ROM's to flash - most of which will have apps2sd and wifi tether in them. This can brick your phone.
    11-07-2009 06:13 PM
  6. 702DROID's Avatar
    1. This only works on the Sprint Hero (maybe the Vzw Eris, not at work and can't try)

    2. If you have a CDMA Hero, use windows, and follow my instructions above exactly as written you'll have wifi/BT tethering. Still working on apps2sd, will post once it's all sorted.

    3. If the above doesn't make a lot of sense to you, I would suggest you wait for a day or so. RA has a recovery image for the CDMA Hero already, and I would suspect in 24 hours or less you'll have your pick of ROM's to flash - most of which will have apps2sd and wifi tether in them. This can brick your phone.
    thank you i will be looking forward to your post once you get apps2sd fig out
    11-07-2009 06:19 PM
  7. supermanly's Avatar
    I got as far as Step 6, but it says 'device not found' in command prompt. My phone being connected via USB shows up on the phone itself, and when the connection was initially made, a notification popped up on the computer too. What's up with that?
    11-07-2009 06:28 PM
  8. Jerry Hildenbrand's Avatar
    If a notification popped on you PC the phone is mounted as a storage device. Slide down the notification bar and unmount. Close the cmd line and reopen
    11-07-2009 07:15 PM
  9. Jerry Hildenbrand's Avatar
    thank you i will be looking forward to your post once you get apps2sd fig out
    No problem. Not just me though...My gtalk and twitter seems to be on fire with everyone I know working on it lol
    11-07-2009 07:16 PM
  10. 702DROID's Avatar
    so far your the only one whith instructions i can understand lmao
    11-07-2009 07:27 PM
  11. Jerry Hildenbrand's Avatar
    Heh. It took me a while, but I eventually learned most people just look at you funny when you start talking about linux commands. I try to moderate everything down so the above-average tech user can figure out what I'm trying to say. BTW - I just heard someone got apps2sd running. I'm getting more info then seeing what I can do here.
    11-07-2009 07:31 PM
  12. supermanly's Avatar
    I got it to work; I installed HTC Sync, proceeded from where I left off, and it worked for me. Wifi tether runs fine.

    Thanks for the instructions. You're right on the money on who's able to use this; I'm certainly above average but struggled to figure out what was going on exactly on the XDA Developers Forum thread on CDMA Hero Rooting

    EDIT: Well to be precise the Wifi Tether itself runs (not fine). My Nintendo DS detects the network but won't connect to it. Has anyone had success with the wifi tether, because I've heard from some that it runs technically but doesn't actually function or something along those lines. My computer can connect to it (the connection showed up on the phone and it vibrated), but it wouldn't even load google.com
    11-07-2009 10:44 PM
  13. Jerry Hildenbrand's Avatar
    I got it to work; I installed HTC Sync, proceeded from where I left off, and it worked for me. Wifi tether runs fine.

    Thanks for the instructions. You're right on the money on who's able to use this; I'm certainly above average but struggled to figure out what was going on exactly on the XDA Developers Forum thread on CDMA Hero Rooting

    EDIT: Well to be precise the Wifi Tether itself runs (not fine). My Nintendo DS detects the network but won't connect to it. Has anyone had success with the wifi tether, because I've heard from some that it runs technically but doesn't actually function or something along those lines. My computer can connect to it (the connection showed up on the phone and it vibrated), but it wouldn't even load google.com
    I shy away from XDA. Great folks, but if you get active there you spend most of your time trying to explain what some of the others have posted lol. I found out the hard way.

    As for wifi tether - Unfortunatley I have PAM enabled on my account at Sprint. Maybe that's why it works for me. I know of others who say they DO NOT have PAM and it's working, but they say they did they same thing As I did.

    For now, I suggest stopping for the evening. Tomorrow grab the RA hero recovery and do a nandroid backup, then try to brick your phone lol. Seriously though, you should back it up before you go much further. Who knows, maybe by then someone will have cooked up a nice rom with everything in it. If not, I'll be back at it.

    I'm having some issues with Apps2SD. Already ate up 2 cheapo 4 gig sd cards to the point where even Slackware can't reformat them. Something is different here and I don't know exactly what. I'll be back at that tomorrow as well. For now, it's time to get hammered and put the damn phone away for a bit

    I am glad you got root. Feels damn good doesn't it?
    11-08-2009 12:51 AM
  14. supermanly's Avatar
    Yeah it feels great. I'm extremely satisfied with the progress that's been made. How much does PAM cost? I'm gonna wait for some ROMs before proceeding any further.

    EDIT: It's funny because on XDA, I posted asking for instructions on the same level as yours (which conveniently nobody responded to) and I posted again asking about wifi tether (which again nobody has responded to).
    11-08-2009 01:40 PM
  15. Jerry Hildenbrand's Avatar
    SCREEEECH (that's the sound of me hitting the brakes lol)

    [CDMA] TEST: 08/11 1.0 - MoDaCo Custom ROM Core featuring Wavesecure - Android @ MoDaCo


    MoDaCo ROM for CDMA Hero. Reports say apps2sd and wifi tether work out of the box. Good thing...I'm runnng out of SD cards lol.
    Patrick Schroedl likes this.
    11-08-2009 04:45 PM
  16. jbacdc's Avatar
    Hello,
    Tried this on my HTC Eris (Verizon) using Android SDK 1.5R1. When I get to step:
    /data/local/asroot2 /system/bin/sh

    I get the following message:
    [1] Killed /data/local/asroot2 /system/bin/sh

    I then tried the mount command:
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

    and got the following error message:
    mount: Operation not permitted

    Anyone get this to work on the HTC Eris? I don't think this version of asroot2 will work on the HTC Droid Eris.

    Thanks!
    11-08-2009 05:41 PM
  17. 702DROID's Avatar
    SCREEEECH (that's the sound of me hitting the brakes lol)

    [CDMA] TEST: 08/11 1.0 - MoDaCo Custom ROM Core featuring Wavesecure - Android @ MoDaCo


    MoDaCo ROM for CDMA Hero. Reports say apps2sd and wifi tether work out of the box. Good thing...I'm runnng out of SD cards lol.


    so whats that mean (sorry for my noobish questions) where do i go from here gbhil??
    11-08-2009 05:42 PM
  18. Jerry Hildenbrand's Avatar
    Hello,
    Tried this on my HTC Eris (Verizon) using Android SDK 1.5R1. When I get to step:
    /data/local/asroot2 /system/bin/sh

    I get the following message:
    [1] Killed /data/local/asroot2 /system/bin/sh

    I then tried the mount command:
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

    and got the following error message:
    mount: Operation not permitted

    Anyone get this to work on the HTC Eris? I don't think this version of asroot2 will work on the HTC Droid Eris.

    Thanks!
    Completely possible. I know it won't work on Cell South's Hero. When I go back into the office tomorrow I will be trying it on the Eris as well. For now, it's all speculation on my end.

    It appears that the particualr stack bug could have been patched by HTC after the first run of devices.

    so whats that mean (sorry for my noobish questions) where do i go from here gbhil??
    Don't be sorry. What you will need to do is:
    1. Have your phone set up the way you like it as far as apps etc go.
    2. Back up your entire SD card somewhere.
    3. Follow my instructions near the top to get root, and check as I described using a terminal app.
    4. Then using adb push the RA recovery image to your sdcard.
    5. adb shell flash_image on the recovery. This will reboot you to the RA recovery console.
    6. Run a full nandroid backup
    7. Run the fat32/swap/ext2 script from the recovery image.
    8. DL mocado's rom
    9. Extract and place on sd card
    10. Boot into recovery and flash it.


    I know all that looks scary. Go through up to step 3. Once you get there I'll either point you to a tutorial to flash the RA recovery, or walk you through it. Then we tackle the mocado rom.

    The important steps - BACKUP YOUR SD CARD and RUN NANDROID BACKUP AS SOON AS ITS INSTALLED. That makes it easy to get right back where you were just in case.
    11-08-2009 05:59 PM
  19. justpastfinish's Avatar
    quick question guys. If I boot up into recovery to partition my sdcard and do the whole apps2sd thing...

    Does that wipe my SD?

    just wanna know before I go doing that without backing it up...
    11-08-2009 06:11 PM
  20. Jerry Hildenbrand's Avatar
    quick question guys. If I boot up into recovery to partition my sdcard and do the whole apps2sd thing...

    Does that wipe my SD?

    just wanna know before I go doing that without backing it up...
    YES! total wipe+reformat

    *edit* Try with a small cheap sd card if your using the methods known for the dream. I've burned up about 4 of them, something is different. I suggest either using mocados rom or waiting another day or so
    11-08-2009 06:15 PM
  21. Jerry Hildenbrand's Avatar
    Wanted to post a follow here. Rooted, flashed recovery and then flashed mocado rom. Results:

    Don't use version 1.0, use 1.1 (unless you can use adb shell pretty well to partition and mkdir)
    apps2sd works flawlessly
    wifi tether still works great for me, and reports say everyone who had issues no longer have any.
    All sprint apps are in the rom, so you wont lose anything. you can remove after via adb shell if you want.
    Wavesecure seems to lock the dialer. IMO don't flash it over the rom.
    SSH server is sweet.
    11-08-2009 11:49 PM
  22. 702DROID's Avatar
    Completely possible. I know it won't work on Cell South's Hero. When I go back into the office tomorrow I will be trying it on the Eris as well. For now, it's all speculation on my end.

    It appears that the particualr stack bug could have been patched by HTC after the first run of devices.



    Don't be sorry. What you will need to do is:
    1. Have your phone set up the way you like it as far as apps etc go.
    2. Back up your entire SD card somewhere.
    3. Follow my instructions near the top to get root, and check as I described using a terminal app.
    4. Then using adb push the RA recovery image to your sdcard.
    5. adb shell flash_image on the recovery. This will reboot you to the RA recovery console.
    6. Run a full nandroid backup
    7. Run the fat32/swap/ext2 script from the recovery image.
    8. DL mocado's rom
    9. Extract and place on sd card
    10. Boot into recovery and flash it.


    I know all that looks scary. Go through up to step 3. Once you get there I'll either point you to a tutorial to flash the RA recovery, or walk you through it. Then we tackle the mocado rom.

    The important steps - BACKUP YOUR SD CARD and RUN NANDROID BACKUP AS SOON AS ITS INSTALLED. That makes it easy to get right back where you were just in case.
    ok im up to step three dont know how to do nandroid backup or flash tutorial would be nice ...so i just down load the core download from here [CDMA] 08/11 1.1 - MoDaCo Custom ROM Core featuring Wavesecure - Android @ MoDaCo and ill wait for more info
    11-09-2009 02:25 AM
  23. Ukyo's Avatar
    I can't get the device to connect... I'm always getting a device not found error, even though I have not mounted the storage...
    11-09-2009 02:29 PM
  24. Jerry Hildenbrand's Avatar
    ok im up to step three dont know how to do nandroid backup or flash tutorial would be nice ...so i just down load the core download from here [CDMA] 08/11 1.1 - MoDaCo Custom ROM Core featuring Wavesecure - Android @ MoDaCo and ill wait for more info
    Download
    http://www.androidspin.com/downloads...roc-v1.2.3.img
    and place it in your /AndroidSDK/tools directory.

    Open the console in the AndroidSDK/tools dir and type:
    adb push recovery-RA-heroc-v1.2.3.img /sdcard/
    then type:
    adb shell flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img


    When it's all done type:
    adb shell reboot recovery


    The phone will reboot and you'll see the recovery screen. Use your trackball and select nandroid backup. Executeit by clicking the trackball.

    Now Backup your sd card again. You can enable and disable mass storage right from the recovery screen. Make sure you disable mass storage when you're done.

    Download [CDMA] 08/11 1.1 - MoDaCo Custom ROM Core featuring Wavesecure - Android @ MoDaCo

    Just the base 1.1 recovery image. The wavesecure is not only flakey, it sends mms messages from overseas and they arent free

    Now in recovery select to set up a fat32+ext+swap on your sd card. This will take a few seconds and IT WILL ERASE YOUR SD CARD!

    Enable mass storage again and copy everything back to your sd card, as well as the mocado rom zip you downloaded. Disable mass storage.

    From the recovery screen select Apply SD card:choose zip. Select the mocado zip you copied over. Wait a few minutes.

    When it comes back, you will need to go to the market and uninstall/reinstall all of your apps, one at a time. this is because they have been all transferred to the sd card. Congrats.


    If anything goes wrong - pull battery and replace. Hold home button, then press and release power button. You will boot into recovery. From there select restore nandroid backup and you will be right back where you started, apps and all.

    Good luck!
    11-09-2009 07:04 PM
  25. Jerry Hildenbrand's Avatar
    I can't get the device to connect... I'm always getting a device not found error, even though I have not mounted the storage...
    You will have to make sure the drivers are installed.

    Download the driver ZIP file http://dl.google.com/android/android_usb_windows.zip
    and unzip it.
    Connect your Android device via USB. When the Found New Hardware Wizard appears, you'll be asked if you'd like Windows Update to search for software, select No, not this time and click Next.
    Select Install from a list or specified location and click Next.
    Select Search for the best driver in these locations. Browse and select the unzipped file.
    Click Finish. You're all set.
    11-09-2009 07:07 PM
158 123 ...
LINK TO POST COPIED TO CLIPBOARD