Discussion:
How to add driver souces to android-x86 source code
Dmitriy Krivtsov
2018-10-28 12:08:00 UTC
Permalink
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea how
to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Mauro Rossi
2018-10-28 19:32:52 UTC
Permalink
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea how
to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
Hi,
it has not been ever tested, but the two commits add the driver to kernel
are here (the two top ones):

https://github.com/maurossi/linux/commits/kernel-4.18?after=e0850294e91e29fa8807404c0623e1e726845f80+11

and they should apply to kernel 4.18 of oreo-x86 by doing the following:

cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2

Then you'll need to add CONFIG_RTL8723BU in arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig,
rebuild image with kernel and also check that the new module is loaded
instead of the previous one.

Mauro
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-10-30 05:24:09 UTC
Permalink
I tried it does not work.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Dmitriy Krivtsov
2018-10-30 19:00:06 UTC
Permalink
Hello, thanks for the reply.
I've added those commits successfully, but I'm getiing an error when
building:
FAILED: /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config

/bin/bash -c "(mkdir -p
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel && cat
kernel/arch/x86/configs/android-x86_64_defconfig
device/generic/common/selinux_diffconfig >
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config ) &&
(ln -sf ../../../../../../external
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ) && (make
-j4 -j\$(nproc) -l\$((\$(nproc)+2)) -C kernel
O=/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ARCH=x86_64
CROSS_COMPILE=\"
/home/arteee/android-x86/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-\"
YACC=/home/arteee/android-x86/prebuilts/misc/linux-x86/bison/bison
LEX=/home/arteee/android-x86/prebuilts/misc/linux-x86/flex/flex-2.5.39
olddefconfig )"


The string I've added was
CONFIG_RTL8723BU=m
(like other wifi cards are listed there)
to the end of android-x86/kernel/arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig


вПскресеМье, 28 Пктября 2018 г., 22:32:52 UTC+3 пПльзПватель Mauro Rossi
Post by Mauro Rossi
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
Hi,
it has not been ever tested, but the two commits add the driver to kernel
https://github.com/maurossi/linux/commits/kernel-4.18?after=e0850294e91e29fa8807404c0623e1e726845f80+11
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
Then you'll need to add CONFIG_RTL8723BU in arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig,
rebuild image with kernel and also check that the new module is loaded
instead of the previous one.
Mauro
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Mauro Rossi
2018-10-30 21:06:41 UTC
Permalink
Hi,
Post by Dmitriy Krivtsov
Hello, thanks for the reply.
I've added those commits successfully, but I'm getiing an error when
FAILED: /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config
/bin/bash -c "(mkdir -p
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel && cat
kernel/arch/x86/configs/android-x86_64_defconfig
device/generic/common/selinux_diffconfig >
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config ) &&
(ln -sf ../../../../../../external
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ) && (make
-j4 -j\$(nproc) -l\$((\$(nproc)+2)) -C kernel
O=/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ARCH=x86_64
CROSS_COMPILE=\"
/home/arteee/android-x86/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-\"
YACC=/home/arteee/android-x86/prebuilts/misc/linux-x86/bison/bison
LEX=/home/arteee/android-x86/prebuilts/misc/linux-x86/flex/flex-2.5.39
olddefconfig )"
I don't get this error, the reason may be I usually use the following
commands, where 4180_64_defconfig is the modified defconfig file:

lunch android_x86_64-eng && make -j4 iso_img TARGET_KERNEL_CONFIG=4180
_64_defconfig

Alternatively you could try:

cd /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/
make oldconfig

