yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] twistedumbrella:
Official means using the official source code of AOSP project, which by the way is by GOOGLE and the OPEN HANDSET ALLIANCE, whereas HTC manufactured the phones, and Sense additions. An SDK build, like emu-s, is backward ported from the emulator images. This would be an AOSP build, or official version, as the code is not being altered or merged. I'm sure you already knew all this, but I just figured others may want to know.

BTW... for a linux developer, you should know that taking existing code, altering and re-releasing is what linux is built on... otherwise you couldn't call yourself a linux developer.
[myTouch 3G, Magic Android Development] QuadDamage:
Meh, i'll pass. Why don't you tweak it up and fix the bugs up before releasing it? Why would anyone want to flash something like this is beyond me.
[myTouch 3G, Magic Android Development] Breakthecycle2:
lmfao...dip****
[myTouch 3G, Magic Android Development] Myah:
Yeah thanks for the answer. This is NOT the official android 2.0 rom for the HTC Magic.

Yes it is from the android SDK.

Only HTC can make the Official rom for the HTC/Magic. Unless they count a google rep making it for the specificaly. I was not asking if this was offically android lol that is stupid. But this is NOT the Official HTC ROM for Magic. There will be an Official one out sooner or later. Probably later. I was just wondering is all.

I still appreciate the ROM however even if you are using a lie to sell it. That is lame just keep it real. We will still play with it.

I said about the linux because it's specifically mentioned in his zip and that told me it was not official. And Yes linux is for sharing and changing. That is not what I said. I said Ubuntu takes packages from Debian and passes them off as there own. I didn't say changing and redistributing I said stealing and taking credit. They also do this for all bug reports and patches.

Other distros give credit where credit is due. They also do much of there own work and help the community. I sited Ubuntu because it's for dishonest people not for linux lovers. And so is the Title on this thread.

All that said I of course can not build an official rom because I do not work for Google or HTC. So I like everyone has to wait or play with the system dumps and SDK builds. So that is what I'm doing.

It would have been great if it was someone from HTC so we could know how it's going and when we will see things like the proprietary bits and working cam.

I was glad to see the sound is working in this. And have been playing with some packages from the sholes dump. I am a newbie to Android so I am just doing my best here.

I like the img's but please keep it real you don't need to mislead people.

I added Google Voice Search but when I launch it it goes into security settings. That is weird but I will keep playing and see if I can get more working.
[myTouch 3G, Magic Android Development] OzJD:
You may have noticed that the words "Official AOSP Eclair Branch" and "HTC Binaries" (which are also the official ones).

This is a build from the Official Android Open Source Project. That's what I mean't by official, I'm not trying to say this will be the official ROM for the HTC Magic.

If you have issues with Ubuntu Myah, I suggest taking it somewhere else, this is not the appropriate forum

Now, Back on topic, I'm working on speeding things up a little, I need to make a list of things that need fixing :-(

I'll try and get Google Accounts fixed ASAP, I'll see what the Android dev team have to say
[myTouch 3G, Magic Android Development] OzJD:
Just to quickly add, This is not the SDK Build. It's a sapphire-open build.
[myTouch 3G, Magic Android Development] Myah:
Official now means "Android Open Source Project" is there an unofficial aosp?

By definition this is a "Vanilla 2.0 Community ROM"

And again there is nothing wrong with that. But if you speak English Official means the opposite of community.

http://en.wikipedia.org/wiki/Android_(operating_system)#Community-based_firmware

The official 2.0 ROM for the Magic will be released by HTC or Google Officially. It will Officially be made to work with that headset. It will have all the needed closed source drivers and applications. It will be tested by them and distributed by them. It will have things like Android Market that is only distributed by Google or Officially licenced distributors. Anyone can use AOSP and anyone can compile there own. It's open source. But there will be an Official one that is specifically release through Offical channels. You are building a community rom that yes has some htc binaries. It is in no way shape or form Offical. I never herd of Unofficial Android lol but maybe someday there will be a split of the tree and it will have a new name. For now what you have is a Community PreRelease for 2.0 that is Vanilla, and incomplete.

As far as I know there is NO Official Android roms released in xda-developers forum. There is some on the HTC website I don't know about the google android website.

Say it with me Community ROM. Don't be ashamed.
[myTouch 3G, Magic Android Development] Myah:
So you are a Offically Licensed distributor by google? LOL

