Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
N0J
Old
#51  
N0J's Avatar
Senior Member
Thanks Meter 185
Posts: 702
Join Date: Nov 2009
Location: Tx
Quote:
Originally Posted by oxeneers View Post
This is awesome. I am so glad you guys are doing this. Flipz and Fresh are our saviors.
definatly...
I know got I excited as soon as Flip said he and others are working on it.

With what has been found in only a few hours, I wonder what we'll discover today
Samsung Galaxy S II EPIC 4G Touch | The Blu Kuban (ICS 4.0.4)

_ _ _ _ If I've helped you or you like my work, please help me out by hitting the thanks button _ _ _ _
Got a question about the Blu Kuban? Check HERE before posting.
 
bkfist
Old
#52  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Oct 2009
Quote:
Originally Posted by 5tr4t4 View Post
[...] I'm not sure I understand why Android is so device specific. Is it the device drivers for individual hardware, the radio? Chip/CPU architecture?

Thank again for the work, I'll let you know what happens!
The reason is that the kernel is going to be compiles with *only* the drivers that are necessary for the specific hardware/radio systems. It keeps the kernel smaller, faster, and frees up more RAM for the system to run in.

Gentoo Linux is based on this principle. Although by default it will compile in the most common drivers when you build the kernel, once you get your feet wet and reallly want to start optimizing the system for absolute speed, you start stripping out *ever* driver and module that you don't use. My Gentoo server has only the bare necessities as far as drivers are concerned. Without re-configuring and re-compiling the kernel I can not mount anything except XFS and EXT4 file systems, not even ext2 and ext3. Only the network protocols that I need are supported, the only video driver on the system is for my Intel integrated graphics, and so on. It makes for a very lean and fast system.

Any phone manufacturer who includes code and drivers for hardware that is no on the specific platform is wasting resources on the phone. If you need GSM, there is no reason to include the CDMA code and so on, hence the reason only a few "common" pieces of hardware are working.
 
chuckhriczko
Old
#53  
Recognized Developer
Thanks Meter 36
Posts: 1,066
Join Date: Aug 2008
Location: Walnutport, PA

 
DONATE TO ME
Quote:
Originally Posted by bkfist View Post
The reason is that the kernel is going to be compiles with *only* the drivers that are necessary for the specific hardware/radio systems. It keeps the kernel smaller, faster, and frees up more RAM for the system to run in.

Gentoo Linux is based on this principle. Although by default it will compile in the most common drivers when you build the kernel, once you get your feet wet and reallly want to start optimizing the system for absolute speed, you start stripping out *ever* driver and module that you don't use. My Gentoo server has only the bare necessities as far as drivers are concerned. Without re-configuring and re-compiling the kernel I can not mount anything except XFS and EXT4 file systems, not even ext2 and ext3. Only the network protocols that I need are supported, the only video driver on the system is for my Intel integrated graphics, and so on. It makes for a very lean and fast system.

Any phone manufacturer who includes code and drivers for hardware that is no on the specific platform is wasting resources on the phone. If you need GSM, there is no reason to include the CDMA code and so on, hence the reason only a few "common" pieces of hardware are working.
Ok. Good call. However, I believe it is safe to assume CDMA IS in this kernel. Otherwise it wouldnt be able to activate the radio and make calls, right? I have to say what makes most sense to me is that it has all the GSM dialogs and all that and is looking for the sim card. Any ideas?
 
toastcfh
Old
#54  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1873
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
Ok I stayed up late messing with it. I got WiFi to work. But I see someone else figured that out already. Anyhow... I. Think maybe if we get rid of some of the files in/system/app and replace ithem with some of the ones from our roms. It may get the data or ayleast show service. I think though.... I tried pushing all the app folders contents to the phone just to see what the result would be. It was bad. Gonna try to sort out which ones we may need for cdma support. We need to see which ones enable gsm support. Again this is just an idea. Maybe someone. Can try it. I'm at work for the next 6 hours. So I gotta wait to try and tinker. Good luck...
 
