[Q] Kernel source code. - Defy Q&A, Help & Troubleshooting

Does Motorola open the kernel code for Defy and Defy+ or the ones we're using are just hacks over the original binaries?
I ask this because it seems that maintaining two FW branches for different kernel versions tend to become more and more difficult over time. If we could bring the HW abstraction spend to the Kernel, it would simplify the overall development.
I don't even know if it's feasible, but theoretically it would be awesome.
Anyway... Just brainstorming.
Sent from my MB525 using xda premium

Or the reason we don't use custom kernels is the locked bootloader?
Sent from my MB525 using xda premium

piresl said:
Or the reason we don't use custom kernels is the locked bootloader?
Sent from my MB525 using xda premium
Click to expand...
Click to collapse
Bingo!
Yeah, that's the reason, take a look in this thread, sure will be helpfull http://forum.xda-developers.com/showthread.php?t=1575538

piresl said:
Does Motorola open the kernel code for Defy and Defy+ or the ones we're using are just hacks over the original binaries?
I ask this because it seems that maintaining two FW branches for different kernel versions tend to become more and more difficult over time. If we could bring the HW abstraction spend to the Kernel, it would simplify the overall development.
I don't even know if it's feasible, but theoretically it would be awesome.
Anyway... Just brainstorming.
Sent from my MB525 using xda premium
Click to expand...
Click to collapse
http://sourceforge.net/projects/motodefyplus.motorola/?source=directory

Related

CM7?

Is it possible this will be ported to the DroidX? I will only have mine for a little longer but was still curious.
Sent from my DROIDX using XDA App
I believe CM7 is a full rom, as in not unless the bootloader is defeated. So, id say, possible, but thats if they can figure out how to load kernels.
the milestone has a lock bootloader and it just recently got cm6 so hopefully someone can port it over to the x
There's been talk of CM coming to the X ever since the X came out. It hasn't happened yet, and chances are it won't happen anytime soon.
Me and another developer are going to work on this. CM7 can't be done until a Moto kernel update but CM6 can be done.
Sent from my SCH-I800 using XDA App
Thanks for the answers, this is why I'm switching back to my HTC Incredible.
Sent from my DROIDX using XDA App
That would be sweet (cm7 & bypassing bootloader), this is why my next phone will have an unlocked or already defeated boot loader.
Matt4542 said:
Me and another developer are going to work on this. CM7 can't be done until a Moto kernel update but CM6 can be done.
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
+1
I started porting it a few days ago. Matt's going to be joining me
It likely will not be fully supported by Team Douche (The CyanogenMod team) since the ramdisk can't be edited due to the locked bootloader, but it's still very possible to have CM6 on the DX.
drod2169 said:
+1
I started porting it a few days ago. Matt's going to be joining me
It likely will not be fully supported by Team Douche (The CyanogenMod team) since the ramdisk can't be edited due to the locked bootloader, but it's still very possible to have CM6 on the DX.
Click to expand...
Click to collapse
What's the key difference that makes CM6 portable and CM7 not? Ive been lost in DX world so I'm not up on CM roms.
Sent from my DROIDX using Tapatalk
ejgilkey said:
What's the key difference that makes CM6 portable and CM7 not? Ive been lost in DX world so I'm not up on CM roms.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
CM7 is based on Gingerbread, in which Gingerbread updates to the 2.6.35 version Linux based kernel. CM6 is Froyo based, which uses the 2.6.32 kernel that we currently have.
To add on to Derek, once Motorola updates our phones to Gingerbread, and gives us the needed .35 kernel, then GB should be posible.
Sent from my SCH-I800 using XDA App
Hm, and what about unlock boot?)= i wonna CM7 at my droid x. CM7 wonderful, on my droid 1
Your asking for a bootloader unlock? That's like asking for time travel
Sent from my SCH-I800 using XDA App
Matt4542 said:
Your asking for a bootloader unlock? That's like asking for time travel
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
http://gizmodo.com/5736217/scientist-discovers-time-teleportation
So about that bootloader unlock...
Okay, you need to get a brick and drop it on your phone and it will be unlocked! We were keeping it a secret so shhh!
iamrobk said:
http://gizmodo.com/5736217/scientist-discovers-time-teleportation
So about that bootloader unlock...
Click to expand...
Click to collapse
Sent from my SCH-I800 using XDA App
Matt4542 said:
Okay, you need to get a brick and drop it on your phone and it will be unlocked! We were keeping it a secret so shhh!
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
New meaning to the term.... "Bricked"
Matt4542 said:
Okay, you need to get a brick and drop it on your phone and it will be unlocked! We were keeping it a secret so shhh!
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
That's how I unlocked my DX. Now I have all the freedom I want out of it, straight down to the hardware
The droid is also a long time to hack, but still did it. ) =
Matt4542 said:
To add on to Derek, once Motorola updates our phones to Gingerbread, and gives us the needed .35 kernel, then GB should be posible.
Sent from my SCH-I800 using XDA App
Click to expand...
Click to collapse
According to Droid Life, kexec is getting ready for a release which could in fact bypass the bootloader and make CM7 possible?
bravo1234 said:
According to Droid Life, kexec is getting ready for a release which could in fact bypass the bootloader and make CM7 possible?
Click to expand...
Click to collapse
The kexec hack basically allows for piggybacking another kernel onto the stock kernel.. and there has been huge progress made in that arena.
Unfortunately, there are a ton of remaining unsolved issues with this work-around, including:
--Stability.
--Once running another kernel, for drivers to work (including the radio which means 3g and phone functionality), those modules will need to be reverse engineered and ported over to the other kernel...
--etc.
So, while progress is being made... it's more likely that any work done on the X getting "around" the locked bootloader will be used to continue this work on future Moto hardware such as the bionic.. but it's not likely we're going to be seeing full ROMs running on the X for daily use any time soon...

