[Q] Wildfire Source Code Building - Wildfire Q&A, Help & Troubleshooting

Hi all,
I downloaded from dev***er.htc.com the following:
HTC Wildfire - Froyo MR - 2.6.32 kernel source code
i think this is only the kernel source code, can anyone confirm that?
Where i can find the full source code for the htc wildfire? is possible?
I need to rebuild a source code with some patch for the wildfire, if I use the google generic one:
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.3.4_r1
is then possible to flah the wildfire? or i need the nexus one (developer terminal)?
thank you all
bye stefano

The full source code of the original HTC Wildfire ROM is not (and will most likely never be) available.
They only release the kernel source code because they're legally bound to do it by the Linux kernel license.

Related

[Dev] Building a 2.6.29 kernel for the Hero

Hello,
I would like to build a 2.6.29 kernel for Hero for us to run properly Donut roms.
Here is my progress so far:
- I have sync the android kernel msm from git.
# git clone git://android.git.kernel.org/kernel/msm.git
# cd msm
# git checkout --track -b android-msm-2.6.29 origin/android-msm-2.6.27
- then:
# adb pull config.gz ./
# gunzip config.gz && mv config .config
# make PATH=$PATH:android-1.6_r1/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin ARCH=arm SUBARCH=arm CROSS_COMPILE=arm-eabi-
But no luck: it asks me questions to configure the kernel (error in .config?)
I have attached some useful files.
Try running make menuconfig and manually load the .config file. What happens?
kernel sources for hero is not available on http://developer.htc.com/ then no hero support in android.git.kernel.org/kernel/msm.git
Z!L0G80 said:
kernel sources for hero is not available on http://developer.htc.com/ then no hero support in android.git.kernel.org/kernel/msm.git
Click to expand...
Click to collapse
Well this guy did it here for sapphire before Htc released kernel sources.... So I think we can.
erikwt said:
Try running make menuconfig and manually load the .config file. What happens?
Click to expand...
Click to collapse
I copied the hero .config file to kernel root, then "make menuconfig" and loaded .config, then exit and yes to "write .config" question.
Make failed, output attached (make1.txt)
I then applied TigerTael sapphire patch as he "tends to think the memory locations may be correct". Tried to manually load hero's .config and got attached error (error.txt)
I then "make msm_defconfig" and could compile a kernel witch I added to ADP-1.6 boot.img. But no luck it does not work and adb logcat waits for device.... while I am waiting for advices
Regards
Was the downloaded config copied from a build of the same kernel version? If not do "make oldconfig" before commencing with "make menuconfig" or other build.
phel21 said:
Was the downloaded config copied from a build of the same kernel version? If not do "make oldconfig" before commencing with "make menuconfig" or other build.
Click to expand...
Click to collapse
'make oldconfig' asks me the questions to configure the kernel.....
Edit:
If that could help:
cat /proc/iomem
00700000-0079afff : msm_panel.1
007a0000-007bffff : ram_console
19200000-257fffff : System RAM
19223000-19513fff : Kernel text
19514000-195ebf7f : Kernel data
a0200000-a0200fff : msm_serial_hs.0
a0400000-a0400fff : msm_sdcc.1
a0500000-a0500fff : msm_sdcc.2
a0800000-a0800fff : msm_hsusb
a9900000-a9900fff : msm_i2c.0
a9900000-a9900fff : msm_i2c
a9c00000-a9c00fff : msm_serial.2
a9c00000-a9c00fff : msm_serial
aa200000-aa2effff : mdp
aa600000-aa600fff : msm_mddi.0
Yes. It will ask you questions as the kernel has added new capabilities - which you will need to configure. Use the help for the new options to guide your choices, although usually the default is the best way to go. Not doing "oldconfig" step will leave you with a busted build configuration.
I assume you're using the config options from /proc/config.gz on the phone?
CombinedEffort said:
I assume you're using the config options from /proc/config.gz on the phone?
Click to expand...
Click to collapse
of course I do
gecka said:
of course I do
Click to expand...
Click to collapse
Godspeed! (sorry, i cannot contribute anything as I am a total noob, but I'll read your progress regardless!)
(edit: i could beta test though..^_^)
http://forum.xda-developers.com/showpost.php?p=4737995&postcount=37
maybe this could be of any help?
E2K said:
http://forum.xda-developers.com/showpost.php?p=4737995&postcount=37
maybe this could be of any help?
Click to expand...
Click to collapse
please read first post
Now that kernel sources are out, it is time to port changes to 2.6.29.
Hey guys what would be the best? Apply HTC Hero kernel changes to 2.6.29 or apply 2.6.29 changes from 2.6.27 to hero kernel ?
I have applied HTC changes (3.4Mo patch!) to android2.6.29msm and I can compile it. When I run it it says it is a 2.6.27-dirty kernel... Why dirty ?
Lox, it probably means that some of your kernel changes from 2.6.27? or coded for 2.6.27 are not valid in the newer build, hence the 'dirty' reference.
Dirty here meaning spoilt or wrong.
I don't code, and i don't know exactly how much experience you have yourself, but do you reckon Cyanogen or maybe Drizzy could help some of you Hero ROM chefs out with some tips? I'm sure they'd love to give some pointers as to how they've gone about cooking on the Sapphire and Magic.
maybe you did a dirty trick
Lox_Dev said:
Hey guys what would be the best? Apply HTC Hero kernel changes to 2.6.29 or apply 2.6.29 changes from 2.6.27 to hero kernel ?
I have applied HTC changes (3.4Mo patch!) to android2.6.29msm and I can compile it. When I run it it says it is a 2.6.27-dirty kernel... Why dirty ?
Click to expand...
Click to collapse
You can get dirty tagged when you change owner of the files compared to the user who pulled them from git.
packetlss said:
You can get dirty tagged when you change owner of the files compared to the user who pulled them from git.
Click to expand...
Click to collapse
Well I understand that but I don't understand why it is not 2.6.29 ?
I have done:
git checkout --track -b android-msm-2.6.29 origin/android-msm-2.6.27
Why start with 2.6.29 and not the latest stable kernel (2.6.31.x) now that HTC-patches just have been released. According to the changelogs there's quite a few interesting android-specific improvements in those later revisions.
Is the intention to match kernel version for android 1.6 source? I'd expect generic android kernel-enhancements to be integrated into the kernel.org kernel. In that case it should be fairly easy to use a more recent kernel than that included in an official android release.
Lox, is this a dead project? Are you focusing on your optimized .27 kernel for our devices?

Source for sbin/init

Hi,
I've followed various posts on here and have managed to compile and install my own kernel build. I am using the leshak initramfs and would like to be able to modify the init executable that lives in the sbin folder.
I've had a search around and can't work out if there is any source code available to build this or if it just pulled directly from the device. Can anyone confirm if and how it is possible to build this executable?
Thanks in advance,
Jamie
Theres no source from Samsung available.
You can try official android sources:
http://android.git.kernel.org/?p=pl...dc717ed167482c09f342730f1c1f64b90d19c;hb=HEAD

[Q] Develop Desire Rom

Can anyone help me to find out how to modify a desire rom.?
And where can I get the source code of desire rom with HTC sense UI..?
I want to customize a rom for use, can anyone please kind help me on this stuff...
Thanks..
swing84 said:
Can anyone help me to find out how to modify a desire rom.?
And where can I get the source code of desire rom with HTC sense UI..?
I want to customize a rom for use, can anyone please kind help me on this stuff...
Thanks..
Click to expand...
Click to collapse
Look here for development and kitchen, as to roms refer to sticky posts
swing84 said:
And where can I get the source code of desire rom with HTC sense UI..?
Click to expand...
Click to collapse
You contact HTC and ask them for their proprietary source code, which they will then refuse!
Android is licensed under the Apache Software Licence, which is not a copy-left licence. This means that you can take the Android source code from the AOSP and do whatever you want with it. You can subsequently sell the derived software, but you are under no obligation to release the source code for your version of Android if you do not desire to do so.
The only exception to this, is the Linux kernel that Android runs on top of - this is licensed under the GPLv2, and therefore if you distribute any software using this you must make available the source code for this component only.
HTC makes GPL'd source available at http://developer.htc.com/.
Regards,
Dave

[Q] HTC Kernel Built From Source Won't Load in Emulator

I've built the HTC Evo kernel from the sources they provide for download on the htcdev website.
I used the prebuilt gcc tools from the android repo to build the kernel as well.
I've been trying to test my build of ICS (Android 4.0.1-r1) from source, the custom emulator is I used OMFGB's supersonic repository as my build base.
The emulator runs but the kernel never loads, I've tried the compressed kernel and the uncompressed kernel.
I used the option -show-kernel and the the emulator never even gets into the kernel, when I use the prebuilt armv7 kernel that's inside the android repo it displays everything it needs to from "Uncompressing Linux...." to an actual attempt at booting up, but the kernel I built doesn't do anything.
Any help would be appreciated.
- Fes
Did you had any luck with this?
superfes said:
I've built the HTC Evo kernel from the sources they provide for download on the htcdev website.
I used the prebuilt gcc tools from the android repo to build the kernel as well.
I've been trying to test my build of ICS (Android 4.0.1-r1) from source, the custom emulator is I used OMFGB's supersonic repository as my build base.
The emulator runs but the kernel never loads, I've tried the compressed kernel and the uncompressed kernel.
I used the option -show-kernel and the the emulator never even gets into the kernel, when I use the prebuilt armv7 kernel that's inside the android repo it displays everything it needs to from "Uncompressing Linux...." to an actual attempt at booting up, but the kernel I built doesn't do anything.
Any help would be appreciated.
- Fes
Click to expand...
Click to collapse

[REF] Kernel source code repository for T-Mobile Galaxy S III (T999V)

Hi everyone.
As you all know, Samsung distributes source code as tarballs which isn't the best way to redistribute kernel source code
git is the best modern way to work with Linux Kernel sources, designed by Linus himself in this purpose.
So, cdesai made an organization on Github for that. It contains the kernel source for all the variants that have posted source so far.
https://github.com/sgs3
And yea, that means source code has been released, head on to http://opensource.samsung.com/
Kernel Sources :
https://github.com/sgs3/SGH-T999V_Kernel
Branches :
master :- branch you should use(for developers), will contain fixes and more in the future
If anyone wants to commit any fixes / anything else, let me know, and we can add you to the organization
How to Build :
Get the source:
Code:
git clone git://github.com/sgs3/SGH-T999V_Kernel.git
cd SGH-T999V_Kernel
git checkout master
Tell it to use our config:
Code:
make ARCH=arm CROSS_COMPILE=/path/to/toolchain m2_att_defconfig
Build:
Code:
make CROSS_COMPILE=/path/to/toolchain
or
Code:
make -j `cat /proc/cpuinfo | grep "^processor" | wc -l` CROSS_COMPILE=/path/to/toolchain
The compiled kernel is arch/arm/boot/zImage
(Also note: Im posting the source in a much easier to get way, but I dont have T-Mobile, so I wont be doing builds for you guys)
Very handy, thanks.
=Tortel1210;27699030]Kernel Sources :
https://github.com/sgs3/SGH-T999V_Kernel
Click to expand...
Click to collapse
The T999V is not the correct model for T-Mobile.
The correct source is for the T999 (no V). I believe the V is for WIND Mobile in Canada.
You can find the opensource for the T999 here:
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T999
Not complaining about the original post, just want to make sure everyone is using the correct files and on the same page development-wise.
The V is for Windmobile.
The baseband/(kernel ?) is not compatible. (found out after flashing a t mobile custom rom and the phone now has a unrecognised baseband.
Pig Vomit said:
The T999V is not the correct model for T-Mobile.
The correct source is for the T999 (no V). I believe the V is for WIND Mobile in Canada.
You can find the opensource for the T999 here:
http://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=SGH-T999
Not complaining about the original post, just want to make sure everyone is using the correct files and on the same page development-wise.
Click to expand...
Click to collapse
I own a SGH-T999V and my carrier is Videotron.

Categories

Resources