[ROM][unlocked][karnak] Lineage-20.0 [3 January 2023]

Search This thread

Kaijones23

Recognized Developer
7652ffeccaa6bbdcda57289d991b093d.gif
Disclaimer
Code:
/*
* 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.
*/

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review.

- This ROM only works with unlocked Fires!

Rules
- Please search the thread before asking questions
- Please report bugs here
- Report only one issue per bug report
- When reporting bugs please post a logcat and/or dmesg if possible

Prerequisites for Installation
- Unlocked Bootloader
- TWRP Installed

Install/Upgrade the ROM
- Boot to TWRP
- Go to wipe and wipe: system, data, cache
- Go to install and flash ROM.zip
- Flash G-APPS (Optional)
- Reboot

Downloads
LineageOS-20.0 For Karnak
G-APPS (ARM)

Source Code
- Kernel Source: https://github.com/mt8163/android_kernel_amazon_karnak
- Device Tree: https://github.com/mt8163/android_device_amazon_karnak

XDA:DevDB Information
Lineage-20.0 for Fire HD8 (karnak), ROM for the Amazon Fire HD 8 and HD 10

Contributors
Kaijones23, Rortiz2, t0x1cSH, k4y0z
ROM OS Version: Android 13
ROM Kernel: Linux 4.x

Version Information
Status:
Testing
Current Beta Version: 1.2
Beta Release Date: 2022-12-25

Created 2022-12-25
Last Updated 2023-1-1
 
Last edited:

Kaijones23

Recognized Developer
TODO:
- Fix Live-display Flicker
- [DONE] Fix Sluggish boot animation.
- [Almost Done] Fix Interface being sluggish
- [DONE] Fix Bluetooth
- [DONE] Fix Camera Disconnected when camera is recording
- [DONE] Fix Video Playback


Please post issues here or on GitHub with the logcat snippet too so we can further troubleshoot and replicate the issue .
 
Last edited:

Kaijones23

Recognized Developer
Changelog:
[1/03/22]
  • Fixed BT Mac Address , BTMAC was disabled, I was able to remove the disabled flag and the bluetooth hal was able to pickup the [persist.service.bdroid.bdaddr]
  • Fixes the issue with the storage.xml , Twrp would get stuck.

[1/02/22]
  • Fixed Codecs Thanks To @bengris32 and @R0rt1z2 .
  • Fixed Headphones ( Still Work in Progress)

[12/29/22]
  • Fixed Bluetooth Issues​
  • Enabled LMK and UKSM In the Kernel​
  • Inherit several Android Go configurations​
  • Set default the Bluetooth class of device​
  • Added new vendors for Bluetooth config migration​
  • Align ASHA prop with Bluetooth Properties​
  • Enable Bluetooth profiles with system_ext.prop​
  • Update LE Audio profile properties to match spec and implementation​
  • Disable LE audio related profiles​
  • Enable Audio Support for Hearing Aids central support​
  • Use the ?= operator so BT properties can be overridden​
  • Move BT profiles props to vendor​
  • Don't write binary XML files​
  • props: Bump fingerprint to latest cheetah build​
  • Refactor and organize {system,vendor} properties​
  • Get rid of vndk-sp​
  • Disable SF configstore * ship disable_configstore because we have API level 29​
  • props: Checkout SurfaceFlinger properties from Fire OS 8​
  • props: Use phase offsets as duration​
  • dynamically allocate zram​
  • props: Configure ZRAM-writeback job​
  • Adjust zram write back policy​
  • Switch to SkiaGL as HWUI renderer​
 
Last edited:

jumstec

Senior Member
MindTheGapps is up to lineage 19.
I had to find Gapps for lineage20.
For that I found LiteGapps, which also has arm.
However, it seems to contain some programs I don't need.
Should I use Litegapps Lite? It is extremely small in size...

Also, the last time I installed googleplay with Openthegapps, I was able to successfully install the smaller sized apps, but not the larger files.
This may be due to a problem with lineage18 and the /android/obb folder does not exist (or does not show up).
Or it could be that this google service was out of date.
This was a small (and to me critical) problem.
I hope it has been fixed.

Finally, at the risk of being thick, it would be great if we could get the latest version of TWRP (3.7.0, previously 3.4.0.0).
 
Last edited:

billyrich

