[ROM][UNOFFICIAL][TREBLE][10.0][NB1] LineageOS 17.1

Search This thread

r100

Senior Member
Mar 12, 2013
124
58
I can't believe it's actually happening, LineageOS on the Nokia 8. I still enjoy my phone soo much, the hardware is still sufficient and the aluminium exterior feels wonderful. Thank you @emufan4568 for doing this!! :victory:
 

rashazad

Senior Member
Mar 3, 2011
185
52
Nokia 8
Xiaomi Poco F3
@Arashone Can you test again? I think that ringtones are now fixed
TV-20190703-tz.mbn
TV-20190703-vendor.img
TV-20190703-xbl.elf

These three files seem to be missing from new T-virus. I downloaded it twice (with two different reliable internet connections on two different devices). NOST faces "file not found" after extracting. Tested with exdupe extractor too (inevitably results in file checksum error).
So I managed to copy those files from previous release of T-virus (Are you gonna tell me those files are modified too...? Please dont!) and went on.

Promised changes are there. I'm not gonna use any kind of GApps, so sorry for not reporting. About Wifi range @OneWayGamer mentioned, have a look to wifi settings. Changing privacy to use device MAC address solved the problem for me.

Heading to install apps and see what's gonna happen...
 
Last edited by a moderator:

emufan4568

Senior Member
Jun 19, 2020
102
148
TV-20190703-tz.mbn
TV-20190703-vendor.img
TV-20190703-xbl.elf

These three files seem to be missing from new T-virus. I downloaded it twice (with two different reliable internet connections on two different devices). NOST faces "file not found" after extracting. Tested with exdupe extractor too (inevitably results in file checksum error).
So I managed to copy those files from previous release of T-virus (Are you gonna tell me those files are modified too...? Please dont!) and went on.

Promised changes are there. I'm not gonna use any kind of GApps, so sorry for not reporting. About Wifi range @OneWayGamer mentioned, have a look to wifi settings. Changing privacy to use device MAC address solved the problem for me.

Heading to install apps and see what's gonna happen...

My new T-Virus package only modifies the system image (new AOSP 10 GSI) and the boot image (My new TWRP image). The files you mention have not been deleted or modified in any way. I don't know how they are missing on your machine but it they are definitely included in the build. I re-downloaded it again to test and these files are present in the .qlz file.
 

annihilating_bas

New member
Mar 9, 2018
1
0
Very well done on getting the first custom rom out for my beloved NB1. Looking forward to its development (especially if you can iron out the hotspot bug).

I can't install yet cause I need my phone to be reliable right now but once I do I'll write a guide for dummies, like the pie to oreo downgrade thread, that should help reduce the number of people writing one sentence comments like "it's not working" or "how to install"

This would be very much appreciated!
 

rashazad

Senior Member
Mar 3, 2011
185
52
Nokia 8
Xiaomi Poco F3
My new T-Virus package...
That's strange to me too. This is not my own laptop though. BTW thanks for double checking.

Oh those CM ringtones are still alive. I always used "Twirl Away" on my Xperia 10mini running my own android 2.3.7 cook!
These are what I have seen so far (no single app installed yet). Not all of them are bugs, but behaviors:

- camera records focus motor noise
- "Recorder" app which supports OZO crashes
- fingerprint sensor does nothing on lock screen when there is no password defined
- there is a vast empty space at top of the action center
- screen dimming while inactivity isn't smooth (same as pie, and not oreo)
- some of "Clock styles" have some sort of overlap on lock screen
- it's not possible to change PC connection default ("Charging this device")
- alerts in setting first page can't be dismissed
- "Extreme power saver" is unavailable (due to lack of the profile)
- "LiveDisplay" looks incomplete
- I could not find any use for "Keep current wallpaper"
- "Lift to check phone" does nothing
- "Charging sound" setting, does not browse it's default
- adding "Language", shows a temporary "Event Notifications" notification
- "Custom input styles" has French and German (as opposed to being empty)
- long pressing volume rockers, does not rapidly change volume while "Control playback" is off
- "Swipe fingerprint for notification" doesn't work (also reports sensor at the back)
- "Backup" section is empty
- "Advanced reboot" can't reboot into recovery
- "Feature flags" are like place-holders
- "FM radio" doesn't work (and needs access to location, normal?)

