Kernel Boot parameters for Android x86 - Miscellaneous Android Development

This is just to help me, and maybe others, as a base to swap ideas on the best boot parameters to use to boot Android x86 using negrub (easybcd) or grub on a x86 computer or tablet:
just these few so far that worked on my Dell PC and Acer W500:
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=x86 acpi_sleep=s3_bios,s3_mode pci=nocrs video=-16 vga=normal SRC=/android
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=android_x86 acpi_sleep=s3_bios,s3_mode pci=nocrs SRC=/android
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=android_x86 video=vesa pci=nocrs SRC=/android
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=amd_brazos acpi_sleep=s3_bios,s3_mode pci=nocrs SRC=/android
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=android_x86 video=-16 SRC=/android
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=android_x86 video=vesa SRC=/android
of course, amd_brazos is for tablet PCs with the amd chip...
XDA:DevDB Information
Best Kernel Boot parameters for Android x86, a Kernel for the Android General
Contributors
nabil2000
Kernel Special Features:
Version Information
Status: Testing
Created 2013-12-05
Last Updated 2013-12-04

few kernel boot params
I found out that it depends on the rom in question - for some, few params work best, like remove most and let the system guess itself the video...
kernel /android/kernel root=/dev/sdc2 quiet androidboot.hardware=android_x86 SRC=/android
in others,
video=vesa is needed...

Related

MT6575 sources (TCL E928)

MT6575 sources posted (TCL E928)
TCL E928 sources MT6575 was posted on sourceforge alcatel project page 15.11.2012
sourceforge.net/projects/alcatel/files/TCL_E928_20121114.tar.xz/download
i've successfully compiled cifs kernel module on my philips w732 mt6575.
how i've done this.
sources: sourceforge.net/projects/alcatel/files/TCL_E928_20121114.tar.xz/download
system: xubuntu 10.04
i've tried default confg, modul has been built successfully, but on loading there is an error
dmesg
unknown symbol kmem_cache_alloc_trace
using grep i've found that kmem_cache_alloc_trace symbolis is using when CONFIG_TRACING paramenter is enabled (ifdef CONFIG_TRACING)
in menuconfig search i've fount that CONFIG_TRACING refers to CONFIG_GENERIC_TRACING
so at last i've disabled CONFIG_MTK_SCHED_TRACERS and CONFIG_MT65XX_TRACER (GENERIC_TRACING CONFIG_TRACING paramenter have changed after that)
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics menuconfig
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics modules_prepare
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics M=fs/cifs
make CROSS_COMPILER=arm-linux-gnueabi- PROJECT=jrdsh15_td_ics M=crypto
philips w732 vermagic '3.0.13 preempt mod_unload armv7' working cifs.ko and md4.ko modules
narod.ru/disk/63766749001.47b679339538b050028c3c7d87506dd2/md4.ko.html
narod.ru/disk/63743140001.693272f3661d5aac547ecc760f04db05/cifs.ko.html
Hi. I've got the same problem loading a module that I cross-compiled using compat-wireless-3.6.8-1
Code:
cfg80211: Unknown symbol kmem_cache_alloc_trace (err 0)
I think my kernel wasn't built with CONFIG_TRACING enabled.
What can I do? Do I have to recompile the kernel?
Android version:
4.1.2
CyanogenMod Version:
10-20121202-UNOFFICIAL-ac100
Kernel Version:
3.1.10+
[email protected] #1
Sun Dec 2 15:23:02 MSK 2012
GCC version:
arm-linux-androideabi-gcc (GCC) 4.6 20120106 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
Alcatel E928 Board circuit needed
legale said:
MT6575 sources posted (TCL E928)
TCL E928 sources MT6575 was posted on sourceforge alcatel project page 15.11.2012
sourceforge.net/projects/alcatel/files/TCL_E928_20121114.tar.xz/download
i've successfully compiled cifs kernel module on my philips w732 mt6575.
Click to expand...
Click to collapse
I search the board-circuit for Alcatel TCL E928 for porting kernel to other device, please help me...

[Q] [DEV]config.gz don't exist, compile modules, Fun Tab 7.0

