Jump to content

Android 2.2 Development


Recommended Posts

Guest DanWilson
Posted
I now have a fully booting and so far stable Froyo system ;)

Photos and rom to come.

OH MA GAWD!!!!

When? Photos mainly - happy with FLB-Mod!

Guest flip360
Posted

way to go Tom G ;)

once again: Community 1 : Huawei 0

Guest BigBearMDC
Posted
W/System.err( 1098): java.lang.Throwable: stack dump
W/System.err( 1098): at java.lang.Thread.dumpStack(Thread.java:612)
W/System.err( 1098): at com.android.server.MountService.waitForReady(MountService.java:291)
W/System.err( 1098): at com.android.server.MountService.isUsbMassStorageConnected(MountService.java:982)
W/System.err( 1098): at android.os.storage.StorageManager.isUsbMassStorageConnected(StorageManager.java:274)
W/System.err( 1098): at com.android.server.status.StorageNotification.<init>(StorageNotification.java:83)
W/System.err( 1098): at com.android.server.status.StatusBarPolicy.<init>(StatusBarPolicy.java:424)
W/System.err( 1098): at com.android.server.status.StatusBarPolicy.installIcons(StatusBarPolicy.java:555)
W/System.err( 1098): at com.android.server.ServerThread.run(SystemServer.java:408)[/code]

So we can now do a stack trace and see that MountService gets stuck when StorageManager calls isUsbMassStorageConnected.

I now have a fully booting and so far stable Froyo system ;)

I haven't tested it much yet, but don't expect usb mass storage to work yet.

Photos and rom to come.

Next will be to get ril working.

So did you just disable mass storage support in the default.prop?

Guest Tom G
Posted (edited)
So did you just disable mass storage support in the default.prop?

Can you do that? That would have been easier. That would have probably worked before we had source.

I commented out a couple of lines in 3 methods of StorageManager so that it always returns false to the mass storage functions. It should have only disabled usb mass storage. My goal was just to get it booting. Now that I know that is definitely the problem I can try to figure out why it gets stuck there.

At the moment the SD card is not mounting, but that is porbably because fstab refences the wrong dev (it did in the emulator and n1 images).

post-651053-1277476889_thumb.jpg

post-651053-1277476904_thumb.jpg

post-651053-1277476918_thumb.jpg

post-651053-1277476929_thumb.jpg

Edited by Tom G
Guest BigBearMDC
Posted
Can you do that? That would have been easier. That would have probably worked before we had source.

I commented out a couple of lines in 3 methods of StorageManager so that it always returns false to the mass storage functions. It should have only disabled usb mass storage. My goal was just to get it booting. Now that I know that is definitely the problem I can try to figure out why it gets stuck there.

At the moment the SD card is not mounting, but that is porbably because fstab refences the wrong dev (it did in the emulator and n1 images).

Ah okay, that's cool.

It's kinda useful that decompiling Java apps is pretty easy ;)

Is that the only thing you changed?

Because now that we have the 2.2 source, we might even be able to fix this!

Best regards,

BigBear

Guest Speckles
Posted (edited)

Way to go, Tom!

I think you need a Twitter a/c though, just so these kind of things alert me via text message ;)

Edited by Speckles
Guest Rem1x
Posted

This is exciting!

Is Amon-RA's mass storage still available?

Guest Simon O
Posted
Way to go, Tom!

I think you need a Twitter a/c though ;)

Agreed!

also who needs Huawei when we have these guys :(

Guest solongmarriane
Posted
Agreed!

also who needs Huawei when we have these guys :(

Maybe Huawei should hire them ;)

Guest Tom G
Posted (edited)
Is that the only thing you changed?

The only other changes were for additional debugging messages (and the only one that really helped was the stack trace).

I just did another build with only the isUsbMassStorageConnected method modified and it worked.

I think you need a Twitter a/c though, just so these kind of things alert me via text message ;)

I've never used twitter, I should look into it.

Most things don't work.

touch screen - Yes

Wifi - No - It doesn't have the wifi module in the rom so this is expected.

Bluetooth - No

Sound - No

Auto rotate - No

Brightness - No

RIL - No - Expected since it has the emulator ril driver.

SD card - No - Probably just needs a change to fstab.

But so far no reboots & no force closes.

I need to look into the android build system and how to customise configuration for the device.

Edited by Tom G
Posted (edited)

Oh my, this is awesome ;)

Can you run Linpack for Android on this and post the results? :(

Edited by Guest
Guest Tom G
Posted

Here is the current rom I'm working with if anyone wants to try it.

Froyo-Pulse-0.10.zip

Flash with fastboot. Take a nandroid backup first.

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot reboot

Its getting fairly late here. I'll try to do more tomorrow.

Guest _Bobby
Posted
Maybe Huawei should hire them ;)

"If you have a problem, if no one else can help, and if you can find them, maybe you can hire the M-Team" :(

Guest Speckles
Posted

Any chance you could upload your current source base to gitorious ?

Guest Azurren
Posted
Oh my, this is awesome :D

Can you run Linpack for Android on this and post the results? :D

Yeah, as soon as you can run a Linpack!

I want to see just how much faster froyo makes the device.. Who knows :lol:

Guest Epic-Emodude
Posted

Do you think that if we could create a fully working stable froyo rom, and then pack it as an update.app we could see it to hauwei/t-mobile to roll out to the masses? =)

Guest BigBearMDC
Posted
Do you think that if we could create a fully working stable froyo rom, and then pack it as an update.app we could see it to hauwei/t-mobile to roll out to the masses? =)

That would be EPIC!

But I guess if we would even want to get he chance to let it test by T-Mobile we would have to add those pink stuff...

Guest Epic-Emodude
Posted
That would be EPIC!

But I guess if we would even want to get he chance to let it test by T-Mobile we would have to add those pink stuff...

We could add the pink stuff but then people who cared would use our ROM and the people who dont really care about editing it and are happy with the stock will use the official t-mobile one...

Guest david_dawkins
Posted
awesome job!!!! any progress?

Yes, you posted asking for a progress update.

Guest Azurren
Posted
Yes, you posted asking for a progress update.

Ahhhh progress :lol:

Guest mupra
Posted
Yes, you posted asking for a progress update.

:lol:

Guest rikkiej
Posted

Would like to point out that we can't add stuff like gmail, maps, or whatever apps are google (or any others) copyright products. Hueawai should have some OEM rights so they can use them, we don't :lol:

Guest Epic-Emodude
Posted (edited)
Would like to point out that we can't add stuff like gmail, maps, or whatever apps are google (or any others) copyright products. Hueawai should have some OEM rights so they can use them, we don't :lol:

Arent there built into Android? If not we will just have to give instructions on how to add them ourselves and then make it flashable (I think cyanogenmod had to do a similar thing..)

Edit: I think what we will have to do is backup those apps then restore them in the ROM. Would it be worth putting them in anyway and then if we get a cease-and-desist letter from google we remove them?

Edited by Epic-Emodude
Guest gusthy
Posted
Ahhhh progress :lol:

We could show the progress like this:

|+++++---------|

and later

|++++++-------|

etc.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.