GB Kernel source released

Just seen this on google +
http://developer.htc.com/
Sent from my PC36100 using XDA Premium App
Noob question, is that kernel release used to make roms based on that kernel?
Sent from my PC36100 using XDA Premium App
MTsol said:
Noob question, is that kernel release used to make roms based on that kernel?
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Its used to 1) update the aosp kernels to gingerbread, 2) create sense kernels with modifications.
Sw33t! Also yes, this will help improve the kernel to oc, and for battery life, the hdmi streaming, etc
Sent from my PC36100 using XDA Premium App
Can't wait for some sbc love.
Sent from my PC36100 using XDA Premium App
lithid-cm said:
Its used to 1) update the aosp kernels to gingerbread, 2) create sense kernels with modifications.
Click to expand...
Click to collapse
And may help find a hole to get root again cross fingers
Yes! Gentlemen (and Ladies), start your engines!
Thank god, takes htc forever sometimes it seems.
Pocket posted...
FINALLY.
Direct link, if it works: http://dl4.htc.com/RomCode/Source_and_Binaries/supersonic-2.6.35-gb-MR.tar.gz
Sorry I'm a noob. How do I install this? Thanks in advance
myriam53 said:
Sorry I'm a noob. How do I install this? Thanks in advance
Click to expand...
Click to collapse
You don't. OP should update his title to say "GB KERNEL SOURCE RELEASED". It's just source code to build a working kernel from. The source that we need to make custom kernels.
myriam53 said:
Sorry I'm a noob. How do I install this? Thanks in advance
Click to expand...
Click to collapse
This is the source code for compiling the kernel that's already out and about. The usefulness of this is that developers can start tearing it apart and tweaking it.
I'm guessing that there must be some kind of GB kernel specific exploit so the rumor would be true that it would work across all HTC GB phones. Time to finally go ROM shopping in the Dev section.
github said:
You don't. OP should update his title to say "GB KERNEL SOURCE RELEASED". It's just source code to build a working kernel from. The source that we need to make custom kernels.
Click to expand...
Click to collapse
Updated
Sent from my PC36100 using XDA Premium App
Thanks OP Glad you didn't use my all caps either haha
Another noob question:
How useful is the kernel with regards to root access. I thought that what was holding temp root back on gingerbread was the fact that were no exploits found that could utilize Superuser permissions. Would this be useful for finding a possible exploit?
Seems like most everyone are just waiting around for Alpharevx and Unrevoked to issue the their unlock, or HTC to finally unlock the phone in September. September seems a long way off for an Evo user to be stuck on boring old sense 2.0 though. I don't own an evo, but I have friends that want root and I have been checking forums everyday to no avail... Just a bunch of whiny self entitled children fighting over why others haven't worked harder at finding this illusive "root".
Awesome, about time HTC! It's Friday we'll probably have some new stuff to flash early next week.
Sweet ass sweet!
Sent from my PC36100 using XDA Premium App
arionfrost said:
Another noob question:
How useful is the kernel with regards to root access. I thought that what was holding temp root back on gingerbread was the fact that were no exploits found that could utilize Superuser permissions. Would this be useful for finding a possible exploit?
Click to expand...
Click to collapse
This has serious potential in helping gain root.
Sent from my PC36100 using XDA Premium App
Let the games begin!!!!