possible to add drawing "Notification center" to x button press?
isn't "Lockdown" option of power key supposed to request finger+pattern instead of just finger?

PS: I did not test whatsapp, pinterest, duolingo, or basically, apps that need to enter password. GCAM 7 crashed. I did not test dual SIM, cause I use that as my SDcard slot. Rest is great and arguably can be used on a daily driver. my VPN works well too.
 
Last edited by a moderator:

rashazad

Senior Member
Mar 3, 2011
185
52
Nokia 8
Xiaomi Poco F3
This is the last Lineage OS 17.1 release, as I have focused on porting Android 11 for now
You rock.
I don't know if it's possible to use stock partition table. If it is, why switch to A1N's? @THMSP provided treble and we were able to use GSIs. If I'm not forgetful, vendor partition was the problem. In the other hand, using non-treble structure reduces one (two, in case of reverting back to stock) flashing procedure, which has benefits. So now, what are we getting with treble? That's THE question!
 
Last edited by a moderator:

THMSP

Senior Member
Jul 19, 2018
138
253
Europe
tmsp.io
You rock.
I don't know if it's possible to use stock partition table. If it is, why switch to A1N's? @THMSP provided treble and we were able to use GSIs. If I'm not forgetful, vendor partition was the problem. In the other hand, using non-treble structure reduces one (two, in case of reverting back to stock) flashing procedure, which has benefits. So now, what are we getting with treble? That's THE question!

If I had to offer an educated guess:

Its less work to take the blobs from Sirocco that already work under Android 10, than to make all of the Android 9 blobs from NB1 (which are a complete mess btw) work in an Android 10 environment. By taking the sirocco blobs you only need to port a few blobs for hardware that is different on Sirocco (hw buttons and the camera blobs).

This also makes porting later Android versions easier, as Treble is designed for such things: The vendor is self-contained and newer Android versions are able to talk to older vendors.

But because Sirocco is a Treble device, you need to make NB1 a treble device too to use these blobs. But since NB1 is EOL and won't get any updates anymore, the reflashing is not that much of an issue once the ROM stabilizes: You simply stay on Treble the entire time.
 

OneWayGamer

Senior Member
Mar 31, 2017
310
112
Samsung Galaxy S5
Nokia 8
awesome news ! los 18.x will be non treble?
psst... It's going to be CrDroid 7 Based on Android 11 ?

---------- Post added at 05:26 AM ---------- Previous post was at 05:24 AM ----------

Had the same problem, so i just started all over with flashing T-Virus with NOST and followed the instructions in the initial post.
But yeah, should have also mentioned, that i got an error at step 2 of flashing it via TWRP
You have to reflash T-virus when going to a newer version

---------- Post added at 05:28 AM ---------- Previous post was at 05:26 AM ----------

no rush, but perhaps i am wrong - what is better ? treble or non treble ?
Treble, since you can install any GSI as you wish, depending on what the GSI is based on, you experience may vary
 
