[ROM][OFFICIAL][hotdogb][11] LineageOS 18.1

Search This thread

sliwka_

Member
Mar 5, 2022
6
0
Hey. Is it possible to root and install Lineage at the same time? There are no tutorials for this, not just for the 7T. If yes, how do i do it? Im new to the rooting/custom rom scene. I've flashed a custom rom only once.
 

thefanum

Senior Member
Dec 27, 2011
166
55
Samsung Galaxy Tab S2
OnePlus 3T
Hey. Is it possible to root and install Lineage at the same time? There are no tutorials for this, not just for the 7T. If yes, how do i do it? Im new to the rooting/custom rom scene. I've flashed a custom rom only once.
Yep. Just flash LineageOS to both slots using LineageOS recovery and adb sideload (from a computer), then flash mindTheGapps if you want gapps, then reboot to LineageOS recovery, then flash magisk zip (the apk file can be renamed.zip to flash).

Here's generic instructions:


Here's magisk (root):

 

sliwka_

Member
Mar 5, 2022
6
0
Yep. Just flash LineageOS to both slots using LineageOS recovery and adb sideload (from a computer), then flash mindTheGapps if you want gapps, then reboot to LineageOS recovery, then flash magisk zip (the apk file can be renamed.zip to flash).

Here's generic instructions:


Here's magisk (root):

did you mean that i have to flash lineageos, boot into recovery, and flash magisk by changing the file extension from .apk to .zip?

will the lineageos recovery install automatically when i flash lingeageos?
 

morhimi

Member
Dec 14, 2009
32
0
Hi all,
been using this rom for a few weeks and it mostly works very good for me (updating it weekly)
I have a question/problem with WiFi channels on the 5GHz band.

TL;DR - Rom only supports channels 36-64 on 5ghz band in ISRAEL

A few months ago, there was an update to the `wireless-regdb` (which basically is like the bible of wifi bands and channels around the world and is used by the kernel), this update added support for higher channel in Israel (like channel 100-149 etc.)

I am wondering where can I see which version of `wireless-regdb` is used by this rom and whether the devs can update it?

Don't know how important it is but I also have a OP5T which runs official LineageOS 19.1 and it works with all channels support in Israel.

This is the relevant kernel commit:

and the latest release is dated August 12

Thanks and sorry for the long post :)
 

morhimi

Member
Dec 14, 2009
32
0
after a bit more digging, is this the kernel used for OP7T?