and then try to rebuild.
Mauro
Post by Dmitriy Krivtsov
The string I've added was
CONFIG_RTL8723BU=m
(like other wifi cards are listed there)
to the end of android-x86/kernel/arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig
вПскресеМье, 28 Пктября 2018 г., 22:32:52 UTC+3 пПльзПватель Mauro Rossi
Post by Mauro Rossi
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
Hi,
it has not been ever tested, but the two commits add the driver to kernel
https://github.com/maurossi/linux/commits/kernel-4.18?after=e0850294e91e29fa8807404c0623e1e726845f80+11
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
Then you'll need to add CONFIG_RTL8723BU in arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig,
rebuild image with kernel and also check that the new module is loaded
instead of the previous one.
Mauro
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Dmitriy Krivtsov
2018-11-01 14:51:15 UTC
Permalink
Hi, neither of those commands worked - imported files from git cherry-pick
have broken frormatting because of some github's text (idk what is it)
insterted to random lines, it refused to build as-is.

Didnt want to check every file for broken structure, so ive done this:
1) redownloaded repo and placed driver source manually to
android-x86/kernel/drivers/net/wireless/realtek/rtl8723bu
2) modified Kconfig and Makefile at android-x86/kernel/drivers/net/wireless/realtek
to include it.
3) added CONFIG_RTL8723BU=m to
android-x86/kernel/arch/x86/configs/android-x86_64_defconfig and
android-x86_defconfig
4) commented out (#) RTL8723BU-related stuff in drivers/staging/Kconfig and
Makefile.
So far its building (finally).
Post by Mauro Rossi
Hi,
Post by Dmitriy Krivtsov
Hello, thanks for the reply.
I've added those commits successfully, but I'm getiing an error when
FAILED: /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config
/bin/bash -c "(mkdir -p
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel && cat
kernel/arch/x86/configs/android-x86_64_defconfig
device/generic/common/selinux_diffconfig >
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config ) &&
(ln -sf ../../../../../../external
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ) && (make
-j4 -j\$(nproc) -l\$((\$(nproc)+2)) -C kernel
O=/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ARCH=x86_64
CROSS_COMPILE=\"
/home/arteee/android-x86/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-\"
YACC=/home/arteee/android-x86/prebuilts/misc/linux-x86/bison/bison
LEX=/home/arteee/android-x86/prebuilts/misc/linux-x86/flex/flex-2.5.39
olddefconfig )"
I don't get this error, the reason may be I usually use the following
lunch android_x86_64-eng && make -j4 iso_img TARGET_KERNEL_CONFIG=4180
_64_defconfig
cd /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/
make oldconfig
and then try to rebuild.
Mauro
Post by Dmitriy Krivtsov
The string I've added was
CONFIG_RTL8723BU=m
(like other wifi cards are listed there)
to the end of
android-x86/kernel/arch/x86/configs/android-x86_64_defconfig and
android-x86_defconfig
вПскресеМье, 28 Пктября 2018 г., 22:32:52 UTC+3 пПльзПватель Mauro Rossi
Post by Mauro Rossi
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
Hi,
it has not been ever tested, but the two commits add the driver to
https://github.com/maurossi/linux/commits/kernel-4.18?after=e0850294e91e29fa8807404c0623e1e726845f80+11
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
Then you'll need to add CONFIG_RTL8723BU in arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig,
rebuild image with kernel and also check that the new module is loaded
instead of the previous one.
Mauro
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Dmitriy Krivtsov
2018-11-13 08:13:05 UTC
Permalink
Update: iso did build without any errors.
After boot driver module is being loaded (8723bu.ko) but wifi still has the
same problem.