Aug 10, 2010
6
0
Christmas has come early.
Thankyou very much guys. Thanks to this I might get a year or two more life out of my Nokia 8. Whatever the bugs it can't be worse than Nokia's bugs.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Lineage-Header_zps5k1so3nb.png~original

    Code:
    /*
     * Your warranty is now void.
     *
     * 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 this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     */

    LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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.

    Working:
    • It boots
    • WiFi
    • Bluetooth
    • Camera
    • Navigation Keys
    • Fingerprint
    • Sensors
    • GPS
    • RIL
    • SDCard
    • Headphones
    • Ringtones
    • Bluetooth audio

    Known bugs
    • WiFi Hotspot
    • Selinux permissive
    • Stock LOS recovery doesn't boot
    • Dual SIM
    • You tell me ;)

    Install instructions
    • Flash the newest T-Virus release (if you have already installed T-Virus, reflash the newest release it contains a fix to TWRP)
    • After T-Virus has flashed and it has booted to the Android 10 GSI test environment, type this command to reboot to recovery mode
      Code:
      adb reboot recovery
    • Once in recovery, copy the Lineage OS zip file to the internal storage
    • Go to the Install section and flash the Lineage OS zip
    • After the zip has flashed, go to Wipe->Advanced Wipe, tick the "Dalvik /ART Cache" and "Data" boxes and wipe them
    • Head to Wipe->Format Data and type yes to format the data partition
    • Finally go to the Reboot section, select Slot B to switch to the flashed slot and then to System and swipe to reboot
    • Profit?

    OpenGApps/Magisk:
    After the ROM successfully boots up, many of will will want to install Magisk and/or OpenGApps. To do that you need to install the latest TWRP release
    Code:
    adb reboot bootloader
    fastboot flash:raw boot --slot=all twrp-3.4.0-0-NB1.img
    fastboot reboot
    After that reboot to recovery, flash OpenGApps and/or Magisk. If you flash OpenGApps don't forget to wipe the data partition to prevent Google Setup from crashing

    Downloads

    Notes:
    • Only Clean Installation Please
    • Bug Report Without logs means nothing
    • Magisk is untested
    • In case you flashed any gapps, re-flashing is needed if you're updating the ROM

    Reporting Bugs:
    • DO NOT Report bugs if you installed Xposed or weird magisk modules
    • 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)

    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.

    Sources:

    XDA:DevDB Information
    LineageOS 17.1 for NB1, ROM for the Nokia 8

    Contributors
    THMSP, OneWayGamer, oaid
    Source Code: [url]https://github.com/LineageOS[/URL]

    ROM OS Version: Android 10
    ROM Kernel: Linux 4.x
    Based On: AOSP

    Version Information
    Status: Beta

    Created 2020-11-03
    Last Updated 2020-11-03[/QUOTE]
    1
    You should have mentioned that DUAL SIM doesn't work?
    My phone is only showing SIM 1
    Apparently, I flashed for nothing.

    first, the guy's been working nights to bring the first custom ROM for Nokia 8, and seriously, that's the way to appreciate his efforts?
    second, if some functionality on the phone is very important to me, I would first ask if it's supported before just flashing.
    third,
    Known bugs
    WiFi Hotspot
    Selinux permissive
    Stock LOS recovery doesn't boot
    You tell me ;)
    1
    I talked to the dev and he said "i didn't put that in because my phone is Single SIM"
    really mature

    You Mr. head back to stock rom and stop whining. Developers aren't obligated to take blames. They work at their free will, you don't pay for them. About time someone is willingly developing custom rom for a already too much neglected phone and it's still in beta stage that you can't expect this rom to be functional from all aspect. Developing and maintaining custom rom needs contribution from both the user and developer as users share their user experience and provide logs then developers identify those issues and try to fix them. Developer can't diagnose all the bugs by himself. When you flash a custom rom you're agreed to the policy that any damages made to your phone by flashing custom rom and issues you face developers will not take any responsibilities however you can share your experience but not blame him. Not everyone uses dual sim so the issue might have been missed out. Be respectful. New in the community?If so read the rules before commenting. Better you don't use custom rom or just buy a phone that has bigger developer community. Really immature of you. sigh!
    1
    [Moderator Notice]

    @sharmamadhus Stating "this feature doesn't work, fix it!" not only lacks the magic word, it's not helpful by any means and only has an adverse effect on development. Amazing people that invest massive amounts of their own time to bring new and refreshing experiences to our devices are the indispensable building blocks of this community. Please treat them accordingly. That being said, I'd like to thank you for remaining civil.

    I'd also like to thank everyone that responded for upholding a mature and respectful discussion. I'm proud to be a part of this corner of the web that retains a high standard of – albeit geeky – communication. You are all great people.

    Now let's please move on to the topic at hand: development. You are free to drop me a PM if you have the compulsion to respond but please keep this development thread constructive and on topic. Thanks!

    Stay safe ?
    Timmy