yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] JackMagic:
Cheers, will get that setup now.

Sort of on-topic: I tried to install the HTC IME keyboard as personally I don't like the stock one (too small) and would rather use this over BetterKeyboard - I was under the impression it worked on rooted phones? Maybe if I adb push it straight to my data folder or w/e it is, rather than use the Package Installer?

Edit: Used cyanogen's port of the HTC_IME keyboard to Donut and its working fine now, I didn't realise a ported version was needed. He has a thread on it here :) Also the calibration works fine once you install the clicker.apk!
[myTouch 3G, Magic Android Development] BrunoRafael:
Hi dferreira

I have just got a vodafone uk htc magic with google (android 1.6)

SAPPHIRE PVT 32B SHIP S-ON G

HBOOT-1.33.0004 (SAPP10000)

CPLD-10

RADIO-2.22.19.26I

I would like to have a stock google rom rather than vodafones and would just like verification as don't want to brick a brand new phone and am new to android and not flashed before.

So i have downloaded android-sdk, recovery-RA-magic-v1.2.3G.img (renamed just recovery.img), update.SPL_Crios_1.33.2004.zip and signed-google_ion-ota-14721.zip (renamed update.zip) put in sdk/tools/ and plan to undergo following steps:

1. start phone in fastboot, boot recovery.img then partition SD card

2. do a nandroid backup of original setup (or does this require engineering spl first?)

3. with copies of recovery, spl and update on root of SD card, fastboot, boot recovery.img then apply the splupdate.zip, when finished press green and reboot as described on spl thread.

Now at this point will the phone start as normal with new spl on original rom or do i straight away flash ion rom update.zip?

4. repeat step 3 but apply update.zip, is a wipe required first? and again will this finish with green press then reboot?

Now i should have working google ion 1.6?

At this point to gain root again fastboot to recovery or flash it to phone and in recover do the adb shell bit to gain root access.

Hopefully this is right from what i have gathered and havent mised anything out and will have a go! Also is it a fairly safe method, as opposed erase hboot, flash hboot? and is the crios spl the best for me you think? I have a fairly good chance my phone will live?

Also i have found an original HBOOT-1.33.0004, along with nandroid backup will i be able to get back to stock then if i need to send for repairs under warranty?

Sorry for all the questions and Thanks in advance
[myTouch 3G, Magic Android Development] JackMagic:
Hey ^^ Last night I flashed my phone, same version/SPL succesfully. Wait for dferraira's reply, but here's some info regarding the procedure I went through (which should theoretically be the same for you).

No, you don't need to partition your SD card, from what I was told.

Nandroid backups don't require the Engineering SPL, you just select the option from the recovery menu and it will put it directly on to your sd card.

I rebooted my phone after applying the SPL to ensure it had worked properly before applying the update.zip.

I initially applied update.zip without wiping my phone, and I encountered an error in which the boot sequence kept looping around. You may not encounter this, but all I did was boot back in to recovery, wipe the phone and re-apply the update.zip. I would think wiping first is probably beneficial - after all you have your Nandroid backup.

Yes, once you've flashed the update.zip successfully you can obtain root. Boot into the recovery image (to allow adb root access afaik), and then use the adb shell command in your sdk\tools directory and follow the steps on the first page.

It's an official rom, so in that sense yes - as safe as it gets. I didn't use the crios SPL, just the stock 2004 egineering and it worked fine. Fairly good chance your phone will live :)

Presumably, yes. But which order you would flash them in, I do not know, as ION ROM needs the Engineering SPL to work, so you'd probably have to apply the stock ROM, then flash the SPL back.

Wait for dferreira's comments too, but hope this helps :)
[myTouch 3G, Magic Android Development] BrunoRafael:
Cheers jackmagic, feel more confident now i know i had the right idea and someone with same phone has gone through successfully, will wait and see if dferreia has anything else to add first but think i will give it a go
[myTouch 3G, Magic Android Development] JackMagic:
No probs :) And yeah I'd wait for his comments, but I think you should be fine!
[myTouch 3G, Magic Android Development] htcmagic:
dferreira : thanks for the advice for apn settings. GPRS is wroking for nrowsing the internet but sending mms with a pic attached does not work. Stays on sending.

I chose the settings-wireless controls-mobile networks- access point names-the mms apn

but it didnd send the message.

For gprs i chose the gprs one and it worked.

adb Logcat:

V/MmsSmsProvider( 146): getThreadId THREAD_QUERY: SELECT _id FROM threads WHERE recipient_ids = ?

V/MmsSmsProvider( 146): getThreadId cursor count: 1

