Jump to content

AOSP Eclair 2.1 r4 for GSM Hero (now with online kitchen)


Guest jnwhiteh

Recommended Posts

Guest nuumuun
Yep:

1. adb pull /system/build.prop build.prop

2. edit build.prop with your favorite text editor

3. adb shell reboot recovery

4. adb mount system

5. adb remount

6. adb push build.prop /system/build.prop

7. adb reboot

Let me know if that works out!

i followed the steps and added the following to the end of build.prop:

ro.com.google.locationfeatures=1

ro.com.google.networklocation=1

ro.com.google.clientidbase=android-htc

no success ... still "Location: CID=unknown"

and Google Maps can't get a lock with Network Location :)

Link to comment
Share on other sites

Guest surfsmurf
You can examine the adb logcat output to see if it gives any indication of what might be happening.

There's no logcat output of any kind while this is happening. I see it also happens in the game Buka, so perhaps it's a general OpenGL thing.

Link to comment
Share on other sites

Yep:

1. adb pull /system/build.prop build.prop

2. edit build.prop with your favorite text editor

3. adb shell reboot recovery

4. adb mount system

5. adb remount

6. adb push build.prop /system/build.prop

7. adb reboot

Let me know if that works out!

No luck for me... messed around with the build.prop.

Also tried different settings i found like...

ro.com.google.clientidbase=android-tmobile

or

ro.com.google.clientidbase=android-verizon

Link to comment
Share on other sites

...ok, but my build.prop - hacks made some thing else...

I was just remembering this...

In theory I'm using 63.18.55.06JU_6.35.09.26 Radio ROM but in About screen it says 63.18.55.06JH_6.35.09.26. Is this normal?

As I said Network location via wifi works, via cell no. Weird

when i was reading this...

http://forum.xda-developers.com/showthread.php?t=595108

then i changed this...

ro.ril.hsxpa=1

ro.ril.gprsclass=10

into this...

ro.ril.hsxpa=2

ro.ril.gprsclass=12

and then reflashed radio-rom and now i have no more JH in the About-screen :)

But ...

now i have no idea what exactly made this happen

ro.com.google.locationfeatures=1

ro.com.google.networklocation=1

ro.com.google.clientidbase=android-htc

or / and

ro.ril.hsxpa=2

ro.ril.gprsclass=12

Maik

Link to comment
Share on other sites

Guest jnwhiteh
Will there be an update of this rom anytime soon?

What update do you want? I can copy r4 to r5 if it will make you happy! There have been no new source releases. I will be putting out a version sometime soon that tracks AOSP master instead of eclair.. but that will be more experimental than not.

Precisely what do you want?

Link to comment
Share on other sites

Guest String Theory
What update do you want? I can copy r4 to r5 if it will make you happy! There have been no new source releases. I will be putting out a version sometime soon that tracks AOSP master instead of eclair.. but that will be more experimental than not.

Precisely what do you want?

Nothing specific, I'm just curious how the development is going :) .... One thing I do not exactly understand, does your Rom have the OpenGL-drivers like KaguDroid?

Link to comment
Share on other sites

Guest jnwhiteh
Nothing specific, I'm just curious how the development is going :) .... One thing I do not exactly understand, does your Rom have the OpenGL-drivers like KaguDroid?

KaguDroid is directly based on this ROM. Yes.

Link to comment
Share on other sites

Guest jnwhiteh
KaguDroid is directly based on this ROM. Yes.

Also, this isn't a 'development' ROM. This is a stock AOSP ROM, build directly from the Android sources. I'm not actively developing anything for it, just trying to fix existing issues.

Link to comment
Share on other sites

Guest String Theory
Also, this isn't a 'development' ROM. This is a stock AOSP ROM, build directly from the Android sources. I'm not actively developing anything for it, just trying to fix existing issues.

Great, thanks for the explanation. So if the AOSP-release gets an update, your rom will have one too? But again, awesome that you take the time to explain some things.

