yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Android Development] rootfan:
lineage-20.0-20230222-UNOFFICIAL-shamu.zip

lineage-20.0-20221217-UNOFFICIAL-shamu.zip

lineage-20.0-20221014-UNOFFICIAL-shamu.zip

Known issues:

- On some boots the camera may not be working. Simply reboot your phone to fix it.

How to enable encryption on the February build and newer:

- Data must be formatted. If you're using TWRP, click wipe and then format data

- Install the LineageOS zip

- Install the attached SetEncryption.zip

- Reboot and enjoy encryption

How to build from source:

I'm going to assume you've built LineageOS before and just describe the special steps

- Repo init with the LineageOS-UL sources here: https://github.com/LineageOS-UL/android

- Copy the attached roomservice.xml to .repo/local_manifests

- Sync the sources

- From the source root execute:

sed -i "s/.*TARGET_BUILD_UNBUNDLED.*/ifeq (0,1)/" build/make/core/tasks/platform_availability_check.mk

- If you want your builds to use encryption then run:

sed -i "s/latemount/latemount,fileencryption=adiantum/" device/moto/shamu/rootdir/etc/fstab.shamu

- cd to frameworks/opt/net/ims and run git apply path_to_attached_Ignore-SubId.patch

- DO NOT use an existing vendor repo . You must run ./extract-files.sh on the latest build I've provided

- Build as normal

Kernel Source: https://github.com/rootfan/android_kernel_moto_shamu

Special thanks to:

- LineageOS team

- Elektroschmock, npjohnson, and anyone else who has worked on shamu in the past

- abhishekt295 and wavedashdoc for getting IMS to work on android 10

- tarkzim and khalvat for their work on the LineageOS-UL project

Standard disclaimer: You're responsible for what you do to your devices, so don't blame anyone else if something goes wrong.

Enjoy android 13 on the Nexus 6 :)
[Nexus 6 Android Development] CherryRook:
bravo!!!!!!!
[Nexus 6 Android Development] CherryRook:
any build plan for angler?
[Nexus 6 Android Development] lepi:
Which gapps to use with this build?
[Nexus 6 Android Development] CherryRook:
Hey, I'm here to do some reports.

My last OS is Mokee based on Oreo 8.1 and I flashed this from with TWRP 3.1.1-0.

When the first time I try to flash it notices that "This package is for shamu, and your device is [empty]." So I removed the asserts check from update-script and I made it this time.

Here are my steps to flash this:

1. Reboot into recovery, wipe data.

2. Wipe data, davlik, system, data, and cache.

3. Flash the rom

4. Format data

5. Reboot

Now it is stuck in the loop of lineage os boot animation. Any suggestions?
[Nexus 6 Android Development] flash713:
I happen to come across this thread and just had to poke my head in here real quick and say "hell yeah! ' " Long live the Nexus!! "I always like it when I see a Nexus still getting current rom love. I had all of the Nexus devices.

Those were the days!! 👍
[Nexus 6 Android Development] TatsuMasa:
I used BiTGApps-arm-13.0.0-v1.4_signed.zip. I did dirty flash to lineage-19.1-20220919-UNOFFICIAL-shamu. lineage-20.0 booted without any problem.

MindTheGapps-13.0.0-arm-20221007_211145.zip may be used instead.
[Nexus 6 Android Development] lepi:
Used MindTheGapps 13, thanks
[Nexus 6 Android Development] ardonhs:
Thanks a lot! Great work! 😀
[Nexus 6 Android Development] bccrosby:
the camera is not working, please tell me how to fix it
[Nexus 6 Android Development] ze7zez:
Be patient. Release 20.0 is very early. Take a look at >chengelog<. Work continues, including on the camera.
[Nexus 6 Android Development] rootfan:
Just reboot your phone and then the camera should work fine.
[Nexus 6 Android Development] spiral777:
thank you for android 13 on the nexus 6 :) although the play store cant update apps because it doesnt have a storage permission

for some reason
[Nexus 6 Android Development] dwardo:
@rootfan

Thanks for your work !

I was feeling adventurous this morning so I tried to build with your repos

To do so I've gotten to adding the following lines to my roomservice.xml

<project path="kernel/moto/shamu" remote="github" name="rootfan/android_kernel_moto_shamu" revision="los-20.0" />
<project path="device/moto/shamu" remote="github" name="rootfan/android_device_moto_shamu" revision="los-20.0" />
<project path="vendor/motorola" remote="github" name="TheMuppets/proprietary_vendor_motorola" revision="lineage-18.1" />
<project name="LineageOS/android_hardware_sony_timekeep" path="hardware/sony/timekeep" revision="lineage-18.1" />