V/Telephony(12682): getOrCreateThreadId cursor cnt: 1

D/NetworkLocationProvider( 76): onDataConnectionStateChanged 3

I/HTCIMEService(10864): onReceive - android.intent.action.ANY_DATA_STATE

D/MobileDataStateTracker( 76): CONNECTED event did not supply interface name.

D/MobileDataStateTracker( 76): DNS server addresses are not known.

D/GpsLocationProvider( 76): state: CONNECTED apnName: mms reason:

I/HTCIMEService(10864): onReceive - android.intent.action.ANY_DATA_STATE

D/NetworkLocationProvider( 76): onDataConnectionStateChanged 3

D/GpsLocationProvider( 76): state: DISCONNECTED apnName: null reason: dataDisabled
[myTouch 3G, Magic Android Development] dferreira:
You won't be able to fastboot boot recovery.img with a S-ON SPL, that's why we put an Eng. SPL, so that you can access your phone from fastboot. First thing you should do is to follow Amon_RA instructions on how to get the 2004 Eng. SPL to your phone. You can use Relentless Router to do that (I think it's a sticky on the Dev. Forum :)

Yes, you should do a nandroid backup of your current running system, even before applying the Eng. SPL, so that in case you need to, you can go back to the original state (except the original SPL...).

You can see if the SPL is working properly before applying the update for the OS.

Yes, you should wipe before applying any update.zip. If I'm not mistaken, the recovery from Amon_RA now requires you to hit Home instead of green :)

Yes, you should be able to restore the nandroid backup and go back to stock. Remember that nandroid doesn't backup the carrier splash screen. Unless you create a new splash screen that looks like the original (I don't remember anymore what it looked like :D), you should be fine.
[myTouch 3G, Magic Android Development] dferreira:
DNS server addresses are not known... apparently the mms server is not correct :/
[myTouch 3G, Magic Android Development] JackMagic:
Been having a play about with installing Loccy's BetterBrowser to the ION ROM and had some success :)

Requires root access - see FAQ in first post.

This is what I did. NB: You can either do this in fastboot and boot into your recovery image, or whilst the OS is booted but make sure you have USB Debugging enabled (Settings > Applications > Development > USB Debugging)

1. Use adb to pull your stock browser files (Browser.apk and Browser.opex) from the ION ROM (for a backup, incase you want to revert back).

adb pull /system/app/Browser.* C:\[file path to where you want to pull it to]

2. Mount your system and use shell to remove the stock browser files from /app directory.

adb remount
adb shell
# cd /system/app
# rm Browser.apk
# rm Browser.odex

