• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root try'n to play with kernel source!

weirdfate

Well-Known Member
Nov 6, 2010
111
31
so i have been trying to play around with setting up a development box for just playing around wiht the source for this phone. I googled it and found this guide --> Howto: Compile Your Own Kernel V. 0.1 - Thunderbolt Development - RootzWiki

i get this i terminal when i run the first command listed


Code:
mattholly@mattholly-EL1352G:~$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev g++-multilib lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline-gplv2-dev lib32z-dev libgl1-mesa-dev git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package lib32ncurses5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package lib32readline-gplv2-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32ncurses5-dev' has no installation candidate
E: Package 'ia32-libs' has no installation candidate
E: Package 'lib32readline-gplv2-dev' has no installation candidate
E: Unable to locate package lib32z-dev
mattholly@mattholly-EL1352G:~$

what the heck??
 
im on ubuntu (latest release)
had a mint setup running inside windows but kept running out of space.

Going to just wipe everything and install mint(i like the user intrerface better(recomended by 2fast)

its late for me now and 3 am comes fast here in RI so im turning in after i get my mint live cd on my usb drive so i can play after work
 
Upvote 0
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 g++-multilib mingw32 openjdk-6-jdk pngcrush schedtool tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

The one you are running is likely missing in the newer builds of linux. The above should be all you need for most things besides the toolchain.
 
Upvote 0
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev:i386 g++-multilib mingw32 openjdk-6-jdk pngcrush schedtool tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
The one you are running is likely missing in the newer builds of linux. The above should be all you need for most things besides the toolchain.
Code:
mattholly@mattholly-EL1352G ~/android/Htc-Kingdom-FastKernel_Ics $ make clean &&mproper
/home/mattholly/android/Htc-Kingdom-FastKernel_Ics/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/mattholly/android/Htc-Kingdom-FastKernel_Ics/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found
/home/mattholly/android/Htc-Kingdom-FastKernel_Ics/scripts/gcc-version.sh: line 25: arm-eabi-gcc: command not found
/home/mattholly/android/Htc-Kingdom-FastKernel_Ics/scripts/gcc-version.sh: line 26: arm-eabi-gcc: command not found
  CLEAN   .tmp_versions
mproper: command not found
yes 2fast im attempting this with your git! just to test the waters :D

im thinking the tool chain is the issue here or might be because i dumped the folder in the android folder and did not point it to the kernel folder where im doing the make??
 
Upvote 0
I haven't a clue what toolchain you are using. I have used two from sorcery I think that is spelled close enough to the official one in aosp. So based of what you posted I am not sure what toolchain that is. I assume it may be something with sdk though but your issue is likely how you are pointing to the toolchain. Paste what you put in the makefile otherwise I will be playing guessing games. As I can only help you if you want to help yourself, in turn posting more details.
 
Upvote 0
You understood me wrong, I wasn't saying it like that. But if you want help you need to help yourself and supply more info. Things can be done different from person to person. Where I have no idea what you may be doing. Rest assured it will work though as I have been building it fine.
ya thanks i got it working. Now i just need to figure thinks out.

I tried to enable all governors but when it went to build it gave me errors. Im sure i need to do more than just put Y in the menuconfig. Also just wondering how to apply patches?
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones