Thanks again! Installed NewPipe (what a great app!) and set to WebM. Playing videos just fine now.Gapps 11 should be the correct version, no idea why there is random characters being injected maybe try a different keyboard,
There is still some codec issue(s?) so thats probably why your web browser is crashing,
I have found NewPipe with the "Default video format" set to WebM or using a invidious instance works most of the time.
My first throught was the Android 11 ROM was built as a 32 bit ROM because the CPU didn't support the new features in Android 11 which require hardware support. Only I quickly realized all of the ROMs that have been posted for karnak are 32 bit.If i has to guess i would assume its easier to build LineageOS as a 32-bit ROM instead of having to port the drivers, firmware, kernel, etc to 64-bit, but i might be completely wrong.
My first throught was the Android 11 ROM was built as a 32 bit ROM because the CPU didn't support the new features in Android 11 which require hardware support. Only I quickly realized all of the ROMs that have been posted for karnak are 32 bit.
If it's a question of BLOBS, the OS can be 64 bit, even if the drivers/blobs are 32 bit. It should just involve changing a few flags, and remapping a few pointers inside the build config. I'm tempted to try, but I have enough projects on my plate already. I bought these as cheap test devices, and for use as low power, network monitoring bots, IoT remote controls, etc. I ned to be careful I don't fall down the rabbit hole to far.
So I thought I'd post, and ask the question? It feels like an even bigger mystery to me given this work has already been done for the almost identical, and less popular, douglas variant. The douglas tablets also shipped with a 32 bit ABI.
We actually booted 64 bit LineageOS 14.1 on karnak (using blobs from some Asus MT8163 tab). However, almost nothing worked.@Kaijones23 tried it as I remember on LOS14. But it resulted in Bootloops.
The Hardware between douglas and karnak is almost similar, but they run diffrent Fire OS. Douglas runs on FireOS 5 (5.1 Lolipop) and Karnak runs on FOS 7 (9 Pie).
I guess they removed from 5 to 6 everything Kernelside to not support 64bit at all for a reason?
I think its possible to run 64 OS on 32 BLOPS, but in this case it requires a lot of Kernel rewrite and trial/error.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device Tree -->
<project name="mt8163/android_device_amazon_karnak" path="device/amazon/karnak" remote="github" revision="lineage-18.1"/>
<!-- Kernel sources -->
<project name="mt8163/android_kernel_amazon_karnak_4.9" path="kernel/amazon/karnak" remote="github" revision="lineage-18.1"/>
<project name="mt8163/android_kernel_mediatek_mt8163_4.9" path="kernel/mediatek/mt8163/4.9" remote="github" revision="lineage-17.1"/>
<!-- Vendor trees -->
<project name="mt8163/android_vendor_amazon_karnak" path="vendor/amazon/karnak" remote="github" revision="lineage-18.1"/>
<project name="mt8163/android_vendor_amazon_mt8163" path="vendor/amazon/mt8163" remote="github" revision="lineage-18.1"/>
<project name="mt8163/android_vendor_raffy" path="vendor/raffy" remote="github" revision="lineage-18.1"/>
</manifest>
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Repositories -->
<!-- Linaro Repositories -->
<remote name="linaro-android" fetch="git://android-git.linaro.org/" />
<!-- Linaro Toolchains -->
<project name="prebuilts/gcc/linux-x86/aarch64/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu" path="prebuilts/linaro/linux-x86/aarch64/aarch64-linux-gnu" remote="linaro-android" revision="master" />
</manifest>
mkdir -p $HOME/temp && mkdir -p $HOME/cache && mkdir -p $HOME/android/lineage
cd $HOME/android/lineage
git config --global user.name "Build Robot"
git config --global user.email "[email protected]"
git config --global color.ui false
repo init -u git://github.com/LineageOS/android.git -b lineage-18.1 -g default,-darwin
mkdir -p .repo/local_manifests/
cp $HOME/device_manifest.xml .repo/local_manifests/
cp $HOME/linearo_manifest.xml .repo/local_manifests/
repo sync --jobs=32
export USE_CCACHE=1
export CCACHE_COMPRESS=1
export CCACHE_DIR="$HOME/cache"
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
source build/envsetup.sh
rm -rf out/target/product/karnak/obj/KERNEL_OBJ/.version
rm -rf out/target/product/karnak/obj/KERNEL_OBJ/.config.old
lunch lineage_karnak-userdebug
cmka
I tried it, but doesn't work correctly on this rom.Simple File Manager seems to be able to request your permission to access "Android/data" and "Android/obb" with no issues. (i didnt test that on this ROM, but i did test it on Android 11)
./error.log:../../../../../../kernel/amazon/karnak/drivers/misc/mediatek/imgsensor/src/mt8163/.c: In function ‘CAMERA_HW_Ioctl’:
./error.log:../../../../../../kernel/amazon/karnak/drivers/misc/mediatek/imgsensor/src/mt8163/kd_sensorlist.c:3394:1: error: the frame size of 1520 bytes is larger than 1500 bytes [-Werror=frame-larger-than=]
sed -i 's/CONFIG_FRAME_WARN=1500/CONFIG_FRAME_WARN=1520/g' kernel/amazon/karnak/arch/arm64/configs/lineageos_karnak_defconfig
sed -i 's/CONFIG_FRAME_WARN,COMMON,,,1500,1500,1500,1500,1500,1500/CONFIG_FRAME_WARN,COMMON,,,1520,1520,1520,1520,1520,1520/g' kernel/amazon/karnak/scripts/kcrs/correct_config.csv
/*
* This ROM will eat your cat
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* in the products you find here before flashing it!
* YOU are choosing to make these modifications.
*/
do you have the latest twrp? if not you can download hereWhen "Advanced restart" is enabled and I use the reboot to recovery option it hangs on the Amazon screen with "=>RECOVERY Mode..." in the bottom left corner.
i would use vandced instead of newpipe temporary until we work on fixing the issuesWell the glitching seems to be gone but instead the apps that were glitching before now just wont play content,
I attached a adb logcat below (used Newpipe to recreate the error