New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
toastcfh
Old
#61  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1877
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
Quote:
Originally Posted by flipzmode View Post
I was able to get it to recognize on the Sprint network. And I could both send and receive texts. I didn't test sync but it did appear data was working as the setup was asking me to sync with google and facebook and everything. However it quickly slows to a halt and then won't wake up after sleeping. Seems like I've run in to a major memory leak.

Edit: It took a while to update but the debugger is recognizing the phone even when it's in this state. I only have 7mb of free memory. lol. 72% is taken up by "unknown" so yea. Something is eating it up. I'll continue to dig.
What did u do to get it working? Should I ditch my ideas?
 
tvrvic
Old
#62  
Junior Member
Thanks Meter 1
Posts: 22
Join Date: May 2007
Quote:
Originally Posted by flipzmode View Post
I was able to get it to recognize on the Sprint network. And I could both send and receive texts. I didn't test sync but it did appear data was working as the setup was asking me to sync with google and facebook and everything. However it quickly slows to a halt and then won't wake up after sleeping. Seems like I've run in to a major memory leak.

Edit: It took a while to update but the debugger is recognizing the phone even when it's in this state. I only have 7mb of free memory. lol. 72% is taken up by "unknown" so yea. Something is eating it up. I'll continue to dig.
Kill the com.android.phone process and the phone will come back to life, that is about where I got to, unfortunately once you do this you can not make any calls. I think I need to get inside the boot.img now, but I need to setup a Linux VM to keep going with that.
 
toastcfh
Old
#63  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1877
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
Can u believe it 60+ posts and not a single one about how to root the hero! I think this maybe a first for the cdma hero threads.;D
 
flipzmode
Old
#64  
flipzmode's Avatar
Recognized Developer - OP
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Quote:
Originally Posted by toastcfh View Post
Can u believe it 60+ posts and not a single one about how to root the hero! I think this maybe a first for the cdma hero threads.;D
lol! Hey toastcfh are you on gtalk? PM me your addy if you are. Although I was talking behnam (gsm dev -- very nice guy) and it seems that it might not be possible for us to really make much progress on this rom because we don't have the most up to date kernel available for cdma.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
quietcblongs
Old
#65  
Senior Member
Thanks Meter 0
Posts: 116
Join Date: Nov 2009
Something to investigate is what/how are some of the CDMA (or Sprint) specific settings/menu items come about, like "Update PRL" or "Update Profile". Hopefully, its not a build specific settings app, but just config files. The "Update Profile" really just sets the username/pw for the data connection (PPP), but I think this data does not really reside within Android, but within the MSM chipset's own data storage, same with the PRL, I wonder if QPST works on this phone, hmm.
 
toastcfh
Old
#66  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1877
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
The kernel is a major problem. But were hacking up this one to work. Here's an idea for the sensors issue. In our Rom in /system/lib/hw there is a file called sensors.heroc. try swapping that file like we did for the WLAN.lo to get WiFi working. It may work. Also u might have to remove the c from hero on that file
 
toastcfh
Old
#67  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1877
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
Quote:
Originally Posted by quietcblongs View Post
Something to investigate is what/how are some of the CDMA (or Sprint) specific settings/menu items come about, like "Update PRL" or "Update Profile". Hopefully, its not a build specific settings app, but just config files. The "Update Profile" really just sets the username/pw for the data connection (PPP), but I think this data does not really reside within Android, but within the MSM chipset's own data storage, same with the PRL, I wonder if QPST works on this phone, hmm.
I'm thinking all the set5ings and stuff are loaded through apks and stuff in the app folder. But I also think u may need to remove and uninstall the gsm stuff too.
 
flipzmode
Old
#68  
flipzmode's Avatar
Recognized Developer - OP
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
Quote:
Originally Posted by toastcfh View Post
I'm thinking all the set5ings and stuff are loaded through apks and stuff in the app folder. But I also think u may need to remove and uninstall the gsm stuff too.
All the progress I've made has been by comparing the Droid rom dump to this GSM 2.1 Hero dump so for those of you messing with this you might want to check that out.

The Droid dump would be a much easier place for us to start with because it is a CDMA device. The problem is the only rom dumps I can find only consist of the /system/ directory which isn't enough to get it booting on our phone. I'm assuming that the droid hasn't been rooted which is why we don't have a full rom dump available to us.
Xylon - Nexus 4: 2.1.1b2 (Android 4.2.2)
Fresh Evo LTE: 5.3.1 (Android 4.0.4) || Fresh Evo 3d: 4.2.0 (Android 2.3.4) || Fresh Evo: 4.3.3
Fresh Shift: 4.1.1 (Android 2.3.3) || Fresh Hero: 2.4.0 (Android 2.1)

CDMA Android development and Fresh rom home: http://GeekFor.Me || Twitter

 
quietcblongs
Old
#69  
Senior Member
Thanks Meter 0
Posts: 116
Join Date: Nov 2009
Quote:
Originally Posted by flipzmode View Post
All the progress I've made has been by comparing the Droid rom dump to this GSM 2.1 Hero dump so for those of you messing with this you might want to check that out.

The Droid dump would be a much easier place for us to start with because it is a CDMA device. The problem is the only rom dumps I can find only consist of the /system/ directory which isn't enough to get it booting on our phone. I'm assuming that the droid hasn't been rooted which is why we don't have a full rom dump available to us.
Hmm, the Moto Droid 2.0 build is set for an OMAP chipset, rather than msm7k, so while the apk's could work, the lib's and other "native" files would probably not work right?

A side question for this newb (me) in compiling Android, where are these ro.cdma.* (found in the Droid's build.prop) properties set?
 
toastcfh
Old
#70  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1877
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
Quote:
Originally Posted by flipzmode View Post
All the progress I've made has been by comparing the Droid rom dump to this GSM 2.1 Hero dump so for those of you messing with this you might want to check that out.

The Droid dump would be a much easier place for us to start with because it is a CDMA device. The problem is the only rom dumps I can find only consist of the /system/ directory which isn't enough to get it booting on our phone. I'm assuming that the droid hasn't been rooted which is why we don't have a full rom dump available to us.
Good thinking. I searched for the dump lastnight but got side tracked. But yeah root is prolly the issue. Building a .29 kernel for heroc isnt gonna happen very soon. So hacking this one may work but we need a newer kernel. Bad.... anyhow I can't even test my ideas I'm at work.... errr....


XDA PORTAL POSTS

Dos and Don’ts of Android Design

As long as you’re coming from some type of programming background, the unseen part of app … more

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more