[TOOL] Linaro toolchain optimized for cortex-a15 - HTC One S

Hi guys! i share with you this compiler. It's linaro optimized for coxter-a15 architecture
I WILL NOT SUPPORT THIS PROJECT ANYMORE, YOU CAN FIND UPDATED TOOLCHAIN HERE
DOWNLOAD
Linaro GCC 4.8.3 2014.01 cortex-a15
Linaro GCC 4.8.3 2013.12 cortex-a15
Linaro GCC 4.8.3 2013.11 cortex-a15 v2
Configuration:
Code:
Configuration:
- Target -> Linux Kernel 3.4.77
- Built using latest Crosstool-NG Toolchain Builder
- Linaro GCC 4.8.3 2014.01
- Binutils 2.24
- EGLibc 2.18
- DMalloc 5.5.2
- Duma 2.5.15
- Linaro GDB 7.6-2013.05
- LTrace 0.5.3
- STrace 4.6
- GMP 5.1.1
- MPFR 3.1.2
- ISL 0.11.1
- CLOOG 0.18.0
- MPC 01.0.1
- LibElf 0.8.13
- Multilib support
- Hard float
Changelog:
Code:
22-JAN-2014
update to linaro 2014.01
update kernel headers to 3.4.77
7-JAN-2014
update to linaro 2013.12
update Binutils to version 2.24
update Linaro GDB to version 7.6-2013.05
2-JAN-2014
update Binutils to lastest version
fix some mistake
25-DEC-2013
update to linaro gcc 4.8.3 2013.11
update libraries
9-APR-2013
update to linaro toolchain 2013-03
using Hardfloat
sync with ng-crosstool repo
26-FEB-2013
initial version
Credits:
http://crosstool-ng.org/
XDA:DevDB Information
Linaro toolchain optimized for cortex-a15, a Tool/Utility for the HTC One S
Contributors
rmbq
Version Information
Status: Abandoned
Current Stable Version: 2014.01
Stable Release Date: 2014-01-22
Created 2013-12-26
Last Updated 2014-03-24

here is an how to build: http://forum.xda-developers.com/showthread.php?t=2098133
my config file for Linaro GCC 4.8.3 2013-11 is this: https://www.mediafire.com/?fq9ae7k9exwo2ub

Nice! Thanks for the share!
Sent from my HTC One S using Tapatalk 2

What is this?
Sent from my HTC One S

veeny101 said:
What is this?
Sent from my HTC One S
Click to expand...
Click to collapse
Toys for devs
Sent from my HTC One X using xda app-developers app

Zarboz said:
Toys for devs
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Oh ok.
Sent from my HTC One S

symlinks are broken in source

R: [TOOL] Linaro toolchain optimized for cortex-a15
Zarboz said:
symlinks are broken in source
Click to expand...
Click to collapse
Really? May it cause issues in file system?
Sent from my One S using xda app-developers app

yes, I get the same errors when trying to extract the tar.. Broken symlinks and doesnt extract right.
Seems interesting though and would love to use

R: [TOOL] Linaro toolchain optimized for cortex-a15
AKToronto said:
yes, I get the same errors when trying to extract the tar.. Broken symlinks and doesnt extract right.
Seems interesting though and would love to use
Click to expand...
Click to collapse
I'll re-upload asap
Sent from my One S using xda app-developers app

rmbq said:
I'll re-upload asap
Sent from my One S using xda app-developers app
Click to expand...
Click to collapse
new version!

rmbq said:
new version!
Click to expand...
Click to collapse
this one is not even possible to open

fixed

