Jump to content
jnwhiteh

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

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
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

Share this post


Link to post
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?

Share this post


Link to post
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?

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 =).

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
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 :-(

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
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.

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 =)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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