ThundeRStormS-Kernel
sudo ./emulator -verbose -ramdisk $HOME/s7boot/boot.emmc.win-ramdisk.gz -show-kernel -netfast -avd Nexus_5X_API_24 -qemu -s -S -kernel $HOME/s7boot/G935-boot.img
Stock
sudo ./emulator -verbose -ramdisk $HOME/s7boot/boot.emmc.win-ramdisk.gz -show-kernel -netfast -avd Nexus_5X_API_24 -qemu -s -S -kernel $HOME/s7boot/boot.emmc.win-zImage
Error with both:
emulator: control console listening on port 5554, ADB on port 5555
qemu: linux kernel too old to load a ram disk
Linux:
Linux box 5.3.8-050308-generic #201910290940 SMP Tue Oct 29 09:43:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Any ideas how to fix it?
I want to run in Android Emulator my Samsung S7 Edge Kernel.
My Laptop Kernel is latest 5.3
Android Kernel should be 3.18.x (I think)
Actually, it starts to boot when I chose ARM images
These are Samsung S7 edge zImage and ramdisk.
./emulator -gpu off -verbose -avd Nexus_5X_API_24_4 -ramdisk /home/user/s7boot/boot.emmc.win-ramdisk.gz -kernel /home/user/s7boot/boot.emmc.win-zImage -show-kernel -no-snapshot-load -ranchu -wipe-data
But than is stays in Black Screen
Tried -ranchu and -qemu
With generic image from Emulator it boots:
generic_arm64:/ $ uname -a
Linux loca 3.10.0+ #258 SMP PREEMPT Fri May 19 12:03:16 PDT 2017 aarch64
Any idea how to boot that Samsung S7 Edge kernel?
Thanks,
Related
Greetings,
I'd have posted this on '10.1 development', but I'm not allowed to yet.
I just received the new G.T. 10.1 to use for development. I'm trying to push my first Android app to it, but am having no luck. I'm running the latest Ubuntu. I've followed the instructions here:
Code:
http : // developer.android.com/guide/developing/device.html
Here's my rules file:
Code:
$ ls -l /etc/udev/rules.d/51-android.rules
-rw-r--r-- 1 root root 55 2011-06-18 08:42 /etc/udev/rules.d/51-android.rules
$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}="04e8", MODE="0666"
but I get this from adb:
Code:
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
???????????? no permissions
My device is seen by Ubuntu:
Code:
$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04e8:685e Samsung Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Here's my system id:
Code:
$ uname -a
Linux ubuntu 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux
Can anyone tell me what I'm missing? Has anyone connected to the new US consumer 10.1? Any help in getting me over this hump would be greatly appreciated.
Blat
USB debugging enabled?
What if you run adb as root?
try the commands bellow:
Code:
su
adb kill-server
adb start-server
Hello, i downloaded the kernel for lg-e430 from lg official site and recompiled it to enable swap :
[email protected]:/ # uname -a
uname -a
Linux localhost 3.4.0 #2 PREEMPT Mon Jun 2 11:27:05 CEST 2014 armv7l GNU/Linux
[email protected]:/ # zcat /proc/config.gz |grep SWAP
zcat /proc/config.gz |grep SWAP
CONFIG_SWAP=y
CONFIG_MTD_SWAP=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
[email protected]:/ #
[email protected]:/ # free
free
total used free shared buffers
Mem: 426424 418776 7648 0 1284
-/+ buffers: 417492 8932
Swap: 204796 48364 156432
You can flash the new kernel with fastboot flash boot boot.img in bootloader mode, i recommend wipeing cache and dalvik before.
Making it available here hoping it helps some, since this site helped me a lot.
Greetings.
as a flashable zip
how to do dart.. can u give a flashable zip.. thats easy
I am trying to port SailfishOS to the Asus Zenfone 2 (Z00A) which has an x86 cpu.
I got up to point 7.2.1 in this: https://sailfishos.org/wp-content/uploads/2016/10/SailfishOS-HardwareAdaptationDevelopmentKit-1.1.2.pdf
Running rpm/dhd/helpers/build_packages.sh gives me the following error:
Code:
Exit reason and status: signal 6 (core dumped)
Exit reason and status: signal 6 (core dumped)
!! command failed at Tue Nov 22 19:23:06 UTC 2016, dying...
Looking through the files, I found out it was caused by the following command:
Code:
mb2 -t $VENDOR-$DEVICE-$ARCH -s rpm/droid-hal-$DEVICE.spec build
which gives the first 2 lines of the error above.
From there something lead me to believe that it was related to sb2.
I set up sb2 using the following command:
Code:
sb2-init -d -L "--sysroot=/" -C "--sysroot=/" \
-m sdk-build \
-n -N -t / $VENDOR-$DEVICE-$PORT_ARCH \
/opt/cross/bin/i486-meego-linux-gnu-gcc
I use i486 as PORT_ARCH
EDIT: installing the i486 toolchain using
Code:
sdk-manage --toolchain --install Mer-SB2-i486
and then changing the toolchain from
/usr/bin/gcc
to
/opt/cross/bin/i486-meego-linux-gnu-gcc fixed it.
My questions are:
--How do I properly set-up sb2 for x86?
--How do I solve the error?
--Where can I get more information related to porting SailfishOS to x86 hardware?
https://www.reddit.com/r/ouya/comments/82rumq/ouya_kernel_4x/
[email protected]:/# uname -a
Linux Ouya 4.14.0-00011-g56c9e43b231b-dirty #185 SMP PREEMPT Fri Mar 9 08:03:41 EST 2018 armv7l GNU/Linux
[email protected]:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Hi guys,
I am trying to compile an xt_HL.ko module which will allow me to use target TTL in iptables to fix the TTL when using the phone as a hotspot. I would like to do so for a stock kernel.
I am doing this under linux mint 19.
I have gotten as far as
1) Getting the sources for the Oneplus 6T kernel from git.
2) I got the android NDK installed (sudo apt install google-android-ndk-installer)
3) export ARCH=arm64
4) export CROSS_COMPILE=/usr/lib/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android-
5) in the kernel source
6) make ARCH=arm64 CROSS_COMPILE=/usr/lib/android-ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/bin/aarch64-linux-android- sdm845-perf_defconfig
7) make menuconfig >> here I add the TTL Target as a module, save the .config
8) make -j8
9) make modules
10) everything builds successfully with no errors in the modules area
11) I transfer the resulting xt_HL.ko into the phone onto /sdcard/xt_HL.ko
12) adb shell
13) su
14) insmod /sdcard/xt_HL.ko
and after all this I get an error:
Code:
OnePlus6T:/sdcard # insmod xt_HL.ko -f
insmod: failed to load xt_HL.ko: Required key not available
As i understand I am using the wrong toolchain? Or am I missing something else?
when I look at /proc/version I get:
Code:
OnePlus6T:/sdcard # cat /proc/version
Linux version 4.9.106-perf+ ([email protected]) (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Nov 27 03:37:42 CST 2018
Please help me with this. I don't really want to go as far as a completely custom kernel yet.
The kernel in the phone was built with EFI_SECURE_BOOT_SIG_ENFORCE=y. This prevents loading unsigned, 3rd-party modules. You would probably need a custom kernel.
Mind elaborating on EXACTLY how to do this? I see your steps but am finding them a little sparse. I created this thread: https://forum.xda-developers.com/t/...ive-guide-to-kernels-update-21-12-16.3121088/
I'm trying to do this on LineageOS18.1 so hoping the secure_boot isn't an issue, but don't know how to add this module! Thanks!!