[ROM][OFFICIAL][kebab][13] LineageOS 20

Search This thread

djlooka

Senior Member
Sep 15, 2011
130
30
desperatenerd.wordpress.com
Hi all, I've been sitting on this problem for a few days (opened a thread on Reddit already but I couldn't get to a solution - not sure what the etiquette is for cross posting to different sites!).

A summary of my case is the following: I made a couple of huge mistakes while upgrading from LineageOS 19.1 to 20.
Firstly I did not back up the phone, secondly I was reading from the wrong wiki page so I ended up missing the crucial part about upgrading the firmware.

My (incorrect) steps:
  • started from LineageOS 19.1 without upgrading FW
  • adb reboot bootloader
  • fastboot flash recovery lineage-20.0-20230119-recovery-kebab.img
This lead to a Qualcomm CrashDump screen.

After a bunch of attempts to fix the situation*, I ended up in the following state:
  • the phone boots to fastboot mode
  • any attempt to run the recovery from there ends up with a black screen
  • in this state, the phone responds to adb list devices with
    List of devices attached
    c9cf7ae7 unauthorized

    which makes me believe that the recovery is indeed booting, although the screen is completely black and I cannot authorize my computer (it was authorized before this whole mess I caused)
  • running any command in this state (predictably) leads to
    error: device unauthorized.
    This adb server's $ADB_VENDOR_KEYS is not set
    Try 'adb kill-server' if that seems wron
    Otherwise check for a confirmation dialog on your device.
I am therefore stuck in a limbo where I cannot use the recovery to discover whether the phone is ddr4 or ddr5, so I cannot upgrade the firmware now.