Member
Dec 1, 2022
10
2
MindTheGapps is up to lineage 19.
I had to find Gapps for lineage20.
For that I found LiteGapps, which also has arm.
However, it seems to contain some programs I don't need.
Should I use Litegapps Lite? It is extremely small in size...

Also, the last time I installed googleplay with Openthegapps, I was able to successfully install the smaller sized apps, but not the larger files.
This may be due to a problem with lineage18 and the /android/obb folder does not exist (or does not show up).
Or it could be that this google service was out of date.
This was a small (and to me critical) problem.
I hope it has been fixed.

Finally, at the risk of being thick, it would be great if we could get the latest version of TWRP (3.7.0, previously 3.4.0.0).

You can build MindTheGapps for Android 13 (T) yourself, see here.

Edit:
from linageos wiki: https://androidfilehost.com/?w=files&flid=322935
(MindTheGapps-13.0.0-arm-20221025_095826.zip)
 
Last edited:

Reynald0

Senior Member
Aug 23, 2017
187
64
Beyond Bluetooth and Codecs, rom is quite nice, I can disable animations and set to 0.5 x.

For first release you did good job kaijones, I also saw you removed a lot of telemetry entries from kernel, so big cheers to you.

Good rom.

Edit: If you guys like gapps, you can use same use on official, https://androidfilehost.com/?fid=14871746926876840647 I use on other unofficial and all good.

We are arm.
 

jumstec

Senior Member
bluetooth does not work...
Whenever I try to connect with any enthusiasm... But it stops at "bluetooch is turned on".
In other words, it won't start.
Then the wired earphones won't work either, so I have no choice but to use the built-in speaker.
As you can see, it is probably a problem with the startup process.
Is this a problem only with this device?
 
  • Like
Reactions: Rahuldas4882

jumstec

