[𝑹𝑶𝑴][𝟏𝟑]LineageOS 20.0 unofficial[𝑶𝑵𝑬𝑷𝑳𝑼𝑺 𝟔&6T][Gapps][OTA updates][SafetyNet][TWRP]

Search This thread

Kitch2400

Senior Member
Feb 10, 2015
386
453
Sony Xperia Z3 Compact
Sony Xperia Z3
just installed this ROM. everything is working fine. Banking app etc... but having issue with one app. error as mention below. unable to take screenshot due to app's security. phone is not rooted but just with the unlocked bootloader

'Singpass app cannot be set up on this device due to an incompatible secure key storage module. this is because the device may be running an unrecognised version of androif, may have an unlocked bootloader, or may not have been certified by the manufacturer. you may wish to back up your data and return this device to its original settings before setting the app up again'

is there any bypass or i missed installing anything important? i followed the 'coming from another rom' installation procedures
Think I found the issue.

Can you open a adb shell and post the output from "pm list packages -3 | grep singpass"

Hi and thanks for this great rom.
Everything works well, except for a bug which is a bit annoying : whenever I'm listening to music or watching a video, if I receive a notification from any kind, the volume goes down and never goes back up, until I close the app and relaunch it.
Any idea how to fix that ?
Could be an issue with the app (audio focus not properly implemented?), hard to tell from limited info.
There used to be a option to disable this behaviour in LOS 19, can't seem to find it now though.

Either enable DND or try this from adb shell (you can grab the package name by modifying the command in my earlier reply to @devconBB) ;
cmd appops set PACKAGENAME TAKE_AUDIO_FOCUS ignore
 
  • Like
Reactions: oussamalabbize

Kitch2400

Senior Member
Feb 10, 2015
386
453
Sony Xperia Z3 Compact
Sony Xperia Z3
Development update:

  • USB file transfer is now fixed
  • Kernel + rest of OS is now built with clang 16
  • Major deep sleep improvements (during testing I got approx. 0.2-0.4%/hr)
  • Fingerprint & NFC should now work properly, needs further testing
  • After ∼50 hours of development & testing of EROFS, I give up. It's already implemented in kernel 5, so I will focus on that instead
  • Gcam updated to latest version, might need a new config, needs further testing

Still working on reducing battery usage when device is awake/screen on.
This is quite the balancing act since high performance = high drain. I assume that not all of you would prefer waiting 5s for your applications to start (and charging your device every 3 days), instead of crazy performance with the drawback of very high battery usage..

Builds for enchilada & fajita cooking now.
 

Kitch2400

Senior Member
Feb 10, 2015
386
453
Sony Xperia Z3 Compact
Sony Xperia Z3
first end foremost: thx & 🥰

since I have been anal about the battery draw and the reasons on all my devices since forever, could you elaborate on what contributed to reducing that draw?
Lots of minor adjustments! Been reading a lot about our chipset (thanks qualcomm!) and of the clever ways to conserve power. I think the biggest gain was some makefile optimization and building the kernel with a updated compiler.
 
  • Like
Reactions: Bäcker and cMACr

oussamalabbize

Senior Member
Feb 11, 2014
307
99
Algiers
Think I found the issue.

Can you open a adb shell and post the output from "pm list packages -3 | grep singpass"


Could be an issue with the app (audio focus not properly implemented?), hard to tell from limited info.
There used to be a option to disable this behaviour in LOS 19, can't seem to find it now though.

Either enable DND or try this from adb shell (you can grab the package name by modifying the command in my earlier reply to @devconBB) ;
cmd appops set PACKAGENAME TAKE_AUDIO_FOCUS ignore
Ok, i'll try that later, thx for the answer
 

devconBB

Member
Nov 19, 2022
14
3
Think I found the issue.