Hopefully 2.1 will arrive in AOSP soon :)

Thanks for all your work!

Link to comment
Share on other sites

...ok, but my build.prop - hacks made some thing else...

I was just remembering this...

when i was reading this...

http://forum.xda-developers.com/showthread.php?t=595108

then i changed this...

ro.ril.hsxpa=1

ro.ril.gprsclass=10

into this...

ro.ril.hsxpa=2

ro.ril.gprsclass=12

and then reflashed radio-rom and now i have no more JH in the About-screen :)

But ...

now i have no idea what exactly made this happen

ro.com.google.locationfeatures=1

ro.com.google.networklocation=1

ro.com.google.clientidbase=android-htc

or / and

ro.ril.hsxpa=2

ro.ril.gprsclass=12

Maik

Hy Maik.

I can confirm that changing

ro.ril.hsxpa=1

ro.ril.gprsclass=10

to

ro.ril.hsxpa=2

ro.ril.gprsclass=12

in /system/build.prop

does change JH to JU in the About screen

Link to comment
Share on other sites

About the location problem, a logcat -b radio seems to show that the htc_ril provides a value for the cell id:

D/HTC_RIL ( 73): (t=1263893426)>> AT+CREG?\r

D/HTC_RIL ( 73): (t=1263893426)<< +CREG: 2,1,"6307","02F94900"\r\n0\r

That seems to be correct values according to this explanation:

http://www.gsmhacks.com/forums/gsm/29432-g...ng-cell-id.html

There are some references to a fixed bug about cid format http://android.git.kernel.org/?p=platform/...9987bafaa546170

Not a solution but just some informations, i'll try to look deeply this night.

Jnwitheh, do you think there is a chance to modify sources to get the good cid since hardware seems to report it correctly?

Link to comment
Share on other sites

Guest jnwhiteh
About the location problem, a logcat -b radio seems to show that the htc_ril provides a value for the cell id:

D/HTC_RIL ( 73): (t=1263893426)>> AT+CREG?\r

D/HTC_RIL ( 73): (t=1263893426)<< +CREG: 2,1,"6307","02F94900"\r\n0\r

That seems to be correct values according to this explanation:

http://www.gsmhacks.com/forums/gsm/29432-g...ng-cell-id.html

There are some references to a fixed bug about cid format http://android.git.kernel.org/?p=platform/...9987bafaa546170

Not a solution but just some informations, i'll try to look deeply this night.

Jnwitheh, do you think there is a chance to modify sources to get the good cid since hardware seems to report it correctly?

That's a bit beyond me, considering we haven't clearly identified the bug yet. We also don't use a compiled RIL, so that's not something we can mess with in any way. I have to do some work on the master build to see if I can find a package that works properly.. I just don't have a ton of time at the moment =).

Link to comment
Share on other sites

Here...

http://www.android-hilfe.de/root-hacking-m...ir-2-0-1-a.html

...is a link to an HTC Magic Rom which includes milestone-googlebits. As you may notice, there is a "location.apk".

I messed around with it and from what i saw within the apk, it is from Motorola. Maybe it´s Motorola´s way to

get a location?

However, wasn´t able to make the location.apk running on the hero yet. (It´s not listed in the package browser)

Maik

Edited by Maik_B
Link to comment
Share on other sites

That's a bit beyond me, considering we haven't clearly identified the bug yet. We also don't use a compiled RIL, so that's not something we can mess with in any way. I have to do some work on the master build to see if I can find a package that works properly.. I just don't have a ton of time at the moment =).

Where is the RIL from you are using? The leaked Hero 2.0 ROM?

P

Link to comment
Share on other sites

Guest jnwhiteh
Here...

http://www.android-hilfe.de/root-hacking-m...ir-2-0-1-a.html

...is a link to an HTC Magic Rom which includes milestone-googlebits. As you may notice, there is a "location.apk".

I messed around with it and from what i saw within the apk, it is from Motorola. Maybe it´s Motorola´s way to

get a location?