Senior Member
Code:
12-27 09:41:55.898   249   249 E tombstoned: Tombstone written to: tombstone_31
12-27 09:41:55.901   557   628 E NativeTombstoneManager: Tombstone's UID (1002) not an app, ignoring
12-27 09:41:55.904   557   628 E NativeTombstoneManager: Tombstone's UID (1002) not an app, ignoring
12-27 09:41:55.932     1     1 I (1)[1:init]: Untracked pid 21431 exited with status 0
12-27 09:41:55.934     1     1 I (1)[1:init]: Untracked pid 21431 did not have an associated service entry and will not be reaped
12-27 09:41:55.942     1     1 I (0)[1:init]: Untracked pid 21433 exited with status 0
12-27 09:41:55.944     1     1 I (0)[1:init]: Untracked pid 21433 did not have an associated service entry and will not be reaped
12-27 09:41:55.960   717   843 W OpenGLRenderer: dequeueBuffer failed, error = -110; switching to fallback
12-27 09:41:55.967   290   290 E mtk.hal.bt@1.0-impl: BluetoothDeathRecipient::serviceDied - Bluetooth service died
12-27 09:41:55.967   290   290 I mtk.hal.bt@1.0-impl: BluetoothHci::close()
12-27 09:41:55.967   290   290 I mtk.hal.bt@1.0-impl: Skipping unlink call, service died.
12-27 09:41:55.967   290   290 D [BT]    : mtk_bt_op: BT_VND_OP_LPM_SET_MODE 0
12-27 09:41:55.968   557   557 D BluetoothManagerService: BluetoothServiceConnection, disconnected: com.android.bluetooth.btservice.AdapterService
12-27 09:41:55.969   281   281 I Zygote  : Process 21383 exited due to signal 6 (Aborted)
12-27 09:41:55.969   290   290 D [BT]    : mtk_bt_op: BT_VND_OP_USERIAL_CLOSE
12-27 09:41:55.972   557  4774 I ActivityManager: Process com.android.bluetooth (pid 21383) has died: psvc PER
12-27 09:41:55.974   557  4774 W ActivityManager: Scheduling restart of crashed service com.android.bluetooth/.btservice.AdapterService in 25200000ms for connection
12-27 09:41:55.978   557   591 I libprocessgroup: Successfully killed process cgroup uid 1002 pid 21383 in 0ms
12-27 09:41:55.972     0     0 I (0)[290:bluetooth@1.0-s][MTK-BT] BT_close: major 192 minor 0 (pid 290)
12-27 09:41:55.983     0     0 W (0)[290:bluetooth@1.0-s][HIF-SDIO][I]mtk_wcn_wmt_func_ctrl: wmt-exp: OPID(4) type(0) start
12-27 09:41:55.989     0     0 I (0)[290:bluetooth@1.0-s][STP-PSM] [I]_stp_psm_do_wait: STP is waiting state for ACT, i=1, state = 3
12-27 09:41:56.018     0     0 E         : (0)[298:composer@2.1-se][DISP]primary display will switch from DECOUPLE to DIRECT_LINK
12-27 09:41:56.020     0     0 I (1)[290:bluetooth@1.0-s][STP-PSM] [I]_stp_psm_do_wait: +Total waits for ACT takes 31681 usec
12-27 09:41:56.041   717  9674 I OpenGLRenderer: Davey! duration=4051ms; Flags=0, FrameTimelineVsyncId=11012658, IntendedVsync=39913004005506, Vsync=39913004005506, InputEventId=0, HandleInputStart=39913005781455, AnimationStart=39913005784455, PerformTraversalsStart=39913005787147, DrawStart=39913005838224, FrameDeadline=39913053972757, FrameInterval=39913005777224, FrameStartTime=16666666, SyncQueued=39913007654224, SyncStart=39913010095224, IssueDrawCommandsStart=39913010765378, SwapBuffers=39917022258071, FrameCompleted=39917057595532, DequeueBufferDuration=0, QueueBufferDuration=0, GpuCompleted=39917057595532, SwapBuffersCompleted=39917025365840, DisplayPresentTime=39902619805224, CommandSubmissionCompleted=39917022258071,
12-27 09:41:56.056   290   290 D [BT]    : mtk_bt_op: BT_VND_OP_POWER_CTRL 0
12-27 09:41:56.056   290   290 W [BT]    : mtk_bt_cleanup #127
12-27 09:41:56.029   373   373 W (1)[373:mtk_wmtd][WMT-CORE][I]wmt_core_dump_func_state: [AF FUNC OFF]status(b:0 f:0 g:0 w:0 lpbk:2 coredump:0 wmt:2 ant:0 sd1:0 sd2:0 stp:0)
12-27 09:41:56.032     0     0 E         : (0)[298:composer@2.1-se][DISP]primary display is DIRECT_LINK mode now
12-27 09:41:56.037     0     0 W (0)[290:bluetooth@1.0-s][HIF-SDIO][I]mtk_wcn_wmt_func_ctrl: OPID(4) type(0) ok
12-27 09:41:56.040   191   191 I         : (0)[191:bat_thread_kthr][BAT_thread]Cable in, CHR_Type_num=1
12-27 09:41:56.053     0     0 I (0)[290:bluetooth@1.0-s][MTK-BT] BT_close: WMT turn off BT OK!
12-27 09:41:56.064   191   191 I         : (0)[191:bat_thread_kthr][oam_run] 5940,5445,515,460,7,7,4097,5,101,4082,102,4037,3746,55
12-27 09:41:56.077   191   191 I         : (0)[191:bat_thread_kthr][battery_meter_trans_battery_percentage] 29,4581,4542,7,7,42,0
12-27 09:41:56.079   191   191 I         : (0)[191:bat_thread_kthr]AvgVbat=(4063),bat_vol=(4044),AvgI=(0),I=(0),VChr=(4759),AvgT=(29),T=(29),pre_SOC=(94),SOC=(93),ZCV=(3746)
12-27 09:41:56.093   191   191 I         : (0)[191:bat_thread_kthr]total_time_plug_in(670), cv(-1)
12-27 09:41:56.097   191   191 I         : (0)[191:bat_thread_kthr][select_jeita_cv] CV(4200000) custom CV(-1)
12-27 09:41:56.113   191   191 I (0)[191:bat_thread_kthr]battery status: charging
12-27 09:41:56.114   191   191 I         : (0)[191:bat_thread_kthr][Sync_Real] UI_SOC=94, SOC=93, counter = 1
12-27 09:41:56.118   191   191 I (0)[191:bat_thread_kthr]bq25601_get_reg9_fault_type: Fault type: 0
12-27 09:41:56.125   191   191 I -(0)[191:bat_thread_kthr]mtk_rtc_hal_common: rtc_spare_reg[0] = {801c, 127, 8}
12-27 09:41:56.144   557   644 E BluetoothManagerService: getState()
12-27 09:41:56.144   557   644 E BluetoothManagerService: android.os.DeadObjectException
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transactNative(Native Method)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transact(BinderProxy.java:584)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.bluetooth.IBluetooth$Stub$Proxy.getState(IBluetooth.java:1486)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.synchronousGetState(BluetoothManagerService.java:895)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.waitForState(BluetoothManagerService.java:2872)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.-$$Nest$mwaitForState(Unknown Source:0)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:2364)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.os.Handler.dispatchMessage(Handler.java:106)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.os.Looper.loopOnce(Looper.java:201)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.os.Looper.loop(Looper.java:288)
12-27 09:41:56.144   557   644 E BluetoothManagerService:     at android.os.HandlerThread.run(HandlerThread.java:67)
12-27 09:41:56.144   557   644 E BluetoothManagerService: waitForState [12] time out
12-27 09:41:56.144   557   644 D BluetoothManagerService: Sending off request.
12-27 09:41:56.145   557   644 E BluetoothManagerService: Unable to call disable()
12-27 09:41:56.145   557   644 E BluetoothManagerService: android.os.DeadObjectException
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transactNative(Native Method)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transact(BinderProxy.java:584)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.bluetooth.IBluetooth$Stub$Proxy.disable(IBluetooth.java:1513)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.synchronousDisable(BluetoothManagerService.java:859)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.handleDisable(BluetoothManagerService.java:2707)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.-$$Nest$mhandleDisable(Unknown Source:0)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:2365)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.Handler.dispatchMessage(Handler.java:106)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.Looper.loopOnce(Looper.java:201)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.Looper.loop(Looper.java:288)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.HandlerThread.run(HandlerThread.java:67)
12-27 09:41:56.145   557   644 E BluetoothManagerService: getState()
12-27 09:41:56.145   557   644 E BluetoothManagerService: android.os.DeadObjectException
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transactNative(Native Method)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transact(BinderProxy.java:584)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.bluetooth.IBluetooth$Stub$Proxy.getState(IBluetooth.java:1486)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.synchronousGetState(BluetoothManagerService.java:895)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.waitForState(BluetoothManagerService.java:2872)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.-$$Nest$mwaitForState(Unknown Source:0)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:2366)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.Handler.dispatchMessage(Handler.java:106)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.Looper.loopOnce(Looper.java:201)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.Looper.loop(Looper.java:288)
12-27 09:41:56.145   557   644 E BluetoothManagerService:     at android.os.HandlerThread.run(HandlerThread.java:67)
12-27 09:41:56.145   557   644 E BluetoothManagerService: waitForState [15, 14, 13, 16, 11, 10] time out
12-27 09:41:56.146   557   644 D BluetoothManagerService: MESSAGE_GET_NAME_AND_ADDRESS
12-27 09:41:56.146   557   644 E BluetoothManagerService: Unable to grab names
12-27 09:41:56.146   557   644 E BluetoothManagerService: android.os.DeadObjectException
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transactNative(Native Method)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.os.BinderProxy.transact(BinderProxy.java:584)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.bluetooth.IBluetooth$Stub$Proxy.getName(IBluetooth.java:1596)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.synchronousGetName(BluetoothManagerService.java:886)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService.-$$Nest$msynchronousGetName(Unknown Source:0)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at com.android.server.bluetooth.BluetoothManagerService$BluetoothHandler.handleMessage(BluetoothManagerService.java:2044)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.os.Handler.dispatchMessage(Handler.java:106)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.os.Looper.loopOnce(Looper.java:201)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.os.Looper.loop(Looper.java:288)
12-27 09:41:56.146   557   644 E BluetoothManagerService:     at android.os.HandlerThread.run(HandlerThread.java:67)
12-27 09:41:56.146   557   644 D BluetoothManagerService: MESSAGE_BLUETOOTH_STATE_CHANGE: OFF > BLE_TURNING_ON
12-27 09:41:56.146   557   644 D BluetoothManagerService: Sending BLE State Change: OFF > BLE_TURNING_ON
12-27 09:41:56.148   557   644 E BluetoothManagerService: MESSAGE_BLUETOOTH_SERVICE_DISCONNECTED(1)
12-27 09:41:56.132     0     0 W (0)[299:health@2.1-serv]healthd: battery l=94 v=4063 t=29.0 h=2 st=2 fc=4581000 chg=u
12-27 09:41:56.149   557   644 D BluetoothManagerService: Broadcasting onBluetoothServiceDown() to 5 receivers.
12-27 09:41:56.149   557   644 D BluetoothAdapter: onBluetoothServiceDown
12-27 09:41:56.149   557   557 E BluetoothAdapter: java.lang.RuntimeException: android.os.DeadObjectException
12-27 09:41:56.149   557   557 E BluetoothAdapter: java.lang.Throwable
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.bluetooth.BluetoothAdapter.getStateInternal(BluetoothAdapter.java:1320)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.bluetooth.BluetoothAdapter.getLeState(BluetoothAdapter.java:1378)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.bluetooth.BluetoothAdapter.isLeEnabled(BluetoothAdapter.java:1157)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.server.companion.presence.BleCompanionDeviceScanner.checkBleState(BleCompanionDeviceScanner.java:157)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.server.companion.presence.BleCompanionDeviceScanner.-$$Nest$mcheckBleState(Unknown Source:0)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.server.companion.presence.BleCompanionDeviceScanner$1.onReceive(BleCompanionDeviceScanner.java:312)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$android-app-LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1790)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.app.LoadedApk$ReceiverDispatcher$Args$$ExternalSyntheticLambda0.run(Unknown Source:2)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.os.Handler.handleCallback(Handler.java:942)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.os.Handler.dispatchMessage(Handler.java:99)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.os.Looper.loopOnce(Looper.java:201)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at android.os.Looper.loop(Looper.java:288)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.server.SystemServer.run(SystemServer.java:965)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.server.SystemServer.main(SystemServer.java:650)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at java.lang.reflect.Method.invoke(Native Method)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-27 09:41:56.149   557   557 E BluetoothAdapter:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:914)
12-27 09:41:56.149   557   557 D BluetoothAdapter: isLeEnabled(): OFF
12-27 09:41:56.150  1077 29550 D BluetoothAdapter: onBluetoothServiceDown
12-27 09:41:56.150  1241  2831 D BluetoothAdapter: onBluetoothServiceDown
12-27 09:41:56.151   717  9674 D BluetoothAdapter: onBluetoothServiceDown
12-27 09:41:56.151  6969  9259 D BluetoothAdapter: onBluetoothServiceDown
12-27 09:41:56.159     0     0 I         : -(2)[0:swapper/2]Detected VIPT I-cache on CPU2
12-27 09:41:56.159     0     0 I -(2)[0:swapper/2]CPU2: update cpu_capacity 1024
12-27 09:41:56.160     0     0 I -(2)[0:swapper/2]CPU2: Booted secondary processor [410fd033]
12-27 09:41:56.162     0     0 I (1)[0:swapper/1]CPU1: update max cpu_capacity 1024
12-27 09:41:56.206   717  1291 D PowerUI : can't show warning due to - plugged: true status unknown: false
12-27 09:41:56.520   557   595 W BatteryExternalStatsWorker: error reading Bluetooth stats: 9
12-27 09:41:56.521   557   595 D KernelCpuUidUserSysTimeReader: Removing uids 10114-10114
12-27 09:41:57.732   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:41:57.733   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:41:57.733   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:41:57.733   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:41:57.733   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:41:57.733   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:41:59.149   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.004   636   636 W -(2)[636:AlarmManager]alarmtimer_enqueue: 6 callbacks suppressed
12-27 09:42:00.004   636   636 I         : -(2)[636:AlarmManager]alarmtimer_enqueue, 70457602000000
12-27 09:42:00.010   557   636 E LightsService: Light requested not available on this device. 2
12-27 09:42:00.015   636   636 I         : -(2)[636:AlarmManager]alarmtimer_enqueue, 70457602000000
12-27 09:42:00.805   298   394 I hwcomposer: [DEV] [DEV] (Send identity matrix)
12-27 09:42:00.817   298   394 I hwcomposer: [DEV] [DEV] (Send identity matrix)
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:00.916   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:03.183   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:04.131   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:04.131   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:04.750   243 20852 I keystore2: keystore2::watchdog: Watchdog thread idle -> terminating. Have a great day.
12-27 09:42:06.039   191   191 I         : (1)[191:bat_thread_kthr][BAT_thread]Cable in, CHR_Type_num=1
12-27 09:42:06.052   191   191 I         : (1)[191:bat_thread_kthr][oam_run] 6633,5098,533,474,7,7,4087,6,101,4082,102,4030,3746,55
12-27 09:42:06.056   191   191 I         : (1)[191:bat_thread_kthr][battery_meter_trans_battery_percentage] 29,4581,4542,7,7,45,0
12-27 09:42:06.058   191   191 I         : (1)[191:bat_thread_kthr]AvgVbat=(4061),bat_vol=(4033),AvgI=(0),I=(0),VChr=(4759),AvgT=(29),T=(29),pre_SOC=(93),SOC=(93),ZCV=(3746)
12-27 09:42:06.062   191   191 I         : (1)[191:bat_thread_kthr]total_time_plug_in(680), cv(-1)
12-27 09:42:06.064   191   191 I         : (1)[191:bat_thread_kthr][select_jeita_cv] CV(4200000) custom CV(-1)
12-27 09:42:06.073   191   191 I (1)[191:bat_thread_kthr]battery status: charging
12-27 09:42:06.075   191   191 I         : (1)[191:bat_thread_kthr][Sync_Real] UI_SOC=94, SOC=93, counter = 2
12-27 09:42:06.077   191   191 I (1)[191:bat_thread_kthr]bq25601_get_reg9_fault_type: Fault type: 0
12-27 09:42:06.079   191   191 I -(1)[191:bat_thread_kthr]mtk_rtc_hal_common: rtc_spare_reg[0] = {801c, 127, 8}
12-27 09:42:06.085     0     0 W (0)[299:health@2.1-serv]healthd: battery l=94 v=4061 t=29.0 h=2 st=2 fc=4581000 chg=u
12-27 09:42:06.113   717  1236 D PowerUI : can't show warning due to - plugged: true status unknown: false
12-27 09:42:06.644   557   644 D BluetoothManagerService: MESSAGE_RESTART_BLUETOOTH_SERVICE: retry count=34
12-27 09:42:06.644   557   644 E BluetoothManagerService: Reach maximum retry to restart Bluetooth!
12-27 09:42:06.882   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.516   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.666   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:07.666   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:09.049   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:10.498   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:10.882   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:10.882   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:10.882   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:11.949   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:11.949   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:12.499   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:12.499   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:12.499   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:12.798   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:12.798   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.549   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.549   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.682   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.682   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.886   129   129 I         : (0)[129:hang_detect][Hang_Detect] hang_detect thread counts down 2147483647:2147483647, status 0.
12-27 09:42:13.998   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.998   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:13.998   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.216   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.216   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.266   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.266   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.365   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.399   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.399   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.682   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.700   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:14.700   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:16.039   191   191 I         : (0)[191:bat_thread_kthr][BAT_thread]Cable in, CHR_Type_num=1
12-27 09:42:16.057   191   191 I         : (0)[191:bat_thread_kthr][oam_run] 5049,4509,547,486,7,7,4086,6,101,4082,102,4036,3746,55
12-27 09:42:16.060   191   191 I         : (0)[191:bat_thread_kthr][battery_meter_trans_battery_percentage] 29,4581,4542,7,7,48,0
12-27 09:42:16.063   191   191 I         : (0)[191:bat_thread_kthr]AvgVbat=(4060),bat_vol=(4029),AvgI=(0),I=(0),VChr=(4787),AvgT=(29),T=(29),pre_SOC=(93),SOC=(93),ZCV=(3746)
12-27 09:42:16.066   191   191 I         : (0)[191:bat_thread_kthr]total_time_plug_in(690), cv(-1)
12-27 09:42:16.069   191   191 I         : (0)[191:bat_thread_kthr][select_jeita_cv] CV(4200000) custom CV(-1)
12-27 09:42:16.082   191   191 I (0)[191:bat_thread_kthr]battery status: charging
12-27 09:42:16.084   191   191 I         : (0)[191:bat_thread_kthr][Sync_Real] UI_SOC=94, SOC=93, counter = 3
12-27 09:42:16.089   191   191 I (0)[191:bat_thread_kthr]bq25601_get_reg9_fault_type: Fault type: 0
12-27 09:42:16.091   191   191 I -(0)[191:bat_thread_kthr]mtk_rtc_hal_common: rtc_spare_reg[0] = {801c, 127, 8}
12-27 09:42:16.095     0     0 W (1)[299:health@2.1-serv]healthd: battery l=94 v=4060 t=29.0 h=2 st=2 fc=4581000 chg=u
12-27 09:42:16.126   717  1231 D PowerUI : can't show warning due to - plugged: true status unknown: false
12-27 09:42:16.816   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:16.818   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:16.982   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:16.982   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:16.983   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:16.983   344   365 W TransactionTracing: Could not find layer id -1
12-27 09:42:17.072  1241 16796 I CastDatabase: Saving the database
12-27 09:42:17.078  1241 16796 E SQLiteCastStore: Skip saving