but build is failing with

FAILED:
build/make/core/main.mk:1308: warning: device/moto/shamu/lineage_shamu.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
nfc_nci.bcm2079x.default
build/make/core/main.mk:1308: error: Build failed.
12:15:32 ckati failed with: exit status 1

--> What am I missing ?

I noticed you also have a android_frameworks_opt_telephony repo, but I have not used it as your initial post suggests only kernel source and device tree repos are necessary. --> Is it also required ?

Lastly, do you plan on merging the shamu: Kang DRM from angler commit that make NEtflix work again !

Looking forward to testing this on my shamu :)
[Nexus 6 Android Development] TotalChen:
Try to track this in your manifests, maybe it will work.

GitHub - LineageOS/android_hardware_broadcom_nfc

Contribute to LineageOS/android_hardware_broadcom_nfc development by creating an account on GitHub.

github.com

Furthermore，resync @rootfan 's repos for 20.0 branch when he make it up-to-date.
[Nexus 6 Android Development] esysfound:
Can someone kindly confirm GPS works on this build? I have LinOS 20 on another phone (admittedly an ancient Sams. Note 2) and the GPS works but very sluggish. All else works fairly well.

On my Nexus 6, I have the well-cared for LinOS 18.1 and GPS is very quick- the whole ROM is rock solid. I can of course make a recovery copy but just want to know what to expect as this is still my daily driver. Some of the rebooting & charging issues also make me a bit uneasy. I know it is still early days and am only grateful for rootfan's efforts.

What have any of you lab rats (just kidding) experienced so far specifically regarding GPS with this 20 ROM on a nav map system e.g. Organic or Google Maps? Thanks
[Nexus 6 Android Development] dwardo:
That got me to the next issues 😜.

tons of warnings turned to errors (found how to bypass that) as -Werror compile option is set

kernel includes not found by other projects

Seems rootfan's modification's are not up to date or all available on his github. Will check from time to time and see if updates become available.
[Nexus 6 Android Development] esysfound:
Took the plunge as I can quickly and easily revert back to rock solid LOS18 if nec. with TWRP backup. So..

Unlocked phone and SIM card, dirty flashed ROM, BitGaps 1.6, Magisk 24.3s.....

Whole installation, a few reboots, some App checking, took like 10 Min. Dirty flash saves hours of re-confiuring and reinstalling files and apps. YMMV but as I am fully backed up, it was well worth a try.

All seems just fine. Banking apps, travel, cars etc. all good. My Open Camera app, and the built in Camera all sans problems. Even kept some deep Magisk modules. Will have to watch for a few days re GPS, notifications, battery life. It is slightly less smooth than LOS18 but can easily live with it, and it may improve over time. Have asked trusted wingman to also try and monitor.

@rootfan Nice one; hope you'll keep supporting and updating this great work.
[Nexus 6 Android Development] mahir555:
Thank you @rootfan for bringing new up to date life to Shamu . Really amazing to see android 13 on it ! ❤️👍
[Nexus 6 Android Development] dahawthorne:
Just a heads-up. Reporting, not complaining.

I followed @esysfound in dirty flashing my N6, and it looked good, but today I've booted from cold and I'm in a bootloop - the LOS circles have been running for a while with occasional reboots. No problem - (a) I knew dirty flashing isn't reliable and (b) I can restore my OrangeFox 19.1 backup.

Just in case anyone is thinking of trying a dirty flash... :)
[Nexus 6 Android Development] esysfound:
Have to believe something else specific to your phone is involved. Mine dirty-flashed is running perfectly with multiple cold boots and numerous updates since a week, and with 80 odd apps. No reboots, no crashes. Same on another older Note2 LOS 20 dirty flashed phone. I have been very pleased and surprised at how easy it has been, apart from one app (AFwall+) that need reinstalling.

Might also be related to whatever Gapps package/substitute you used? You might play with that; quick dirty flash, then a different packet (I used the BitGapps latest arm). I push my phone hard with tweaks, Magisk modules, kernal managers and it really has been very reliable.
[Nexus 6 Android Development] dahawthorne:
Yes, I can believe that. People say that computers are infallible and always provide the same results, but with so many possible configurations I'm not at all surprised that we have different outcomes. No matter, OrangeFox got me a working device in 5 minutes. Maybe another time I'll try again.
[Nexus 6 Android Development] Julo48:
Hi all,

I installed the Rom and

Hi all,

