CDMA Hero Root
Running on ubuntu jaunty. Directions Combined from
forum.archosfans.com/viewtopic.php?f=47&t=26483 andwww.androidspin.com/sectionguidesandtutorials/10-rooting/254-how-to-root-cdma-hero
Opened Terminal:
trevor@64Lappy:~$ lsusb
Bus 001 Device 002: ID 0bb4:0c01 High Tech Computer Corp.
Created the following file containing:
trevor@64Lappy:~$ sudo pico /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
notice the bold section and modify as needed. now do:
trevor@64Lappy:~$ sudo chmod a+rx /etc/udev/rules.d/51-android.rules
trevor@64Lappy:~$ sudo /etc/init.d/udev restart
Now at this point I downloaded SDK from developer.android.com/sdk/index.html
I turned on debug mode on my phone under system -> applications -> dev
Now i verified ADB can see the device:
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb devices
List of devices attached
HTxxBHFxxxx0 device
Nowto root I downloaded AsRoot2 and placed it in the tools folder in SDK.You can download it from -forum.xda-developers.com/attachment.php?attachmentid=244212&d=1257621154
I now ran
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb push asroot2 /data/local/
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb shell chmod 0755 /data/local/asroot2
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb shell
/data/local/asroot2 /system/bin/sh
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4775 su
You are now rooted!
--This is how to flash the recovery image and the modaco custom rom.
I then exited the shell & pushed the new recovery image, the rom + enhanced pack to the sdcard.
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb push recovery-RA-heroc-v1.2.3.img /sdcard/
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb push 1.1-update-heroc-modacocustomrom-core-signed.zip /sdcard/update.zip
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb push2.9-update-hero-modacocustomrom-enhanced-signed.zip/sdcard/enhanced-update.zip
then enter a adb shell:
./adb shell
jump to root by typing: su
and flash & reboot to recovery
# flash_image recovery /sdcard/recovery-RA-heroc-v1.2.3.img
# reboot recovery
Now that you are in recovery mode run a nandroid backup. After thatapply update.zip & power your phone on. Everything should lookexactly the same but with more toys on the backend. If you go tosettings ->about phone you should see the new rom version there withyour root password. It will also tell you if you need a reboot.
Now i wanted to get Apps2SD working. I shut my phone off, held thehome button in and booted to recovery rom. I choose partition sdfat32/ext2/swap. Now i booted and installed all my apps. It should justdo it seemlessly when a ext2 partition is detected. From here on out DO NOT REMOVE SD CARD or you will get FC issues.
--Removing Stock Apps:
i got sick of looking at amazon MP3 and such so figured out how toremove this bloatware. the IM program and sprint garbage was allstarting up on boot too so removing this im sure helped something.
Go back to adb shell
trevor@64Lappy:~/android-sdk-linux/tools$ ./adb shell
now run the following command or you wont have write access:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
now change to the app folder and make a backup directory
# cd /system/app
# mkdir bkup
Now I moved out the garbage i didn't want. be careful some will break your phone. I did
# mv Sprint_Nscar* bkup/
# mv Sprint_NFL* bkup/
# mv amazonmp3* bkup/
# mv DCSStock* bkup/
# mv HtcFootprints* bkup/
# mv IM.* bkup/
*note* make sure to do IM. removing IMPlugins causes senceui to loop. If you break something you can go into bkup and do
mv appname* ../
if you feel confident you can delete this folder after.
























