Here you go.
I don't know if I'm doing this right, but I skipped the preface at the very beginning and just cut out the log when bluetooth is turned on.

.Cannot activate .bluetooth
.Switching tabs is heavy (easing)
/Especially when switching tabs
/No particular change even with animation off
/Animation is heavy due to simple lack of memory?
?Small icons on home screen? (6 can be placed horizontally on portrait screen)
?Screen flashes when changing color adjustment and reading mode at the same time ? (when returning to the home screen)
 
Last edited:

desidude2000

Senior Member
Jul 7, 2012
55
19
Thanks for the second update. I installed the update after wiping system and cache. Works just fine. UI Graphics are indeed a bit more responsive.

Keep up the good work. Thanks again
 
  • Like
Reactions: Rahuldas4882

tsukeyomi

Senior Member
Dec 29, 2011
321
172
Hello @Kaijones23 , amazing work! I’m incredibly grateful for this.

If I install this, is there a way to easily update to your newer builds (OTA) or will I need to clean flash every time?

I wish you best of luck with putting out polished builds!
 

Kaijones23

Recognized Developer
Hello @Kaijones23 , amazing work! I’m incredibly grateful for this.

If I install this, is there a way to easily update to your newer builds (OTA) or will I need to clean flash every time?

I wish you best of luck with putting out polished builds!
You can dirty flash every time if I release an update. But if you're coming from like lineage 19.0 or older you would need to clean flash
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hey Guys, i am new for flashing the Amazon Fire HD. This Rom works also for HD 10 2021 Tronia?
    No, only karnak; plus I don't think there's currently an unlock method for newer models anyway
  • 15
    7652ffeccaa6bbdcda57289d991b093d.gif
    Disclaimer
    Code:
    /*
    * 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.
    */

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review.

    - This ROM only works with unlocked Fires!

    Rules
    - Please search the thread before asking questions
    - Please report bugs here
    - Report only one issue per bug report
    - When reporting bugs please post a logcat and/or dmesg if possible

    Prerequisites for Installation
    - Unlocked Bootloader
    - TWRP Installed

    Install/Upgrade the ROM
    - Boot to TWRP
    - Go to wipe and wipe: system, data, cache
    - Go to install and flash ROM.zip
    - Flash G-APPS (Optional)
    - Reboot

    Downloads
    LineageOS-20.0 For Karnak
    G-APPS (ARM)

    Source Code
    - Kernel Source: https://github.com/mt8163/android_kernel_amazon_karnak
    - Device Tree: https://github.com/mt8163/android_device_amazon_karnak

    XDA:DevDB Information
    Lineage-20.0 for Fire HD8 (karnak), ROM for the Amazon Fire HD 8 and HD 10

    Contributors
    Kaijones23, Rortiz2, t0x1cSH, k4y0z
    ROM OS Version: Android 13
    ROM Kernel: Linux 4.x

    Version Information
    Status:
    Testing
    Current Beta Version: 1.2
    Beta Release Date: 2022-12-25

    Created 2022-12-25
    Last Updated 2023-1-1
    7
    TODO:
    - Fix Live-display Flicker
    - [DONE] Fix Sluggish boot animation.
    - [Almost Done] Fix Interface being sluggish
    - [DONE] Fix Bluetooth
    - [DONE] Fix Camera Disconnected when camera is recording
    - [DONE] Fix Video Playback


    Please post issues here or on GitHub with the logcat snippet too so we can further troubleshoot and replicate the issue .
    6
    O.K. performance is just as atrocious as it was before I wiped data, and not a smidge better. As I have stated before I use a firewall program to filter network activity I do not want. It consumes about 50 or so megabytes of memory on average. I have had to re-open it and start it again, three times, make that four, I just decide that I have to go without it for a few minutes because I cannot restart it, disconnect, reconnect to the network, and switch back, without my tab being reset and having to copy paste three tines during the typing of this post.

    If I open two firefox tabs, the firewall program (lock icon in status bar) closes. Also, switching tabs will cause the inactive tab to reload, usually forcing the wifi to be connected but not every time, is incredibly annoying and not something that happened on the stock software. I still cannot play music and browse the web, as five seconds after I switch to fennec (firefox) pandora or spotify just close.

    This is either out of memory daemon running (because I have enough swap to use, but it doesn't all get used up) which hasn't been discussed at all in this system, or some horrendous configuration of z-ram which doesn't seem to do anything remotely useful, only compressing SINGLE DIGITS of megabytes, where as 100+ mb of compressed memory at the absolute minimum might actually be a starting point to better memory management.

    I have the following suggestions for the main dev, or, maybe the main person creating this rom, could explain how to nodify the system settings of the system / main zip archive etc and find what does work, so more people could test performance with more than one program open.

    - Swap: 100 is not a logical setting as I don't think the cache is helping the performance. 100 means to treat physical memory and swap completely equal and since they are different sizes (swap being smaller) it doesn't leave enough real memory to be used by programs, vs using 50% of it for cache or a buffer.

    Let's try the 1990s default of 60, which will allow more of the memory for programs, and the swap will be used more for the buffers and cache. 30 would probably be a better setting.

    Increasing the swap partition fron 677 MB to at least 1,5410 MB for 1.528 GB of swap space might also help, so that more things in total can stay in memory, so allowing nearly 2.8 GB of memory space including swap, vs the just barely 2.0 GB of total memory space now.

    Figure out why zram is misconfigured and only compressing very small amounts, and how to increase how much and how strongly it compresses memory, the most compressed options would be the best to try first, since Amazon desperately wants these devices repurchased so they can recoup some of their losses from selling, and my firewall is down again, from selling devices already under powered, for below cost.

    That was their bet, and I bet they lost massively. They can still win again, with performance still being terrible on this device and not being usable. That is what they crave, greed and corruption.

    If there were any business on this planet, and I don't think one exists or will ever exist, at least not in 100 years, that puts society, and environment far far above any money, then we would not have a device released with 1.5 GB of memory in 2018. The developers know that isn't enough, everyone knows it is not going to last, which is why Amazon sold it that way, they do not want it to be used for a decade or more, they want new hardware purchases as often as they can persuade people to buy their products. And I'd be fine with that, if they had reasonable hardware for at least seven or eight years, like 3 GB of memory or more and I'd say that is more than enough.

    Believe it or not, smartphones running on Android in 2010 had 256 MB of memory, because that is all it needed. So why does it take nearly 900 MB for the base system to stay in memory? Exactly what has been added to create this avoidable requirement?

    I read that Andriod go was a part of this, but that still hasn't seemed like enough to lighten the system memory use, so what else can be done?

    I have optimized the memory use on Android 14. so I'll be releasing it untill the mic and the headphones are fixed, I also have ran tests and the memory use is getting better but it's how the device is.


    Sent from SM-X710 using ReLabs
    5
    Changelog:
    [1/03/22]
    • Fixed BT Mac Address , BTMAC was disabled, I was able to remove the disabled flag and the bluetooth hal was able to pickup the [persist.service.bdroid.bdaddr]
    • Fixes the issue with the storage.xml , Twrp would get stuck.

    [1/02/22]
    • Fixed Codecs Thanks To @bengris32 and @R0rt1z2 .
    • Fixed Headphones ( Still Work in Progress)

    [12/29/22]
    • Fixed Bluetooth Issues​
    • Enabled LMK and UKSM In the Kernel​
    • Inherit several Android Go configurations​
    • Set default the Bluetooth class of device​
    • Added new vendors for Bluetooth config migration​
    • Align ASHA prop with Bluetooth Properties​
    • Enable Bluetooth profiles with system_ext.prop​
    • Update LE Audio profile properties to match spec and implementation​
    • Disable LE audio related profiles​
    • Enable Audio Support for Hearing Aids central support​
    • Use the ?= operator so BT properties can be overridden​
    • Move BT profiles props to vendor​
    • Don't write binary XML files​
    • props: Bump fingerprint to latest cheetah build​
    • Refactor and organize {system,vendor} properties​
    • Get rid of vndk-sp​
    • Disable SF configstore * ship disable_configstore because we have API level 29​
    • props: Checkout SurfaceFlinger properties from Fire OS 8​
    • props: Use phase offsets as duration​
    • dynamically allocate zram​
    • props: Configure ZRAM-writeback job​
    • Adjust zram write back policy​
    • Switch to SkiaGL as HWUI renderer​
    5
    i got this up and running