I installed the Rom together with BiTGApps-arm-13.0.0-v1.4_signed.zip. After Installation I can open the playstore APP, but I can't installiert apps from the playstore!

Greetings Julo48

Hi all, I installed the Rom and BiTGApps-arm-13.0.0-v1.4_signed.zip.

Hi all, I installed the Rom together with BiTGApps-arm-13.0.0-v1.4_signed.zip. After open the playstore APP I can not install apps from the playstore!

Greetings Julo48
[Nexus 6 Android Development] esysfound:
Very dramatic post...like the astronaut in Intersteller, falling through space time dimensions...

Get newest version of BitGapps 1.7 (6 Nov) from Github or here: https://www.pling.com/p/1864360/

Reflash 1st the ROM, then the new BitGapp packet. Wipe Dalvik etc. reboot, see if it's working
[Nexus 6 Android Development] mahir555:
Hi guys, Wana ask if screen mirroring or casting is working on this ROM . I tried to cast to Samsung smart tv but it says no devices found.
[Nexus 6 Android Development] Julo48:
Hi,

I installed the Rom and after that the new BitGapp. All works fine but is it necseescary to install slowly one app after one from the playstore. Thanks all for the new Rom!

Julo48
[Nexus 6 Android Development] Julo48:
Hi all,

the Last rom works fine. Thanks to all developers! Helpfull would be for the next Release ota Update function!
[Nexus 6 Android Development] Gysper:
Just busted out my N6 to try this ROM and it works very well. Probably almost as fluid as LOS 18. Flashed this + MindtheGapps as suggested. Sadly I switched to iPhone as my daily driver but this phone still works pretty well.
[Nexus 6 Android Development] jacomail95:
Upgraded (with some difficulty) from unofficial Lineage 19.1 with clean flash, all is running well and the ROM is already pretty stable, but I found a couple of little bugs:

- Toast notifications are all white without any black font to see their content, when using dark theme.

- I cannot grant access to Android/data folder in internal storage to other applications.
[Nexus 6 Android Development] esysfound:
1. You can tune theme colors in Settings - Wallpaper & Style areas- search interweb first for for "themes in Android 13" if necessary.

2. Not sure if you flashed Magisk or if it installed correctly - I am using v 25.2 without any problems. You need to confirm you have root...
[Nexus 6 Android Development] jacomail95:
I have Magisk, and Solid Explorer in Lineage OS 19.1 simply guided me to the integrated File app, which let me grant the necessary permission. In Lineage 20 the File app greyed out the option to grant permission, so I had to use root to browse the Android/data folder.

Moreover I tried to use every theming settings I found, but toast notifications stay all white. Maybe it's a problem with dark theme.
[Nexus 6 Android Development] esysfound:
Could be see https://issuetracker.google.com/issues/245108402
[Nexus 6 Android Development] jacomail95:
I also found out there's no system/etc/ppp folder and subsequently no ip-up-vpn file. Maybe that is the reason I could not use my Adguard VPN when I installed the ROM (the VPN not starting bug is common in Android 13), but then the VPN started itself after some reboots (even if the system never showed me the prompt to accept the new VPN connection).
[Nexus 6 Android Development] esysfound:
Everyone has their "way". Lots of chatter on Adguard vs e.g. uBlock Origin (I know the difference). I think the latter is slightly more trustworthy. And plenty of VPNs (e.g. Proton) free and available, when needed. Maybe you can test the alternatives. I use these both (and NoScripts, a firewall, and a few other things) and have had no ads, and no problems. Very stable since weeks.
[Nexus 6 Android Development] disiz:
Thanks a lot for this new ROM
[Nexus 6 Android Development] popeysp:
Thank you!
[Nexus 6 Android Development] beeewell:
It's been awhile sinceI I checked out the dev forum and was happy to see that shamu development and support still lives. My phone was running los 15.1 with an older version of twrp.

I flashed the latest twrp version, booted into recovery, wiped caches, data, and system (not internal storage), flashed this ROM and MindTheGapps, wiped caches, and rebooted.

So far, everything is working well, including YouTube and camera. I haven't installed a sim card yet, but I'll try that after installing and testing some more apps.

Great job by all of the responsible devs, and a very big thank you.
[Nexus 6 Android Development] rootfan:
New build 2022-12-17:

Updated with the latest LineageOS changes including the December security update

Kernel eBPF backport. Network traffic monitoring and firewall appear fully functional