However, wasn´t able to make the location.apk running on the hero yet. (It´s not listed in the package browser)

Maik

Yeah, not sure.

Where is the RIL from you are using? The leaked Hero 2.0 ROM?

P

From the 'HERO21' Rom, yeah. All of the HTC libraries had to come from there in order to work properly, unfortunately.

Link to comment
Share on other sites

Guest jnwhiteh
Yeah, not sure.

From the 'HERO21' Rom, yeah. All of the HTC libraries had to come from there in order to work properly, unfortunately.

I'm eagerly awaiting the release of an official HTC build so we can backup the proprietary bits before applying the update.zip and then restoring them afterwards. Unfortunately, we still don't have the source to a 'good' 2.0, 2.0.1 or 2.1 so that'll be a pain in my butt as well.

Link to comment
Share on other sites

About the location problem, a logcat -b radio seems to show that the htc_ril provides a value for the cell id:

D/HTC_RIL ( 73): (t=1263893426)>> AT+CREG?\r

D/HTC_RIL ( 73): (t=1263893426)<< +CREG: 2,1,"6307","02F94900"\r\n0\r

That seems to be correct values according to this explanation:

http://www.gsmhacks.com/forums/gsm/29432-g...ng-cell-id.html

There are some references to a fixed bug about cid format http://android.git.kernel.org/?p=platform/...9987bafaa546170

Not a solution but just some informations, i'll try to look deeply this night.

Jnwitheh, do you think there is a chance to modify sources to get the good cid since hardware seems to report it correctly?

Thank you yneveu for this information.

So, what we can say for sure :

The Cell Identifier is known at the radio level (since "AT+CREG?\r" command does transmit correct and valid information)

but, this information is not correctly transmitted and/or registered by the ROM.

The Network Location bug is somewhere inbetween :-(

Link to comment
Share on other sites

Yes, i'll try to find something in android sources this night.

Maybe there:

frameworks/base/telephony/java/com/android/internal/telephony/gsm/

Hope i still can compile the aosp tree to put some debug traces

Link to comment
Share on other sites

Just for info... don´t know if this could be usefull

On Modaco Rom the phone-info (*#*#4636#*#*)

for telephone-number (line 2)

is unknown

but on this rom there is no value

Link to comment
Share on other sites

Hi there,

I've been installing this INCREDIBLE rom, and, so far, it's working really good (huge amount of RAM available, network location working with WiFi). My only problem is that I can't switch on/off the 3G. No option. Am I blind or so noob that I don't diserve to be answered ? :)

Many thanks in advance.

Keep on the great job guyz.

Link to comment
Share on other sites

Guest jnwhiteh
Hi there,

I've been installing this INCREDIBLE rom, and, so far, it's working really good (huge amount of RAM available, network location working with WiFi). My only problem is that I can't switch on/off the 3G. No option. Am I blind or so noob that I don't diserve to be answered ? :)

Many thanks in advance.

Keep on the great job guyz.

That option (sadly) does not exist on non-HTC ROMS. I've taken a stab at adding it back in but haven't gotten it quite working yet.

Link to comment
Share on other sites

Guest Oletros
Hy Maik.

I can confirm that changing

ro.ril.hsxpa=1

ro.ril.gprsclass=10

to

ro.ril.hsxpa=2

ro.ril.gprsclass=12

in /system/build.prop

does change JH to JU in the About screen

And those parameters eat battery a lot :)

Reverted to 1/10

Link to comment
Share on other sites

Guest jnwhiteh

I've posted a beta version of r5, if anyone wants to give it a spin. I've also linked an updated google-bits that includes voice search, youtube and a few other cleanups. The major changes in this version are:

  • Moving to AOSP master branch for compiling
  • A small change to the media player code required for a clean compile.. so test this thoroughly for me
  • Using a compiled sensors.hero.so instead of a prebuilt one (so test the sensors)

Let me know if you run into any issues.. or if any old issues suddenly disappear =)

Link to comment
Share on other sites

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.