"Community firmware packages are updated frequently, incorporate elements of Android functionality that haven't yet been officially released within a carrier-sanctioned firmware, and tend not to have arbitrary limitations. CyanogenMod is one such firmware."

"On the 24 September 2009 Google issued a cease and desist letter[68] to the modder Cyanogen, citing issues with the re-distribution of Google's closed source applications[69] within the custom firmware."

That doesn't apply to you though because as you say this is not a community custom firmware. You are an Official distributor and this is an Official firmware. You are a lucky one. Oh were is Android Market I don't see it?
[myTouch 3G, Magic Android Development] OzJD:
Now you're just showing your maturity, I've already stated it's not an official ROM but is based on the official Eclair branch of AOSP (as the title states) - If you take a look around, Quite a few Eclair roms are not based on the AOSP, but rather the SDK images.

Now, Read the title and see how it says "Official AOSP Eclair Branch+HTC Binaries" and not "Official Android 2.0 ROM for HTC Magic"?

Seriously mate, You need to grow up, who knows why you have such an issue with the title, I don't think anyone thought this was a release by HTC or Google, or perhaps only you did?

I guess your reasons for being argumentative relate to your bashing of Ubuntu? (nothing better to do?)

Regards,

JD
[myTouch 3G, Magic Android Development] Myah:
Besides the English lesson for those like me who are really interrest in getting into 2.0 I will give simple instructions for those who didn't know how to install this rom. Or how to play with it. This is instructions that assume you have fastboot working and you are using a 32B Magic/Mytouch3G or G1. If you have a Rogers Magic 32A with 288mb of ram you need a different boot.img with different kernel. This rom will not work. The recovery is also the wrong one. Don't brick your phone please.

Must have Fastboot working. Plug the phone in.

http://rapidshare.com/files/307399484/recovery-RA-magic-v1.3.2G.img ( for 32B only.)

http://n0rp.chemlab.org/android/cm-recovery-1.4.img ( for G1 only )

http://ul.to/ej3sbg

http://android-sapphire.googlecode.com/files/Official Sapphire AOSP by JD.zip

1) Download RA recovery. This ROM and the sholes dump.

Create a folder on your desktop. Open your console ( windows run --> cmd ). change directories into the folder with the files. ( Windows + linux use command cd <path to folder> ). Extract boot.img and system.img from "Official Sapphire AOSP by JD.zip" make sure they are in the top level of the folder you created.

2) Hold Down Volume while pressing Power. This boots your phone in fastboot.

3) Once your phone boots press the back button.

4) Clear old recovery and install RA recovery with fastboot.

fastboot erase recovery

( For G1 only )

fastboot flash recovery cm-recovery-1.4.img

( For 32B Magic/Mytouch3g 192mb ram only )

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

5) Clear boot and install new boot with fastboot.

fastboot erase boot

fastboot flash boot boot.img

6) Clear old installed system, data and cache. And install new system with fastboot.

fastboot erase system -w

fastboot flash system system.img

7) Reboot into your new 2.0 system. It may take several minutes since it's a first time boot.

Many people have installed youtube.apk and maps.apk right from the sholes dump into 1.6 and it works. So that leads me to believe other apk may also work in this 2.0. Since this rom is missing many apk. that other zip file is the sholes dump.

Extract YouTube.apk and Maps.apk into the top folder. You can install them with adb if your USB is still plugged in. You don't need to reboot for this.

adb install YouTube.apk

adb install Maps.apk

I know most people know this stuff. But I saw some people who didn't know how to install this rom. I hope this helps. If you are using a Magic 32A with 288mb ram then you can't use this rom. You need a different boot.img and different recovery img.
[myTouch 3G, Magic Android Development] Myah:
I was able to install these packages from sholes without problem. However I don't know if they are working correctly or missing libs and so on.

bluetooth.apk

Gmail.apk

GoogleApps.apk

GoogleBackupTransport.apk

GoogleContactsSyncAdapter.apk

GooglePartnerSetup.apk

GoogleSettingsProvider.apk

Location.apk

Maps.apk

MediaUploader.apk

NetworkLocation.apk

Street.apk

VoiceSearch.apk

YouTube.apk

I can confirm that youtube and maps works.

I think these packages are also needed. But they would not install becasue of missing libs. But the libs in sholes may work I don't know yet.

GmailProvider.apk

GoogleCheckin.apk

GoogleSubscribedFeedsProvider.apk

gtalkservice.apk

MediaGallery.apk

MediaSync.apk