rmbq said:
fixed
Click to expand...
Click to collapse
These are the errors I get when extracting the .tar
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/sysroot/usr/lib32: Cannot create symlink to `lib': File exists
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/sysroot/usr/lib64: Cannot create symlink to `lib': File exists
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/sysroot/lib32: Cannot create symlink to `lib': File exists
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/sysroot/lib64: Cannot create symlink to `lib': File exists
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/lib: Cannot create symlink to `sysroot/lib': File exists
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/lib32: Cannot create symlink to `lib': File exists
tar: arm-cortex_a15-linux-gnueabi/arm-cortex_a15-linux-gnueabi/lib64: Cannot create symlink to `lib': File exists
tar: Exiting with failure status due to previous errors
just an fyi

It's OK it isn't a real error
Sent from my One S using xda app-developers app

Thx for this
Sent from my HTC One S using xda premium

new version up!
Edit: maybe the new file is corrupt, I'll check it asap

rmbq said:
new version up!
Edit: maybe the new file is corrupt, I'll check it asap
Click to expand...
Click to collapse
Works now.. Just want to say your work is great and your dedication to the users.. You have helped me soo much thank you.. This compiler is awesome as well
Sent from my One S using xda premium

are you planning to update this with linaro 4.8 optimized for cortex a15?

Thank you !!
Sent from my hTC One S powered ViperS by Team Venom™

Related

[KERNEL SOURCE] Garuda Kernel for htc pico (explorer) - Release #4

Hi mate, i want share my little project just for fun not seriously, this is my kernel and i give the name "Garuda", Garuda is android kernel for htc explorer (MSM7225A) with many modification and many feature you can't find this feauture in the stok kernel.
of course it's opensource here my source ,you can build your own kernel with this kernel based, and your patches is very-very welcome. but dont spam or scam me
Read 1st :
Code:
[B][I][COLOR="Red"]Im not warranty your device, please do with your own risks !, and please use google or youtube how to compile the kernel, dont ask me how to build this, because google is the best teacher [/COLOR][/I][/B]:good:
Current Version : Release#4
Changelog Release#4 :
fix remove txt log after compiling
sha1 use the git implementation
sha1 quiet sparse noise about symbol not declared
Lower vfs_cache_pressure 100->25
Click to expand...
Click to collapse
Changelog Release#3 :
Rebase source kernel from lirokoa
Patch from linux mainline
add vocpcm (a call recording/answering module)
add nintendo wii driver stub
Click to expand...
Click to collapse
Changelog Release#2 :
Check for ext2/3 file system features when mounting as ext2/3
Fix deadlock when system is low on memory
Reduce timer update cycles to sync with kernel
Cleancache feature
Remove some debug
Click to expand...
Click to collapse
Changelog Release#1 :
Based kernel 2.6.38.6 htc france (wwe).
Introduce BFQ-v4, Simple, VR i/o scheduler.
Introduce SmartassV2 governor.
Introduce timer slack subsystem.
Improve performance of memcopy and memmove of the general version.
Add compache 0.62 aka ramzswap (Experimental).
Remove redundant sprintf from request_module call.
Correct cpufreq value.
Support EXT and SWAP filesystem.
Enable KSM.
Cgroup.
Click to expand...
Click to collapse
Github : https://github.com/digitalcode
for update ..
thanks :good:
does this works on sense based roms?
euplio said:
does this works on sense based roms?
Click to expand...
Click to collapse
of course
404 not found on github,
So,actually where is the download link to kernel
Sent from my HTC Explorer A310e using xda app-developers app
ptcpayme said:
404 not found on github,
So,actually where is the download link to kernel
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
my mistake, check the link again. sorry
Hi does it work for cm9?
Sent from my HTC Explorer A310 using xda premium
---------- Post added at 11:56 AM ---------- Previous post was at 11:29 AM ----------
how do i download this kernel. if from github then how?
gautzzzy said:
Hi does it work for cm9?
Sent from my HTC Explorer A310 using xda premium
---------- Post added at 11:56 AM ---------- Previous post was at 11:29 AM ----------
how do i download this kernel. if from github then how?
Click to expand...
Click to collapse
of course but if you want ics, you need compile from ics branch
flowish said:
Hi mate, i want share my little project just for fun not seriously, this is my kernel and i give the name "Garuda", Garuda is android kernel for htc explorer (MSM7225A) with many modification and many feature you can't find this feauture in the stok kernel.
of course it's opensource here my source ,you can build your own kernel with this kernel based, and your patches is very-very welcome. but dont spam or scam me
Read 1st :
Code:
[B][I][COLOR="Red"]Im not warranty your device, please do with your own risks !, and please use google or youtube how to compile the kernel, dont ask me how to build this, because google is the best teacher [/COLOR][/I][/B]:good:
Current Version : Release#4
Changelog Release#4 :
Changelog Release#3 :
Changelog Release#2 :
Changelog Release#1 :
Github : https://github.com/digitalcode
Click to expand...
Click to collapse
Hi i m using Lirokoa's latest build cm 9.1 can i use ur kernel with this ROM?
If i need to come back to normal kernel is that possible or i need to do re install ROM????
Dudw just download flowfishs rom "pure cm9 from" pico android development. It kicks ass. It has an amazing linux kernel but build 1.
Sent from my HTC Explorer A310 using xda premium
gautzzzy said:
Dudw just download flowfishs rom "pure cm9 from" pico android development. It kicks ass. It has an amazing linux kernel but build 1.
Sent from my HTC Explorer A310 using xda premium
Click to expand...
Click to collapse
maybe next week im using build#4 (need test some driver)
seems like a cool kernel. will it work with miui 4?
bahek332 said:
seems like a cool kernel. will it work with miui 4?
Click to expand...
Click to collapse
i think, it should be work. but now only available gingerbread branch, i will reupload the ics branch
Please include the latest build in your modified CM
This is the most amazing kernel and it has made the best rom even better!!!
^_^
Sent from my HTC Explorer A310 using xda premium
Gaurav619 said:
Please include the latest build in your modified CM
Click to expand...
Click to collapse
later, because my country doesnt have a fast connection
Hey please teach me how to use this kernel with lirokoas build 7. I love your kernel and I really want it.
Sent from my HTC Explorer A310 using xda premium
Comment peepuls. I desperately need this kernel
Sent from my HTC Explorer A310 using xda premium
gautzzzy said:
Hey please teach me how to use this kernel with lirokoas build 7. I love your kernel and I really want it.
Sent from my HTC Explorer A310 using xda premium
Click to expand...
Click to collapse
you need kitchen for extract the boot.img

[GUIDE] Compile CM from source, source basics & FAQ - Very detailed and noob friendly

[GUIDE] Compile CM from source, source basics & FAQ - Very detailed and noob friendly
Hey guys, I know there is already a tutorial about compiling CyanogenMod by sakindia123 but it requires basic Linux knowdlegde and he missed some things. I wrote this tutorial very detailed and simple.
This Guide have 4 parts:
1. How to compile CyanogenMod from source
2. Hardware Requirments and using SWAP memory
3. CyanogenMod source and device tree basics
4. FAQ
Click to expand...
Click to collapse
Before we start, I would like to thank these guys:
sakindia123, derefas, lirokoa, cute_prince - for amazing work on CM7-10.1 and Kernel 3.0
Nihar G. and bhargz16 that never refused to help me
How to compile CyanogenMod from source​
Lets assume you are new in Linux world and you just installed a fresh Ubuntu installation.
I will use:
- Ubuntu 12.10 64bit
- CyanogenMod 10.1 (sakindia123 device tree) - because its newest, and currently WIP, so its exciting to get new bulid with something fixed before release!
- Kernel 3.0.16 for Pico (sakindia123 github tree)
Lets get it started.
1. Open the Terminal (Press CTRL+ALT+T).
2. Get rid of administrator permissions ****.
Type:
sudo su
then type your password you set up during Ubuntu installation (password will be invisible) and hit enter
Click to expand...
Click to collapse
3. Download, install and setup Java:
add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install oracle-java6-installer
apt-get install oracle-java6-set-default
Click to expand...
Click to collapse
4. Install a needed packages:
apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \
libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \
libxml2-utils xsltproc pngcrush gcc-multilib lib32z1 schedtool
Click to expand...
Click to collapse
5. Download a Google Repo tool. Type these commands:
mkdir ~/bin
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Click to expand...
Click to collapse
6. Reboot your computer. (No need for sudo su after reboot)
If you are building for HTC Explorer
7. Initalize the CyanogenMod 10.1 repository (with included pico stuff):
mkdir -p ~/CM10.1/android/system
cd ~/CM10.1/android/system
PATH=~/bin:$PATH
repo init -u git://github.com/TeamPico/manifest -b cm-10.1
Click to expand...
Click to collapse
8. Start source downloading (repository syncing):
repo sync
Click to expand...
Click to collapse
9. Get Terminal Emulator prebulit APK:
cd ~/CM10.1/android/system/vendor/cm/
./get-prebuilts
Click to expand...
Click to collapse
10. Start compiling bulid!
. build/envsetup.sh
brunch cm_pico-userdebug -jX
X is a number of your CPU cores + 1 or 2
Click to expand...
Click to collapse
Your bulid will be located at /CM10.1/android/system/out as cm-10.1-year/month/date-UNOFFICIAL-pico.zip
If you are building for other devices
7. Initalize the CyanogenMod 10.1 repository:
mkdir -p ~/CM10.1/android/system
cd ~/CM10.1/android/system
PATH=~/bin:$PATH
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Click to expand...
Click to collapse
8. Start source downloading (repository syncing):
repo sync
Click to expand...
Click to collapse
9. Get Terminal Emulator prebulit APK:
cd ~/CM10.1/android/system/vendor/cm/
./get-prebuilts
Click to expand...
Click to collapse
How to get vendor, kernel, and device tree - search for developers github, its ofter mentioned on dev-thread or his xda profile..
manufacturer - htc, samsung,lge...
codename - device model codename (codename you can easily find on name of github repos of device tree,vendor and kernel)
Examples:
Explorer - pico
Desire - bravo
Galaxy Mini - tass
Galaxy Mini 2 - jena
Nexus 4 - mako
For some devices, example some LGs it can be model number like LG Optimus Me - p350
10. Setup a vendor tree:
Download the vendor tree and extract proprietary folder inside <something>-master folder in archive to /CM10.1/android/system/vendor/manufacturer/codename (you need to manually create folders)
Click to expand...
Click to collapse
11. Setup a device tree:
Download the device tree and extract files and folders inside <something>-master folder in archive to /CM10.1/android/system/device/manufacturer/codename (you will need to manually create folders)
Click to expand...
Click to collapse
12. Setup a kernel source:
Download the kernel source and extract files and folders inside <something>-master folder in archive to /CM10.1/android/system/kernel/manufacturer/codename (you will need to manually create folders)
Click to expand...
Click to collapse
13. If you are building for older device you will probably need to add display legacy support, as it's dropped in CM10.1:
Download the legacy display zip and extract files and folders inside android_hardware_qcom_display-legacy-cm-10.1 folder in archive to /CM10.1/android/system/hardware/qcom/display-legacy folder (you will need to manually create folder)
Click to expand...
Click to collapse
14, If you are building qualcomm (msm) device, apply singleton.h patch
Type in Terminal:
cd ~/CM10.1/android/system/frameworks/native
git fetch http ://review.cyanogenmod.org/CyanogenMod/android_frameworks_native/refs/changes/69/30269/1 && git format-patch -1 --stdout FETCH_HEAD
(delete space between http and :
Click to expand...
Click to collapse
15. Start compiling bulid!
. build/envsetup.sh
brunch cm_codename-userdebug -jX
X is a number of your CPU cores + 1 or 2
Click to expand...
Click to collapse
Your bulid will be located at /CM10.1/android/system/out as cm-10.1-year/month/date-UNOFFICIAL-codename.zip
If I missed something, feel free to report!
Hardware Requirments and using SWAP Memory​
Compiling uses alot of CPU power, but when you run out of RAM memory, you will get "Killed." error. No, you dont need to buy more RAM. You can use SWAP. Quickest and easiest way is to format USB drive to linux-swap and enable SWAP.
Less than 4GB of RAM - You will need SWAP
4GB - Just enough, but if you want to do something other on PC during compiling, its recommemend to make SWAP, just in case.
More than 4GB - You dont need SWAP.
1. Optionally, Copy your USB files to PC as a backup.
2. Go to GParted (preinstalled on Ubuntu)
3. Right-click on your USB drive -> Format -> linux-swap
4. Right-click on your USB drive -> Swap-on
5. Done!
After you are done right-click on your USB drive -> Swap-off, reformat your partition to FAT32 or NTFS and restore data you copied before (if you have any)
CyanogenMod Source and Device Tree basics​
Basic source folders:
/packages - apps
/frameworks - framework (UI look)
/kernel - kernel source folder when using inline kernel buliding (can be changed in BoardConfig.mk, and I'm going to explain that later in this post)
/device - device config
/hardware - drivers for display. audio etc...
What is BoardConfig?
It's a file where you setup pathes to files and enable/disable stuff, its very easy to understand - https://github.com/sakindia123/cm10.1_htc_pico/blob/master/BoardConfig.mk
--
How to use prebulit kernel:
1. Unpack boot.img using boot image tools (check sakindia123's compiling tutorial for step-by-step unpacking boot.img)
2. Rename zimage to 'kernel'
3. Put it in any folder u like you like (example: /prebulitkernel)
4. In BoardConfig.mk add this:
TARGET_PREBUILT_KERNEL := /prebulitkernel/kernel
and comment out these lines:
TARGET_KERNEL_SOURCE := kernel/htc/pico
TARGET_KERNEL_CONFIG := pico_defconfig
TARGET_KERNEL_CUSTOM_TOOLCHAIN := arm-eabi-4.4.3
Click to expand...
Click to collapse
5. Done!
--
How to remove ringtones, video editor, CM wallpapers from bulid:
1. Go to device/releasetools/extras.txt
2. Delete anything you don't want/doesn't need. So easy
--
Where are "bulid.prop tweaks"?
bulid.prop settings is located in device/system.prop
--
What is pico.mk?
In pico.mk (device/pico.mk) you can:
- define what libs (drivers) will be compiled (PRODUCT_PACKAGES)
- add prebulits (PRODUCT_COPY_FILES)
you add them in format: path-to-file-in-source: path-to file in compiled bulid (zip),
example: device/htc/pico/prebuilt/etc/media_codecs.xml:system/etc/media_codecs.xml
- change some usb settings (ADDITIONAL_DEFAULT_PROPERTIES)
- play with some "misc" settings (PRODUCT_PROPERTY_OVERRIDES)
- Set default resolution (PRODUCT_AAPT_CONFIG := ... and PRODUCT_AAPT_PREF_CONFIG := ...)
I'm not an expert, If I made some mistake, feel free to report, or tell if you have something interesting I can add!
FAQ
Frequently asked questions​
Q: What's the repository size?
A: CM9 - 4.9GB
CM10 - 9.6GB
CM10.1 - cca. 16GB
Q: Can I compile any other ROM than CyanogenMod with this tutorial?
A: Yes, you will need to, of course, repo init other repo, and maybe change few things in device tree, and probably you can skip part with adding legacy display and patching singleton.
Q: I have "_____ command not found error."
A: Make sure you done all steps, are you in right directory, and did you downloaded all packages.
Q: I have "Killed." error during compiling.
A: Check if you met have enough RAM (read 2nd post of this thread)
Q: I have any other error during compiling
A: Post your problem on this thread
Re: [TUT][REMAKE] Compile CyanogenMod from source
Nice work bro...
Sent from my Nexus 7
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
Great work bro, very helpfull! :thumbup:
Sent from my HTC Explorer A310e using xda app-developers app
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
Cm10 will complile on 32 bit system?
Sent from my HTC Explorer A310e using xda app-developers app
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
wmapt said:
Cm10 will complile on 32 bit system?
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
no rom will compile on 32 bit system... you can only compile kernels on 32 bit systems..
Sent from my Nexus 7
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
Awesome work bro. Glued to this thread. BTW ICS and higher require 64 bit right ?
Sent from my HTC Explorer A310e using xda app-developers app
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
akshat.shenoy said:
Awesome work bro. Glued to this thread. BTW ICS and higher require 64 bit right ?
Sent from my HTC Explorer A310e using xda app-developers app
Click to expand...
Click to collapse
Tnx. AFAIK Yes.
Sent from a chocolate cake.
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
+1 brooo,
How much size of the stuffs like repository and other things u mention to download in various steps....based on that I can manage to download.....
Sent from my HTC Explorer A310e using xda premium
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
galaxyfreak said:
Hey guys, I know there is already a tutorial about compiling CyanogenMod by sakindia123 but it requires basic Linux knowdlegde and he missed some things. I wrote this tutorial very detailed and simple.
Before we start, I would like to thank these guys:
sakindia123, derefas, lirokoa, cute_prince - for amazing work on CM7-10.1 and Kernel 3.0
Nihar G. and bhargz16 that never refused to help me
Lets assume you are new in Linux world and you just installed a fresh Ubuntu installation.
I will use:
- Ubuntu 12.10 64bit
- CyanogenMod 10.1 (sakindia123 device tree) - because its newest, and currently WIP, so its exciting to get new bulid with something fixed before release!
- Kernel 3.0.16 for Pico (sakindia123 github tree)
Lets get it started.
1. Open the Terminal (Unity Dash Search, just type terminal and hit enter)
2. Get rid of administrator permissions ****.
Type:
3. Install a needed packages:
4. Download a Google Repo tool. Type these commands:
5. Reboot your computer.
6. Initalize the CyanogenMod 10.1 repository:
7. Start source downloading (repository syncing):
9. Get Terminal Emulator prebulit APK:
10. Setup a vendor tree:
11. Setup a device tree:
12. Setup a kernel source:
13. Add display legacy support, as it's dropped in CM10.1:
14. Start compiling bulid!
Your bulid will be located at /android/out as cm-10.1-year/month/date-UNOFFICIAL-pico.zip
If I missed something, feel free to report!
Click to expand...
Click to collapse
Plzz provide link to download Ubuntu n every single thing required to compile then it will be noon friendly
Sent from my HTC Explorer A310e using xda premium
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
abhiparmar92 said:
+1 brooo,
How much size of the stuffs like repository and other things u mention to download in various steps....based on that I can manage to download.....
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
the sources all vary in size... Ics sources are generally limited anywhere upto 10gb.. Cm9 is 4. 9..
Cm10 onwards, the source sizes go upto 15 gb...
Sent from my Nexus 7
---------- Post added at 10:04 AM ---------- Previous post was at 10:03 AM ----------
maxy! said:
Plzz provide link to download Ubuntu n every single thing required to compile then it will be noon friendly
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
i dont think it was meant to be noob friendly..
But anyways, you can dowload ubuntu over ar ubuntu.com..
whichever version you download, just make sure its 64 bit..
Sent from my Nexus 7
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
Really gr8 work bro !!!
Sent from my HTC Explorer A310e using xda premium
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
bhargz16 said:
the sources all vary in size... Ics sources are generally limited anywhere upto 10gb.. Cm9 is 4. 9..
Cm10 onwards, the source sizes go upto 15 gb...
Sent from my Nexus 7
---------- Post added at 10:04 AM ---------- Previous post was at 10:03 AM ----------
i dont think it was meant to be noob friendly..
But anyways, you can dowload ubuntu over ar ubuntu.com..
whichever version you download, just make sure its 64 bit..
Sent from my Nexus 7
Click to expand...
Click to collapse
Not necessarily my friend i read somewhere 32 bit can also be used but will req a little more things to do the same job
Sent from my HTC Explorer A310e using xda premium
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
immortal_yash said:
Not necessarily my friend i read somewhere 32 bit can also be used but will req a little more things to do the same job
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
but thats only for upto froyo.. For gb and above, 32 bit cant handle it..
Sent from my Nexus 7
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
bhargz16 said:
but thats only for upto froyo.. For gb and above, 32 bit cant handle it..
Sent from my Nexus 7
Click to expand...
Click to collapse
Dude i was building mini cm 9 on Ubuntu 11.10 32 bit and everything worked except when there was a motherboard failure
Sent from my HTC Explorer A310e using xda premium
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
immortal_yash said:
Dude i was building mini cm 9 on Ubuntu 11.10 32 bit and everything worked except when there was a motherboard failure
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
hmmmm... Thats weird..
Coz google themselves recommend 64 bit for gb n above
Sent from my Nexus 7
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
bhargz16 said:
hmmmm... Thats weird..
Coz google themselves recommend 64 bit for gb n above
Sent from my Nexus 7
Click to expand...
Click to collapse
They recommend but we can use 32 bit as well just a little more downloading will be req
Sent from my HTC Explorer A310e using xda premium
Re: [TUT][REMAKE] Compile CyanogenMod from source - Very detailed and noob friendly
immortal_yash said:
They recommend but we can use 32 bit as well just a little more downloading will be req
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
i've never tried 32 for rom compiling..
Get that info here.. So op can add it..
Sent from my Nexus 7

[KERNEL] [Linux 3.0.100][AOSP][-O3] Aries PLL2 OC Kernel v3.5 {22/10/13}

hey,this is my custom kernel for AOSP 4.3.x rom's
v3.5 Changelogs:
Compile with -O3,properly
Disable ARM_UNWIND
Update wifi driver to match aosp
Kernel now boots up at stock frequencies,use app or CM performance settings to overclock.
cgroups: introduce timer slack controller
Update BFQ to v6r2
Set CFQ I/O as default
arm/crypto: Add optimized AES and SHA1 routines
lib/int_sqrt.c: optimize square root algorithm
msm_serial_hs: Cleanup regarding usage of clock enable/disable apis
msm: board-msm7x27a: Increase Idle timeout
V3 changelogs
* SYNC with joilaroi
*Update to Linux 3.0.100
*SmartassH3 governor
V2 changelogs
added 900 mhz frequency step(note: will not work for everyone
update to linux 3.0.89
various update from android_linux-3.0(nl80211,network etc)
1 mb more ram reserved for audio heap
htc perflock **** removed from cpufreq driver
bt driver update from msm-3.4
cpufreq updates from ics_chocolate
netfilter: xt_qtaguid: update to msm-3.4
enable FIFO net scheduler
MMC_PERF_PROFILING disabled
Some networking options that are useless for Android disabled
INITIAL RELEASE
Linux Kernel 3.0.87
cute_prince overclock method upto 878 Mhz PLL2 (read this guide: http://forum.xda-developers.com/showthread.php?t=2337886)
Compiled with Google GCC 4.7
Wifi drivers from HTC One V,more stable
Hell lotuva Makefile optimizations
Full compatibility with 4.2-based roms,as i am the one who maintains CyanogenMod 10.1.Always up-to-date
Slub memory allocator and Compaction for better memory management
drivers/staging/android from Linux 3.8 ,more ram available to user
Ondemand governor has boostpulse interface,goes well with my custom power HAL
Row I/O scheduler
BT drivers from jb_mr1_chocolate
Shi**y debugging and bloat removed
And various other optimizations and bugfixes i can't even remember
Download
v3.5 oc: http://www.mediafire.com/?ygnd952de8zdnv8
V3 OC: http://www.mediafire.com/?1n31pjq0ftdbg6b
Download V2:
OC : http://www.mediafire.com/download/p7v5pghkknr3cja/aries_kernel_oc_v2.zip
NON-OC : http://www.mediafire.com/download/ch6ogny00b5icfs/aries_kernel_no-oc_v2.zip (no need to partition sd for this)
Download V1:
OC : http://www.mediafire.com/?gopl9l84m8l8x7q
NON-OC: http://www.mediafire.com/?3g4uwe63onhpuad (no need to partition sd for this)
Source Code: https://github.com/sakindia123/android_kernel_htc_pico
Ah, New stuff :good:
Awesome! You should also make a non OC one with your optimizations! Just a suggestion!
7alvi said:
Awesome! You should also make a non OC one with your optimizations! Just a suggestion!
Click to expand...
Click to collapse
that's already being used in my CM10.1 builds
can i use this kernel directly without sd-ext partion?
What is the order of partitions we have to use?
Tips : Sd card > sd data (1gb) > sd cache (80mb) .
This is order for the partitions.
sakindia123 u dont make for 4.1.2 base aosp rom?
Sent from my HTC Explorer A310e using xda premium
+1 @sakindia123
@sakindia123
Great job man
Will try this out:good:
non-oc version online as well!
sakindia123 said:
non-oc version online as well!
Click to expand...
Click to collapse
If you are using HTC one V wi-fi stack then don't you think we need HTC one V firmware files too that are in etc folder??
@rcane said:
If you are using HTC one V wi-fi stack then don't you think we need HTC one V firmware files too that are in etc folder??
Click to expand...
Click to collapse
nope.the bcmdhd driver isnt really dependent on the wifi fw.
hello
can you please make one for (ics cm9) and (jb 4.1 cm10) roms?
after using this kernel will wifi hotspot work properly in CM10.1 beta4??
kunaltyagii said:
after using this kernel will wifi hotspot work properly in CM10.1 beta4??
Click to expand...
Click to collapse
No
hi
very very thanks wifi region problem in some Countries complatly fix with this kernel.
:good::fingers-crossed:
sakindia123 said:
non-oc version online as well!
Click to expand...
Click to collapse
i'm sorry inform you that the phone cannot reboot to system after flashing the zip non-oc kernel。
can u check it?
Its working good man. I m using this kernel on my CM 10.1.2 rom by sakindia.
U probably have flashed on a wrong rom.
Sent from my HTC Explorer A310e using xda premium
---------- Post added at 11:02 AM ---------- Previous post was at 10:58 AM ----------
kunaltyagii said:
after using this kernel will wifi hotspot work properly in CM10.1 beta4??
Click to expand...
Click to collapse
Sachin Thomas said:
No
Click to expand...
Click to collapse
Its good that we r living india. Here mobile internet is worst so u cant dare to use your mobile as wifi hotspot.....
Sent from my HTC Explorer A310e using xda premium

[11/06/2014]Linaro 4.7.4 and 4.8.3 Cortex-A8 Versions of Quarx 3.0 Kernel

NOTE: All new releases from 11th June and onwards are going to be in the second post: http://forum.xda-developers.com/showpost.php?p=53192240&postcount=2[/SIZE]
I used Christopher83's Cortex-A8 Linaro 4.7.4 Toolchain to build Quarx 3.0 Kernel. Even though I don't own this phone but I have buillt custom kernels in the past for my Defy Mini. Please test it and report to me.
How to build:
1. Download Quarx's 3.0 Kernel source here: https://github.com/Quarx2k/jordan-kernel/archive/p-android-omap3-3.0.zip
2. Unzip the file.
3. Now here comes the building part:
Code:
cd jordan-kernel-p-android-omap3-3.0
export CROSS_COMPILE=/home/YOURUSERNAME/PATHOFTOOLCHAINFOLDER/NAMEOFTOOLCHAINFOLDER/bin/arm-gnueabi-
export ARCH=arm
make mapphone_defconfig
make -j9
4. Now you will see zImage in the folder /jordan-kernel-p-android-omap3-3.0/arch/arm/boot
5. You will also see modules but they will be defined as [M] in the output of Terminal when kernel finishes building and you will need to find it various folders to find where the modules are.
Instructions on installing the kernel:
1. Unzip zImage.zip and copy zImage to /system/bootstrap/2nd-boot
2. Unzip Modules.zip and copy it to /system/lib/modules
3. Fix permissions to 644 for modules and zImage.
I have attached a screenshot of the output when compiling.
Christopher83's Linaro Toolchain thread: http://forum.xda-developers.com/showthread.php?t=2098133
Quarx 3.0 Kernel Source: https://github.com/Quarx2k/jordan-kernel/tree/p-android-omap3-3.0
NOTE: Linaro 3.0 Kernels will be built every time I see a new commit in Quarx's Github.
Linaro 4.7.4 and 4.8.3 Versions of Quarx 3.0 Kernel Releases and Changelogs
NOTE: Installation instructions are in the OP. Please read the OP for Manual installation method!
Please read before flashing or installing the kernel!
Flashable update.zip have the name "update" at the front. The zip files with the name "zImage" and "Modules" at the front are for manual installation.
3rd June 2014 Release:
- Built using sources of Quarx 3.0 Kernel committed up to 3rd June on Github.
- Download Linaro 3.0 Kernel and Modules in the attachment of 1st post.
11th June 2014 Release:
- Built using sources of Quarx 3.0 Kernel committed up to 11th June on Github.
- Built using both Linaro 4.7.4 and Linaro 4.8.3 Cortex-A8 toolchain by @Christopher83
- Released a TWRP flashable zip or use manual method to install.
- Changelog for the kernel for this release can be found here: http://forum.xda-developers.com/showpost.php?p=53277156&postcount=370
Flashable TWRP zips can be find here: http://www.androidfilehost.com/?w=files&flid=15539
Please test this kernel @Fight4Music and report to me thanks. May you also try both Linaro 4.7.4 and Linaro 4.8.3 versions of the kernel and upload the screenshot? Thanks
@rootdefyxt320
working (Defy+)
Fight4Music said:
@rootdefyxt320
working
Click to expand...
Click to collapse
For me the Wi-Fi doesn't get activated anymore :/ it says always activating, but never does.
I copied the zimage and set permissions and copied the modules and overwrite all existing ones and corrected permissions there as well. Any ideas?
L
Gesendet von meinem GT-I9505 mit Tapatalk
Set permissions for all modules and zimage to rw-r-r and reboot. That's it
Fight4Music said:
@rootdefyxt320
working (Defy+)
Click to expand...
Click to collapse
Thanks for your feedback. Does it feel much smoother? Well then I will be building Linaro 3.0 nightly kernels then.
Fight4Music said:
Set permissions for all modules and zimage to rw-r-r and reboot. That's it
Click to expand...
Click to collapse
They are rw-r-r.
I'm on the 2014-06-03 nightly
L
Gesendet von meinem GT-I9505 mit Tapatalk
rootdefyxt320 said:
Thanks for your feedback. Does it feel much smoother? Well then I will be building Linaro 3.0 nightly kernels then.
Click to expand...
Click to collapse
In my opinion it feels smoother - could anyone also give feedback? I hope its not only placebo
If you want to build more kernel nightlys - open a new thread, please
Fight4Music said:
In my opinion it feels smoother - could anyone also give feedback? I hope its not only placebo
If you want to build more kernel nightlys - open a new thread, please
Click to expand...
Click to collapse
If you want to test if it is not a placebo, then run Antutu Benchmark to compare
Sorry for my n00b question, what's differente between quarx kernel and this? xD
DragonautMk said:
Sorry for my n00b question, what's differente between quarx kernel and this? xD
Click to expand...
Click to collapse
Quarx builds use 4.6.x GCC while my one uses a 4.7.4 Linaro. Linaro tends to be smoother than GCC.
My builds use https://github.com/JustArchi/linaro/tree/4.8-androideabi
4.8 linaro.
Great Work you guys are doing -- I am Slimbean 4.4.2 which uses 2.6.x kernel ,
can anything be done ( like Flashable ZIP ) , so that i can flash 3.0.x kernel on it and test it .....
Thanks
jassi32 said:
Great Work you guys are doing -- I am Slimbean 4.4.2 which uses 2.6.x kernel ,
can anything be done ( like Flashable ZIP ) , so that i can flash 3.0.x kernel on it and test it .....
Thanks
Click to expand...
Click to collapse
There is a seperate rom whitch support 3.0. Kernel
Usual 2.6.. kernel rom would not boot with 3.0.. kernel
Sent from my MB525 red , froyo 2.2.2 german blurless service.sbf, as stock rom
There is a Linaro 4.8 toolchain optimised for Cortex-A8 by @Christopher83. The zImage seems to be smaller with his toolchain.
Sent from my U20i using XDA Free mobile app
But Quarx said above he uses Linaro 4.8, I don't get this
This Kernel have bugs?
DragonautMk said:
This Kernel have bugs?
Click to expand...
Click to collapse
The same as that being developed by Quarx.
DiegoxG said:
But Quarx said above he uses Linaro 4.8, I don't get this
Click to expand...
Click to collapse
Quarx uses JustArchi's Linaro 4.8 android-eabi toolchain which can compile both ROM's and Kernels while I use Christopher83's Linaro 4.7.4 Cortex-A8 Toolchain which can only compile kernels. I will compile using Christopher83's Linaro 4.8 Cortex-A8 Toolchain soon when I finish up my exams.
New kernel nightly tonight since Quarx has committed new changes on Github in 3.0 kernel
Will be using both Linaro 4.7.4 Cortex-A8 Toolchain and Linaro 4.8.3 Cortex-A8 Toolchain to compile.

[TOOLCHAINS] [ARM/ARM64] [GCC 7.2.1] GNU and Linaro - September 15th, 2017

Introduction
Hello everyone, these are some arm and arm64 toolchains I have compiled using a script created by @USBhost and modified by @frap129 and me. I know the concept of toolchains is not a new one, as there have been many specialized/optimized variants. However, some people may want a pure/unaltered toolchain for certain projects. That's what this will be, a generic/simple toolchain configuration. These will be done on a semi-nightly basis. They have been tested on up to date Arch Linux and Ubuntu 17.04 systems. If you know how to use scripts or cross compile, feel free to skip straight to the downloads!
Configuration
The GNU (standard or unlabeled) toolchains are built from GNU's latest gcc-7-branch. The Linaro toolchains are compiled from the linaro-local/gcc-7-integration-branch branch.
These are the additional components:
Code:
binutils 2.29.1
gmp 6.1.2
mpfr 3.1.5
mpc 1.0.3
isl 0.18
bionic r15c
Latest Linux Kernel headers (7318413077a5141a50a753b1fab687b7907eef16)
These toolchains are statically linked so they should work on any 64-bit Linux system; let me know if there are any issues with this.
Build script
These were compiled with crosstool-NG, which is extremely versatile but a little complex for the average user. Instead, I offer a build script in this repo to compile very similar toolchains (they will not be statically linked but that's no issue if you are only compiling on your machine and they won't have bionic). It has been modified heavily from the original repo to support two different architecture configurations (more can easily be added upon request).
To learn more about the script, give the README a glance, as it will be more up to date than the thread.
Using the toolchains
Please see the README.
Issues?
If you run into any issues with either using or compiling these toolchains, please do one of the following:
Open an issue on Github. Use the toolchains repo for issues with using, use the script repo for issues with compiling.
Make a post on here.
In both cases, I will require a detailed explanation of your system configuration, what you are compiling, and a FULL terminal output; without these, your problem will be ignored.
Credits
@USBhost: For the initial script and permission to make this thread
@frap129: For his modifications to the script
@MSF Jarvis: For testing the arm option
@kantjer: For testing the Ubuntu versions on Linux Mint
Reserved
Great stuff
nice, thank you ?
Sent from my LGLS676 using Tapatalk
Dude it took me days to get arm to build because of weird errors and you just added a flag that builds it?
frap129 said:
Dude it took me days to get arm to build because of weird errors and you just added a flag that builds it?
Click to expand...
Click to collapse
Yeah, all I did was target arm-linux-gnueabi and build the arm Linux headers and everything compiled just fine.
So linaro or standard, what's recommended?
And what flags do you suggest to use for ROM and kernel?
Any support for x86/x86_64 platform?
neobuddy89 said:
So linaro or standard, what's recommended?
And what flags do you suggest to use for ROM and kernel?
Click to expand...
Click to collapse
I personally use Linaro given all the work they do for the arm architecture. These are the flag I use for my kernel. I'd love to claim credit for them but @kwoktopus helped me with most of them
zainifame said:
Any support for x86/x86_64 platform?
Click to expand...
Click to collapse
I do not currently plan on it but if there is enough demand I can consider it.
The Flash said:
I personally use Linaro given all the work they do for the arm architecture. These are the flag I use for my kernel. I'd love to claim credit for them but @kwoktopus helped me with most of them
I do not currently plan on it but if there is enough demand I can consider it.
Click to expand...
Click to collapse
Hope u support the x86/x86_64 platform
The Flash said:
I do not currently plan on it but if there is enough demand I can consider it.
Click to expand...
Click to collapse
X86_64 is theoretically already supported.
All you need to do is Target x86_64 and choose what version then done.
Like what was done for arm
USBhost said:
X86_64 is theoretically already supported.
All you need to do is Target x86_64 and choose what version then done.
Click to expand...
Click to collapse
True, I can add an option to the script. I assumed he was referring to the prebuilts
what's recommended? btw great stuff
Dreamstar said:
what's recommended? btw great stuff
Click to expand...
Click to collapse
I don't really recommend anything other than trying both variants and seeing which one you like.
Great stuff on XDA after a long time good work
Hi, can I use it to compile my rom based on LineageOS 14.1? I started to develop my own rom recently and now I wanted to try changing the toolchain.
zibiksior said:
Hi, can I use it to compile my rom based on LineageOS 14.1? I started to develop my own rom recently and now I wanted to try changing the toolchain.
Click to expand...
Click to collapse
Mostly will not be able to compile a ROM with this but give it a try. It for sure can compile the inline kernel.
Just a brief update, the build script still works perfectly fine but I will start compiling the provided toolchains with crosstool-NG as I can make the toolchains statically linked, meaning that they should work with all versions of Linux. It will also be easier for me to manage and tarballs will be smaller. I will try to have this done tomorrow, given Linaro just released their updated snapshot source
The Flash said:
Mostly will not be able to compile a ROM with this but give it a try. It for sure can compile the inline kernel.
Just a brief update, the build script still works perfectly fine but I will start compiling the provided toolchains with crosstool-NG as I can make the toolchains statically linked, meaning that they should work with all versions of Linux. It will also be easier for me to manage and tarballs will be smaller. I will try to have this done tomorrow, given Linaro just released their updated snapshot source
Click to expand...
Click to collapse
Ok, I undertstand can you instead point me some link with prebuild toolchains which I can use to compile my rom? I connot find any... Or meybe some manual how to compile appropriate version of toolchain?
20170520 toolchains are now uploaded!
As I mentioned before, they are compiled with crosstool-NG so that it's easier for me to update. Furthermore, the toolchains are much smaller now so they're easier to download and they're statically linked so they *should* work when any updated form of Linux. Let me know of any issues and enjoy!
Nice stuff indeed, thanks
Btw i've once been told that gnueabi and androideabi are slightly different, would it be okay to compile android kernels with gnueabi?

Categories

Resources