(* the latest state of the phone is (I think) the result of
  • flashing LOS20's recovery
  • realising my mistake
  • flashing LOS19's dtbo.img, vbmeta.img and recovery.img to both slots)
I am aware that I can most likely use the MSM tool to flash the original firmware, but this would crucially wipe the data, which I would like to avoid since it's my girlfriend's phone and there are some irreplaceable files on it.

Is anyone** aware of a way that would allow me to recover the data before using the MSM tool and restarting from scratch? I would be forever grateful!

(*I'm mainly thinking of @LuK1337 here, but I am genuinely open to suggestions and can provide further details if needed)
 

LuK1337

Recognized Developer
Jan 18, 2013
8,838
17,825
Samsung Galaxy S III I9300
Moto G 2014
Hi all, I've been sitting on this problem for a few days (opened a thread on Reddit already but I couldn't get to a solution - not sure what the etiquette is for cross posting to different sites!).

A summary of my case is the following: I made a couple of huge mistakes while upgrading from LineageOS 19.1 to 20.
Firstly I did not back up the phone, secondly I was reading from the wrong wiki page so I ended up missing the crucial part about upgrading the firmware.

My (incorrect) steps:
  • started from LineageOS 19.1 without upgrading FW
  • adb reboot bootloader
  • fastboot flash recovery lineage-20.0-20230119-recovery-kebab.img
This lead to a Qualcomm CrashDump screen.

After a bunch of attempts to fix the situation*, I ended up in the following state:
  • the phone boots to fastboot mode
  • any attempt to run the recovery from there ends up with a black screen
  • in this state, the phone responds to adb list devices with
    List of devices attached
    c9cf7ae7 unauthorized

    which makes me believe that the recovery is indeed booting, although the screen is completely black and I cannot authorize my computer (it was authorized before this whole mess I caused)
  • running any command in this state (predictably) leads to
    error: device unauthorized.
    This adb server's $ADB_VENDOR_KEYS is not set
    Try 'adb kill-server' if that seems wron
    Otherwise check for a confirmation dialog on your device.
I am therefore stuck in a limbo where I cannot use the recovery to discover whether the phone is ddr4 or ddr5, so I cannot upgrade the firmware now.

(* the latest state of the phone is (I think) the result of
  • flashing LOS20's recovery
  • realising my mistake
  • flashing LOS19's dtbo.img, vbmeta.img and recovery.img to both slots)
I am aware that I can most likely use the MSM tool to flash the original firmware, but this would crucially wipe the data, which I would like to avoid since it's my girlfriend's phone and there are some irreplaceable files on it.

Is anyone** aware of a way that would allow me to recover the data before using the MSM tool and restarting from scratch? I would be forever grateful!

(*I'm mainly thinking of @LuK1337 here, but I am genuinely open to suggestions and can provide further details if needed)
Ask on IRC, this is too annoying to deal with on forums.
 
  • Like
Reactions: djlooka

JedidroidX

Senior Member
Jan 30, 2015
195
69
Hi all, I've been sitting on this problem for a few days (opened a thread on Reddit already but I couldn't get to a solution - not sure what the etiquette is for cross posting to different sites!).

A summary of my case is the following: I made a couple of huge mistakes while upgrading from LineageOS 19.1 to 20.
Firstly I did not back up the phone, secondly I was reading from the wrong wiki page so I ended up missing the crucial part about upgrading the firmware.

My (incorrect) steps:
  • started from LineageOS 19.1 without upgrading FW
  • adb reboot bootloader
  • fastboot flash recovery lineage-20.0-20230119-recovery-kebab.img
This lead to a Qualcomm CrashDump screen.

After a bunch of attempts to fix the situation*, I ended up in the following state:
  • the phone boots to fastboot mode
  • any attempt to run the recovery from there ends up with a black screen
  • in this state, the phone responds to adb list devices with
    List of devices attached
    c9cf7ae7 unauthorized

    which makes me believe that the recovery is indeed booting, although the screen is completely black and I cannot authorize my computer (it was authorized before this whole mess I caused)
  • running any command in this state (predictably) leads to
    error: device unauthorized.
    This adb server's $ADB_VENDOR_KEYS is not set
    Try 'adb kill-server' if that seems wron
    Otherwise check for a confirmation dialog on your device.
I am therefore stuck in a limbo where I cannot use the recovery to discover whether the phone is ddr4 or ddr5, so I cannot upgrade the firmware now.

(* the latest state of the phone is (I think) the result of
  • flashing LOS20's recovery
  • realising my mistake
  • flashing LOS19's dtbo.img, vbmeta.img and recovery.img to both slots)
I am aware that I can most likely use the MSM tool to flash the original firmware, but this would crucially wipe the data, which I would like to avoid since it's my girlfriend's phone and there are some irreplaceable files on it.

Is anyone** aware of a way that would allow me to recover the data before using the MSM tool and restarting from scratch? I would be forever grateful!

(*I'm mainly thinking of @LuK1337 here, but I am genuinely open to suggestions and can provide further details if needed)
Flash the recovery and dtbo , vbmeta of the last successful Lineage that was installed via bootloader. Just hold all buttons down (volume + - and power) until fastboot screen is shown than flash files. Should be able to recover from that issue. Than reflash the same Lineage that was working before. You also may need the boot.img of the last lineage that was successfully installed then flash with the other images in bootloader. The recovery should boot up. You may need that Lineage payload and use the payload dump tool to retrieve that boot.img.
 
Last edited:
  • Like
Reactions: djlooka and 21prods

djlooka

Senior Member
Sep 15, 2011
130
30
desperatenerd.wordpress.com
Solved!

The black screen was because I started from an Android 11 firmware, which didn't work with the 19.1 recovery.

Steps to recover:
  • from fastboot, flashed boot.img/dtbo.img/recovery.img from here
  • "Reboot to recovery" <- this booted the Lineage 18.1 recovery
  • ran adb shell getprop ro.boot.ddr_type to discover that the phone was ddr4 in my case
  • selected "Advanced" -> "Enter fastboot"
  • followed the guide to upgrade to A13 FW
  • selected "Enter recovery"
  • sideloaded LineageOS 20

Thanks a ton to @LuK1337!
 

anarchotaoist

Senior Member
Jun 2, 2018
109
17
UPGRADE 2001 COMPLETE - ON LINUX

Upgrade LOS from 19.1 to 20.0 retaining all data.​


  1. Read every article about this device on LOS wiki. (https://wiki.lineageos.org/devices/kebab/)
  2. Backed up with adb backup, adb pull and Seed Vault.
  3. Downloaded the firmware Luk provided on page 1 for 2001
  4. Extracted the firmware files using payload dumper python version. I could not work out how to run the linked payload-dumper-go version!
  5. Boot up LineageOS recovery
  6. Go to “Advanced” -> “Enable ADB”
  7. Check your DDR type using the following command: adb shell cat /proc/devinfo/ddr_type (mine was ddr4)
  8. Go to “Advanced” -> “Enter fastboot” It will then show 'fastbootd'
  9. Update firmware to OOS 13 version. (https://wiki.lineageos.org/devices/kebab/fw_update) YES ALL 20 files!
  10. Flash correct XBL files (mine were the two for ddr4)
  11. fastboot flash recovery
  12. reboot to recovery. Noticeably recovery said 19.1! ?? I ignored the version.
  13. Appy update - adb sideload lineage.zip
  14. Reboot system - new bootloading message 'Orange'
SUCCESS!!!
 
Last edited:
  • Like
Reactions: HoaXxX

RJSC

Member
Oct 11, 2008
26
1
Is there any way to do an OTA upgrade and not overwrite the recovery with lineageos?
The option on the updater to no update recovery is blocked, but this device has a separate recovery partition, so it should be possible to do.
 

dharkness

Senior Member
Nov 28, 2007
111
2
Hello Kitty Land
I just upgraded from my 19.1 install.

1. Downloaded stock Android 13 linked above from LuK
2. Dumped payload with payload-dumper-go, rebooted into fastboot
3. Followed vendor image upgrade instructions
4. Rebooted into 19.1 recovery, flashed lineage 20 .zip
5. Rebooted again to switch slots, flashed magisk
6. Success!

Thanks LuK!!
followed this guide https://forum.xda-developers.com/t/...national-kb2000-kb2001-kb2003-kb2005.4178675/ and when i flash the magisk.img it just goes back to fastboot >_<
 
First thanks a lot for Lineage20 @LuK1337 !
Works fine so far on my 8T KB2003 EU (Clean Install yesterday with the newest build after setting back with MSM-Tool and upgrading to OxygenOS F15)
I just have the issue that i can almost not see the "Download" and "Cancel" button on downloads with the default browser.
It´s a little bit visible on display settings in dark design but almost nothing in light design .
Screenshot_20230128-103008_Browser.pngScreenshot_20230128-102924_Browser.png

It´s no problem with Firefox.
Screenshot_20230128-104024_Firefox.pngScreenshot_20230128-104220_Firefox.png

Best regards, and have a nice weekend. :)
 
Last edited:

Sredna76

Senior Member
Nov 20, 2006
73
15
OnePlus 6T
OnePlus 8T
UPGRADE 2001 COMPLETE - ON LINUX

Upgrade LOS from 19.1 to 20.0 retaining all data.​


  1. Read every article about this device on LOS wiki. (https://wiki.lineageos.org/devices/kebab/)
  2. Backed up with adb backup, adb pull and Seed Vault.
  3. Downloaded the firmware Luk provided on page 1 for 2001
  4. Extracted the firmware files using payload dumper python version. I could not work out how to run the linked payload-dumper-go version!
  5. Boot up LineageOS recovery
  6. Go to “Advanced” -> “Enable ADB”
  7. Check your DDR type using the following command: adb shell cat /proc/devinfo/ddr_type (mine was ddr4)
  8. Go to “Advanced” -> “Enter fastboot” It will then show 'fastbootd'
  9. Update firmware to OOS 13 version. (https://wiki.lineageos.org/devices/kebab/fw_update) YES ALL 20 files!
  10. Flash correct XBL files (mine were the two for ddr4)
  11. fastboot flash recovery
  12. reboot to recovery. Noticeably recovery said 19.1! ?? I ignored the version.
  13. Appy update - adb sideload lineage.zip
  14. Reboot system - new bootloading message 'Orange'
SUCCESS!!!
Thank you for inspiring me to do similar upgrade 19.1 to 20.0. I am using the microG version of LineageOS but the steps should be similar. This dirty upgrade worked for me but may not work for others.

1. Download latest TWRP (twrp-3-recovery-installer.zip) ,Firmware Flasher script for Oneplus 8 series (https://github.com/Wishmasterflo/Firmware_flasher) and check for your 8t fw in the mega folder ,I downloaded fw_Oneplus8T_EU_OOS13_F15.zip download latest LOS 20.0 or LOS 20.0 microG
2. Install TWRP and boot in to recovery & flash Firmware Flasher script for Oneplus 8 series (fw_Oneplus8T_EU_OOS13_F15.zip)
3. Flash latest LOS 20.0 zip
4. Flash twrp flashable zip
5. Reboot in to recovery and flash magisk or whatever you need (gapps)
6. Reboot system
 
Last edited:
  • Like
Reactions: HoaXxX

praveen7682

Senior Member
Jan 14, 2012
995
334
Chennai
OnePlus 8T
@LuK1337 thanks for lineageos20..I flashed the latest update using fastboot installer followed by mindthegapps 25102022 from lineage wiki and format data..the setup completed without issues but after restore apps didn't work since it was not connecting to any internet WiFi or mobile data.internet not working only for google apps.but internet works normally in browser.pls help me what wrong with my installation..
 

Lomobasd

Member
Apr 12, 2021
10
1
Hi,
can someone confirm for me if the brightness of the always on display (ambient display) is fixed in LOS 20 now?
With 19 the brightness of the always on screen would go to lowest brightness after a view seconds for me which mage it completely unusable.
Thanks in advance!
 

PhantomApollyon

Senior Member
Jul 11, 2007
635
136
Update for anyone that finds stock adaptive brightness insufficient:

As of the nightly update on 1/26 there appeared to be many luminance sensor changes, and I can confirm that the light sensor has now been exposed in such a way that third party applications that manage brightness can now detect the sensor and utilize it appropriately. After upgrading I did immediately test the stock adaptive brightness feature for a day, just for the sake of argument in case its behavior had changed, and I do not see any material improvement in it's function.

That said, since the luminance sensor is exposed now, I am using Velis to manage brightness and it is working quite well. (For me, the AMOLED dim setting with slight adjustments to the curve is working great)

@LuccoJ - FYI
 

Lomobasd

Member
Apr 12, 2021
10
1
Hi,
can someone confirm for me if the brightness of the always on display (ambient display) is fixed in LOS 20 now?
With 19 the brightness of the always on screen would go to lowest brightness after a view seconds for me which mage it completely unusable.
Thanks in advance!
Ok i upgraded and the always an is still broken. Even worse now the fingerprint scanner sporadically doesn't work form always on screen now. It detects the finger but the screen below the finger doesn't turn on.
 

rocketda7331

Senior Member
Apr 4, 2018
83
28
OnePlus 8T
Well, problem solved. First, I had to contact my phone line provider to activate VoLTE/VoWifi (it should have been done long time ago, but anyway). And yes, the Oneplus 8T OOS13 FW allows VoLTE but, at least in my case, no VoWifi.
I managed to upload the modem settings I had extracted from the OOS13 for the Oneplus 10Pro and now I have VoWifi as well (without losing 5G or VoLTE).
So, thank you @Vipe838 for pointing me in the right direction.

LOS20 + ih8sn + VoLTE/VoWifi , what a great combination!!

Thank you @LuK1337 and all of you, these forums are of the greatest help.
Do you have A13 based i8hsn conf? For now I plugged the previous ones based on A12 and it seems to work, but if you got something more up to date would be nice.

// Nevermind, it can be found here

interestingly enough a13 one causes cts profile mismatch, 12 not..but out of scope for this thread I suppose.
 
Last edited:

KrazyKlutt

Senior Member
Jul 30, 2014
153
28
Really awesome to see such amazing development!



Some questions:



Do AoD / Ambient display have issues?



Is Fingerprint is slower than OOS?



Do Adaptive brightness have major issues so it's better not to use?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    No custom rom is secure without bootloader locked. With an unlocked bootloader, maybe root any smartphone is at risk from a user possible mistakes and from someone stealing your phone and get access to your data easily. Also I really believe you have to trust the developer of the rom.

    Not even slightly to accurate. Every device has mandatory encryption which means nobody can access your user data. Even on custom ROMs, this one included.
    2
    Hey, guuyss can anyone help me i guess i have messed up. after sticking with the stock for almost 2 years now i have decided to switch to lineage 20 latest build. have installed it with gapps. perfectly fine but one of my banking app was not working. so thought let's install magisk and use the 'Hide' but the feature is not appearing there i don't know why tho. so i thought let install the magisk app again using the twrp (earlier i was doing everything using the fastboot and lineage recovery mode -- the Apply ADB one). but when i try to flash the twrp i guess i messed up and it is not showing the old lineage one neither the new twrp so anyone can help?? please and yes i still cant use one of my banking app. help me there too.
    No need to use magisk nor root. Just flash the ih8sn for kebab and you're good to go.
    Clean flash is a must.
    LineageOS
    MindTheGApps
    ih8sn
    then reboot & enjoy.

    Reference:
    2
    @115volts

    You can edit to answer post #403 and explaining for others, what you wanted, and what you did to make it work.
    At least, if you want too ;-)
    2
    there are 3 exes of MsmDownloadTool V4.0 in the msm pack, what should be used on win 10?
    MsmDownloadTool V4.0.exe
    MsmDownloadTool V4.0_factory.exe
    MsmDownloadTool V4.0_Win7.exe -this one i guess is windows 7 obviously...

    If you use the guide, and links here from XDA this question is answered actually in the OP post. They go to the same place in this case, but there are mirrors, and you have all the trouble shooting and such as well.

    This thread will be helpful.

    To answer the question (taken from the post above:)

    Launch MsmDownloadTool V4.0.exe.

    Windows 7 users may use MsmDownloadTool V4.0_Win7.exe instead, but it hasn't been tested.
    1
    Hey, guuyss can anyone help me i guess i have messed up. after sticking with the stock for almost 2 years now i have decided to switch to lineage 20 latest build. have installed it with gapps. perfectly fine but one of my banking app was not working. so thought let's install magisk and use the 'Hide' but the feature is not appearing there i don't know why tho. so i thought let install the magisk app again using the twrp (earlier i was doing everything using the fastboot and lineage recovery mode -- the Apply ADB one). but when i try to flash the twrp i guess i messed up and it is not showing the old lineage one neither the new twrp so anyone can help?? please and yes i still cant use one of my banking app. help me there too.
  • 22
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Instructions :
    Downloads :
    GPL compliance :
    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /sys/fs/pstore/console-ramoops and /sys/fs/pstore/dmesg-ramoops-0. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    LineageOS Download url:
    Gapps version:
    
    Did you--
    wipe:
    restore with titanium backup:
    reboot after having the issue:
    
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
    
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
    11
    Where can i find the "latest Android 13 full stock ROM" for KB2003 as mentioned in the Instructions? On the Oneplus Site i only find a Android 11 ROM for download. I am on LOS 19.1 atm.

    Thanks...
    KB2001_11_F.13 - https://gauss-componentotacostmanua...22/11/15/71ff9f8989a040d58e73869a9e078c43.zip
    KB2003_11_F.13 - https://gauss-componentotacostmanua...22/11/18/83d837a54bd647c3902634d271f6cc2d.zip
    KB2005_11_F.13 - https://android.googleapis.com/packages/ota-api/package/e61f1cf7c6a55e531113091deadfb7acb96901da.zip
    5
    Does this rom have full support for dual SIM AKA enabling and disabling SIMs on the go. The previous version did not have that.

    Also, does auto brightness work as expected on KB2005?


    Thanks in advance.
    Adaptive-brightness definitely does not work as you'd expect, unless the LOS 19.1 behavior is what you'd expect/want.


    If I compare the current behavior to either the stock software or other devices entirely with other and/or stock OS's, the LOS 20 behavior is extremely aggressive when it detects any source of light. It typically jumps to around 80% in many circumstances and rarely adjusts itself lower unless there is a massive drop in what the sensor detects. For the sake of argument, I've been keeping adaptive turned on and then manually adjusting the slider to try and help it "learn" but I've not seen anything that even resembles learned behavior.
    4
    Anyone know where to download just the firmware for Android 13 for 8T KB2003? Don't feel like downloading the full ROM (over 4GB). Thanks in advance.
    Hi,
    Take a look here,