Talk.apk

Vending.apk

These packages were also in the sholes dump that I didn't think were supposed to be installed. Motorola packages probably. I didn't try installing them.

AtCmd.apk

DMService.apk

Dock.apk

FOTA.apk

Gestures.apk

MotAccuWeatherWidget.apk

MotoAtCmdPlugin.apk

Motonav.apk

MotorolaSettingsProvider.apk

OverlayProvider.apk

PersonalPortal.apk

Anyone else trying this kind of actions.
[myTouch 3G, Magic Android Development] twistedumbrella:
I think you need a twitter account...

You will have an open place to post your thoughts, and I will have the ability to ignore them. Seems like you are making a failing attempt to recover your image by attempting to post something resembling helpful information. You are blindly attempting to throw random packages from an sdk 4 build into an sdk 5 build. At least use something on the same framework, like milestone. You might have more success. Also try not using apps that can be plainly identified as useless to the build (such as FOTA.apk - Motorolla OTA install client)

BTW, as for crediting the proper sources. Stop acting as if you were one... sheesh!
[myTouch 3G, Magic Android Development] Myah:
LOL your silly. You didn't even read my post before replying to it. It was not posted for you. Since you probably already know how to use fastboot. It was posted for all of the people who didn't know how.

And no I did not invent fastboot. I also did not invent android or adb or any of the packages or any of the dumps or any of the recoveries. The only thing I did was post a how to on how to install them. Something I would have been thankful for when I first got my phone.

You can kick rocks for all I care.

Also before replying try to read my post. Since I said the same thing in my post as you quoted and rebutted to. Quoting my whole post good job no one would have been able to read it above. And I said they are probably Motorola only packages and I did NOT try installing them.

As for the version 4 version 5 part well I would like to know more about that. I thought 2.0 was version 5. The sholes dump is a Android 2.0 for another phone. Do you have a link I can see of a version 5 dump. And yes I don't know what I'm doing I think I posted that several times already. I think I am a little to old for twitter so I will pass. But you can ignore my every post if you like I don't care.

If anyone else would like to try what I am. Or has some helpful info on how to do it better so I or we can use a more complete phone I am happy to read and try.

This was Officially posted my me. Quote me if your thinking of me.
[myTouch 3G, Magic Android Development] Myah:
Officially your my idol. Learn to read. I can quote to. Makes me feel young again.
[myTouch 3G, Magic Android Development] Myah:
Here are the links to my resources in the How To.

Official Sholes Android 2.0 Dump.

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

Official Amon RA recovery

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

Official cyanogen recovery

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

Officially speaking.

If anyone really thought I was trying to take credit for there work. I simply use what they have created. If I created it I would have linked it to my own website and my own forum.
[myTouch 3G, Magic Android Development] Myah:
I think this is the milestone you were talking about. I will try it and see if it works better.

http://xdaforums.com/showthread.php?t=582256&highlight=milestone
[myTouch 3G, Magic Android Development] OzJD:
Well, Now I've been playing with some stuff (all night) from that milestone, and I've now managed to have everything working perfectly - Except for the camera (as far as I can tell)

I think I might just bundle it up for release VERY soon.

To include Facebook or not to include Facebook - That is the question.

BTW Myah, I'll be taking Official out of the title... There's too many mods to it now
[myTouch 3G, Magic Android Development] smarti13:
UNSIGNED

UNSIGNED when installing

not working :(
[myTouch 3G, Magic Android Development] st0kes:
Excellent - looking forward to testing this. Can you confirm if bluetooth is working? Hows the speed if it with all the bells and whistles working?
[myTouch 3G, Magic Android Development] OzJD:
Yes bluetooth is working

Speed? It's pretty fast

i'll likely update.zip it within 30 mins
[myTouch 3G, Magic Android Development] Krzysiec:
Is there possibility to get it work on 32A ? ;)
[myTouch 3G, Magic Android Development] OzJD:
No idea to be honest, I've never touched a 32A, nor do I know what the differences are in ways of images.

I'm guessing the change is in the Kernel?
[myTouch 3G, Magic Android Development] OzJD:
Testing update.zip
[myTouch 3G, Magic Android Development] Krzysiec:
Maybe if everythink will be finished for 32B someone (eug89) could bring as patch for 32A users like here: http://xdaforums.com/showthread.php?t=587115 ;)
[myTouch 3G, Magic Android Development] :
We waiting for this:)
[myTouch 3G, Magic Android Development] OzJD:
Not having much luck with this update.zip ;\