Encryption is now technically possible but not enabled because it requires a full data wipe. It's also a bit slow (wip). It can be enabled by modifying the fstab
[Nexus 6 Android Development] esysfound:
Great - thanks for this.
[Nexus 6 Android Development] zhengz:
thanks for your great work, keeping our old device alive
[Nexus 6 Android Development] theiny85:
Great Job 🤟
[Nexus 6 Android Development] spiral777:
Finally got this installed and working 😊definitely needed to format data to get the play store working.. thank you 🤗
[Nexus 6 Android Development] jacomail95:
I found in my old downloaded files from XDA this zip, it contains a replacement mpdecision made from the Leankernel developer to make CPU frequency settings (especially min freq) stick without being arbitrarily changed like mpdecision usually does. I'm testing it in my N6 and it still seems to work. Credits go to Leankernel dev, not me, I'm just sharing.

Before using the file, chmod 0000 from TWRP the original mpdecision file in system/vendor/bin (don't delete it, in case you want to revert the changes) and rename it "mpdecision.bak".

The flashable zip doesn't work any more in newer Android versions because mpdecision is not any more in system/bin, so I manually inserted the file in its actual place and then chmod 755 it (the classic rwxr-xr-x permissions to make it readable and executable), but I'll post the original zip anyway. Maybe it also can be useful to @rootfan for development.

Edit: since I've noticed Kernel Adiutor-based apps in my experience make the automatic switch off/on of the cores stop working, now I switched to another app, an old one called Performance Control (the thread is still here on XDA, thanks to its dev for making a so useful app) and this makes my frequency settings and custom mpdecision coexist flawlessly.
[Nexus 6 Android Development] mahir555:
It is working. Really good rom. Thank you 💓
[Nexus 6 Android Development] ze7zez:
There are very old sources there. Where are the ones you built the kernel/ROM for LineageOS 20 on?
[Nexus 6 Android Development] TotalChen:
Yes, they're too old to compile with the latest lineage-20.0 source. Hoping @rootfan have plans to update the repos.
[Nexus 6 Android Development] jacomail95:
Anyone experiencing wrong date/time after every reboot? The time set I think is the build date because it's always the same, and I have always to connect to internet to synchronize time and it happened also with previous versions of LineageOS and in TWRP. It's a common bug related to read-only RTC and LOS Timekeep, and I can temporarily repair it using a script to set the proper offset (which I have still to update manually), but I'm still searching for a proper fix. It seems I should also have ats files stored in /data/time folder but there's nothing in there. I hope @rootfan can look into this problem

Edit: I don't know how, but somehow bootloader reports a series of zeroes as IMEI in Barcodes section, even if in ROMs everything carrier-related works fine and there's a proper IMEI in About Phone in Settings. Also the date is wrong, it reports the beginning of Unix epoch, 1970, and I don't know how to fix those things
[Nexus 6 Android Development] Luke357:
Anyone having difficulty trying to call other people or receiving calls? When I make an outgoing call it just hangs for a while and when someone calls me it hangs up immediately. Verizon Phone on a Verizon network. Texts and data work just fine though.
[Nexus 6 Android Development] runekock:
I assume you use VoLTE - maybe the VoLTE of the Nexus 6 is just too old for Verizon - does it work with the stock rom?
[Nexus 6 Android Development] RobEKu:
I have SELinux disabled after install, I tried reformmating, nothing. Encryption is also disabled. This isn't good and I'd like to use SELinux. Anyone have an idea how to do it. I don't want to return to 19.1 because it looks like the Android security patches aren't incorporated and I don't want to go official because VoLTE isn't working. Thx.
[Nexus 6 Android Development] runekock:
It's easy enough to turn SELinux from permissive to enforcing, but it's likely to break some functionality on the phone.

SELinux contains a myriad of rules about who is allowed to do what, and if they aren't correct, things won't work. That's quite a lot of work to get right, and the reason that early roms usually run permissive.

The simplest way to get the needed rules is to run permissive and activate every functionality on the phone. Then the rules can be generated from logfiles. But you still need to know SELinux basics. However, if you manage to do it, your work can be included in future roms, to the benefit of all of us.
[Nexus 6 Android Development] olmeca:
WiFi 5G works on this rom? My fone can`t find any 5G networks, 2,4 works fine.
[Nexus 6 Android Development] dahawthorne:
Well, my N6 on this ROM shows that it's connected to 5Ghz, so yes, it does work. I see no specific option for choosing the band.
[Nexus 6 Android Development] RedDevil46:
First of all thank for sharing this ROM!

I just installed the ROM with MindTheGapps by doing a full wipe, and I've noticed that there is a lot of tearing on the task manager during the swipe animation. Is this a common issue to fix?
[Nexus 6 Android Development] jacomail95:
Please try this new open source application to share internet with no root required, that's not made by me so credits go to the developer. I'm asking you to test it because I can't set 5 GHz band in it on my shamu, while 2.4 GHz works fine, and please share if you got it working on your device. On another tablet I can set 5 GHz without issues, so I don't think it's a problem related to the application

GitHub - pyamsoft/tetherfi: TetherFi - Internet sharing without Root

TetherFi - Internet sharing without Root. Contribute to pyamsoft/tetherfi development by creating an account on GitHub.

github.com

Edit: never mind, I switched to VPN Hotspot app, that one requires root and is also featured here on XDA, so in the end I could force the 5 GHz band option manually, but sometimes it works, sometimes not, because this is a problem of the ROM, there's no option to use 5 GHz band only

GitHub - Mygod/VPNHotspot: Share your VPN connection over hotspot or repeater! (root required)

Share your VPN connection over hotspot or repeater! (root required) - Mygod/VPNHotspot

github.com
[Nexus 6 Android Development] mahir555:
Guys did the Google assistant voice commands work for you on this ROM? Mine say "this feature is currently not available on this device"

Am using it with BTGApps .
[Nexus 6 Android Development] jacomail95:
So, I experimented a bit and I tried an old trick often used in Android 2.3 and 4.x to enable GPU-only rendering, thus making user experience very smooth. This file is not found nowadays, to my knowledge, on modern Android versions, but it seems to me it still works when created manually.

It could very well be a placebo effect, but to me, on 2 Snapdragon devices, one of them being my shamu, it seems the overall behavior improved quite a bit.

The file is the egl.cfg found in the past in /system/lib/egl/ or alternatively /vendor/lib/egl/ directories, and the default stock configuration was:

0 0 android

0 1 name_of_the_gpu

(so "adreno" or "mali" or "tegra" or "mtk" or specific model in case of PowerVR GPU, for example "POWERVR_SGX544_116" or "POWERVR_SGX540_120", it depends on which one a device integrates)

CPU rendering was disabled by commenting out or deleting the 1st line, leaving only the GPU to handle the task.

So, I'll post here the simple file but you can easily create it by yourself, it's not rocket science. I am currently using it by placing it in another already installed and working Magisk module after I manually created the necessary folders. Remember, even when installed in /data/adb/modules/"name_of_the_module", the egl.cfg file must have rw-r--r-- permissions.

Try it, and profit if it works for you also (after a reboot), this zip is not flashable nor a Magisk module, but you can extract the file from it with any file manager.
[Nexus 6 Android Development] rootfan:
New build 2023-02-22

Updated with the latest LineageOS changes including the February security update

Adiantum encryption is now ready for use, which performs quite nicely on the old Nexus 6. The steps to enable it are in the OP.

Selinux is enforcing

Added signature spoofing support for microG

Unfortunately, Verizon decided to ban non-vzw Nexus 6's from their network after the 3G shutdown. As such, I can't currently test cell service. Until I get a confirmation that it's working, I'll leave the download link in this post. Also, for those wanting to compile your own builds, I've added instructions to the OP.
[Nexus 6 Android Development] jacomail95:
Carrier seems to work (Iliad in Italy, in my case), but dirty flashing causes all apps to crash when system completes the boot process. Rolling back to previous version for now.
[Nexus 6 Android Development] esysfound:
All fine here, all apps seem functional after dirty TWRP flash of latest Feb 22 ROM. Suggest a reboot a few times.

Then look at your logs. Maybe reinstall whatever xApps package you use, e.g. Bit or Micro etc. But for me it was easy and all seems solid. Rootfan rocks.
[Nexus 6 Android Development] jacomail95:
Performed a clean flash of the updated LOS after rolling back to the previous version to make a proper backup, and then I restored my data using Migrate V4, now all seems running fine, thanks rootfan.

Edit: it seems also the problem of wrong date and time without internet connection fixed itself in ROM and TWRP, I don't really know how, but it happened after the clean flash, the only thing I changed between the two installations was the Gapps package used (before MindTheGapps, after BiTGApps, due to its lesser weight in MB). Maybe rootfan applied some kind of fix in the ROM and TWRP followed the change.

Bootloader still shows obviously the zeroes as IMEI and 1970 as date, since it doesn't depend on ROM data or settings, but fixing that is beyond my knowledge.
[Nexus 6 Android Development] dwardo:
@rootfan anychance you looked at TWRP to get decryption working ?