if yes may I request the db.txt file will be updated with the latest from Kernel.org or at least the IL section?
should look something like this:
country IL: DFS-ETSI (2402 - 2482 @ 40), (20) (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW (5250 - 5350 @ 80), (200 mW), NO-OUTDOOR, DFS, AUTO-BW # Table B List of conditions, row 63, indoor short range device without TPC (ETSI EN 301 893) (5470 - 5725 @ 160), (500 mW), NO-OUTDOOR, DFS, AUTO-BW, wmmrule=ETSI # Table B List of conditions, row 68, wireless device using 802.11a/n/ac protocol (5725 - 5875 @ 80), (200 mW), AUTO-BW


cc @LuK1337
 
Last edited:

LaPesteO_o

Member
Feb 5, 2012
10
1
It's like asking why your car doesn't have a better engine from factory. Ask the manufacturer.
1. I assumed the maintenair of the device looks at this thread
2. There could be a lot of simple reasons for using another engine, like cost and over or under power for the chassis and its weight etc. In our case if the kernel *is* for this device, you can have it without extra cost or specs problem.

I expected that a reason could be that the LOS project does not want to deal with extra issues that don't come from the development of the ROM or similar (so everyone on a standard kernel). If that's the case I'd be more willing to try. If instead maintenairs have a certain degree of freedom on the kernel, than likely the kernel you suggested had issues that were't worth what is solving.
 
Last edited:

borisSweden

Senior Member
May 10, 2021
230
21
OnePlus 7T
To update OEM firmware, do I have to make a backup of my current LOS system? Will I lose all root mods, Magisk install, data and buildprop edits after I update the firmware with fastbootd?
 

HueyT

Senior Member
Apr 3, 2014
4,785
2,164
New Albany, IN
OnePlus 7T
Use payloaddumper.exe (win10 required) to extract vendor.img from latest LOS18.1 payload.bin and put file into adb folder on PC. Then go into fastbootd mode and type "fastboot flash vendor vendor.img"
 
  • Like
Reactions: GuyInDogSuit

borisSweden

Senior Member
May 10, 2021
230
21
OnePlus 7T
Use payloaddumper.exe (win10 required) to extract vendor.img from latest LOS18.1 payload.bin and put file into adb folder on PC. Then go into fastbootd mode and type "fastboot flash vendor vendor.img"
OK I got the folder from the latest 7T firmware extracted_20221016_225731

Do I type adb shell in the same folder to connect the computer to the phones fastboot?

But is there any risk with the current data, apps, mod when I update if I update all of this:

fastboot flash --slot=all abl abl.img
fastboot flash --slot=all aop aop.img
fastboot flash --slot=all bluetooth bluetooth.img
fastboot flash --slot=all cmnlib64 cmnlib64.img
fastboot flash --slot=all cmnlib cmnlib.img
fastboot flash --slot=all devcfg devcfg.img
fastboot flash --slot=all dsp dsp.img
fastboot flash --slot=all hyp hyp.img
fastboot flash --slot=all imagefv imagefv.img
fastboot flash --slot=all keymaster keymaster.img
fastboot flash --slot=all LOGO LOGO.img
fastboot flash --slot=all modem modem.img
fastboot flash --slot=all multiimgoem multiimgoem.img
fastboot flash --slot=all oem_stanvbk oem_stanvbk.img
fastboot flash --slot=all opproduct opproduct.img
fastboot flash --slot=all qupfw qupfw.img
fastboot flash --slot=all storsec storsec.img
fastboot flash --slot=all tz tz.img
fastboot flash --slot=all uefisecapp uefisecapp.img
fastboot flash --slot=all xbl_config xbl_config.img
fastboot flash --slot=all xbl xbl.img


According to https://wiki.lineageos.org/devices/hotdogb/fw_update
 

Eric_Lev

Senior Member
Jan 27, 2019
1,389
2,579
Angers
sourceforge.net
OK I got the folder from the latest 7T firmware extracted_20221016_225731

Do I type adb shell in the same folder to connect the computer to the phones fastboot?

But is there any risk with the current data, apps, mod when I update if I update all of this:

fastboot flash --slot=all abl abl.img
fastboot flash --slot=all aop aop.img
fastboot flash --slot=all bluetooth bluetooth.img
fastboot flash --slot=all cmnlib64 cmnlib64.img
fastboot flash --slot=all cmnlib cmnlib.img
fastboot flash --slot=all devcfg devcfg.img
fastboot flash --slot=all dsp dsp.img
fastboot flash --slot=all hyp hyp.img
fastboot flash --slot=all imagefv imagefv.img
fastboot flash --slot=all keymaster keymaster.img
fastboot flash --slot=all LOGO LOGO.img
fastboot flash --slot=all modem modem.img
fastboot flash --slot=all multiimgoem multiimgoem.img
fastboot flash --slot=all oem_stanvbk oem_stanvbk.img
fastboot flash --slot=all opproduct opproduct.img
fastboot flash --slot=all qupfw qupfw.img
fastboot flash --slot=all storsec storsec.img
fastboot flash --slot=all tz tz.img
fastboot flash --slot=all uefisecapp uefisecapp.img
fastboot flash --slot=all xbl_config xbl_config.img
fastboot flash --slot=all xbl xbl.img


According to https://wiki.lineageos.org/devices/hotdogb/fw_update
Reminder:
- LOS 18.1 requires blobs from the Android 11 full stock ROM :
- LOS 19.1 will require blobs from the Android 12 full stock ROM (not yet official in global version - only available in indian version) :
- LOS 20.0 ... :coffee:

More information here:
 
Last edited:

borisSweden

Senior Member
May 10, 2021
230
21
OnePlus 7T
Reminder:
- LOS 18.1 requires blobs from the Android 11 full stock ROM :
- LOS 19.1 will require blobs from the Android 12 full stock ROM (not yet official in global version - only available in indian version) :
- LOS 20.0 ... :coffee:

More information here:
So the 7T on 18.1 doesn't need 11.0.9.1 blobs or security update?
 

Eric_Lev

Senior Member
Jan 27, 2019
1,389
2,579
Angers
sourceforge.net
Reminder: if you don’t want to rely on Magisk to pass SafetyNet attestation, use ih8sn !

1- This tool is mostly intended for people who don't want to use Magisk.
2- Credit to: @LuK1337 ... https://github.com/luk1337/ih8sn
3- Compatible with LOS 18.1, 19.1 and 20.0 (I could only check with OP5T) ... with 17.1 (? ... Untested !)
4- You can download ih8sn for OP7T here .. (installation: recovery flashable zip or push script via adb)


Note :
1- After the first reboot, do not forget to clear storage of Google Play service and Google Play Store apps ... then restart your device ... in order to get Play Protect certification.
2- Updating the build via OTA preserves the safetynet bypass so no need to reflash ih8sn at each update.
3- Re-flash same ih8sn.zip/push-script to uninstall.

FYI: https://www.xda-developers.com/how-to-pass-safetynet-android/ ... (section 5)
 
Last edited:
  • Like
Reactions: GuyInDogSuit

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    2okPze5.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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 :
    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 /proc/last_kmsg. (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:
    5
    Hey guys, for anyone who is interested in installing magisk and is finding it difficult to extract the boot.img, no worries, you can download the latest magisk patched boot images from this thread, ill be uploading the latest magisk boot images weekly for every new release of lineageOS 18.1 hotdogb.
    4
    For those unhappy about the camera app situation I've found that the stock Oneplus camera app can be installed and used with a few caveats. This was tested on the May 30th LOS build, below I list a few notes to keep in mind for anyone interested:
    1. In my limited testing, APKs with version number 3.X.X are the newest ones that can be installed and actually work. Specifically 3.8.116 is the most stable I've found. The apk can be download here (APKMirror link).
    2. The app will always crash upon normal launch. In order to use it you must long press on the app icon and select one of the popup shortcuts (Pro, Take a video, Selfie, or Portrait). Launching from any of these shortcuts the camera app will work and so far I believe all the camera features work.
    3. There might be occasional crashes mostly due to switching between camera modes too much (Most notable on other 3.X.X versions).
    4. In Photo mode (not Pro mode) the aspect ratio button works only on 4:3 and 1:1, switching to fullscreen will render photo mode unusable as the app will crash upon switching to it. Other modes will still function as normal and Pro mode can use fullscreen aspect ratio without issues. If you accidentally switched to fullscreen aspect ratio in photo mode then it can be fixed by clearing the app data.
    5. The gallery button does not work, likely due to the missing oneplus gallery apk. Probably it will work with it installed but I haven't tested that yet.
    6. Systemlessly installing the app to the system folder does not improve anything. So installing the apk as any other normal sideloaded app is probably the best option.
    I'm not sure if the rom can be tweaked to prevent the normal launch crash. Though I'm not expecting anything from the dev about this. The app works without much issue and I'm trying to workaround the launch issue with tasker. Hopefully I'm succesful with it.
    4
    Finally, thank you luk
    4
    Latest August 1st Update seems to have screwed up the fingerprint unlock.

    Re-scanning the fingerprint works, but the issue is unlocking the phone with the fingerprint.

    It almost always says "Not recognized".

    This was not an issue before this update.