3. Push your new Browser.apk (rename Loccy's .apk to this) to you /app directory.

adb push C:\[file path to Loccy's .apk here] /system/app

4. Reboot your phone (if in recovery, use the menu. if booted into OS, use shell and reboot).

adb shell
# reboot

The functionality is good. Double tap to zoom in/cycle through zoom(s) works and so does tripple tap :eek: to zoom out. Multi touch doesn't work as this is an official ROM (the browser in 2.0 will support it and as we have ION will all be getting that first :D). Hiding the notification bar works too.
[myTouch 3G, Magic Android Development] dferreira:
Added to first post :)
[myTouch 3G, Magic Android Development] brokenworm:
i have bricked my magic 32A .....

3 - Install Engineering SPL 2004 from here: http://xdaforums.com/showthread.php?t=529019 - this will allow you flash Google ION ROM directly with Amon_RA's recovery tool, which makes your HTC Magic 32B from now on a Google ION device!

as my device were a 32A it resulted in no recovery menu .... no fastboot ...

no nothing but charging funktion works...

no usb device when i put it in

is it possible to UNBRICK my fone again or do i have to go to the store "warrenty" ?

:mad:
[myTouch 3G, Magic Android Development] fathabit:
The HTC exchange sync is limited, Touchdown is better and far more feature rich.

Anybody that's having problems with this update sticking on the android screen, make sure you have wiped/factory reset before applying update.zip and make sure your using the recovery rom, not the system rom.

Thanks for the props dferreira!
[myTouch 3G, Magic Android Development] dferreira:
... I'm not held responsible for any damage from not reading "32B"... Warranty should replace it, since it doesn't even boot. You can say that you left the phone recharging and then when you tried to turn it on, it doesn't.

Good luck.
[myTouch 3G, Magic Android Development] b!rust:
Hey guys,

I have a problem!

First I installed the 2005 SPL + Amon_RA's Recovery.

Then I saw that many of you guys had the 2004 SPL, and I just wanted to try that one. But the problem is when I flash the recovery image, then boot android and then want to go to the recovery I just get that standard recovery image.

So I tried the 2005 SPL again because there it was no problem to flash the recovery and boot it, but now I even can't boot the recovery from amon when it's flashed (Ok, of course it works with fastboot but if I just want to boot it with home+power it doesn't work...)

I hope you guys can help me.

Best regards,

b!rust
[myTouch 3G, Magic Android Development] JackMagic:
As I understand it, if you flash the recovery to your device before applying the Google ION rom (update.zip), it's pointless as the new ROM will replace the recovery with its own again.

Maybe that's what you've done?
[myTouch 3G, Magic Android Development] caoboth:
Jackmagic is correct if you apply the recovery image from the HTC site it will replace your amon-ra recovery image with the one supplied in the recovery image.

what you need to do is....

1. put you phone in fastboot mode (back and power)

2. fastboot erase recovery (from your pc)

3. fastboot flash recovery recovery.img

4. fastboot reboot

then you should be ok :)
[myTouch 3G, Magic Android Development] b!rust:
Ok Problem solved!

Here's an instruction how to do that:

First I downloaded the "System Image" from here, the Engineering SPL 1.33.2005 from here and the Recovery Image from here (You must take the "G" Image on a 32B device) or from here.

First of all you have to copy the SPL to your SD. You have to connect your device to your PC for the whole process! Then turn your device in fastboot mode by pressing back + power. When you are in fastboot mode you have to open terminal/cmd and type:

fastboot boot recovery-RA-magic-v1.2.3G.img

Now the recovery image should boot and you should backup your data with nandroid. After that press "Apply sdcard:choose zip" and then select the SPL. Wait a while and then it should reboot. Now you have your SPL installed!

After that you must turn your device in fastboot mode a second time. Now type in your cmd/terminal:

fastboot erase userdata
fastboot erase cache
fastboot update signed-google_ion-img-14721.zip -w
fastboot reboot

Now your device will boot your new Google Ion ROM! When you went through the first steps shutdown your device and boot in fastboot mode again. Now you type in the cmd/terminal:

fastboot flash recovery recovery-RA-magic-v1.2.3G.img

or if you want to install cyanogens recovery image:

fastboot flash recovery cm-recovery-1.4.img

And that's it!

Flashing your device with fastboot (as far as I know) just works with Eng SPL 1.33.2005! I tested it with the 2004 SPL and it didn't work.
[myTouch 3G, Magic Android Development] b!rust:
Damn it!!! That's what I forgot...

Do I get OTA updates with both of those SPL's?

//edit: @caoboth&JackMagic: Doesn't work at all =( I just let SPL2004 on it, so if there's somebody who knows how it works: please say it!!
[myTouch 3G, Magic Android Development] JackMagic:
What doesn't work at all? OTA or flashing the recovery?

If OTA, it is the ROM that controls the OTA, not the SPL..

Also I don't think we're due an OTA update until Android 2.0 is released to us, which won't be for a month or so yet (ish?).
[myTouch 3G, Magic Android Development] b!rust:
No my problem is that I can't get into the recovery mode (When I press home+power there just come that standard recovery and an error message (something like "can't boot from ...")). I hope you have an answer for me^^
[myTouch 3G, Magic Android Development] JackMagic:
And that's after you flash the custom recovery?

I'm on the same SPL (2004), but haven't tried to actually flash the recovery - I just boot into it in fastboot.

Maybe I'll try it later on. Someone probably knows the answer to your question though, so wait for a better reply :)
[myTouch 3G, Magic Android Development] dferreira:
When you install the update.zip from Google, it replaces Amon_RA recovery tool. You can get it back by flashing his recovery tool, but remember to erase recovery before adding Amon_RA's one. You must be aware that if you do this, the OTA will be broken right?
[myTouch 3G, Magic Android Development] JackMagic:
Aha, I'll leave mine be then :o
[myTouch 3G, Magic Android Development] mattinglis:
I have followed the instructions on the main page, but i dont have root, have tried twice.

Every time i try and access /system i get it is a read only system.

anyone help?

C:\AndroidSDK>adb shell

/ # mount /system

mount /system

/ # cd /system/bin

cd /system/bin

/system/bin # cat sh > su

cat sh > su

/system/bin # chmod 4755 su

chmod 4755 su

/system/bin # reboot

reboot

This is what the terminal window shows but still no root.
[myTouch 3G, Magic Android Development] dferreira:
I do have root following those instructions. I actually have installed the OC widget just to be sure and it's working perfectly!
[myTouch 3G, Magic Android Development] mattinglis:
I can run that but i cant access the system folder with adb at all.
[myTouch 3G, Magic Android Development] JackMagic:
Did you do adb remount to mount the system first?
[myTouch 3G, Magic Android Development] brokenworm:
hehe its not you fault . ... i did mention i used a 32A device ."very stupid".. i didnt blame u m8 ... big respect for your work ... now i just hope i get back a NEW magic ... not 32A but a 32B hopefully ;) ...