Hi,
I want build custom modules for kernel, but my problem is that I can't find config.gz. I'm searching in few places on system but no result :/.
I need compile pl2303 driver for GPS USB. I need this solution because my device don't have bluetooth.
My device is Fun Tab 7.0 (specification: www[dot]orange[dot]pl/kid,4002009501,id,4002825896,title,Neostrada-z-tabletem,article.html (only in polish)).
I use this tutorial for compile drivers: android[dot]serverbox[dot]ch/?p=285
I try to configure kernel manually, but no result, module don't load due to version magic issue
Is another way to get kernel configuration?
Code:
cat /proc/version
Linux version 3.0.8 ([email protected]) (gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50) ) #5 PREEMPT Thu Aug 23 16:37:30 CST 2012
Code:
cat /proc/cpuinfo
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1001.88
Features : swp half thumb fastmult vfp edsp neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : sun5i
Revision : 0000
Hello Mate.!
Did you find the answers for your question?
If yes, please let me know. Even I am looking for the same.

Kernel version

Hello
i need help please
what is difference between kernel 3.18.19 and kernel 3.18.19+
is there a difference due to that +
thank you

[TC][Android Kernel] Sudokamikaze's special toolchains

Hi there! I'd like to share my personal toolchains which are optimized for Cortex architecture
It's always up-to-date with Linaro git for each version!
Toolchains are based on @JustArchi's configs with my edits
Features:
HTML:
Built with Crosstool-NG latest version
Big range of versions: from 4.9 up to 7.3
Built with MUSL instead of heavy GLIBC
Applied some flags:
LDFLAGS: -Wl,-O3 -Wl,--as-needed -Wl,--gc-sections -Wl,--relax -Wl,--sort-common
-mtune set to each target separately, Cortex-A15 example: -mtune: cortex-a15
Uses neon and if neon-vfpv4 for cortex-a15
Relies on hardware FPU instead of software emulation
Latest component versions
MUSL optimized for speed instead of size
Latest Linaro sources from their git
And built with LTO/Graphite
Additional information about each toolchain version
Cortex-A9 & A15:
Build for 3.4.x kernel usage
With every feature which described above
Kryo:
Build for 3.18 kernel usage
With every feature which described above
Also, I have latest toolchains for some of Intel cpu's! ATM I have builds for:
Ivybridge
Sandybridge
Westmere
haswell
Download links:
GCC 4.9: Cortex-A15 Cortex-A9
GCC 5.3: Cortex A9
GCC 6.4: Cortex-A15 Cortex-A9
GCC 7.3: Cortex-A15 Cortex-A9 KRYO
GCC 8.X: KRYO
Sources:
Repository contains built toolchains: github
Repository contains old built toolchains: github
Scripts for Jenkins: github
Crosstool configs: github
Every toolchain is released and distributed with GPLv3 LICENSE
Feel free to contribute and report problems!
XDA:DevDB Information
QUVNTNM-TC, Tool/Utility for all devices (see above for details)
Contributors
sudokamikaze, JustArchi, spezi77
Source Code: https://github.com/QUVNTNM-TC
Version Information
Status: Stable
Stable Release Date: 2018-03-30
Created 2018-03-30
Last Updated 2018-03-31
Reserved
Reserved
I am facing this error
Code:
/home/ubuntu/crd/prebuilts/gcc/linux-x86/aarch64/TC/bin/../lib/gcc/aarch64-QUVNTNM_TOOLCHAIN-linux-musl/7.3.1/../../../../aarch64-QUVNTNM_TOOLCHAIN-linux-musl/bin/ld.bfd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /home/ubuntu/crd/prebuilts/gcc/linux-x86/aarch64/TC/bin/../lib/gcc/aarch64-QUVNTNM_TOOLCHAIN-linux-musl/7.3.1/../../../../aarch64-QUVNTNM_TOOLCHAIN-linux-musl/bin/ld.bfd)
Using ubuntu 16.04
[email protected] said:
I am facing this error
Code:
/home/ubuntu/crd/prebuilts/gcc/linux-x86/aarch64/TC/bin/../lib/gcc/aarch64-QUVNTNM_TOOLCHAIN-linux-musl/7.3.1/../../../../aarch64-QUVNTNM_TOOLCHAIN-linux-musl/bin/ld.bfd: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /home/ubuntu/crd/prebuilts/gcc/linux-x86/aarch64/TC/bin/../lib/gcc/aarch64-QUVNTNM_TOOLCHAIN-linux-musl/7.3.1/../../../../aarch64-QUVNTNM_TOOLCHAIN-linux-musl/bin/ld.bfd)
Using ubuntu 16.04
Click to expand...
Click to collapse
I've already updated configs, next build will fix that error

Lower Karnel Port?

Quick Q, Can i install kernel 3.18.19 (MM) rom on Kernel 3.18.35 (N) Loaded device? MT6580

Categories

Resources