четверг, 1 МПября 2018 г., 17:51:16 UTC+3 пПльзПватель Dmitriy Krivtsov
Post by Dmitriy Krivtsov
Hi, neither of those commands worked - imported files from git cherry-pick
have broken frormatting because of some github's text (idk what is it)
insterted to random lines, it refused to build as-is.
1) redownloaded repo and placed driver source manually to
android-x86/kernel/drivers/net/wireless/realtek/rtl8723bu
2) modified Kconfig and Makefile at android-x86/kernel/drivers/net/
wireless/realtek to include it.
3) added CONFIG_RTL8723BU=m to
android-x86/kernel/arch/x86/configs/android-x86_64_defconfig and
android-x86_defconfig
4) commented out (#) RTL8723BU-related stuff in drivers/staging/Kconfig
and Makefile.
So far its building (finally).
Post by Mauro Rossi
Hi,
Post by Dmitriy Krivtsov
Hello, thanks for the reply.
I've added those commits successfully, but I'm getiing an error when
FAILED: /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config
/bin/bash -c "(mkdir -p
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel && cat
kernel/arch/x86/configs/android-x86_64_defconfig
device/generic/common/selinux_diffconfig >
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config ) &&
(ln -sf ../../../../../../external
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ) && (make
-j4 -j\$(nproc) -l\$((\$(nproc)+2)) -C kernel
O=/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ARCH=x86_64
CROSS_COMPILE=\"
/home/arteee/android-x86/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-\"
YACC=/home/arteee/android-x86/prebuilts/misc/linux-x86/bison/bison
LEX=/home/arteee/android-x86/prebuilts/misc/linux-x86/flex/flex-2.5.39
olddefconfig )"
I don't get this error, the reason may be I usually use the following
lunch android_x86_64-eng && make -j4 iso_img TARGET_KERNEL_CONFIG=4180
_64_defconfig
cd /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/
make oldconfig
and then try to rebuild.
Mauro
Post by Dmitriy Krivtsov
The string I've added was
CONFIG_RTL8723BU=m
(like other wifi cards are listed there)
to the end of
android-x86/kernel/arch/x86/configs/android-x86_64_defconfig and
android-x86_defconfig
вПскресеМье, 28 Пктября 2018 г., 22:32:52 UTC+3 пПльзПватель Mauro Rossi
Post by Mauro Rossi
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
Hi,
it has not been ever tested, but the two commits add the driver to
https://github.com/maurossi/linux/commits/kernel-4.18?after=e0850294e91e29fa8807404c0623e1e726845f80+11
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
Then you'll need to add CONFIG_RTL8723BU in arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig,
rebuild image with kernel and also check that the new module is loaded
instead of the previous one.
Mauro
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
chalesyu
2018-12-04 02:26:11 UTC
Permalink
you can try this source to see if wifi problem exist
https://github.com/ChalesYu/rtl8723bu
good luck
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Mauro Rossi
2018-11-13 20:45:28 UTC
Permalink
Post by Dmitriy Krivtsov
Hi, neither of those commands worked - imported files from git cherry-pick
have broken frormatting because of some github's text (idk what is it)
insterted to random lines, it refused to build as-is.
1) redownloaded repo and placed driver source manually to
android-x86/kernel/drivers/net/wireless/realtek/rtl8723bu
2) modified Kconfig and Makefile at android-x86/kernel/drivers/net/
wireless/realtek to include it.
3) added CONFIG_RTL8723BU=m to
android-x86/kernel/arch/x86/configs/android-x86_64_defconfig and
android-x86_defconfig
4) commented out (#) RTL8723BU-related stuff in drivers/staging/Kconfig
and Makefile.
This step 4) is not necessary and it could cause problems itself
As additional info the driver has been updated for kernel-4.19 and
kernel-4.20 API changes, so try with updated code

If you come to identify a problem with driver, you know who you should
contact,
not the driver users, but the driver mantainer

Kind regards