Perhaps I'm doing it wrong. (E: Signature not found)
[myTouch 3G, Magic Android Development] Myah:
OzJD you need to use auto-sign

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

I have used it for modifying apk and update.zip files and it works great.

I have not created a update.zip from scratch before but I can tell you that you will need an install script in

META-INF\com\google\android\update-script

After you run the auto-sign there will be 3 more files created in META-INF by auto-sign.

The way you use auto-sign is you create your update.zip and then run it though auto-sign with the java command and it will create a new zip file that is signed. This also works for apk's but you may need a modified version of auto-sign I have 2.
[myTouch 3G, Magic Android Development] OzJD:
one problem, it's a windows executable, and i'm a linux user :(
[myTouch 3G, Magic Android Development] OzJD:
http://android-sapphire.googlecode.com/files/unsigned-eclair-aosp-jd01.zip

There's the unsigned zip, If you want to sign it and post it somewhere, ill re-upload it

Should work for 32B devices, It should also be pretty complete.

I can't try it, since I can't get the signing to work lol
[myTouch 3G, Magic Android Development] Myah:
you don't have to use the exe it's really just a java thing. I was using it under windows right now but I never used the exe file.

java -jar signapk.jar testkey.x509.pem testkey.pk8 update.zip signed-update.zip

Should work in linux or windows all the same. You can use what ever names you want. The first name is the zip you have and second is the zip your creating.
[myTouch 3G, Magic Android Development] OzJD:
Yeh that's what I figured the cmd line was, but it still dosn't work.

I mean, it works as in adds cert files to the zip etc... but dosn't work as in tells me that its not signed
[myTouch 3G, Magic Android Development] OzJD:
Oh wait, Testkey (I stole from the above) seems to work, unlike the other certificates I was using!
[myTouch 3G, Magic Android Development] Myah:
the difference between the 32B and 32A is I think the 32B is more like the dream when it comes to the CPU and RAM. Probably cheaper then the CPU that was used for the Hero since 32A looks like it uses the same CPU and RAM as the hero.

Rogers uses Qualcomm MSM 7200, 528 MHz, Flash 512MB, RAM 288 MB

http://www.htc.com/ca/product/rogersmagic/specification.html

Hero uses Qualcomm MSM 7200a, 528 MHz, Flash 512MB, RAM 288 MB

http://www.htc.com/uk/product/hero/specification.html

32B uses Qualcomm MSM7201a, 528 MHz, Flash 512MB, RAM 192 MB

http://www.htc.com/uk/product/magic/specification.html

G1 uses Qualcomm MSM7201a, 528 MHz, Flash 256MB, RAM 192 MB

http://www.htc.com/us/product/g1/specification.html

32A and Hero use same CPU and ROM and RAM. 32B and G1 use same CPU and RAM but ROM was boosted.

Here is a getto way of making a 32A port some people use. I think there are several other post on the subject. Rogers was only sold in Canada I think.

http://xdaforums.com/showpost.php?p=4038589&postcount=8
[myTouch 3G, Magic Android Development] Myah:
OzJD are you using the Android recovery or are you using a community one. I think you need a community recovery like the 2 I posted. The one that came in your recovery.img I didn't use because it will probably bring my back to stock.
[myTouch 3G, Magic Android Development] st0kes:
Ozjd check this link:

http://xdaforums.com/showthread.php?p=4919144
[myTouch 3G, Magic Android Development] :
Can I flash this to my 32B?
[myTouch 3G, Magic Android Development] Archaon:
Hi,

signed the zip and tried flashing it with amon ras recovery image but it failed fails because of missing su executable.

I copied it from another rom signed it again and flashed it succesfully.

It booted and i'm now at the setup wizard so i'm thinking it works correctly.

I have no space to upload it and i'm going to sleep now if someone gives me some space i will upload it tomorrow.

Greez

Archaon
[myTouch 3G, Magic Android Development] Myah:
http://rapidshare.com/files/307399484/recovery-RA-magic-v1.3.2G.img ( for 32B only.)

http://n0rp.chemlab.org/android/cm-recovery-1.4.img ( for G1 only )

( For G1 only )

fastboot flash recovery cm-recovery-1.4.img

( For 32B Magic/Mytouch3g 192mb ram only )

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

I also signed it and tried to install it. It was signed fine and tried to install. But I think the install script was not right.

E:Can't chown/mod /system/bin/su

(No such file or directory)

E:Failure at line 69:

set_perm 0 0 04755 SYSTEM:bin/su

Installation aborted.
[myTouch 3G, Magic Android Development] OzJD:
Heh, Relax guys, As I said, I was right on how I intended to use it... but the certificates wern't working (I stole working ones from the signtool that Myah posted).

It's all uploading now, give me two minutes and we'll have an update.zip!
[myTouch 3G, Magic Android Development] Myah:
I'm going to remove

set_perm 0 0 04755 SYSTEM:bin/su

and see if I get anywhere.
[myTouch 3G, Magic Android Development] OzJD:
No need, I already did!

http://android-sapphire.googlecode.com/files/signed-eclair-aosp-jd01.zip is up!

Get your [chocolate] eclair !

BTW, I chose to include Facebook app.
[myTouch 3G, Magic Android Development] :
Thank you Ozzi:)
[myTouch 3G, Magic Android Development] eug89:
Tomorrow i'll upload a 32a patch for this rom:D (here in italy is 23:30 and tomrrow I've to wake up early:p)
[myTouch 3G, Magic Android Development] Krzysiec:
got same time zone ;) Poland +1GMT :P ;) Can`t wait to try it on my Magic ;)
[myTouch 3G, Magic Android Development] OzJD:
Lol well here it's 9:33AM, I spent all night getting this complete, But i'm happy now it's done.

I've left Dev tools etc in there for now, What do you guys think? I'm a bit undecided as to whether to keep them there.

Has anyone tried the ROM?

What type of phone?

Any problems?

etc.

JD
[myTouch 3G, Magic Android Development] Krzysiec:
One more question ... Is Gmail synchro and Market working here fine ? Just Camera is down ? Am i right ?
[myTouch 3G, Magic Android Development] Myah:
32B it installed fine and booted.

It asked me which setup method I wanted to use. I picked setup wizard. It forced closed and then kept going. It got stuck in a google login loop. I finally closed it and seems to be running ok.

I thought you have added the apk from milestone. I don't see youtube or voice search or most of them. Did they not work?
[myTouch 3G, Magic Android Development] OzJD:
Yes, Market works, Gmail sync works, Just camera with issues as far as I can tell - I've explained why the camera issue in the first post

So this is the best we can get for eclair at the moment.
[myTouch 3G, Magic Android Development] dferreira:
I wonder why is it taking so long for HTC to release the 2.0 update for Google ION devices, since we already have access to the SDK... :(
[myTouch 3G, Magic Android Development] OzJD:
They did, But I had no need to add them all when they are available from the app market

I added most of the google ones because of the way they work together in the background, I only added Facebook because it's so much better than the old one, and I couldn't find it on the market
[myTouch 3G, Magic Android Development] Myah:
gmail does not seem to be working. Says sync is off and no way to turn it on. maybe missing a lib or another package.

market is there but doesn't seem to work. You can find apps and try to install them but it never downloads them.
[myTouch 3G, Magic Android Development] OzJD:
Strange, I didn't choose the setup wizard and everything was fine lol.

(It still loaded the setup wizard)

I might look into it more later, Too tired to mess with it now (i'll break stuff)
[myTouch 3G, Magic Android Development] OzJD:
Very strange, My sync is working, My gmail is working, and Market is definately working!

My only guess at the moment is that you didn't clear your /data/ directory which contains 1.6 nibblets?
[myTouch 3G, Magic Android Development] Myah:
Wiped again with fastboot and reflashed.

Boot.

Complete action using:

com.android.provision.DefaultActivity

Setup Wizard

Use by default for this action.

Chose Setup Wizard and touched the android.

Skip the learn how to use your HTC magic.

Sign in google account.

The application Setup Wizard (proccess.com.android.setupwizard) has stopped unexpectedly please try again. Force close.

Sign in again does the same.

Skip sign in.

Use google locations -> Next

Time Date -> Next

Now it does something strange. I get Add a google Account. But below it it has the welcome to HTC Magic where you touch the android to begin. And emergency call below.

Touch the android

Skip learn how to use HTC magic.

Sign in. But it doesn't ask me for a user name and password. Instead it goes to Wifi Settings.

Next

Now it ask me for the google login.

Sign in.

Data Sync page with no options.

Finish

Add a Google Account.

Sign in - Create or Back. It's a loop

No google mail. market doesn't actually download packages.

This is the exact same way it happened the first time as well.