yashsingh1/xdaforums huggingface dataset:
[Lenovo Phab Plus] rcky844:
[B]/* Disclaimer
* 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 blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/[/B]

TeamHorizon's XenonHD rom builds for Lenovo PHAB Plus (PB1770M)

[url]http://www.xenonhd.com/[/URL]

XenonHD is a custom firmware aka ROM for various Android devices. It is based on LineageOS 16.0 with additional features, performance and battery life improvements.

The idea behind XenonHD is to give users a ROM that is "blazing fast, rock stable and buttery smooth".

Download Links:

ROM: Unofficial

Gapps: Open GApps | MindTheGapps, MindTheGapps Mirror

Only Pico/Nano are the recommended Open GApps packages

Please check Open GApps Package Comparison for full details

Other Links:

Github

Google+

Telegram

​

Flashing Instructions:

You need to flash manually via recovery.

Clean Flash

• Downloaded the new rom build to your phone using the direct link

• Reboot to recovery

• Take full backup in twrp

• Wipe (system, data, cache, dalvik)

• Flash the new build

• Install GApps package

• Reboot - The first boot can take up to 5 minutes

Dirty Flash

• Downloaded the new rom build to your phone using direct link

• Disable Magisk modules if you're using any

• Reboot to recovery

• Take full backup in twrp

• Wipe (system, cache, dalvik)

• Flash the new build

• Reboot

What's working:

• Audio

• Bluetooth

• Charging/Offline-charging (sortof)

• Cast

• GPS

• Hotspot/Tethering

• Sensors (sortof)

Known issues:

Same as LineageOS 16.0

Notes:

• Join, Telegram Group for support

Device Source:

• Kernel Source

• Device Source

• Vendor Source
[Lenovo Phab Plus] mirzamdzadid18:
Beginner guide to flashing rom

Hi tipzteam I am completly new ragarding flashing roms, kernel, gapps etc. Can you plz guide me step by step how to flash this rom perfectly without ignoring small things. I have a question that is xenon hd is bugfree unlike lineage os 16 that you posted earilier....
[Lenovo Phab Plus] mirzamdzadid18:
GAPP installation problem.

Hi tipzteam some how I managed to learn installation of custom rom . There was no problem until I prompt to install gaaps. During installation of rom I had not in uncheck reboot option that's why it booted to xenon rom

After that I was immediately restart phone and went into recovery mood and try to flash gaap a64_9 super but it didn't installed and displayed an error message like" updater process ended with error" . Please tell me how to fix it bro.
[Lenovo Phab Plus] mirzamdzadid18:
Camera is black out

Hi Tipzteam after lots of search I have found way to flash custom rom and gaaps by tools and guide you provided. Many many thanks for that . Now only one thing that is lack in my Phab and that is camera , camera is full black out I tried installing Google camera from play store but it not working...

---------- Post added at 05:20 AM ---------- Previous post was at 05:05 AM ----------

Hi Tipzteam after lots of search I have found way to flash custom rom and gaaps by tools and guide you provided. Many many thanks for that . Now only one thing that is lack in my Phab and that is camera , camera is full black out I tried installing Google camera from play store but it not working...
[Lenovo Phab Plus] rcky844:
I never said camera was working. Also, what's the model number of your Lenovo PHAB Plus?
[Lenovo Phab Plus] mirzamdzadid18:
Model number of my phone

Model number of my phone is pb1 770m...
[Android Q&A, Help & Troubleshooting] eivan87:
Hello

I want to return my S8 it from the factory without root

somebody can support me with the firmware of the S8 SM-G950FD Duos PRODUCT CODE: SM-G950FZKDECT, PDA SM-G95XXU9DTF1 CON ANDROID 9 PIE open line without carrier FOR MEXICO... I had installed the firmware from South America free carrier line that is on sammobile.com but I can't make it work for samsung pay, konx, pass, healt and an application from my bank ...

before I had another firmware from when I bought it and everything worked fine.

Besides, the firmware of South America open line has bootanimation, it is from movistar with its recommended apps and I don't want it that way ... I need the original firmware of the samsung s8 with out carriers please!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] GivFNZ:
Nice job, thanks a lot for your working on it ;)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] ARJNMRLON:
Thanks Jarl for keeping montana alive!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Rush:
:good:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
New build is up. Check OP for changelog. Downloads as always are in the OP, but you may update via the Updater app if you wish. Happy flashing! :fingers-crossed:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Just flashed it, working very fine, thanks a lot.

A minor bug I can't explain : some of the menus stay in English even if I select another language.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] janinetavs:
Will moto actions be add?

Everything else working fine
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] janinetavs:
Random color inversion. Flashed last build
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rakion99:
does this and lineage os 16 need something apart from oreo firmware? because i tried both with all twrp versions available and when rebooting after flashing zip it just always send me to the bootloader.

i have model xt1790

before i was on carbon rom and was working fine so i dont know what is wrong here, also tried lineage os from AsD Monio and works fine just the initial setup a bit buggy

recovery log: https://pastebin.com/Y0GjaHtZ

logcat right after reboting to recovery after wiping all then flashing this rom: https://pastebin.com/mvVQ12Zb
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Settings > System > Advanced

v1.2? Nobody has experienced random color inversion for that one.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
No, but please make sure to use the latest TWRP version. You must also format data (not wipe). Also, recovery logs won't help due to them only showing what's happening in the recovery.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Just flashed v1.2 working also fine 😀

One question though : on the Moto Camera v6.2 app the HDR option is no more visible (it was on latest Pie builds).

Edit : persistent even when installing via the Moto Camera Thread tutorial
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rakion99:
rn im on latest 3.4.0-1 and i tried both format and wipe, dirty flashing from the other los 17.1 and other rom just to test but all end in always booting to bootloader menu its weird never happened something similar and only happen with your lineageos 16 and 17.1 roms
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Do you have full Oreo firmware installed? Also can't do anything without logs
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
It's because we use HAL3 now. Certain functions won't work because we use deen blobs instead of stock camera blobs
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Rush:
They already are?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Yes they are, you have to look in the right menu :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rakion99:
i didn't remember but looks like i got a old one or a fix fingerprint zip most probably, took me a day to find a working link to full 8.1 and after 2 updates from ota i got M8937_37.13.03.75R baseband and now worked perfectly your rom thank you for keeping alive our moto g5s
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
1. Isn't possible

2. 10% battery drain overnight is normal in my experience.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pavl0v:
I see. In that case I will just use internal storage. Thanks for your reply and this awesome ROM. Great work!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Luccas.Yeager:
My cellphone is the arm 2gb ram
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Hi all, in case you're wondering why there has been a lack of builds last month and this month, this is because we are awaiting official status, so if you could be understanding I'd appreciate it a lot!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] InTheCage:
Thank you (all involved) for the work, running smooth like butter. Happy

Could it be that the sound driver is different compared to stock? Sounds more tinny, mayeb I am imagining but it used to sound warmer. Played with sound settings but still.. dunno. Edit disabled audioFx, think its normal now. ( perhaps placebo effect ;) )

About audioFx I am unable to adjust custom settings, even when i create new custom profile, cant slide frequencie sliders.

Edit: Got some trouble with ctsProfile (majisk) ive tried a couple of modules but cant pass safetynet. Tried Majiskhide props config and Didgeridoohan's zip. I am now messing things up i guess. If i ask in wrong section, pardon me. But ask here because ya'll running this or have been running this rom.

I'm gonna try this a bit later on unless someone has a simpler idea.

I noticed that i didnt have 4g as well, toggling in settings no difference but strangly toggling on off in pulldown menu made it work for me.

Strangely the same with GPS in normal menu toggling no work but in pulldown menu (notifications) work. Coincidence?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Just to share some input with the recent post about battery decrease during night.

I'm used to loosing 10 % when my phone is iddling with the radio all night, but when I put it on airplane mode I expect a slightly smaller drain.

I can't figure when and why, but it has been a couple of builds where the airplane mode doesn't seem to have a real impact.

And it is random. Sometimes I get almost a flat discharge rate, sometimes it's as if LTE was iddling all night long.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] YoShake:
Disable all possible connectivity including wifi, BT, location.

Dunno how it would behave with enabled mobile data plan, but recently I lost around 1-2% during night.

But I also enabled live display and night mode.

I'm thinking about installing tasker so it could automatically disable all connectivity during night and enable them in the morning.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Everything is disabled on my phone, and I'm in battery saving mode :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pavl0v:
From the very beginning I was using exactly the same settings except active network connection (mobile data disabled) and I was still experiencing around 10% drain. I think I will reinstall this ROM again to double check it.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
First official build is up at https://download.lineageos.org/montana. Clean flash will be required when switching (because Lineage signs their ROMs with their own keys).
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] brajesh.sharma87:
Thanks for the rom buddy. I use it on my home phone and all works fine except 4g. Not a problem particularly with this rom but in general all other roms. Since this is not my primary phone, could you please help me out restoring 4G and eventually volte and vowifi. Flashing the stock rom removes even the imei, and flashing a custom rom brings back imei and 4G is lost.

Unfortunately, I do not have any efs or persist back up with me.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Unfortunately without it you can't restore 4G/VoLTE.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] brajesh.sharma87:
Can someone else with back up help me restore it without any loss to him?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Nope, it'll copy their IMEI to your device (which is illegal)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] brajesh.sharma87:
looks like i'll have to live with 3g only. Any ways, nice work keeping the device alive.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
I see on the LOS deposit that there is a recovery image also, is it different from latest TWRP ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
Hi I'm interested in moving from the unofficial to the official but I am unsure whether I should use the latest TWRP or the Lineage recovery? thanks!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
You should use TWRP as per the instructions on the LineageOS wiki.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
ok thanks!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
Everything is up and running on official now - thanks and congratulations to you Jarl-Penguin and others who helped, for this huge achievement of going official!

One quick question- it seems to me that at some time in the past I was able to disable the vibration that comes with the "chop chop" flashlight gesture, probably using this technique: https://xdaforums.com/t/disable-moto-gestures-vibration-without-root.3742543/ But now I can't figure out which package is responsible for that vibration - i tried com.motorola.moto and com.motorola.actions and they didn't seem to work - and neither did i find anything in the app inspector that looked likely. Is this still possible and if so, which package should it be applied to? Thanks again!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
On my XT1794 I cannot flash the LOS recovery, I get a size exceeds partition limit error...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] FelipezTy:
Could you help me, what do I need to flash los 17.1 on my moto g5s xt1799-2?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Don't bother, I installed with TWRP like a charm
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Battery drain in airplane mode is gone with official build, nice !
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
My mistake... still randomy working...

It worked perfectly after flashing, but didn't after a full charge.

Jarl any idea on this one ?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
The package name for Moto Actions is org.lineageos.settings.device, hope that helps!

No, but we're looking into it. At the moment we don't have an estimated date for the fix.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
That did the trick, many thanks!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] newinnov:
Thanks alot Jarl. official build is working way better than stock ever did.

I just wish motorola would not have cheaped out on battery. My old sony have better SOT with similar capacity.

@JarlPenguin you sir, are a one man army :cowboy:
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
With my XT1799-2, and coming off of Lineage 15.1, my phone boots to the new ROM, but only as far as the start up animation, and it just sits there like a continuous first boot up. 15.1 worked fine, minus the front camera problem that the XT1799-2 had. Any suggestions?

And which GApps package would I use? Tried arm64 8.1 nano and it wouldnt install with TWRP. Thanks.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Instructions on the wiki should work. Please make sure to be on Oreo firmware. And GApps version is arm64 10 nano/pico
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rpcll:
Finally updated to Andorid 10 and everything i've tested so far works great. Thanks for your effort!

A couple things: Is the cLock widget gone for good? Would an .apk from 16.0 not work anymore?

My Security patch status in Privacy>Trust shows Vendor as "out of date" (platform is up to date) Is this normal? I dont remember if i updated all firmwares to oreo back, is there anywhere to check?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Clock widget? Moto's?

Vendor security patch out of date is normal. Last stock update was from 2019
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rpcll:
clock widget on lineage 16 had support for weather and calendar. new version is just a clock
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
That's gone from 17.1
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
I am on Lineage 15.1 so I assume I am on Oreo....would that be correct? And could you point me to the Wiki? I cant seem to find it! Thanks a bunch. At the moment , after awhile of booting on the new ROM, it just goes back to TWRP. Not adept at Motorola. Much different than years ago on Samsung.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
If you came from stock Oreo firmware you have Oreo firmware. Firmware in this case means modem/dsp/fsg partition.

wiki is https://wiki.lineageos.org
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
Originally it was on stock 7.1 then I flashed Lineage 15.1.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
Thanks for your help. unfortunately that wiki seems to be above my paygrade. :)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Oh, you should flash 8.1 first. If you want I can help with that
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
With my XT1799-2, and coming off of Lineage 15.1, my phone boots to the new ROM, but only as far as the start up animation, and it just sits there like a continuous first boot up. 15.1 worked fine, minus the front camera problem that the XT1799-2 had. Any suggestions?

And which GApps package would I use? Tried arm64 8.1 nano and it wouldnt install with TWRP. Thanks.

That would be very nice of you. I thought because I had 15.1 I had Oreo/8.1. The Motorolas are not user friendly....at least not like the Samsungs of years ago.

And imagine....I have a 2nd XT1799-2 that is bricked. It gives the Your device has been unlocked...blah blah and will only go to fast boot. Not recovery.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
Weird problem cropped up - I had been using double SIM but took out SIM2 and put in an SD card. SD card was working fine for most things but i noticed when wifi syncing to it in mediamonkey, it would work ok until the screen timer ran out and the phone went to screen lock - as soon as it went to screen lock the phone crashed and the SD card corrupted. Tested and found exact same thing happened with OpenCamera if it was recording to the SD card. Worked fine unless the screen locked (in this case because i pushed to power button to test it) while recording to the SD card. If writing to the SD card when the screen lock comes on, crashes the system back to a reboot from the "your device is unlocked and can't be trusted" screen.

Any idea what could be the cause? I tried disabling battery optimization for mediamonkey but this didn't make a difference.

Thanks for any suggestions!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Download latest stock zip from https://mirrors.lolinet.com/firmware/moto/montana/official/RETAIL

Download fastboot and install to $PATH if needed

Unzip zip

Put phone into fastboot mode and connect to PC

Open cmd in unzipped firmware folder

Then

fastboot flash dsp adspdso.bin
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash bootloader bootloader.img
fastboot flash gpt gpt.bin

Make sure to backup persist and EFS in latest TWRP before flashing any ROMs.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
I am going to show my ignorance here....would I download 7.1.1 or 8.1? I dont want to brick another one.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
And, this cant be installed via TWRP, correct? Only fastboot?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
8.1

It can but I don't know how. Fastboot is heavily recommended.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
..just to add that I tried also disabling batter optimisation for "External Storage", but still didn't prevent the failure and reboot when the lock screen kicked in...
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
Do you mind sending me the /sys/fs/pstore/console-ramoops file after you experience the crash (after the crash reboot)?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
Hi thanks is there a way to do this without root? (adb denies access permission)
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
Do I download 7.1 or 8.1?
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] YoShake:
enable debugging as root in developers options, and then follow adb commands with root permissions using:

adb root
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
As I said, 8.1
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] mattdpollard:
great thanks done & sent.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] rpcll:
Any way to reset or re-initialize GPS? I can see the satellites with GPSTest and SatStat but I can't get a fix.

I tried (from the latest 8.1):

fastboot flash dsp adspdso.bin
fastboot flash fsg fsg.mbn
fastboot flash modem NON-HLOS.bin
fastboot flash bootloader bootloader.img
fastboot flash gpt gpt.bin

And also

fastboot erase modemst1
fastboot erase modemst2

but that just deletes my IMEI and kills my cellular signal. I have twrp backups of everything

EDIT: I fixed it by installing stock, then this rom, and then restoring my system and vendor images from before.

Erasing modemst still nukes my IMEI though.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] iarapilot:
Thanks. I missed that!
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] pavl0v:
Hello Jarl. I have already installed official build and I can say that it is way better than the previous one. I can confirm that previously mentioned battery drain is no longer a problem. I have just switched my phone to the energy saving mode (but not to the last most 'extreme' option) and observed that now I am loosing only 5% during the night. In addition after messing around with Smart-Pack Kernel Manager I was able to progress even to 3% or less.

I have only one question - recently I have observed that YouTube videos are laggy (frame after frame) and that there is no sound except silent 'buzz' noise in the speakers.I have read that this is a common problem in LineageOS based ROMs. Theoretically it is possible to resolve it by editing buildprop but unfortunately in my case responsible parameter: audio.deep_buffer.media is not present on the list. Phone calls and ringtones are fine - it is applicableonly to YT. Do you know maybe how to resolve it? Thx in advance for any clue.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] JarlPenguin:
If you could give me logs that'd be helpful.
[Moto G5S  ROMs, Kernels, Recoveries, & Other Devel] Dan Mornill:
Lucky you, but I'm curious to see if it still works after a full cycle of battery.

'cause on my XT1794, it worked well after fresh install, and broke again after a battery cycle.