Mauro
Post by Dmitriy Krivtsov
So far its building (finally).
Post by Mauro Rossi
Hi,
Post by Dmitriy Krivtsov
Hello, thanks for the reply.
I've added those commits successfully, but I'm getiing an error when
FAILED: /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config
/bin/bash -c "(mkdir -p
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel && cat
kernel/arch/x86/configs/android-x86_64_defconfig
device/generic/common/selinux_diffconfig >
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel/.config ) &&
(ln -sf ../../../../../../external
/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ) && (make
-j4 -j\$(nproc) -l\$((\$(nproc)+2)) -C kernel
O=/home/arteee/android-x86/out/target/product/x86_64/obj/kernel ARCH=x86_64
CROSS_COMPILE=\"
/home/arteee/android-x86/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/x86_64-linux-\"
YACC=/home/arteee/android-x86/prebuilts/misc/linux-x86/bison/bison
LEX=/home/arteee/android-x86/prebuilts/misc/linux-x86/flex/flex-2.5.39
olddefconfig )"
I don't get this error, the reason may be I usually use the following
lunch android_x86_64-eng && make -j4 iso_img TARGET_KERNEL_CONFIG=4180
_64_defconfig
cd /home/arteee/android-x86/out/target/product/x86_64/obj/kernel/
make oldconfig
and then try to rebuild.
Mauro
Post by Dmitriy Krivtsov
The string I've added was
CONFIG_RTL8723BU=m
(like other wifi cards are listed there)
to the end of
android-x86/kernel/arch/x86/configs/android-x86_64_defconfig and
android-x86_defconfig
вПскресеМье, 28 Пктября 2018 г., 22:32:52 UTC+3 пПльзПватель Mauro Rossi
Post by Mauro Rossi
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
Hi,
it has not been ever tested, but the two commits add the driver to
https://github.com/maurossi/linux/commits/kernel-4.18?after=e0850294e91e29fa8807404c0623e1e726845f80+11
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
Then you'll need to add CONFIG_RTL8723BU in arch/x86/configs/android-x86_64_defconfig
and android-x86_defconfig,
rebuild image with kernel and also check that the new module is loaded
instead of the previous one.
Mauro
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-10-31 12:09:00 UTC
Permalink
*HOW TO PATCH ???*

*I enter to Terminal:*

*$ su > (My Passwort)*
*than > cd Kernel // Answer back "Not found".*

*What do i Wrong???*
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea how
to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
DDS Central
2018-10-31 13:23:44 UTC
Permalink
It's called "kernel", not "Kernel". In Linux, filenames are case sensitive.
Also, please refrain from posting in such a large font, it looks like you
are screaming.

On Wed, Oct 31, 2018, 14:09 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
*HOW TO PATCH ???*
*I enter to Terminal:*
*$ su > (My Passwort)*
*than > cd Kernel // Answer back "Not found".*
*What do i Wrong???*
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-10-31 14:12:39 UTC
Permalink
Yes because i need a solution
Post by DDS Central
It's called "kernel", not "Kernel". In Linux, filenames are case sensitive.
Also, please refrain from posting in such a large font, it looks like you
are screaming.
On Wed, Oct 31, 2018, 14:09 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
*HOW TO PATCH ???*
*I enter to Terminal:*
*$ su > (My Passwort)*
*than > cd Kernel // Answer back "Not found".*
*What do i Wrong???*
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-10-31 15:30:34 UTC
Permalink
even if I write kernel small, that does not work.
Post by DDS Central
It's called "kernel", not "Kernel". In Linux, filenames are case sensitive.
Also, please refrain from posting in such a large font, it looks like you
are screaming.
On Wed, Oct 31, 2018, 14:09 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
*HOW TO PATCH ???*
*I enter to Terminal:*
*$ su > (My Passwort)*
*than > cd Kernel // Answer back "Not found".*
*What do i Wrong???*
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
DDS Central
2018-10-31 15:37:41 UTC
Permalink
cd to directory with Android x86 source code. There will be a directory
called "kernel". From there you can configure and build the Linux kernel.
Android x86 defconfig files are located IIRC in arch/x86/configs.