Latest ICS for Defy not working on Bravo

http://forum.xda-developers.com/showthread.php?p=20056083#post20056083
It's sad I think it's because it runs on 2.3.4+ kernel version. The older one was 2.2. What can we do?
Why can't we change our kernel
Sent from my MB520 using XDA App
Motorola locked it. We can't unlock it without there signiture.
Sent from my MB520 using XDA App
What we need is that developer who is working with it now, to create a rom without the new kernel, I think walter79 is working them, I'll asking him.
If I'm not mistaken the green lense defy still has to use the froyo kernel
Sent from my MB520 using XDA App
marquae11 said:
If I'm not mistaken the green lense defy still has to use the froyo kernel
Sent from my MB520 using XDA App
Click to expand...
Click to collapse
walter79 told that we need to compile ICS with froyo kernel, but how can we do that?
He sent this: https://github.com/Quarx2k
in the ics thread there is something how to do it!!
Compiling ics is ridicolous amount of ram needed. 20gigs I think... bravomotorola... check your pm
Sent from my GT-I9100 using xda premium
Since we really have no true devs we are going to have to look for one with knowledge of code. We may have to donate some money to someone to get them a bravo unless there's someone with an extra that is willing to let someone use it. That's our true problem is that the defy, Atrix, galaxy s, and other phones have support from cm and alot of experienced devs that have been developing since the magic and hero days.
Sent from my MB520 using XDA App
I pmed motobravo to try and copy over ONLY. App and framework folder FROM the new release over the OLD release.... I no longer have bravo but a thrill and a sgs2... as you can tell by sig so can't try it out.... but got a pm about this
Sent from my GT-I9100 using xda premium
How's the sgs2 going? I'm thinking about n buying one MisStep
Sent from my MB520 using XDA App
marquae11 said:
How's the sgs2 going? I'm thinking about n buying one MisStep
Sent from my MB520 using XDA App
Click to expand...
Click to collapse
It is blazing fast... if you get one... get the new skyrocket... I have the regular one.... replying from my ported rom of superosr gb .
Sent from my GT-I9100 using xda premium
I'm sure they have an ics port working on galaxy s 2 lol
Sent from my MB520 using XDA App
rdannar said:
I pmed motobravo to try and copy over ONLY. App and framework folder FROM the new release over the OLD release.... I no longer have bravo but a thrill and a sgs2... as you can tell by sig so can't try it out.... but got a pm about this
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
rdannar is with us
Hey there.
Are you gonna help us with something about ICS?
Well I think we need first a fully working 2.3, then we can go to the next step.
Thanks everything
Bravomoti will post his results.. gave him some tips
Sent from my GT-I9100 using xda premium
rdannar said:
Bravomoti will post his results.. gave him some tips
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Yes, the results from the excellent tip: Well first I moved over the framework and apps like rdanner said, and it worked! Then I moved over the ect folder for working gps and better working wifi and such, and it also worked and booted! It runs pretty well, but the only problem is 3D (egl libs) don't work with the 2.2 kernel (this is a guess kind of, I'm guessing it needs the 2.3 kernel). Any time I move over newer libs from the newer build I get stuck at the moto screen. I still suggest people to try it out though, I don't have the signal working yet I don't think unless it already works...maybe try playing with the baseband switcher. The build is pretty smooth and wifi and orientation both work good...
Try it here
ICS gapps here
After install wipe data/factory reset and cache and dalvic cache maybe... I would boot it up first and do gapps after it's booted. Have fun, and thanks again rdanner!
You cannot usually mix gb libs with froyo libs..
Sent from my GT-I9100 using xda premium
rdannar said:
You cannot usually mix gb libs with froyo libs..
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
So there is no way to get the gingerbread kernel on the Bravo?
The kernel... probably not... you need a factory gb kernel source Wich the bravo does not have...
Sent from my GT-I9100 using xda premium
rdannar said:
The kernel... probably not... you need a factory gb kernel source Wich the bravo does not have...
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
Is that why you get that bootloader error when trying to flash it?
EDIT:
LOL!! I quote Epsylon's thread under to do list:
2.2 kernels :
Fix Google maps, no errors but no layer drawed (working only with defy+ kernel and gl libs)
Fix 3D (galery, opengl etc...) working with only defy+ kernel and gl libs
Click to expand...
Click to collapse
Looks like he might get 3D working for our 2.2 kernels!!
BravoMotorola said:
Is that why you get that bootloader error when trying to flash it?
EDIT:
LOL!! I quote Epsylon's thread under to do list:
Looks like he might get 3D working for our 2.2 kernels!!
Click to expand...
Click to collapse
Lets hope he gets it!!
I really i'd like that we get the same defy owners are getting!

