[Update Jul 18]Collection of ROMS compatible with TW HTC branded Magic (PVT32A) - myTouch 3G, Magic Android Development

I must thank pioneers nk02, Fatal1ty2787, daldroid , and of course haykuro for their great roms;
Amon_RA for his great recovery.img and detailed instructions on repacking and signing update.zip;
and our new force redglasses for his efforts to finetune these roms for us.
The following are roms modded for TW HTC Magic (PVT 32 A, CPLD-12, Boot with Hami)
Be sure to use them for ONLY TEST purposes.
For your reference, the current build of my magic is as follows:
------
SAPPHIRE PVT 32A ENG S-OFF H
HBOOT-1.33.2005 (SAPP10000)
CPLD-12
RADIO-3.22.20.17
------
## 請自負風險,刷機可能使你的magic便磚塊或喪失保固,如果之前沒有刷過別的rom,請勿從此篇開始##
## 新手請先閱讀本版之前的文章,瞭解程序後再刷##
## 成功服用以下ROM的網友,無論好壞也請po一下是否成功、並協助刷機遇到問題的人,這樣更多人能夠受惠 ##
Download Amon_RA's recovery image if you need it
v1.0H http://www.4shared.com/file/115091119/89a57dac/recovery-RAv1.html by Amon_RA
v1.1H http://rapidshare.com/files/251894590/recovery-RAv1.1H.img nandroid restore is included by Amon_RA
********Hero ROM for Magic modded for TW users (based on Fatal1ty2787's releases)********
07/18 myhero-08 by redglasses
http://www.4shared.com/file/118776501/c759bba3/myhero-008.html...Change log on page 22
07/15 myhero-07 by redglasses
http://www.4shared.com/file/118054720/4c20968a/myhero-007.html...Change log on page 19
07/08 myhero-06 (based on Fatal1ty2787's 1.4) released by redglasses
http://www.4shared.com/file/116533960/30b75973/myhero-006.html
Feature: zh_HK included, optional root access, and etc... Change log on page 14
07/07 myhero-05 (based on myhero02 and Fatality2787's 1.3) by redglasses
http://www.4shared.com/file/116341177/77ab5baf/myhero-005.html
Feature: Chinese input, Chinese UI, other languages removed...Change log on page 12
07/06 Camera fix on page 11.
07/04 v1.2[CUI] Chinese Input + Chinese User Interface by redglasses
http://www.4shared.com/file/11594679...yhero-002.html
http://www.sendspace.com/file/1mgprx
07/02 v1.2[C] embedded with lib files needed to run HTC_CIME by richyyun
http://www.4shared.com/file/115470968/23ed1157/v12-cime-signed.html
This version (v1.2[c]) of rom is suitable for users who need to input Chinese on magic using methods other than handwriting.
After flashing this rom, be sure to install HTC_CIME.apk manually.
All the Chinese input methods, including Zhuyin and Pinyin, work on this rom!! Hooray!!
However, all the ringtones, except Innovation.mp3, have been removed to squeeze out some space for these lib files.
You have to push your favorite ringtone by yourself.
Here is a backup of the original ringtones and alarms http://www.supremekickz.com/android/audio.rar
07/02 v1.2 http://www.4shared.com/file/115417767/ab5becd5/Fatal1ty_Hero-Full_v12-modded-for-32A-CPLD12.html rooted as default by richyyun
06/30 v1.1 http://www.4shared.com/file/115116254/f7c5da91/Fatal1ty_Hero-Full_v11-modded-for-TW-signed.html
06/30 v1 --- no longer needed
1. rename the downloaded file to update.zip and place it in /sdcard
2. fastboot boot recovery-RAv1.img --> wipe, backup, and apply the update
3. install HTC_CIME if necessary
http://www.4shared.com/file/111084919/7947d185/HTC_CIME.html
********Hero Pure Black for 32A (based on jerpelea's pure black rom-04)********
07/14 hero-pure-black-04 by richyyun (for non-Chinese users)
http://www.4shared.com/file/117980221/9b591630/hero-pure-black04-32A-by-richyyun.html
07/14 hero-pure-black-04[C] by richyyun
http://www.4shared.com/file/117990058/9320c58d/hero-pure-black04C-32A-by-richyyun.html
The [C] version has camera.apk replaced, chinese input (CIME) preinstalled, and ...Screenshots on page 18
07/15 hero-pure-black-04[CUI] by redglasses
http://www.4shared.com/file/117534734/7b937728/mypureblack.html
********7/6 Hami Rooting (Rooting OEM TW Cupcake ROM)***********
Running modded Hero and ION roms on Magic is cool, but some compromises must be made, such as manual input of APN, injection of libs,...
For those already satisfied with the oem rom (TW HTC ROM with Hami boot logo), I have created a new boot.img.
This boot.img is rooted and sets the max cpu freq at 528Mhz. After flashing it, you can also get a root access at adb shell.
You can further push a modded version of su into the system to gain root access at terminal app.
Before you begin, please make sure:
(1) Your magic is running TW OEM ROM (Cupcake 1.5) with Hami boot logo
(2) SPL has been flashed
Steps are:
1. Download this package created by richyyun first. http://www.4shared.com/file/116302268/1b7cc008/richyyun-hami-rooting.html
2. Inside the zip are two files, including boot-hami-rooted-max528.img and su
3. In fastboot mode, test run the new rooted boot.img **Very important**
=> fastboot boot boot-hami-rooted-max528.img
4. If it successfully boots, you can begin to flash it
=> fastboot flash boot boot-hami-rooted-max528.img
5. Reboot and you'll get # in adb shell
6. Push modded su into the system
=> adb shell
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#exit
=> adb push su /system/bin/su
=> adb shell
# cd /system/bin
# chmod 6755 su
# sync
# reboot
********7/4 New BOOT.IMG for Hero********************************
The frequency of the CPU inside magic is self-adjusted according to real-time processing demand.
However, there is a parameter in rom defining the range (max and min) of cpu frequency adjustment.
In OEM roms, the max freq is set at only 384Mhz.
In the following two versions of boot.img, the cpu freq range is redefined.
[max=528Mhz] http://www.4shared.com/file/115500341/1cec4112/boot-cpu-max528.html by richyyun
[min=max=528Mhz] http://www.4shared.com/file/115939851/44c86a93/boot-cpu-always528.html by richyyun
Note that when min=max=528Mhz, you battery doubtedly drains slightly faster!
For the moment, if you are already satisfied with the current rom and don't want to flash new roms so soon, you can flash this boot.img alone to make some changes to your magic!
1. on your pc, you can test run the new boot image first
fastboot boot boot-cpu-freq-fixed-for-32A-12.img <=be sure to test it first!
2. if it works, then make it permanent
fastboot flash boot boot-cpu-freq-fixed-for-32A-12.img
********ION for TW MAGIC users (based on nk02's first release of ION rom)********
07/04 ION-V2[C] http://www.4shared.com/file/115896084/56906abb/nk02-v2c-r1-signed.html
HTC_CIME and libs it requires are built in. Manual injection of libs is NO LONGER NEEDED! ##刷完馬上就可以輸入中文##
Lite, smooth, and rooted. Screenshots are shown in page 9
06/27 FULL rev1 http://www.4shared.com/file/114847653/9f8c5587/nk02-4-full-for-TW-rev1.html recommended
06/27 LITE http://www.4shared.com/file/1150789...Hero-Full_v1-Rogers-signed-modded_for_TW.html
1. wlan.ko and libpdfviewer.so have been pushed into the rom
2. original magic ringtones are copied into this rom (i like "Innovation.ogg"), so G1 and G2 ringtones are all put together.
All the files needed to make this possible are included in the file packge...
--- steps in grey color are no longer needed in rev1 of update.zip
1. adb push update.zip /sdcard/update.zip
2. fastboot boot recovery-RAv1.img
3. Run nandroid to backup your entire phone ***very important***
4. wipe the system
5. apply the update
after successfully booted,
6. on your pc, run "adb remount"
7. run "adb push wlan.ko /system/lib/modules/wlan.ko" to make wifi work
8. navigate to setting on your phone to activate installation of unknown sources
9. run "adb push HTC_CIME.pak to /sdcard/HTC_CIME.pak" to transfer chinese input plugin to sdcard
10. run HTC_CIME using ASTRO which has been bundled with the rom.
---
you can also flash recovery-RAv1.img to make it permanent (not a must)
11. in fastboot mode, run "fastboot flash recovery recovery-RAv1.img"
---
**********daldroid's rom (rooted and very lite)**************************
see this post http://forum.xda-developers.com/showthread.php?t=523680
----- links --------
Recovery:
http://www.megaupload.com/?d=JYPX30HN
Rooted (adb shell) Original HTC ROM for Magic:
http://www.megaupload.com/?d=65MNJXYS
**************Instructions on restoring your magic**********************
Copy the image files backed up by Nandroid from sdcard to your pc.
Or you can use mine (Chunghua Telecom with a Hami boot logo)
http://www.4shared.com/file/115081359/d32d4576/TW_MAGIC_original_rom.html
1. enter fastboot mode by pressing back+power
2. fastboot erase system -w
3. fastboot erase boot
4. fastboot flash system system.img
5. fastboot flash userdata data.img
6. fastboot flash boot boot.img
7. fastboot reboot

great.... awaiting the v1.1

Thanks for your ROM, is this one compatible to HK HTC Magic?
The HK version info:
PVT32A SHIP S-ON H
HBOOT-1.33.0009 (SAPP10000)
CPLD-12

onenew said:
Thanks for your ROM, is this one compatible to HK HTC Magic?
The HK version info:
PVT32A SHIP S-ON H
HBOOT-1.33.0009 (SAPP10000)
CPLD-12
Click to expand...
Click to collapse
I think you need to flash the SPL first....
Search a thread started by Amon_RA
There is a collection of SPLs
With a modified SPL, you think you can successfully flash any of these roms, with no guarantee

So great. But when I run clock, it has stopped unexpectedly. Hoping next ver. will fix it

rickykan said:
So great. But when I run clock, it has stopped unexpectedly. Hoping next ver. will fix it
Click to expand...
Click to collapse
Have you flashed SPL?
http://forum.xda-developers.com/showthread.php?t=529019

hi, would like to know does it have microsoft exchange?

many thanks ar.....i love it....it have exchange ar

i like how i get no credit for discovering root on these devices, and making any of this possible

The version of Fatal1ty's ROM that you've modded works _perfectly_ on Rogers HTC magics! This is awesome!

haykuro said:
i like how i get no credit for discovering root on these devices, and making any of this possible
Click to expand...
Click to collapse
Sorry for missing your name...
With no doubt, you deserve most of the credits!!
You're the pioneer and father of magic rooting...

--duplicate post--

the ROM works excellently,and didn't find any bugs.
nice ROM

Nice Rom.
But I do not understand how to install HTC_CIME.
Should I install it in fastboot or.........? I need some suggestion, thanks.

Awesome work - updated my blog to use this rom instead of the first one skittleguy posted.
http://radixgadgets.blogspot.com - has a step by step guide and quick video of my HTC Magic running this rom.
Haykuro - forgive us bloggers and posters - we are but men standing on the shoulders of giants like yourselves! You've done awesome work and we all appreciate it!!!
One odd thing I've noticed with these new roms - the LED light for charging doesn't display anymore - no more orange (indicating charge) or green (indicating full charge) anymore - though it still indicates onscreen.
I suspect the hero devices use a different method for their led notifications and this is why.

ralin said:
Nice Rom.
But I do not understand how to install HTC_CIME.
Should I install it in fastboot or.........? I need some suggestion, thanks.
Click to expand...
Click to collapse
place HTC_CIME in sdcard
or run this command
"adb push HTC_CIME.apk /sdcard/HTC_CIME.apk" to push it to the sdcard
Then on your magic (hero, haha), use ASTRO (a file explorer) to execute HTC_CIME

hmm....I renamed HTC_CIME.zip to HTC_CIME.apk, but I can not execute it as .apk file.

richyyun. You're the man. Many Thanks for your exellent work.
BTW, I have some questions.
When I tried to root my device (Hami Boot Logo) I typed these commands
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd system/bin
cat sh > su
after this command
cat sh > su
it says
write: No space left on device
what should I do?
Thanks

ralin said:
hmm....I renamed HTC_CIME.zip to HTC_CIME.apk, but I can not execute it as .apk file.
Click to expand...
Click to collapse
you should unpack HTC_CIME.zip and you'll see HTC_CIME.apk

sukniyom said:
richyyun. You're the man. Many Thanks for your exellent work.
BTW, I have some questions.
When I tried to root my device (Hami Boot Logo) I typed these commands
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd system/bin
cat sh > su
after this command
cat sh > su
it says
write: No space left on device
what should I do?
Thanks
Click to expand...
Click to collapse
The solution is to remove the original su first before cat sh > su
-->
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd system/bin
rm su
cat sh > su
chmod 4577 su
sync
reboot
---
run terminal to test if you get #

Related

[Root for the HTC Magic/Sapphire] (from haykuro) (updated 5/23)

I was reading the threads in the dream forum and found his progress and instructions. I added them to my wiki so they can be continually edited and updated as new methods are found. I did not have any part in this but I noticed that there was not a formal post here about it yet so I decided to make one.
http://android-dls.com/wiki/index.php?title=Magic_Rooting
Please feel free to thank him with some nesquik if you find this helpful!
I was pasting the new instructions here every time they changed but they seem to change often. Please visit the above url to see the current instructions. They were placed on the the wiki so anyone could make edits and changes to them, which is useless if this post needs to be updated each time. I wish vbulletin had some sort of wiki quote that could auto read that page and insert it here for me
Great!
If would be great if this post were a sticky. It also would be nice it the post was updated to include the instructions here as well.
Thanks,
Anders
Just quoting the solution here..
First of all, everyone owes Haykuro a great big thanks for working on this and helping create the solution without even owning a magic. The following is his method just reworded slightly.
1. To gain root access on your HTC Magic/Sapphire you will need to download the magic-root-boot.img zip file and unzip it so that you have boot-new.img in a location you can find.
2. On your device, enter the bootloader by trying one of the following
* Turn off your device and while it is off hold down home while you press power.
* Turn off your device and while it is off hold down volume down while pressing power
3. Make sure your usb cable is inserted and you have Fastboot installed and ready to use.
4. Type the following commands on your desktop (not on the device):
Code:
fastboot boot boot-new.img
5. wait for the following to flash and the phone to reboot:
Code:
downloading 'boot-new.img'... OKAY
Code:
booting... OKAY
6. make sure you have ADB installed and run the following commands from your desktop (not on the device):
Code:
adb push boot-new.img /sdcard/boot-new.img
Code:
adb shell flash_image boot /sdcard/boot-new.img
anyone tried this?
I was going to post the actual text here but the reason for doing it in the wiki is because the methods seem to change very often (the g1 method changed almost daily for a while). I would still recommend viewing the instructions on the wiki before performing the method to be sure they are the same at the time of use.
Full procedure so far!
1. Download boot-new.img.zip from http://www.droiddeveloper.com/hrbuilds/boot-new.img.zip
2. extract boot-new.img to computer.
3. Download recovery-new.img.zip from http://www.droiddeveloper.com/hrbuilds/recovery-new.img.zip
4. extract recovery-new.img to computer.
5. power off device
6. hold BACK+POWER (or VOLUME_DOWN+POWER) to boot into bootloader.
7.
Code:
[b]fastboot boot boot-new.img[/b]
wait for device to boot.
[b]adb push boot-new.img /sdcard/boot-new.img[/b]
[b]adb push recovery-new.img /sdcard/recovery-new.img[/b]
[b]adb shell flash_image boot /sdcard/boot-new.img[/b]
[b]adb shell flash_image recovery /sdcard/recovery-new.img[/b]
[b]adb shell reboot[/b]
you now have root build, and can flash whatever build you like (test keys and all)
First post and wiki updated to show these changes in more detail.
Hi,
I have a french Magic and I test this solution.
I have a problem, when I use the adb shell, I am "root", but when I use a terminal shell on the phone I'm not "root". I use "id" for my test.
How can I do ?
Thanks.
Edit : Ok I found the problem.
I make these commands after in adb shell:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
# cd system
# cd bin
# cat sh > su
# chmod 4755 su
# sync
# reboot
Thanks
n00b here
can we flash ROMs for dream too or need to wait for magic ROMs ?
it's possible to backup the current firmware of my magic (with or without root), before flashing a new one?
thank you for rooting the magic
thank you for your help
ok i have a big problem when i put (fastboot boot boot-new.img) the phone is restarting every time in htc presentation :S
i put the phone in recovery mode ( fastboot usb ), but then i have the same problem, when i put fastboot boot boot-new.bin, the phone restart always with "boot.bin" , no with "boot-new.bin"...
i try to give the complete path, but always the same result
hello i have a problem.
if i write fastboot boot boot-new.img the console says: the comand "fastboot" is incorrect or bla bla ...
i have a german magic.
sr-ha said:
hello i have a problem.
if i write fastboot boot boot-new.img the console says: the comand "fastboot" is incorrect or bla bla ...
i have a german magic.
Click to expand...
Click to collapse
do you have installed de SDK ¿?
hmm no i dont
should i install it the android sdk 1.5 windows ??
i hve downloadet it but i cant find a icon or sth. to install the sdk
nicola_it said:
it's possible to backup the current firmware of my magic (with or without root), before flashing a new one?
thank you for rooting the magic
thank you for your help
Click to expand...
Click to collapse
nandroid backup 2.1, avaible in recovery mode, doesn't works
sr-ha said:
hmm no i dont
should i install it the android sdk 1.5 windows ??
i hve downloadet it but i cant find a icon or sth. to install the sdk
Click to expand...
Click to collapse
unrar de SDK, and in the "tools" directory you have the ADB and FASTBOOT aplications ( use in the console mode )
Works perfectly with XP, not with vista or win7
sorry but i dont understand what schould i do.
with use in thee console
i think i have to install fastboot or open it. but i cant do nothing of both. if i click on the fastboot exe it blobs open and fast close again.
under windows xp all ok
under windows vista no!!!

MT3G Recovery IMG Works For G1 With No Terminal Tho. 8-27-09

I did not make this.
When messing with mytouch3G the old way to root required this .img.
But I put it on my G1.
I put it on my phone by flashing through adb under tools
too try it out
cd\
cd androidsdk\tools\ *or whatever you named your sdk stuff
fastboot boot recovery-RAv1.2.1G.img
to put it on your g1
cd\
cd androidsdk\tools\ *or whatever you named your sdk stuff
fastboot erase recovery
fastboot flash recovery recovery-RAv1.2.1G.img
takeout battery put it back in boot into recovery and enjoy.
*new features
-format sd fat32/ext2/swap
-format sd fat32
-convert ext2 to ext3
-fix package uid mismatches
-move apps+dalvik-cache to sd
same old features *cy's recovery features* no terminal tho!
-reboot system
-apply sdcard update.zip
-apple sdcard choose zip
-wipe data/factory reset
-nandroid v2.2 backup
-nandroid v2.2 restore
-repair ext filesystem
Download here!
http://www.megaupload.com/?d=0MW0CIU2
sticking with cyanogen until you can list the features better...plus does this contain the features of cyan 1.4 in addition to those things u listed?
Adidas Reborn said:
I did not make this.
When messing with mytouch3G the old way to root required this .img.
But I put it on my G1.
I put it on my phone by flashing through adb under tools
start
cmd *enter
cd\
cd androidsdk\tools\ *or whatever you named your sdk stuff
fastboot erase recovery
fastboot flash recovery recovery-RAv1.2.1G.img
takeout battery put it back in boot into recovery and enjoy.
*new features
-format sd fat32/ext2/swap
-format sd fat32
-convert ext2 to ext3
-fix package uid mismatches
-move apps+dalvik-cache to sd
Download here!
http://www.megaupload.com/?d=0MW0CIU2
Click to expand...
Click to collapse
what features does it include?
yah its a build off cy's just more stuff like an easy way to format your sd without so much work to do it and thats a big key
confirmed more features! but no option to boot into terminal!
thats a no no! back to cy 1.4
well its new.. maybe someone can work off this. to add the terminal.
after all it was based for the mt3g but works with g1
Indeed new features
Agreed with drizzy i will switch back to cyan but for those of you who will ask in a matter of time you can flash this from your terminal by
1. put image into root of sdcard
2. open terminal and type in the following
a. mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system (press enter)
b. cd sdcard (press enter)
c. flash_image recovery recovery-RAv1.2.1G.img (press enter)
would be great recovery if had console.
It's a real nice recovery based off of cyanogen's 1.4 so maybe he can add console and make 1.5 for us real easily
yeah i like how it includes the farmat of sd automatically which alot of people like just need terminal so yeah
This is where it came from!
http://forum.xda-developers.com/showthread.php?t=530492
xda-developers > Sapphire > Sapphire android development > [Updated 8/23] [Modded recovery] RAv1.2.1
Amon_RA said:
Make sure your phone is rooted and that you are using an engineerings SPL!
Features
root
full ADB access in recovery mode
Partition your SD directly from the menu! (500MB Ext2, 32MB Swap, remaining Fat32)
Repair ext filesystem, convert ext2 to ext3, fix package mismatches, move apps2SD directly from the menu!
Flash ANY .zip from your SD - by krut0n
51dusty's sdparted v0.5 util *NEW
Loads of scrips and binaries from Cyanogen's v1.4 dream recovery
Nandroid v2.2 backup and restore
Busybox
Green colored menu with a nice HTC logo
See detailed changelog for more details!
Download
Use the H/G version if your Magic is HTC branded (PVT 32A board)/Google branded (PVT 32B board, or if you have an HTC Dream).
Latest :
RAv1.2.1H - MD5Sum: F5858017CE32B6E959313B6C970AC6D3
RAv1.2.1G - MD5Sum: 965497CC010CAA0326A4B26D2F25CBED
Old versions :
RAv1.2.0H - MD5Sum: D819FABD43EBC1A0B6FA4AABFADD3116
RAv1.2.0G - MD5Sum: F5919CB4E2D406C11BDF7707A90423BF
RAv1.1.2H - MD5Sum: 2C7B9771B3598EE4007F06BCB4B1DA61
RAv1.1.2G - MD5Sum: 16DFA87E7B583FDD9E151E857A8C5ECE
How to use/install
Try it out WITHOUT making changes to your device (NO flashing):
Code:
fastboot boot recovery-RAv1.2.1H.img
Flash it permanently (try it first by following the steps above and making a nandroid backup first!):
Code:
adb remount
adb shell rm /system/recovery.img
OR (depending on where your ROM is storing the recovery image)
adb shell rm /data/recovery.img
Code:
fastboot erase recovery
fastboot flash recovery recovery-RAv1.2.1H.img
Special thanks to :
51dusty for his super sdparted script! Thanks! ^^
Cyanogen for his dedicated work! , buy him a beer!
Haykuro for finding the HTC offsets ^^ , buy him a Nesquik!
JesusFreke for his awesome JFv1.43's recovery , donate
Click to expand...
Click to collapse
did anyone try it to see if it works, and if its worth upgrading?
since there is a way to utilize this without flashing it to your phone it would be a great way to quickly partition an sdcard. especially for all the noobs over at the Q&A thread who for some reason cannot type a few commands into the recovery console
if it had an option to format just ext3 and swap id be down...but I dont wanna have to clear out my fat32 all the time.
I created this recovery specifically for the Sapphire => no keyboard!
The fact that the Sapphire doesn't have a keyboard is the only reason why I didn't include any keyboard related stuff like the terminal...
My original recovery was created so people could root their 32A Sapphire (the code was based on the AOSP cupcake release).
After Cyanogen's improvements I decided to build further on his recovery source code and make it more "Sapphire friendly", hence the one-click options.
I'm not really planning to release a specific recovery for the Dream (including keyboard options + terminal) because my 32B version will boot on the Dream anyway...
Amon, just want to thank you for your work ever though it was not meant for us g1 users it would be a great help to all the noobs to have it, just for the ease of it for them
hm add a feature to wipe ext3, boot into parted, and add terminal and this is a keeper.

[INFO][32B] [PORT/FIX] for [ROM] JACxHEROSkiv2.1- JAC/CC 2.83.x posted in Dream Forum

This is for those who have a Sapphire 32B who had issues running Compcache in the 2.0/1 JACxHEROSki.
The problem is that the Magic convert script included copies a 32A .img file to the boot flash. I removed the lines that do this and things seem to work fine. This must be done after flashing the new image, but before running the script.
Here are the steps to be done immediately after booting to new image, but BEFORE running MAGIC script:
1. Download the modified MAGIC script attached to this message and rename it to remove the .TXT extension (should be just "MAGIC")
2. Use ADB Push to push the modified MAGIC script to /sdcard
3. Use ADB Shell and enter the following:
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/magic /system/bin
cd /
rwsystem
magic
4. Choose MyTouch.
5. Edit user.conf for desired settings.
6. Use reboot command to reboot phone.
I would also like to qualify this by saying this worked for me, and this is my first share of this sort with this forum. So, please use this at your own risk.
Good luck.
Hello,
is there a chance for a 32A version of your latest rom?
regards
endebe
Thanks, ill try later
Yeah man ! Thx for the trick Works fine !
I'm still wondering what s best... compcache with backing swap, or linux swap alone ?
What's your opinion ?
on my 32b the g-sensor doenst work.. ist there a fix?!
psxx said:
on my 32b the g-sensor doenst work.. ist there a fix?!
Click to expand...
Click to collapse
You're right, doesn't work anymore on my 32B too
just run the shell script
su
rwsystem
magic
-then press M for mytouch
wifi and gsensor both work after
Very nice.
I'm just waiting for someone to package the JACxHeroSki 2.1 kernel so I can apply it directly over my MCR 2.2e from Paul @ MoDaCo! Right now, I'm using Cyanogen's 4.1.8 kernel, which isn't bad...but I hear that the JAC one is far superior.
dills84 said:
just run the shell script
su
rwsystem
magic
-then press M for mytouch
wifi and gsensor both work after
Click to expand...
Click to collapse
i already did this... but gsensort wont work after... i tried... no autorote... no apps with gsenor are working
compcache is working naow with this script, but no wifi and gsensor, without this scrips works g sensors and wifi
well this script is relativ simple... the first just remounts the fs to rw and the "2nd" part just replayces 3 libs..
i checked twice... but gsensor doenst work with my phone... i had tha same issue on 1.7r2... later i used the port from setenza01 which had a working g-sensor.
so please if someone know how to fix the G-sensor let me know!
jacko6969 said:
This is for those who have a Sapphire 32B who had issues running Compcache in the 2.0/1 JACxHEROSki.
The problem is that the Magic convert script included copies a 32A .img file to the boot flash. I removed the lines that do this and things seem to work fine. This must be done after flashing the new image, but before running the script.
Here are the steps to be done immediately after booting to new image, but BEFORE running MAGIC script:
1. Download the modified MAGIC script attached to this message and rename it to remove the .TXT extension (should be just "MAGIC")
2. Use ADB Push to push the modified MAGIC script to /sdcard
3. Use ADB Shell and enter the following:
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/magic /system/bin
cd /
rwsystem
magic
4. Choose MyTouch.
5. Edit user.conf for desired settings.
6. Use reboot command to reboot phone.
I would also like to qualify this by saying this worked for me, and this is my first share of this sort with this forum. So, please use this at your own risk.
Good luck.
Click to expand...
Click to collapse
To be honest, you don't have to use this script at all, the script is already in there you just need to run this command.
rwsystem
magic
m
reboot
Hi... By stripping the sapphire.img from the script, you're only solving part of the problem (the compcache part).
Actually sapphire.img is important for you to be able to turn on g-sensors.
Here's the solution I posted on the T-Mobile Android forums. ( http://forums.t-mobile.com/tmbl/board/message?board.id=AndroidDev&thread.id=13826 )
It replaces the some of the files with the ones found in ZeroXd's Hero.
-----
Download the following file, that I put together: http://www.megaupload.com/?d=Q759VAG2
This file fixes the compcache problem found in JACxHeroSki v.2.0 and v.2.1. I don't know if this will work for any later versions of the ROM because they didn't exist when I tried it all.
I take no credit for any of this. I just put everything together and zipped it up. All the included files and the knowledge it took to put all this together came from the wonderful people at the Dream forums on xda-developers.com. --eatabagel
Thanks especially to the following awesome devs:
For the ROMs -
JustAnotherCrowd
CCyrowski
For the 32B files (from ZeroXd 5.2r4) -
Twistedumbrella
For the instructions -
Setenza01
============
Instructions
============
Run all of this after flashing JACxHeroSki 2.0 or 2.1, but before running the "magic" command. I assume that your install went well (that means you did everything you needed to do: wipe, clean out ext2/3, etc.). At the stage you run the following commands, you should have a working install of JACxHeroSki 2.0 or 2.1 that hasn't yet been 'fixed' for 32B. That means no WiFi yet.
1. Copy file onto /sdcard
2. Either from a terminal emulator (i.e., Better Terminal Emulator) or from adb shell, type the following:
cd /sdcard
unzip sapphire32bfix.zip
su
rwsystem
cp /sdcard/sapphire32bfix/sapphire/* /system/bin/sapphire
cp /sdcard/sapphire32bfix/sensors.sapphire.so /system/lib/hw
cd /
magic
3. Type 'm' for magic
4. Reboot. Compcache and Wifi should all run perfectly now. No more home screen loads!!!!
I was going to suggest the same solution but you beat me to it.
I dont know if I like the comp cache with vm... it seems slower...
I really like the ZeroXd 5.2rX it seems to be the most responsive...
zambezy said:
I was going to suggest the same solution but you beat me to it.
I dont know if I like the comp cache with vm... it seems slower...
I really like the ZeroXd 5.2rX it seems to be the most responsive...
Click to expand...
Click to collapse
Yea, I agree, having Compcache is definately slower, I don't know about the VM part though.
They did a comparison btwn Linux-Swap and Compcache and Linux-Swap is the winner for speed and I think so too. As for VM I don't think it does anything, I might turn it off to see what happens.
Sweetness! Did the fix and it worked. I finally have landscape and wifi works! Haven't tested bluetooth yet. But other than the messed up screen wake my phone runs flawlessly. I'd have to say that JACxHeroSki 2.1 is the best Hero rom out right now.
solved! thank your for there these files
eatabagel said:
Hi... By stripping the sapphire.img from the script, you're only solving part of the problem (the compcache part).
Actually sapphire.img is important for you to be able to turn on g-sensors.
Here's the solution I posted on the T-Mobile Android forums. ( http://forums.t-mobile.com/tmbl/board/message?board.id=AndroidDev&thread.id=13826 )
It replaces the some of the files with the ones found in ZeroXd's Hero.
-----
Download the following file, that I put together: http://www.megaupload.com/?d=Q759VAG2
This file fixes the compcache problem found in JACxHeroSki v.2.0 and v.2.1. I don't know if this will work for any later versions of the ROM because they didn't exist when I tried it all.
I take no credit for any of this. I just put everything together and zipped it up. All the included files and the knowledge it took to put all this together came from the wonderful people at the Dream forums on xda-developers.com. --eatabagel
Thanks especially to the following awesome devs:
For the ROMs -
JustAnotherCrowd
CCyrowski
For the 32B files (from ZeroXd 5.2r4) -
Twistedumbrella
For the instructions -
Setenza01
============
Instructions
============
Run all of this after flashing JACxHeroSki 2.0 or 2.1, but before running the "magic" command. I assume that your install went well (that means you did everything you needed to do: wipe, clean out ext2/3, etc.). At the stage you run the following commands, you should have a working install of JACxHeroSki 2.0 or 2.1 that hasn't yet been 'fixed' for 32B. That means no WiFi yet.
1. Copy file onto /sdcard
2. Either from a terminal emulator (i.e., Better Terminal Emulator) or from adb shell, type the following:
cd /sdcard
unzip sapphire32bfix.zip
su
rwsystem
cp /sdcard/sapphire32bfix/sapphire/* /system/bin/sapphire
cp /sdcard/sapphire32bfix/sensors.sapphire.so /system/lib/hw
cd /
magic
3. Type 'm' for magic
4. Reboot. Compcache and Wifi should all run perfectly now. No more home screen loads!!!!
Click to expand...
Click to collapse
Thanks you, its really works fine
Hi guys, could someone please host the fix file on mediafire or filehosting as i can't download it from megaupload nor rapidshare . Would be really nice
Thx in advance

[GUIDE] Safer way to unroot and revert to stock myTouch 3G 1.2

This method we will use nandroid's recovery option in ClockworkMod
Requirements:
Rooted myTouch 3G 1.2 with USB Debugging
ClockworkMod Recovery Installed (can be install from ROM Manager)
Universal Androot apk saved to your AndroidSDK tools folder
(I will be doing this in adb)
Create the recovery folders
Code:
mkdir /sdcard/clockworkmod
mkdir /sdcard/clockworkmod/backup
mkdir /sdcard/clockworkmod/backup/Stock
Mount the SD card so you can access it on your computer.
Now extract SAPPIMG_Sapphire_T-Mobile_US_2.10.531.4_release_signed.zip (from shipped-roms) [FYI: I had to use 7zip for this] into clockworkmod/backup/Stock.
Now we are down with that unmount it and return to adb.
Once your phone has remounted the SD card do:
Code:
cd /sdcard/clockworkmod/backup/stock
md5sum * > nandroid.md5
cd ../../../
cat /system/bin/flash_image > flash_image
(If you do not have flash_image post here in this thread and I will pm you a link to it)
Reboot the phone and boot into recovery mode (hold home when powering on)
Once in there
**DO A FULL WIPE**
then restore the "Stock" backup from the restore menu,
It should get past boot and system then fail on /data THIS IS NORMAL
It is not safe to reboot your phone
Set up your phone and all that good stuff, then re-enable adb debugging.
in a command prompt cd to your androidsdk/tools folder and run
Code:
adb install UniversialAndroot.apk
and reroot your phone (bare with me)
once that is done do
Code:
adb shell
su
be sure to click allow on the Superuser Permission pop up that shows up on the phone
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
rm Superuser.apk
cd ..
cat /sdcard/flash_image > flash_image
chmod 0700 flash_image
./flash_image recovery /sdcard/clockworkmod/backup/Stock/recovery.img
rm flash_image
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
unroot your phone via universal androot and uninstall it via the applications menu
reboot and done!
I have done this a couple times and every time it worked like a charm.
Hey there, I get to inputting the md5 command, but I get cannot create nandroid.md5: permission denied
What am I doing wrong?
Using a SAPPIMG.zip is not at all unsafe and is faster and easier.
Well, I have been trying to use the sappimg.zip from unlockr's guide and on the t-mobile dev forums, but yet all of them end up giving me a Main version is older! error.
I cant seem to find the solution.
I've had the same problem. I have made the gold card a million times (worked rooting the phone) and now it tells me the older error. Thought it would be easier reverting back, guess that's not true.
Anyways, can I get the flash_image file?
getting past the "older version" error
what i did to get past the "older version" error, was this:
step1: re-use gold card and the 1.5 version sappimg.zip from unlockr.com
step2: reboot using the original sappimg for t-mobile (i wont link from the post but i found it on XDA aka use search)
this will reload EVERYTHING as stock MT3g1.2 including original splash, and recovery images.
if you want to revert it to stock, try this: http://forum.xda-developers.com/showthread.php?t=641174, it may help
The safer way is to NOT BOTHER.
The update schedule is to run from today through the 25th inclusive. That's 11 days. The average length of time that any particular user will have to wait is therefore 5.5 days. Chances are that the update will be posted by tonight or tomorrow (latest), and 10 minutes later, it will be fixed so that it doesn't rob you of root (keep your options open!).
So... you save about 5 days of waiting (average) and end up with your options wide open. OR, you can commit to the average and end up locked out, possibly forever.
I like the way you think...
Sent from my T-Mobile myTouch 3G using XDA App
Need eng spl
bartcrusades said:
well, i have been trying to use the sappimg.zip from unlockr's guide and on the t-mobile dev forums, but yet all of them end up giving me a main version is older! Error.
I cant seem to find the solution.
Click to expand...
Click to collapse
just got through doing the same thing tried goldcard method and still got main version older....then i got it right...flash eng spl i beleive it was 0010 then do the sappimg.zip it works and when you finish the update your 0013 spl is back...then used universal androot installed superuser then installed rom manager and made backup of stock then put my phone back the way it was hopefully when the update comes out and i do think it will be a long time before it does i can restore backup of stock unroot with universal androot and uninstall superuser. At least thats the plan. If you want to do this look for kennys posts in the sappimg thread his directions are what i used.
That is the correct way to do it. Eng spl then tmo stock image. When done its back to completely stock.
Sent from my T-Mobile myTouch 3G using XDA App
hey i do not have flash_image can u post up a link? thanks.

[ROM] Inspire 4G Stock Rom w/Root, HSUPA, and Sideloading

Last updated 2/28/2011
This is a pure stock rom with root+hsupa+sideload.
Warning: the following steps to flash the rom will wipe your data.
- Use HTC Inspire Hack Kit or some other way to get S-off so that you can flash custom roms.
- Download the rom, rename it to PD98IMG.zip, put it to the sdcard.
- Go to Settings -> Applications, turn off fast boot and then power down the phone.
- Boot into hboot by pressing volume down + power button and flash.
After flashing you should have a pure stock rom rooted, with hsupa on, and sideloading as an option. I don't have any problem with this rom while I got superuser permission, sideloading back on and noticed a higher upload speed.
Some people report to have problem with ClockWorkMod recovery on the stock rom. You can try the suggestion from this thread.
Link for the ROM: http://www.multiupload.com/93I04ACXYU
--------------------------------
Below are the steps that I took to made this rom, you can ignore it if you are not interested into know how to cook system.img or hack a rom.
I basically added the root files to the system.img and change ro.ril.hsxpa=1 inside of the build.prop file to ro.ril.hsxpa=3 to make hsupa work, edit the customize/CID/default.xml file and change <item name="unknown_sources_visibility">false</item> to <item name="unknown_sources_visibility">true</item> to enable the sideloading option in settings, no need to flash any custom radio or kernel.
Here's how to do it:
- Download the RUU for the stock rom.
- Open the RUU you downloaded, wait for the screen that says Welcome to the Rom Update Utility to come out, but don't flash yet!
- Navigate to the temporary folder and locate rom.zip, which is a file that the installer extracted. I found it by navigating the folder with the most recent Date modified.
- Copy rom.zip to some other folder. This is the zip file which you can use on the phone to flash back to stock.
- Extract android-info.txt and system.img from rom.zip and put system.img in a place where Linux can access.
Right now for the cooking part linux is required. I used Ubuntu to do it.
Code:
sudo mkdir /mnt/system
sudo mount -o loop,norelatime /path to/system.img /mnt/system
Code:
nano /mnt/system/build.prop
update ro.ril.hsxpa to 3 to enable hsupa
You also need the root files busybox, su, and Superuser.apk, which can be found at ace-hack-kit-v002/tools/root
Code:
sudo
cp /path to root files/busybox /mnt/system/xbin/busybox
chmod 4755 /mnt/system/xbin/busybox
cp /path to root files/Superuser.apk /mnt/system/app/Superuser.apk
chmod 644 /mnt/system/app/Superuser.apk
cp /path to root files/su /mnt/system/bin/su
chmod 4755 /mnt/system/bin/su
nano /mnt/system/customize/CID/default.xml
(update <item name="unknown_sources_visibility">false</item> to <item name="unknown_sources_visibility">true</item> to enable the sideloading option in the menu.)
umount /mnt/system
Right now you have a cooked system.img
- extract all files from rom.zip, replace system.img with the one we just cooked, then put all the files back to a new zip named PD98IMG.zip.
--------------------------------
Couldn't you post your cooked PD98IMG.zip for us? Shouldn't it work for all Inspire devices if it was taken from the official RUU?
it is very big, hold down. The phone needs to be S-off first in order to flash.
angelchen1111 said:
it is very big, hold down. The phone needs to be S-off first in order to flash.
Click to expand...
Click to collapse
Yeah... but you should still be able to post it. That would be a WHOLE lot easier than every one of us making the exact same file when we could just flash the one you made. Make sense?
If you want to share, try uploading it to multiupload.com
Pre-rooted stock system.img
File name: PD98IMG.zip File size: 242.81 MB
More links
have fun
Here's the link [removed]. Revert back to stock after being S-off to flash it. Also flashing system.img seem to factory reset the phone, so back up your data inside of your phone if any before flashing.
I just tried it and it did give me root access. Upload speeds are still crappy for me. It was worth the time just for root access. Thanks!
so let me ask a question. If someone were to use temp root with say visionary, can S-off be set from there without a gold card?
angelchen1111 said:
I found a way to enable hsupa and root the phone on the stock rom by "cooking" system.img from the stock rom and flash it over after the phone has been S-off and returned to stock.
I basically added the root files to the system.img and change ro.ril.hsxpa=1 inside of the build.prop file to ro.ril.hsxpa=3 to make hsupa work, no need to flash any custom radio or kernel.
Here's how to did it (this still looks kind like rough draft, I don't know if someone can help me to edit this to make it better or if I can put it up to wiki):
- use HTC Inspire Hack Kit or some other way to get S-off so that you can flash custom roms.
- Download the RUU for the stock rom.
- Open the RUU you downloaded, wait for the screen that says Welcome to the Rom Update Utility to come out, but don't flash yet!
- Navigate to the temporary folder and locate rom.zip, which is a file that the installer extracted. I found it by navigating the folder with the most recent Date modified.
- Copy rom.zip to some other folder. This is the zip file which you can use on the phone to flash back to stock.
- After done copying rom.zip proceed with RUU to flash back to stock.
- Extract android-info.txt and system.img from rom.zip and put system.img in a place where Linux can access.
Right now for the cooking part linux is required. I used Ubuntu to do it.
Code:
sudo mkdir /mnt/system
sudo mount -o loop,norelatime /path to/system.img /mnt/system
use an editor to edit /mnt/system/build.prop and update ro.ril.hsxpa to 3 to enable hsupa
You also need the root files busybox, su, and Superuser.apk, which can be found at ace-hack-kit-v002/tools/root
Code:
sudo
cp /path to root files/busybox /mnt/system/xbin/busybox
chmod 4755 /mnt/system/xbin/busybox
cp /path to root files/Superuser.apk /mnt/system/app/Superuser.apk
chmod 644 /mnt/system/app/Superuser.apk
cp /path to root files/su /mnt/system/bin/su
chmod 4755 /mnt/system/bin/su
umount /mnt/system
Right now you have a cooked system.img
put android-info.txt and the cooked system.img to a zip named PD98IMG.zip and put it to the sd card.
boot into hboot by pressing volume down and power button and flash.
After flashing you should have a pure stock rom rooted and with hsupa on. I don't have any problem with this rom while I got superuser permission and noticed a higher upload speed.
Click to expand...
Click to collapse
The install was fine and i have not had any fc yet. the only problem that i have is that i cant install non market apps. any suggestions on how to allow restore from titanium backup?
farmercyst said:
The install was fine and i have not had any fc yet. the only problem that i have is that i cant install non market apps. any suggestions on how to allow restore from titanium backup?
Click to expand...
Click to collapse
Once it is rooted, it is trivial to enable sideloading.
Code:
adb shell
su
busybox cp /data/data/com.android.providers.settings/databases/settings.db /sdcard/settings.db
exit
exit
adb pull /sdcard/settings.db settings.db
echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db
adb push settings.db /sdcard/settings.db
adb shell
su
busybox cp /sdcard/settings.db /data/data/com.android.providers.settings/databases/settings.db
chown system.system /data/data/com.android.providers.settings/databases/settings.db
chmod 660 /data/data/com.android.providers.settings/databases/settings.db
exit
exit
After thar reboot and you should have sideloading
if it says command not found, try to append busybox in front of the commands.
thanks a lot. stock with root and sideloading is what i have been wanting.
Guess I will be going this route in the meantime as well. Can't handle the "tinny" audio in DHD ROMs.
Sent from my Desire HD using XDA App
So with the way you have this setup as of right now, it only works with a computer running the Linux OS?
Sent from my Inspire 4G.
slapdaddy said:
So with the way you have this setup as of right now, it only works with a computer running the Linux OS?
Sent from my Inspire 4G.
Click to expand...
Click to collapse
You need Linux to open the system.img in order to cook.
angelchen1111 said:
Once it is rooted, it is trivial to enable sideloading.
Code:
adb shell
su
cp /data/data/com.android.providers.settings/databases/settings.db /sdcard/settings.db
exit
exit
adb pull /sdcard/settings.db settings.db
echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db
adb push settings.db /sdcard/settings.db
adb shell
su
cp /sdcard/settings.db /data/data/com.android.providers.settings/databases/settings.db
chmod 666 /data/data/com.android.providers.settings/databases/settings.db
chown system.system /data/data/com.android.providers.settings/databases/settings.db
After thar reboot and you should have sideloading
if it says command not found, try to append busybox in front of the commands.
Click to expand...
Click to collapse
After "cp /data/data/com.android.providers.settings/databases/settings.db /sdcard/settings.db", I get "cp: not found".
after using this method getting everything setup I ran across one issue so far
ROM manager "clockworkmod" issue ,,when rebooting into recovery, screen freaks out white then fading to black ,wait for a while & nothing ,hit power button phone reboots like nothing happend.
How is this done with the file that I'm downloading? The "cooked" file
how do you boot into hboot?
i wish you guys would enlighten me! I guess it's hard for a noob to get any help! Maybe I should just go back to modmyi and be a snob.

Categories

Resources