On Wed, Oct 31, 2018, 17:30 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
even if I write kernel small, that does not work.
Post by DDS Central
It's called "kernel", not "Kernel". In Linux, filenames are case sensitive.
Also, please refrain from posting in such a large font, it looks like you
are screaming.
On Wed, Oct 31, 2018, 14:09 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
*HOW TO PATCH ???*
*I enter to Terminal:*
*$ su > (My Passwort)*
*than > cd Kernel // Answer back "Not found".*
*What do i Wrong???*
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google
Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-10-31 17:02:02 UTC
Permalink
x86_64:/ $ su
255|x86_64:/ $ cd kernel
/system/bin/sh: cd: /kernel: No such file or directory
2|x86_64:/ $
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Mauro Rossi
2018-10-31 23:28:16 UTC
Permalink
Post by 'Christian' via Android-x86
even if I write kernel small, that does not work.
Please Christian, calm down or you will miss even obvious things
Post by 'Christian' via Android-x86
Post by DDS Central
It's called "kernel", not "Kernel". In Linux, filenames are case sensitive.
Also, please refrain from posting in such a large font, it looks like you
are screaming.
On Wed, Oct 31, 2018, 14:09 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
*HOW TO PATCH ???*
The commands are in the previous post, you need:

- oreo-x86 source (instructions on how to get it are in android-x86 web
page)
- build system with all packages installed as described in AOSP web site
(libssl-dev
- git software to apply the patches

kernel folder becomes available getting oreo-x86 sources
Post by 'Christian' via Android-x86
Post by DDS Central
Post by 'Christian' via Android-x86
*I enter to Terminal:*
*$ su > (My Passwort)*
su is not needed
Post by 'Christian' via Android-x86
*than > cd Kernel // Answer back "Not found".*
Post by DDS Central
Post by 'Christian' via Android-x86
*What do i Wrong???*
Looking at your messages it seams you are trying the commands in
android-x86 installation,
while it may be common to build kernel and modules in a Linux distro,
in android the kernel and modules need to be built on a separate build
system.
Mauro
Post by 'Christian' via Android-x86
Post by DDS Central
Post by 'Christian' via Android-x86
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google
Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-11-01 04:18:19 UTC
Permalink
I have asked this more often and never got an answer that is really
helpful. you are all seemingly programmers who know how to do it, but you
do not want to share it.

no master has fallen from the sky yet.
Post by Mauro Rossi
Post by 'Christian' via Android-x86
even if I write kernel small, that does not work.
Please Christian, calm down or you will miss even obvious things
Post by 'Christian' via Android-x86
Post by DDS Central
It's called "kernel", not "Kernel". In Linux, filenames are case sensitive.
Also, please refrain from posting in such a large font, it looks like
you are screaming.
On Wed, Oct 31, 2018, 14:09 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
*HOW TO PATCH ???*
- oreo-x86 source (instructions on how to get it are in android-x86 web
page)
- build system with all packages installed as described in AOSP web site
(libssl-dev
- git software to apply the patches
kernel folder becomes available getting oreo-x86 sources
Post by 'Christian' via Android-x86
Post by DDS Central
Post by 'Christian' via Android-x86
*I enter to Terminal:*
*$ su > (My Passwort)*
su is not needed
Post by 'Christian' via Android-x86
*than > cd Kernel // Answer back "Not found".*
Post by DDS Central
Post by 'Christian' via Android-x86
*What do i Wrong???*
Looking at your messages it seams you are trying the commands in
android-x86 installation,
while it may be common to build kernel and modules in a Linux distro,
in android the kernel and modules need to be built on a separate build
system.
Mauro
Post by 'Christian' via Android-x86
Post by DDS Central
Post by 'Christian' via Android-x86
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google
Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-11-01 05:20:15 UTC
Permalink
can someone please give me the finished commands to the patch on kernel 4.19

Many Thanks
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea how
to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Mauro Rossi
2018-11-01 12:52:02 UTC
Permalink
Hi,
Post by 'Christian' via Android-x86
can someone please give me the finished commands to the patch on kernel 4.19
Many Thanks
Ok, first thing you need to start from an android-x86 enabled kernel,
but in case you are in "don't know what you are doing" stage (like we all
were at some point, of course)
then as a suggestion (the do what you want...as you are in charge of
yourself, not us)
try the kernel-4.18 branch that comes with android-x86 project

cd [source of android-x86 you have repo init and repo synced as per android-x86
web page]
cd kernel
git fetch x86 kernel-4.18
git checkout FETCH_HEAD
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2

If you want kernel-4.19 you could just checkout the following, as rtl8723bu
driver is been my branches,
but as I said I never tested it, just updated the driver from the manainers
github repo

cd [source of android-x86 you have repo init and repo synced as per android-x86
web page]
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.19
git checkout FETCH_HEAD

Since you asked how to patch kernel, you are served, you're welcome.
Mauro
Post by 'Christian' via Android-x86
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
'Christian' via Android-x86
2018-11-01 13:08:13 UTC
Permalink
@Mauro THANKS!!

But what is meant with "cd [source of android-x86 you have repo init and repo
synced as per android-x86 web page]"

example??? i using Android-x86 8.1-rc2 (Oreo-x86) (2018/10/18)
Post by Mauro Rossi
Hi,
Post by 'Christian' via Android-x86
can someone please give me the finished commands to the patch on kernel 4.19
Many Thanks
Ok, first thing you need to start from an android-x86 enabled kernel,
but in case you are in "don't know what you are doing" stage (like we all
were at some point, of course)
then as a suggestion (the do what you want...as you are in charge of
yourself, not us)
try the kernel-4.18 branch that comes with android-x86 project
cd [source of android-x86 you have repo init and repo synced as per
android-x86 web page]
cd kernel
git fetch x86 kernel-4.18
git checkout FETCH_HEAD
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
If you want kernel-4.19 you could just checkout the following, as
rtl8723bu driver is been my branches,
but as I said I never tested it, just updated the driver from the
manainers github repo
cd [source of android-x86 you have repo init and repo synced as per
android-x86 web page]
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.19
git checkout FETCH_HEAD
Since you asked how to patch kernel, you are served, you're welcome.
Mauro
Post by 'Christian' via Android-x86
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
DDS Central
2018-11-01 13:35:09 UTC
Permalink
See http://www.android-x86.org/getsourcecode

On Thu, Nov 1, 2018, 15:08 'Christian' via Android-x86 <
Post by 'Christian' via Android-x86
@Mauro THANKS!!
But what is meant with "cd [source of android-x86 you have repo init and repo
synced as per android-x86 web page]"
example??? i using Android-x86 8.1-rc2 (Oreo-x86) (2018/10/18)
Post by Mauro Rossi
Hi,
Post by 'Christian' via Android-x86
can someone please give me the finished commands to the patch on kernel 4.19
Many Thanks
Ok, first thing you need to start from an android-x86 enabled kernel,
but in case you are in "don't know what you are doing" stage (like we all
were at some point, of course)
then as a suggestion (the do what you want...as you are in charge of
yourself, not us)
try the kernel-4.18 branch that comes with android-x86 project
cd [source of android-x86 you have repo init and repo synced as per
android-x86 web page]
cd kernel
git fetch x86 kernel-4.18
git checkout FETCH_HEAD
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.18
git cherry-pick f0fc08808e24b16a9f0263768557963449ca8b5d
git cherry-pick b71d45c75b4656f510cb7f51d205bd6fefc4c1e2
If you want kernel-4.19 you could just checkout the following, as
rtl8723bu driver is been my branches,
but as I said I never tested it, just updated the driver from the
manainers github repo
cd [source of android-x86 you have repo init and repo synced as per
android-x86 web page]
cd kernel
git remote add maurossi https://github.com/maurossi/linux
git fetch maurossi kernel-4.19
git checkout FETCH_HEAD
Since you asked how to patch kernel, you are served, you're welcome.
Mauro
Post by 'Christian' via Android-x86
Post by Dmitriy Krivtsov
The stock driver did not work, so I've replaced stock firmware for
rtl8723bu WIFI. It helped to make it work partially - wifi did connect on
initial boot, but after sleep or if it's manually disabled, it does not
connect to APs anymore (untill reboot).
So I did get source code for rtl8723bu from github, but i have no idea
how to add it to the android source.
Can anyone help me with this, or link me to any decent manual?
--
You received this message because you are subscribed to the Google Groups
"Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Loading...