im sure they "htc" or 3G cannot fix the device belive me iv tryed everything :D so i get a new for free :p ... it was 14 days old :D hihi

best regards
[myTouch 3G, Magic Android Development] mattinglis:
why on earth would you want a 32b, the 32a is much better.
[myTouch 3G, Magic Android Development] Neejay:
Thanks! This is what was happening to me, and I did the wipe/erase, and the phone booted right up!
[myTouch 3G, Magic Android Development] Neejay:
I just finished doing this, and realized that it doesn't have the IM client! :(

Is there anyway to install it???
[myTouch 3G, Magic Android Development] dferreira:
You can use Nimbuzz or Meebo, they both work. You can always take IM.apk from others ROMS and install it via adb - did it to mine! :)
[myTouch 3G, Magic Android Development] DOHCtor:
Yes, grab these 3 files from Cyanogen's rom located in /system/app folder and place them in the root of your sdcard.

ImProvider.apk

TmoImPlugin.apk

IM.apk

Boot into recovery

Use the following commands in ADB (everything is case sensitive)

adb shell
#mount /system
#mount /sdcard
#rm /system/app/ImProvider*
#cd /sdcard
#cp ImProvider.apk /system/app
#cp IM.apk /system/app
#cp TmoImPlugin.apk /system/app
#reboot

You should see the IM application in your drawer.

I use the line #rm /system/ImProvider* because you need to remove both ImProvider.apk and ImProvider.odex before copying over the modified version from Cyanogen's rom.

Good luck!
[myTouch 3G, Magic Android Development] brokenworm:
why is the 32A better than 32B ? for ex ... i cannot use this rom in 32A..
[myTouch 3G, Magic Android Development] JackMagic:
That's the difference.
[myTouch 3G, Magic Android Development] Neejay:
Perfect! One thing for anyone who finds this: change one of the duplicate "#cp ImProvider.apk /system/app" to "#cp TmoImPlugin.apk /system/app" (without quotes).

Should read:

adb shell
#mount /system
#mount /sdcard
#rm /system/app/ImProvider*
#cd /sdcard
#cp ImProvider.apk /system/app
#cp TmoImPlugin.apk /system/app
#cp IM.apk /system/app
#reboot

Works like a charm! Thanks DOHCtor!
[myTouch 3G, Magic Android Development] DOHCtor:
Sorry about the duplicate, I was in a rush. I'm going to edit it right now lol
[myTouch 3G, Magic Android Development] b!rust:
Hey guys,

do you know if I also can flash the original Google Ion SPL on my Magic and if that's possible (what I think, because I think Google Ion and HTC Magic 32B are the same) where do I get the SPL?
[myTouch 3G, Magic Android Development] dferreira:
If you do that, your phone dies. For all purposes, you now have a Google ION with the Eng. SPL! Besides, you won't benefit from anything by using other SPL!
[myTouch 3G, Magic Android Development] Neejay:
What's OC?

EDIT: I downloaded it, and Im not sure if it's working or not. If I didn't have root access, would the app tell me/error out?

I did the rooting steps as in the first post, but I can't pull my browser.* files.

I get

C:\android-sdk-windows\tools>adb pull /system/app/Browser.* C:\android-sdk-windows\backup
remote object '/system/app/Browser.*' does not exist

Any ideas?
[myTouch 3G, Magic Android Development] brokenworm:
ohh i see the big difference... what was i thinking :D

brokenworm
[myTouch 3G, Magic Android Development] dferreira:
Sorry, OC means overclock. Basically is making your phone running faster than it's supposed to be by the expense of draining more battery and heat.

adb remount

adb shell mount -a

adb pull /system/app/Browser.apk c:\

adb pull /system/app/Browser.odex c:\