Can you open a adb shell and post the output from "pm list packages -3 | grep singpass"
grep : The term 'grep' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:27
+ adb pm list packages -3 | grep singpass
+ ~~~~
+ CategoryInfo : ObjectNotFound: (grep:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
 

karwankar

Senior Member
Oct 10, 2011
245
85
Updated to today's version Problem for myjio app is attached
 

Attachments

  • Screenshot_20221121-200542_MyJio.png
    Screenshot_20221121-200542_MyJio.png
    156.5 KB · Views: 25

Kitch2400

Senior Member
Feb 10, 2015
386
453
Sony Xperia Z3 Compact
Sony Xperia Z3
grep : The term 'grep' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:27
+ adb pm list packages -3 | grep singpass
+ ~~~~
+ CategoryInfo : ObjectNotFound: (grep:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Not quite right.
First from cmd/your preferred terminal "adb shell", to attach a shell to your device. Then issue "pm list packages -3 | grep singpass"
 

devconBB

Member
Nov 19, 2022
14
3
Not quite right.
First from cmd/your preferred terminal "adb shell", to attach a shell to your device. Then issue "pm list packages -3 | grep singpass"
OnePlus6:/ $ pm list packages -3 | grep sp
package:com.spotify.music
package:sg.ndi.sp
OnePlus6:/ $ pm list packages -3 | grep sg
package:com.dbs.sg.posbmbanking
package:com.exxonmobil.esso.sg
package:sg.parking.streetsmart
package:sg.ndi.sp
package:com.shopee.sg
OnePlus6:/ $ pm list packages -3 | grep ndi
package:sg.ndi.sp

thats all i can get after trying.... sg.ndi.sp is the singpass app
 
Last edited:
  • Like
Reactions: Kitch2400

Kitch2400

Senior Member
Feb 10, 2015
386
453
Sony Xperia Z3 Compact
Sony Xperia Z3
OnePlus6:/ $ pm list packages -3 | grep sp
package:com.spotify.music
package:sg.ndi.sp
OnePlus6:/ $ pm list packages -3 | grep sg
package:com.dbs.sg.posbmbanking
package:com.exxonmobil.esso.sg
package:sg.parking.streetsmart
package:sg.ndi.sp
package:com.shopee.sg
OnePlus6:/ $ pm list packages -3 | grep ndi
package:sg.ndi.sp

thats all i can get after trying.... sg.ndi.sp is the singpass app
Well done, thanks!
Will include a fix in the next build. Fingers crossed 🤞
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Another Saturday ... another Update :

    MGC_8.7.250_A11_V13​



    Changelog:​

    🇺🇸 BSG public version changelog (8.7.250 from 2023/03/11):
    - Manual focus is activated in the top curtain, in the "Photo" and "Portrait" modes.
    - Added "Focus" item ("Manual focus"(Reset to "Auto", and setting "Near", "Far", "Infinity"), "Focus algorithm"("Reset focus data", "Add IDLE focus", "Delay after tap focus")).
    - Found errors in the work of the modification have been fixed.
    - Fixed work on some devices.
    4
    Yeah he explained it and promised an update the day after... And then was not seen since last week's Wednesday. So I wouldn't put too much hope in that.

    I think flashing official over this should theoretically work. Recovery will be overwritten with LOS one so that's not an issue. Only problem could be Gapps but in the worst case one should still be able to just reinstall Gapps. Just that that somebody maybe already tried that.
    I always find comments like these quite funny. As if the developer is not supposed to have a personal life beyond ROM development.
    3
    I'm sorry to break it to you but you lost your videos as you did not back them up.

    learn from this, always have at least one physically independent backup of stuff which is important to you.

    You can use many apps like "synchronize ultimate" to automatically backup your photos/videos to your NAS, Cloud, FTP - whatever you like.

    Also my Bluetooth works flawlessly (LDAC). Never cuts out, no hickups.
    2
    Has anybody already tried to flash the official LOS over this? Unfortunately it seems as if @Kitch2400 is not maintaining this build anymore.
    The official LOS has very detailed instructions on how to install. Dirty flashing over a different flavour is not part of it. It may be possible but keep in mind that this ROM here has additions that the official one doesn't have (different recovery, gapps already built in just to name a few). And even if one of us had done it, and succeeded, the situation could still be different to yours. So you better be prepared to start all over with a clean installation if things go wrong. Your choice.

    BTW, just a week ago the OP explained the current pause, so my perception regarding the future of this ROM is different to yours
    2
    I truly hope the OP is well! All the best from my side!
  • 27
    LineageOS 20.0 unofficial build for enchilada & fajita

    Lineage-OS-Feature-Image-Background-Colour.png






    Source: LineageOS 20 (android-13.0.0_r20)

    Buildtype: User

    Kernel: 4.9.336

    SELinux: Enforcing

    Recovery: TWRP 3.7.0, Thanks to @Siddk for your hard work!!!

    Root: Download the most recent Magisk canary .apk
    Either install with "adb install app-release.apk" or download directly on your device and install with the file manager (Files). Download the most recent boot.img for your device, from the corresponding recovery folder.
    Copy boot.img to sdcard, patch boot.img with Magisk. Flash modified boot.img with fastboot flash boot magisk_patched-*****_*****.img

    In order to keep root across updates, see instructions here.


    Included Gapps: MindTheGapps

    Gcam: Included, by BSG. Don't forget to install Google Photos.
    Note: You have to change one setting in gcam in order for it to work properly.
    Google Camera -> Settings -> Configuration of modes -> Hardware level -> Select "Full".

    Passes SafetyNet
    Rooted? Install this safetnet fix (Displax v2.3.1-MOD_2.1)


    All credit goes to the LineageOS team

    Sources:
    Kernel
    ROM
    Pixel goodies

    Looking to expand our LineageOS 20 family! Send me a device (new or old) and I will port LineageOS 20 to it!


    Are you happy with my work? Feel free to donate

    Installation: Standard LineageOS installation method


    1. Disable Screen lock (Settings -> Security -> Screen lock -> none)
    2. Reboot to bootloader
    3. Fastboot.exe boot TWRP-3.7.0_12 (enchilada version download link, fajita version download link)
    4. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    5. adb.exe sideload flashmeintwrp.zip
    6. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    7. adb.exe sideload lineage-20.0-LATESTVERSION-UNOFFICIAL-YOURDEVICE
    8. Reboot to system

    1. Disable Screen lock (Settings -> Security -> Screen lock -> none)
    2. Reboot to bootloader
    3. Fastboot.exe boot TWRP-3.7.0_12 (enchilada version download link, fajita version download link)
    4. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    5. adb.exe sideload copy-partitions-20220613-signed.zip (download here)
    6. Reboot to bootloader
    7. Fastboot.exe boot TWRP-3.7.0_12
    8. In TWRP select advanced -> ADB sideload -> Swipe to start sideload
    9. adb.exe sideload lineage-20.0-LATESTVERSION-UNOFFICIAL-YOURDEVICE
    10. Reboot to system



    Download links:

    Enchilada version
    Fajita version



    Kindly report issues in this thread and post logcat output






    Changelog LineageOS 20
    20230112: 2023-01-05 security update,
    Android r20 sources, re-implemented fingerprint swipe function, latest upstream from LOS & AOSP, minor adjustments to cutout/notch
    20221213: Android 13.0.0_r16 sources, Updated kernel (4.9.335), 20221205 security update
    20221121: OS built with Clang 16, updated gcam, power optimization, NFC & fingerprint tweaks
    20221109: Android 13.0.0_r13 source, Security patch 20221105, fixed call recording not working in certain regions, minor kernel tweaks, NFC tweaks
    20221107: Major updates to the fajita kernel, expect ∼30-60% longer endurance, updated gcam
    20221106: Major updates to the enchilada kernel, expect ∼30-60% longer endurance, updated gcam
    20221103: Google Camera included in build, Dialer/phone app can now record calls in any part of the world.
    20221101: Unlimited Google Photos, new and improved SafetyNet-fix, Pixel spoofing.
    Clear the cache for Google Play services and storage for Google Play Store.​
    Settings -> Apps -> Show system (top right corner) -> search for play​
    Then reboot your device. After this Pixel spoofing is working for all gapps, and device will be certified.​
    20221016: You can now update via adb sideload in LineageOS recovery (no need for TWRP)
    20221012: SafetyNet fixes. Most (all?) banking apps should work now
    20221009: Fixed a major performance issue in the Fajita build
    20221006: Buildtype userdebug -> user


    Upcoming features: Pixel goodies (unlimited storage for photos, Google Camera and more), Linux 5.15 kernel, OTA updates, Nethunter kernel, build for fajita, SafetyNet


    OTA Update instructions
    1. Go to Settings -> System -> Updater
    2. Reboot when prompted (you will loose root as boot.img is updated)
    3. (optional) Flash Magisk-patched boot.img from fastboot to regain root




    Safe to dirty flash over Lineageos 19.1, IF you completely uninstall Magisk before you do so.

    Procedure:


    1. Uninstall Magisk (complete uninstall) from Lineage 19.1, including all modules.
    2. Flash LineageOS 20.0 unofficial from recovery
    3. Reboot to system: adb install Magisk-v25.3.apk OR flash provided Magisk-v25.3.apk.zip from recovery.
    4. Profit


    16
    Hello gents! Sorry for my prolonged absence, first I was (very) ill and then went sailing to clear my head. I'm back now and full of energy! Expect updates for fajita and enchilada tomorrow. Will read all your posts and reply tonight.

    Great to see that there's still interest for my rom 🤠
    14
    New OTA available for enchilada, fajita cooking now.

    • New kernel sources (4.9.335). I finally got around to merging with upstream. At this point in time, the oneplus 6 has the most recent kernel among all sdm845-devices for android. Currently working hard on a more recent version.
    • Security patch December 2022.
    • Android-13.0.0_r16 sources.
    • Tons of other updates.

    Delta update failed to install, will look into it for future updates (smaller size, very fast installation)
    Still working on VoLTE-fixes, looks promising.
    12
    Development update:

    I was cooking updated builds, when someone accidentally cut the power to our building.. Power should be restored today. Hopefully I can upload today, otherwise tomorrow.

    • VoLTE fixes
    • Updated kernel to 4.9.336
    • All recent LOS updates & fixes
    • Updated gcam
    • Further tweaks to improve battery life
    10
    Android December 2022 security updates fix 81 vulnerabilities

    Source
    Just waiting for the code to be reviewed and approved, will upload a new build asap (y)