chuckhriczko
Old
#55  
Recognized Developer
Thanks Meter 36
Posts: 1,066
Join Date: Aug 2008
Location: Walnutport, PA

 
DONATE TO ME
Quote:
Originally Posted by toastcfh View Post
Ok I stayed up late messing with it. I got WiFi to work. But I see someone else figured that out already. Anyhow... I. Think maybe if we get rid of some of the files in/system/app and replace ithem with some of the ones from our roms. It may get the data or ayleast show service. I think though.... I tried pushing all the app folders contents to the phone just to see what the result would be. It was bad. Gonna try to sort out which ones we may need for cdma support. We need to see which ones enable gsm support. Again this is just an idea. Maybe someone. Can try it. I'm at work for the next 6 hours. So I gotta wait to try and tinker. Good luck...
Ya know thats a good point. I know when I was building the Gutted rom I removed the OMADM.apk file and that completely disabled my CDMA radio. I will try some things and report back but someone else feel free to as well. I myself am at work so I cant guarantee I can do this quickly.
 
johnsongrantr
Old
#56  
johnsongrantr's Avatar
Senior Member
Thanks Meter 29
Posts: 722
Join Date: Aug 2007
Location: Indianapolis
I wish I could help you guys in this, cooking roms is out of my realm though, sorry. However I am very curious as to how much preformance would take a hit if we were to include "drivers" for both the cdma and gsm version into our custom roms.

Exactly how hard would it be to make a universal hero rom if preformance wasn't specifically what was holding this back.


--------
start rant #not required reading
--------
When I first heard about android the end state vision *in my head* was a universal installer you could just point and click. I was very excited about how universal they made it sound.

Plug in your *random device here*, windows/linux/osx/chrome would find your device and install with the open sourced bits it needed (community built or maintained of course)

Rooting/hacking your device just to update an open source OS is not what open source is susposed to be all about. Hardware manufacturers should make their devices unbrickable with known good base ROM (true ROM... not just flash "rom") if fear of voided warranty is what keeps devices locked down as they currently are.

Updateing android shouldn't be nearly as hard as it is, with git being an ideal updater utility, updates should be painless and damn near daily.

Don't get me wrong, I LOVE the direction android is moving, I LOVE the community standing strong behind android and the entire "borg" aspect of it that all handsets will be assimilated into the collective. I just think the distribution method is just a little off currently. It seems as if the carriers and hardware manufacturers are still trying to do things "the old way" but still come off as being open and free... but the reality is only half true. I extremely hope this changes more in time.

.... resistance is futile
--------
end rant #thanks for listening
--------
 
toastcfh
Old
#57  
toastcfh's Avatar
Retired Forum Mod / Elite Recognized Developer
Thanks Meter 1873
Posts: 1,298
Join Date: Feb 2009
Location: Lakeland, FL

 
DONATE TO ME
Also u may have to manually uninstall all the gsm stuff. Maybe reboot or even reset to factory. To get it to install the cdma stuff. Maybe adb install will work also. Again just some ideas. It may work. Or may not there isn't a lot of documentation one fingering or even build for cdma support. From what I've found androids cdma gsm setup is done through java. Hence maybe all we need is the correct apks and such...
 
flipzmode
Old
(Last edited by flipzmode; 2nd December 2009 at 03:52 PM.)
#58  
flipzmode's Avatar
Recognized Developer - OP
Thanks Meter 917
Posts: 1,325
Join Date: Jan 2009

 
DONATE TO ME
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.
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

 
prodigy2m
Old
#59  
prodigy2m's Avatar
Senior Member
Thanks Meter 5
Posts: 168
Join Date: Mar 2008
Thumbs up CDMA Radio help

Hey flipzmode,

I asked behnaam from GSM Hero 2.1 dev. to help with that. He is way ahead. Most of the stuff is working for him. I think if you send him a private message he will respond asap. I sent him a direct link to the CDMA 2.1 zip ... so he can take a look. You should talk to him I am sure he wouldn't mind helping.
 
chuckhriczko
Old
#60  
Recognized Developer
Thanks Meter 36
Posts: 1,066
Join Date: Aug 2008
Location: Walnutport, PA

 
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.
How did you get it to recognize the sprint network and get data to work?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Recognized Contributor Code of Conduct

During the first half of 2012, XDA initiated the Recognized Contributor (RC) program to recognize … more

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more