Faux kernels and gingerbread based roms

Hi Guys,
New to the atrix i have just unlocked, rooted and put a custom rom on.
Few questions
1. What is a faux kernel? what does it do?, can i overlclock?
2. Which is the most stable gingerbread based rom which has fingerprint unlock supports?
3. can you overclock turls CM9 rom?
Thanks
One answer......go to appropriate threads and READ them!!!
Sent from my MB860 using xda premium
admanirv said:
Hi Guys,
New to the atrix i have just unlocked, rooted and put a custom rom on.
Few questions
1. What is a faux kernel? what does it do?, can i overlclock?
KERNEL CONTROLS HARDWARE, STORES DRIVERS ECT. 'FAUX' IS A MEMBER/DEVELOPER WHOM CREATED THE KERNEL.
2. Which is the most stable gingerbread based rom which has fingerprint unlock supports?
STOCK?;-) I DON'T KNOW FOR SURE, THAT'S WHERE HOURS OF READING COMES IN HANDY
3. can you overclock turls CM9 rom?
THIS ROM USES FAUX'S KERNEL -NON GB. THE KERNEL IS ALREADY OVERCLOCKED. THIS ROM HOWEVER, ALTHOUGH NEARLY COMPLETE, IS STILL IN ALPHA/BETA STAGE. THERE MY BE NON-FUNCTIONING PARTS TO IT.
HOPE THIS HELPS YOU SOME
Thanks
Click to expand...
Click to collapse
Sent from my SGH-I727 using xda premium
dac1227 said:
Sent from my SGH-I727 using xda premium
Click to expand...
Click to collapse
Thank you mate
Thank you mate
CaelanT said:
One answer......go to appropriate threads and READ them!!!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
FFS, put a tampon in. If you havent done the same in the past your either a liar or a liar.
I've read threads how do you think i rooted and unlocked etc my phone.
admanirv said:
FFS, put a tampon in. If you havent done the same in the past your either a liar or a liar.
I've read threads how do you think i rooted and unlocked etc my phone.
Click to expand...
Click to collapse
He is correct in all the information you have asked for is already given! Far as most stable its different for everyone.
Sent from my MB860 using xda premium

[Q]Defy rom development problems

PROBLUMS HAVE BEEN SOLVED BY KAYANT. THX FOR HIM
Problem comes here.
Some of my friends from our association including me want to develop roms based on AOKP or cm, and those development projects are based on STOCK kernel for it is less likely to crack and are much easier to test.
WHEN I dealt with 4.1.2, I made a mixture of it (mostly framework) with the older 4.1.1-stock kernel rom, and was finally able to boot on stock 2.3 kernel. (see my post on Defy General)
BUT HOW can I transplant/fix those 2NDBOOT ROMS to STOCK KERNEL without MAKING a 'mixture'? The method mentioned above is NOT able to make the latest 4.2 rom to boot.
ps. removing the custom kernel and change default bootmode into 2ndinit IS USELESS.
Sent from my DEFY using xda app-developers app
NO ONE KNOWS HOW?
Sent from my IdeaTab A1107 using xda app-developers app
TerenceWSK said:
NO ONE KNOWS HOW?
Click to expand...
Click to collapse
1. Don't yell
2. Forum rules require waiting more than 24 hours between bumps, so please follow that rule.
I'm sorry, I'm new here. Thank you.
Sent from my IdeaTab A1107 using xda app-developers app

Categories

Resources