Avoid using spaces on the path, unless you put " or \ to skip spaces from confusing adb command line.
[myTouch 3G, Magic Android Development] dferreira:
... why can't I delete my own duplicates???
[myTouch 3G, Magic Android Development] b!rust:
Ok... I don't understand it.. I mean the 32B and the Google Ion have the same hardware, right?
[myTouch 3G, Magic Android Development] JackMagic:
I don't understand why your phone would die if you flashed to the original SPL that came with the ION phone (there is obv a reason), however I do know that even if you could there would be nothing to gain from it, as an Engineering SPL allows you to flash whatever you like to your device anyway and nothing else is controlled by the SPL (afaik).
[myTouch 3G, Magic Android Development] nixdorf:
Can someone give me original Vodafone rom for 32A my phone have been with 32A vodafone but now i use CyanogenMod 4.2.5 and i didn't create backup before install new rom... and now i wan't original rom..
[myTouch 3G, Magic Android Development] dferreira:
Hum... I could get you the Vodafone UK rom, but for 32B :( I know that in Portugal, Vodafone is offering 32A, which is good, but I never got a hold on one of those. Maybe your best bet is to find someone that has the same phone you do, unrooted and you nandroid backup his ROM so that you can update your phone. Another solution, would be to convert the 32B to a 32A ROM by changing the kernel and drivers... but I don't know how to do that.

PS: your question should be made in the general Q&A and not in the development forum, since it's not even related to this thread anyway...
[myTouch 3G, Magic Android Development] dferreira:
Update in the Market for adding the new Google Maps :) Easy update from the regular Maps we have!
[myTouch 3G, Magic Android Development] JackMagic:
Just updated. Noticing it crashes (not fc) when I search for directions from my location, whist typing in the target location box.. can you confirm df?

Otherwise cool to see an update; layers is cool. Any news on a 2.0 OTA? Hehe :p
[myTouch 3G, Magic Android Development] dferreira:
Hum... mine doesn't crash, maybe clearing the map cache and opening it again and see if it works.

No news on 2.0 OTA... I'm wondering why is it taking so long for HTC to release an update for the developers phones... should be out by now. Maybe they are still working the drivers for 2.0. A new camera application would be nice, with digital zoom and faster FPS :D
[myTouch 3G, Magic Android Development] JackMagic:
Meh, works now - I think it was BetterKeyboard crashing it, cos I disabled it and it's fine..

Sucks about 2.0 - hopefully soon. At this rate I'll be flashing a custom 2.0 :rolleyes: Hehe :)
[myTouch 3G, Magic Android Development] b!rust:
When is Google going to release Eclair for the Ion? I mean: It's an official developer phone now and should get Android 2.0 as fast as possible...
[myTouch 3G, Magic Android Development] JackMagic:
You'd have thought it would have been by now.. So, not too sure.

Atm I've been running eugene373's AOSP eclair ROM, as it is mostly stable with a few quirks, and I will switch to ION when it's out.
[myTouch 3G, Magic Android Development] Xenn0X:
flashed this a while back but now unable to flash any custom recovery. after reboot i just get the google recovery only.
[myTouch 3G, Magic Android Development] Neejay:
Same here. I can flash, and the modded recovery will only work one time. After that, it goes back to the stock recovery.
[myTouch 3G, Magic Android Development] caoboth:
Have you tried using fastboot from your pc to do the following

fastboot erase recovery

fastboot flash recovery recovery.img

Must admit when i flashed my phone i did system/boot img fastboot flashes (didnt use the recovery image).

Andy
[myTouch 3G, Magic Android Development] Neejay:
Just tried that...and as long as I keep booting into recovery and don't let the phone boot all the way to the OS, i'ts fine. But whenever I let the phone boot all the way to Android OS, then reboot into recovery mode, I get the error:

E:Can't open /cache/recovery/command
[myTouch 3G, Magic Android Development] b!rust:
I had the same problem with the 2004 spl. But with the 2005 spl it's working!
[myTouch 3G, Magic Android Development] Xenn0X:
i already have the 2005 eng spl and not working.
[myTouch 3G, Magic Android Development] dferreira:
Since you already have the Engineering SPL, you can always boot Amon_RA recovery when you need it. I won't recommend replacing it however, since OTA updates only work with the original recovery tool.
[myTouch 3G, Magic Android Development] dferreira:
I'm working on a project that I needed to install aNetShare, which is a tethering application that converts your Android device into an Access Point. Lucky for us, netfilter and iptables is already built-in into the kernel of this ROM, we just miss the tether library installed and root access. So all you need to do is:

- Root your device following DOHCtor step's on first post

- Fastboot your device to the latest Amon_RA recovery

- Copy to the sdcard the tether-1.6.tar file you can download here: http://xdaforums.com/showthread.php?t=474470

- While inside the Amon_RA recovery, do this in the command line:

adb shell

su

tar xf /sdcard/tether-1.6.tar and press enter

- If there are no errors you can reboot and install aNetShare and it will work! Enjoy tethering on the official ROM :D
[myTouch 3G, Magic Android Development] DOHCtor:
Will it work for "Wireless Tether for root users" as well?

edit: Don't we have to mount /system and /sdcard as well?