Related
oh my god!
http://developer.htc.com/
ps: sorry if it is already posted!
pps: it's kernel source of htc brand phone or not?
So, what now?
So what's the real benefit of that. Sorry for the noob-ish question...
nk02 said:
oh my god!
http://developer.htc.com/
ps: sorry if it is already posted!
pps: it's kernel source of htc brand phone or not?
Click to expand...
Click to collapse
WTF! Man this is fantastic, thanks!
You could always cook it your self!
This is only the binaries for the device. As cc said, the kernel you make yourself. What we need is the source for the proprietary parts to make things like bluetooth work on hero among other things
Quick, someone alert cyanogen!
*edit* **** ^
jubeh said:
This is only the binaries for the device. As cc said, the kernel you make yourself. What we need is the source for the proprietary parts to make things like bluetooth work on hero among other things
Click to expand...
Click to collapse
Damn I spoke before I checked the link. Ya it's just the plain old HTC kernel source and useless proprietary binaries. I thought it was going to be their entire source for their Android build. Crap, move along people. Nothing to see here
You can extract all of the proprietary binaries from Hero using the extract script included in dream-open when you repo sync!
shafty023 said:
Damn I spoke before I checked the link. Ya it's just the plain old HTC kernel source and useless proprietary binaries. I thought it was going to be their entire source for their Android build. Crap, move along people. Nothing to see here
Click to expand...
Click to collapse
On the contrary, it has the source for their previously-proprietary kernel bits required for the canadian dream and magic devices, which means it should now be possible to build custom kernels for those devices for true and proper root/customization without the need for the death-spl. This is something that we've been fighting them for.
Just gave the source a quick look through. All of the default kernel settings/commits you would pull down from git are absent, that is, nothing is really set. I'm gonna cook it really quick without any fussing around with it to see what happens.
Man to bad they dont have the hero source as well but thats great.
The kernel is in the oven right now. I literally only changed two things for better performance, other than that this thing is stock.
Implemented CFQ and SLUB.
lbcoder said:
On the contrary, it has the source for their previously-proprietary kernel bits required for the canadian dream and magic devices, which means it should now be possible to build custom kernels for those devices for true and proper root/customization without the need for the death-spl. This is something that we've been fighting them for.
Click to expand...
Click to collapse
As CC stated previously, these can be extracted using the htc script from those devices. I didn't see anything that we couldn't already grab (IE libhtc_ril.so)
ccyrowski said:
The kernel is in the oven right now. I literally only changed two things for better performance, other than that this thing is stock.
Implemented CFQ and SLUB.
Click to expand...
Click to collapse
Hmmm should be interesting to see what results you find.
I cooked the kernel, wlan.ko, and modules. Those are all the files you should need. I'm at work right now, but when I'm home ill throw in a ramdisk to make the boot.img.
Does anyone here know how to mkbootimg boot.img so I don't have to make a million of them for every ROM out there? Or at least I'll make one for a cupcake ROM and one for a HERO ROM
Sorry for the total noobness but does this mean we can have .odex in builds now?
shafty023 said:
As CC stated previously, these can be extracted using the htc script from those devices. I didn't see anything that we couldn't already grab (IE libhtc_ril.so)
Click to expand...
Click to collapse
You might want to read some of the retardedly long root-rogers-dream threads. There is indeed a bunch of kernel code that we can't extract/reverse engineer without a huge effort. Those files pulled by the extract scripts are NOT RELATED. The difference is in the actual kernel.
I TAKE ABSOLUTELY NO RESPONSIBILITY FOR WHAT THIS DOES TO YOU PHONE.
I HAVE NOT TESTED IT.
I WHIPED IT UP ASAP SO YALL COULD FUX WITH IT.
I imagine you'll get partially through the boot process then it will loop. The again, maybe it will work. Who knows. Please provide me with a logcat if you try this.
You cannot flash the zip file. You cannot fastboot flash the boot.img-kernel. You must mkbootimg boot.img-kernel and ramdisk.cpio.gz to make boot.img.
wlan.ko is for wifi and goes in /system/lib/modules
modules.sqf go in /system/modules
Enjoy.
http://demarcatedmedia.com/rom/stockkernel.zip
no brave souls eh?
I'd test it if I knew what you were talking about Don't have ubuntu up and running, creating a VM right now using virtualbox. I have no idea how to compile mkbootimg though.
Hey with this new kernel that has been really impressive to me
I want to work with any Devs out there to bring this kernel to them for testing
I think a lot of people would really like it since it has choices for CFS/BFS RHack/NoRHack
So, if any devs want to work with me on bringing this any build - email me
[email protected]
Hopefully, I want to create a kernel for everyone to use - I know CM's has been more popular for its features - but this one has the features plus a really good speed
I would really like to work with any Eclair Devs to improve the speed of this before I make my Eclair ROM (sooner or later - may need a break first for life lol)
I was really behind on this working on the kernel way too much - so 2wks behind
wesgarner said:
Hey with this new kernel that has been really impressive to me
I want to work with any Devs out there to bring this kernel to them for testing
I think a lot of people would really like it since it has choices for CFS/BFS RHack/NoRHack
So, if any devs want to work with me on bringing this any build - email me
[email protected]
Hopefully, I want to create a kernel for everyone to use - I know CM's has been more popular for its features - but this one has the features plus a really good speed
I would really like to work with any Eclair Devs to improve the speed of this before I make my Eclair ROM (sooner or later - may need a break first for life lol)
I was really behind on this working on the kernel way too much - so 2wks behind
Click to expand...
Click to collapse
are you saying that it has the same features as the CM kernel, but it's faster?
prince.siraj said:
are you saying that it has the same features as the CM kernel, but it's faster?
Click to expand...
Click to collapse
That's what it looks like.
Need this in a Hero ROM
Would love this for SuperD.....
hey i just tried out your kernel on eclair. i used your kernel from 2.6 cfs w/ ram hack on my custom speed demon build of eclair using manups ramdisk and i am unable to pass splash screen. prolly needs more implementation of eclair goodies
What files did you "transplant" to use the kernel on another build?
u must unpack the boot.img's then replace kernel
Hero_Over said:
u must unpack the boot.img's then replace kernel
Click to expand...
Click to collapse
THanks, Im gonna do some experimenting on a 1.6 build later
Anyone else trying this kernel on Eclair other then Herver?
I'm waiting to switch to Eclair until a fast/responsive kernel is implemented.
Tried BFS/RAMHACK with Manup's Eclair ROM, kernel loaded properly, ran quickly, only issue was that bluetooth didn't work.
My issue with all these different kernels out there, is that I'd like to see source code accessible, or at the very least, maybe attach the .config file, so I know what exactly has been changed.
Ok lol who wants for what ROM?
You have to grab a few things from it - such as the rootdir plus setup xbin if it doesn't use it
hi wes.
i would certainly like to help the cause and assist in improving upon things (where possible and if feasable), but i would really need to see the source and .config to make advancements.
is this available on your github?
you're handing these out pre-built? Do you have somewhere we could download the source?
Figured I'd test it, and figured it wouldn't work...
The kernel (CFS + ram hack) doesn't work as a direct drop-in on dwang.
wesgarner said:
Ok lol who wants for what ROM?
Click to expand...
Click to collapse
You should do one for hero/espresso.
wesgarner said:
Ok lol who wants for what ROM?
You have to grab a few things from it - such as the rootdir plus setup xbin if it doesn't use it
Click to expand...
Click to collapse
If you wanna help me, then
g'day Wes,
like the rest - I am curious to know if it possible to see the source and the .config? Is there anyway you could make this available? thanks in advance mate...
peace..
bump for update dammit. Donut is still ALive!
R3N0V4D0 said:
bump for update dammit. Donut is still ALive!
Click to expand...
Click to collapse
No it isn't, go back to sleep and don't be bumping ancient threads.
Here is the system image from MY SGS 3, I thought one of our other devs might want to turn this into a ROM. I would do it, but I am a little swamped at the moment with after hours android dev work.
If someone has not taken a stab at it by the time I am back in here more "permanently", I will make my attempt at porting it over. You will need to grab a script that they use for CM, to grab the files off of your phone, also here is a good reference on porting as well.
SGS3 ROM to port:
http://www.androidfilehost.com/main/Motorola_ATRIX_2_Developers/jimbridgman/system.img.gz md5sum: 29a6c707d25520c28528b502bb190c7e
Porting guide, a very nice one at that:
http://forum.xda-developers.com/showthread.php?t=1512319
Have some fun.
jimbridgman said:
Here is the system image from MY SGS 3, I thought one of our other devs might want to turn this into a ROM. I would do it, but I am a little swamped at the moment with after hours android dev work.
If someone has not taken a stab at it by the time I am back in here more "permanently", I will make my attempt at porting it over. You will need to grab a script that they use for CM, to grab the files off of your phone, also here is a good reference on porting as well.
SGS3 ROM to port:
https://dl.dropbox.com/u/45576654/system.img
Porting guide, a very nice one at that:
http://forum.xda-developers.com/showthread.php?t=1512319
Have some fun.
Click to expand...
Click to collapse
I might take it on (you know me, that means I will try and fail and leave it dead most likely), but how the hell will we even get it to boot without at least an ics kernel? will we just have to wait until we get the update?
EDIT: i assume the gs3 is GSM correct?
lkrasner said:
I might take it on (you know me, that means I will try and fail and leave it dead most likely), but how the hell will we even get it to boot without at least an ics kernel? will we just have to wait until we get the update?
Click to expand...
Click to collapse
Try kexec, That is how the cyanogenmod team is "dual booting" for testing roms... who cares if it is just one proc for a test boot.... Once you can POC it with a 2.3.6 kernel, then you know you are on the right track, and can do a test flash. The only real issue you might have is that the source seems incomplete to me.
I know this because I tried to compile it and had all kinds of issues with missing pieces. I have successfully compiled two kernels that I am testing on my SGS 3 at the moment (one overclocked, the other under volted).
Just make sure you go and grab the arm-abi tool kit, this is the one I use, from
codesourcery:
http://www.mentor.com/embedded-software/codesourcery
All you need is the light version. It might take some work, but you may be able to merge the ICS kernel code (it is posted as a sticky higher up ^^^) with the MB/ME865 kernel to get what is missing. There are some how-tos out there to do it.
Yes the AT&T version is GSM(HSPA+)<E
Can you post the built in apps of sgs3 eg: s voice.
Sent from my MB865 using xda premium
kc92iyngr said:
Can you post the built in apps of sgs3 eg: s voice.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
It is in the system.img file I posted.... just mount it as an iso and you can pull out /system/app and grab the Svoice.apk from there.
kc92iyngr said:
Can you post the built in apps of sgs3 eg: s voice.
Sent from my MB865 using xda premium
Click to expand...
Click to collapse
I'll pull them out for you later today, I am about to tear this apart. it is downloading crazy slow though. I'm on an island in Vermont, so as you might imagine, my internet is not fantastic.
---------- Post added at 01:59 PM ---------- Previous post was at 01:46 PM ----------
jimbridgman said:
Try kexec, That is how the cyanogenmod team is "dual booting" for testing roms... who cares if it is just one proc for a test boot.... Once you can POC it with a 2.3.6 kernel, then you know you are on the right track, and can do a test flash. The only real issue you might have is that the source seems incomplete to me.
I know this because I tried to compile it and had all kinds of issues with missing pieces. I have successfully compiled two kernels that I am testing on my SGS 3 at the moment (one overclocked, the other under volted).
Just make sure you go and grab the arm-abi tool kit, this is the one I use, from
codesourcery:
http://www.mentor.com/embedded-software/codesourcery
All you need is the light version. It might take some work, but you may be able to merge the ICS kernel code (it is posted as a sticky higher up ^^^) with the MB/ME865 kernel to get what is missing. There are some how-tos out there to do it.
Yes the AT&T version is GSM(HSPA+)<E
Click to expand...
Click to collapse
Am I right that is SHOULD boot on a stock ICS kernel, like what came from that leak, if so, I can have someone that is running that test it out, and make sure the system is right, then I can build a kernel to run with kexec until we can get a real update.
I am new to porting and sort of to kernel building so tell me if this process sounds right for this.
1. fix up the gs3 system with our proprietary files -thats easy, I know how to do that
2. have someone that is running an ics kernel test it if possible
3. if that works it means I just need a stock ics kernel to run in kexec, which shouldn't be too hard because we should be able to use the me865 source and modify it to work with mb865. If it does not work, kernel building starts from scratch, which is were I will have to do some more research, and any help from you or others would be helpful.
My other question is how do we even load the new kernel with kexec? wouldn't we need this to boot first, then we can swap the kernel? Or is there a way to load up both at the same time?
I think I will set up a WIP thread for this if you don't mind. feel free to PM me if you don't want to post stuff here.
Thank you so much for all your help, and have fun with your new toy
lkrasner said:
I'll pull them out for you later today, I am about to tear this apart. it is downloading crazy slow though. I'm on an island in Vermont, so as you might imagine, my internet is not fantastic.
---------- Post added at 01:59 PM ---------- Previous post was at 01:46 PM ----------
Am I right that is SHOULD boot on a stock ICS kernel, like what came from that leak, if so, I can have someone that is running that test it out, and make sure the system is right, then I can build a kernel to run with kexec until we can get a real update.
I am new to porting and sort of to kernel building so tell me if this process sounds right for this.
1. fix up the gs3 system with our proprietary files -thats easy, I know how to do that
2. have someone that is running an ics kernel test it if possible
3. if that works it means I just need a stock ics kernel to run in kexec, which shouldn't be too hard because we should be able to use the me865 source and modify it to work with mb865. If it does not work, kernel building starts from scratch, which is were I will have to do some more research, and any help from you or others would be helpful.
My other question is how do we even load the new kernel with kexec? wouldn't we need this to boot first, then we can swap the kernel? Or is there a way to load up both at the same time?
I think I will set up a WIP thread for this if you don't mind. feel free to PM me if you don't want to post stuff here.
Thank you so much for all your help, and have fun with your new toy
Click to expand...
Click to collapse
Yeah I think that is a good start. Take a look at this link, the guys from team epic that do cyanogenmod ports have come up with a way to use kexec to test booting thier kernel and roms. You might PM one of them, I have not gotten to that point yet, plus these guys are working on the Sprint version, of the SGS3, but I am sure they can explain how they are doing this with kexec. These guys are on XDA, I have chatted with them on a couple issues I was having.
http://www.epiccm.org/
Oh, P.S.
Here is how to compile the "stock MB/ME865" kernel:
1. How to Build
- get Toolchain
From android git server , codesourcery and etc ..
- arm-eabi-4.4.3
- edit Makefile
edit "CROSS_COMPILE" to right toolchain path(You downloaded).
EX) CROSS_COMPILE= $(android platform directory you download)/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
Ex) CROSS_COMPILE=/usr/local/toolchain/arm-eabi-4.4.3/bin/arm-eabi- // check the location of toolchain
$ export ARCH=arm
$ make m2_att_defconfig
$ make
2. Output files
- Kernel : arch/arm/boot/zImage
- module : drivers/*/*.ko
3. How to Clean
$ make clean
Just make sure the toolkit is pointed to the install of the codesourcery toolkit I linked in the above post.
P.P.S
Your defconfig might be another pointer name, that you will have to find out for sure. You know the one above called m2_att_defconfig.
For the beginners don't try the rom,you might kill your phone!
I'd like to give this a try as well . Thanks a lot for all the help!
If/when we get this to work, do you think a JB port won't be too far behind? How big are the differences between stock ICS and JB kernels?
cogeary said:
I'd like to give this a try as well . Thanks a lot for all the help!
If/when we get this to work, do you think a JB port won't be too far behind? How big are the differences between stock ICS and JB kernels?
Click to expand...
Click to collapse
Glad to see you back around here, but lets not even give anything towards JB until we get ICS. if you are interested in helping with that, send me a PM, I have made some progress with cm9 (as in it boots fine, and i have some ideas for the radio).
cogeary said:
I'd like to give this a try as well . Thanks a lot for all the help!
If/when we get this to work, do you think a JB port won't be too far behind? How big are the differences between stock ICS and JB kernels?
Click to expand...
Click to collapse
Yay! Cogeary's back! Good to see you around again...
Sent from my phone's mind
cogeary said:
I'd like to give this a try as well . Thanks a lot for all the help!
If/when we get this to work, do you think a JB port won't be too far behind? How big are the differences between stock ICS and JB kernels?
Click to expand...
Click to collapse
ICS to JB is going to be a much smaller kernel jump, but there will be a HUGE performance increase due to project butter which is now officially part of Jelly Bean.
The key to running something like this is to get a kernel compiled and running with kexec, even though it is just 1 proc, it is a good way to get started. Ports will be much easier if you do some merging of the changed code in newer kernels and do merged kernel. There are instructions for doing a kernel that is merged from 2 sources to get a complete kernel.
Now this will just work for testing and porting, and the actual ICS or JB install from at least a leak will be needed to actually run the port, but you can get ahead of the game by doing what I have mentioned.
Well going to give this a go in a few days doing some maintenance on my computer but will get back with something (hope not a bricked phone) .....
(off topic ranting)
Hate to say it at this rate what getting close to a year since Ics release Jb might just be a pipe dream..... Think I am growing grey hairs waiting for something to give here..... Without bootloader unlock I feel so useless (Yea I could make a recovery image with all the bells and whistles but I got bigger plans).....
Downloaded so I could tinker with some files. Thanks for sharing.
Sent from my SAMSUNG-SGH-I997 using xda premium
Lol. Just my luck for the dropbox account to be temporarily shut down when my download's on 99%.
Well I guess I'll just sit here and wait. Unless anyone wants to be so kindly awesome enough to mirror it?
cogeary said:
Lol. Just my luck for the dropbox account to be temporarily shut down when my download's on 99%.
Well I guess I'll just sit here and wait. Unless anyone wants to be so kindly awesome enough to mirror it?
Click to expand...
Click to collapse
sure, no problem, give me a bit, my internet is slower than hell where I am right now.
EDIT: of course I didn't add it to dropbox originally, so now it is uploading to google drive. It just hit 1%
cogeary said:
Lol. Just my luck for the dropbox account to be temporarily shut down when my download's on 99%.
Well I guess I'll just sit here and wait. Unless anyone wants to be so kindly awesome enough to mirror it?
Click to expand...
Click to collapse
Yeah I got the dreaded e-mail from dropbox last night....
I will see what I can come up with for a hosting solution for this. I will update the OP once I have something.
cogeary said:
Lol. Just my luck for the dropbox account to be temporarily shut down when my download's on 99%.
Well I guess I'll just sit here and wait. Unless anyone wants to be so kindly awesome enough to mirror it?
Click to expand...
Click to collapse
I uploaded it to my Drive right away after downloading - try this for SGSIII ICS: https://docs.google.com/open?id=0B-CZ8hXV8qOiVGtjOHZ3ZEg5eFU
P.S. - I also have a JB dump there, if anyone's interested: https://docs.google.com/open?id=0B-CZ8hXV8qOiSkc3QkE1Y0ZsRkU
EDIT: make that 2 jelly beans: https://docs.google.com/open?id=0B-CZ8hXV8qOiS2QtcG41QUh4R1k
...I was pretty active during the I/O hype last week...
jimbridgman said:
Yeah I got the dreaded e-mail from dropbox last night....
I will see what I can come up with for a hosting solution for this. I will update the OP once I have something.
Click to expand...
Click to collapse
Why not try Filedropper or Mediafire?
MagicXB said:
Why not try Filedropper or Mediafire?
Click to expand...
Click to collapse
I am actually trying to get my recognized developer cert on here and get free premium access to xdafilehost, that all the recognized devs get access to.
We will see if I get it or not. If not I have other options, but things like filedropper will not do, I already looked into it
i read here:http://forum.xda-developers.com/showthread.php?t=1598713 and now i wanna try to port jelly bean,but s plus dont have same processor with nexus.need help....:laugh:
It won't work by simply porting. You need to edit boot.img. the init.rc and init.traces.rc inside boot.img need modification. also several other patches inside kernel is required. I believe that kernel 3.08 is required to port jb. the 2.6.35.14 won't do. So,first we need kernel. then someone experienced like oisis,arco,brood,etc. or,you can wait for the sources. they will be released by mid july.
Doomsday94 said:
It won't work by simply porting. You need to edit boot.img. the init.rc and init.traces.rc inside boot.img need modification. also several other patches inside kernel is required. I believe that kernel 3.08 is required to port jb. the 2.6.35.14 won't do. So,first we need kernel. then someone experienced like oisis,arco,brood,etc. or,you can wait for the sources. they will be released by mid july.
Click to expand...
Click to collapse
in weekend 3.0.8,i think will be finished.all can make this rom easy...
Doomsday94 said:
then someone experienced like oisis,arco,brood,etc. or,you can wait for the sources. they will be released by mid july.
Click to expand...
Click to collapse
Exactly. First Google needs to release the source code!
Trying to hack together some kind of SDK port now with the files from the Nexus is completely useless. Some people on XDA have tried it for other devices and it's buggy and you can't even get basic phone functionality such as calling.
EDIT: You can also read the official statement on the subject by the CyanogenMod team here: https://plus.google.com/117962666888533781522/posts/PNJutPNhixo
k....
Discussions about JB goes here... http://forum.xda-developers.com/showthread.php?t=1742827
Closing thread
Can anyone extract boot.img of any Jelly Bean Based ROM & give kernel to me? (ParanoidAndroid would be better )
I wonder why would you need that.
I have really bad upload speed, so it would be hard for me.
Sent from my SGH-I997 using xda app-developers app
The kernel is the same for all JB roms. PA is the same as CM etc. Can't imagine what you need it for or why you can't just download a package and extract it, but I'll attach it here anyway..
Low Bandwidth
zpzp96 said:
I wonder why would you need that.
I have really bad upload speed, so it would be hard for me.
Sent from my SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
Whizzpopper said:
The kernel is the same for all JB roms. PA is the same as CM etc. Can't imagine what you need it for or why you can't just download a package and extract it, but I'll attach it here anyway..
Click to expand...
Click to collapse
I'm on low bandwidth. & i needed kernel not boot.img. Well, thanks for boot.img
P.S. I need it for compiling PA 2.57 for infuse 4G
i to am wondering why you need the kernel...
samsung boot.img are unlike others, and there isn't tool that i know of that will extract it for you...there is actually no known way to me to extract it...there is also no known way to re inject it into a boot.img...only thing i can think of that might work is to compile a new boot.img from source and use the kernel as a prebuilt...idk if that would work though
anyways if you want the kernel alone your gonna need someone to build it from source and send you the proper file as it cant be extracted as far as i know...then agai its been a while since ive tinkered with things
mg2195 said:
i to am wondering why you need the kernel...
samsung boot.img are unlike others, and there isn't tool that i know of that will extract it for you...there is actually no known way to me to extract it...there is also no known way to re inject it into a boot.img...only thing i can think of that might work is to compile a new boot.img from source and use the kernel as a prebuilt...idk if that would work though
anyways if you want the kernel alone your gonna need someone to build it from source and send you the proper file as it cant be extracted as far as i know...then agai its been a while since ive tinkered with things
Click to expand...
Click to collapse
I'm from Galaxy Fit Forum. I'm compiling PA for infuse 4G, I took CM 10 device config from GitHub. Kernel is not there. So it is stopping d compiling.
AFAIK we need kernel file in device config. During building it uses kernel & compiles boot.img & include it into .zip
RishabhAd said:
I'm from Galaxy Fit Forum. I'm compiling PA for infuse 4G, I took CM 10 device config from GitHub. Kernel is not there. So it is stopping d compiling.
AFAIK we need kernel file in device config. During building it uses kernel & compiles boot.img & include it into .zip
Click to expand...
Click to collapse
Have a look at scotthartbti's github. He has cm, pa, and his own build.. Great dev.
There you will find the kernel, aries-common, proprietary files, and device repos. I bet those are much up to date
Www.github.com/scotthartbti