Search results

  1. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Hmm, to be honest I didn't really pay attention to whether it turned off with the camera. If it's doing it now (I didn't specifically program it to turn off with the camera), then unfortunately thats probably not possible. The app works by literally talking directly to the kernel. If the...
  2. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    If you can get to a root terminal would you mind running the below command and posting the output? ls /sys/class/leds/lp5523:channel0/device Razer made some patches to the kernel driver for the LED chip which this app depends on. If the patches aren't in the kernel some sysfs nodes, in...
  3. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    It is indeed not Tasker specific. Automate for example supports it, though I'm not sure of the payment model of that app. Basically any app that claims "Tasker/Locale" plugin support should be able to use it.
  4. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    That could actually be achieved through the Tasker automation by setting brightness to zero between those hours.
  5. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Maybe not your fault lol. So you dont actually need to have the visualizer switch toggled on in the main UI to use the visualizer. This only activates the automatic state changing, which works based on playback detection. Tasker can still activate the visualizer provided the audio record...
  6. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    New version! Following up on one of the easier feature requests I've had, here is a new version! (I'm so booooorrrrredd) v1.0.13 Added ability to control visualizer state from automation plugin! (Tasker, Locale) You may wish to disable the toggle for automatic visualization state control in the...
  7. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    I did manage to add the custom effects feature before my device had issues. It's not... err, easy, but you don't need to understand the app's code as a whole to add new passive effects. I wanted to create some kind of repository of effects at one point.
  8. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Systemizing is optional you should only need to disable battery optimization. To get notifications to work you need to enable the notification listener. I don't have the phone with me to check the exact setting but it will be something like "Special access" permissions in the app settings menu...
  9. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    New version! v1.0.12 Now asks for recording permissions! Also BitDefender didn't mark it as malicious! I have literally no idea! EDIT: DAMMIT IT MARKED IT AGAIN
  10. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    I put the app through VirusTotal and even BitDefender there did't flag it. I tested BitDefender Mobile myself and it does indeed detect it as malicious. Very slight modifications to the code make it not detected. Interesting. Seems to just be unlucky...
  11. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    That sounds like it may have something to do with root access. The compiled app posted is compiled directly from the source in the repo with no modifications, there should be no malware unless github is injecting it, which I seriously doubt. I'm not entirely sure what bitdefender is seeing...
  12. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Hmm that would suggest a service crash or pause. Do you have battery optimisation disabled for Logo+? Checking the logcat for errors might also reveal what happened.
  13. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    New release! v1.0.11 - Music Visualizer! Toggle the visualizer switch in the drawer and then play some music! Side note: I'm pretty sure this is bad for the LEDs. Use sparingly :P Please manually grant the RECORD_AUDIO permission in the app settings for now! I might have gotten a bit excited to...
  14. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Yes, that was actually one of the project's goals :D The requirements are only root and a kernel with Razer's LED patches. Arter's kernel had the necessary changes the last time I checked.
  15. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Yes, albeit with the fingerprint scanner disabled. Following advice on the web I'm able to revive the scanner but it dies again soon after and takes the Android zygote with it (Android reasonably assumes that the scanner can't disappear once it's been set up and freaks out when it does). This...
  16. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    New update! Changelog: - Limit of 6 apps on LEDs at once has been reduced to 4 in order to generate higher quality microcode, as there was an issue with timing before which could make it unclear what color the logo is flashing - Now uses E164 format phone numbers internally for comparison. This...
  17. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Hey guys, So bad news, due to what I assume is Razer's legendary quality control, the fingerprint scanner on my device is finally dead (I've been having issues for a while now, as it crashes Android when it disconnects, and trying to figure out why has taken up much of the free time I've spent...
  18. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Yes thats intentional for now. The generated microcode didnt really react well to it since the led controller counts time in cycles and... well... it sort of just desyncs after a while if the time is not a perfect multiple of... well I never really found out. Didnt really think of any good ways...
  19. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Are both the "Call log" and "Telephone" permissions still granted? If not I'll need to look at it.
  20. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    The code was removed in this commit. https://github.com/CurtisMJ/LogoPlus/commit/9aab72ebed7725a4c63ea73dabf2b8b1267a4b57 I'll try reinstate it maybe for those that can make the app a system app e.g. with Magisk. Need to program the app detection though as it's just an on-off switch in this code
  21. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Sorry for lack of updates guys, personal life takes priority. Might get some code done this weekend
  22. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Dropped for now as it requires system app privileges. It's weirdly hard to get them even with root. If I figure out a way to run in system context I actually already have the visualiser code ready
  23. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    Ah, that would be because I did not develop such a function... Seems notification listeners might have different rules. I'll add that to the list of fixes I need to do
  24. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    New version released! Now has support for custom effects!!! I've added some details in the second post of this thread. This mostly links to my Chroma research thread. Adding effects is a bit involved at the moment but I'm still thinking of ways to make it a bit easier
  25. CurtisMJ

    Post Question: What networking chipset does the RP2 use?

    It uses the qcacld3 oss drivers. I'm not sure if that tells you anything. Any specific command to run which reveals it?
  26. CurtisMJ

    Post ROOT with PIE Guide

    For future reference, this means the kernel failed to load the vendor kernel modules, among which is audio and WiFi functionality. Modules are signed, so this probably means you used the wrong stock image for your respective firmware. It would be useful to know your model (unlocked, carrier) and...
  27. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    I might try to update the GitHub readme with a more detailed description of how it works when I get home. I had a thread in the mods section explaining the technical details of the LEDs. For now, you wouldn't find any resources associated with the effects in the APK as the LED controller uses...
  28. CurtisMJ

    Post Fix bluetooth audio & APTX in Treble-GSI

    Ok, so the following prop change is needed: persist.vendor.bt.a2dp_offload_cap=sbc-aac-ldac I can't seem to find the other one I changed, I suspect it didn't exist. I'll try to get back to my scripts tommorow to check. There are various ways to change props. I think there's a Magisk module to...
  29. CurtisMJ

    Post Fix bluetooth audio & APTX in Treble-GSI

    I had tried before posting actually sorry, so I can confirm LDAC works fine. I remember there was more than one prop though. I'll try find the ones I changed...
  30. CurtisMJ

    Post Fix bluetooth audio & APTX in Treble-GSI

    Not AptX, but apparently LDAC just works on the stock ROM simply by adding it to the offload prop. It's supposedly just part of a standard Android build now, but needs a certification process for the OEM to be allowed to turn it on.
  31. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    I'll ignore the "posting in the completely wrong section of the forum" apsect of this for now. Razer has some official instructions here: https://developer.razer.com/razer-phone-dev-tools/general-instructions This is for flashing factory images, but unlocking the bootloader is one of the steps...
  32. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    New version v1.0.8 released! Now includes a charging animation!
  33. CurtisMJ

    Post Fix bluetooth audio & APTX in Treble-GSI

    Hmm. If I remember right stock needs aptx libs to work. I tried that at one point and it actually connected, but only succeeded in making my ears bleed with a horrible static screeching when trying to play audio. Maybe both the libs and this thread are required...
  34. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    That was the first idea I had but it got met with some variety of "This is not a modifiable permission" when I tried to grant it, or something to that effect. In this case it wasn't the secure settings permission but one Razer actually added. I could look into this stuff again but I make no...
  35. CurtisMJ

    Post [ROOT][APP] Logo+ - OSS Implementation of Lighting Effects for Razer Phone 2

    The stock Chroma app actually needs to be disabled in order for the app to work yes (it still sends the command to power down the lights even if it's off) I tried being clever with pocket mode (emphasis on "tried"). It only actually disables the lights if the proximity sensor is covered, there...
  36. CurtisMJ

    Post Fix bluetooth audio & APTX in Treble-GSI

    There are kernel protections in stock that disable modification of the vendor partition. Arter97's kernel has these disabled but I strongly recommend NOT modifying the vendor partition(it pisses off the bootloader). Learning how to make a custom Magisk module would be a better option here...
  37. CurtisMJ

    Post [KERNEL][G800F][exynos][G800FXXU1*][TW Only][MM Only]Custom Kernel

    Yep. Of course you'd just need to clone the source repo for this kernel instead getting it from Samsung
  38. CurtisMJ

    Post [KERNEL][G800F][exynos][G800FXXU1*][TW Only][MM Only]Custom Kernel

    Hi there. As per post #3 OTG is unfortunately off by default. I don't know where I've put my device at this point in time so I can't test a build with it enabled by default... You might want to try compiling a build yourself and testing? The relevant commit is here...
  39. CurtisMJ

    Post Heat

    They're different options so neither takes preference over the other. The profile in the Dev options controls how early the device will start thermal throttling while the game booster app controls actual CPU clock speed.
  40. CurtisMJ

    Post Root & TWRP!

    Hey guys, here's a quick explanation on the PowerShell .\ stuff In Windows (and even Linux) there's an environment variable called PATH which is a list of directories. When you type a command in the shell, the directories in PATH are checked for an executable of that name. In that case, the...
  41. CurtisMJ

    Post Razer Phone 2 Audio Source Now Available + Developer Feedback Request

    Dev feedback request. In the WiFi source, some of the CAF repos needed to build the driver are missing? I mean it seems to work just fine if I check them out myself on the ROMs CAF tag, but it would be nicer to get them directly from Razer(the WiFi sources did seem to have slight changes from...
  42. CurtisMJ

    Post [WIP!][KERNEL] Razer Phone 2 Kernel (+exfat module, TWRP device tree, and more!)

    Hehe. I was indeed trying to update to latest 4.9, so yeah. Possibly a useless exercise but I'm having fun (sort of). The kernel modules are installed by an rc file in the vendor partition. I figured out a way to mod the ramdisk to bind mount newer modules Magisk style, just need to get it to do...
  43. CurtisMJ

    Post Root Magisk Pie For Unlocked Devices MR0 and MR1

    Hmm. Same as the others. Seems like that for everybody. Thanks guys! For those interested, I think Razer may not have added some exceptions for some Pie stuff into their security policy and now the system is blocking itself and wasting some CPU cycles on security audits. SELinux is stupidly...
  44. CurtisMJ

    Post Root Magisk Pie For Unlocked Devices MR0 and MR1

    That's perfect thanks. Seems to not just be me It looks like Razer messed up a bit on the Pie security policies. Lots of denials with minimal ROM changes...
  45. CurtisMJ

    Post Root Magisk Pie For Unlocked Devices MR0 and MR1

    Can somebody do me a favour and run the following command on a rooted Pie MR1 and tell me if there's a lot of lines in the resulting file? Preferably a device that doesn't have the "device is corrupted" bootloader splash I managed to get on mine. cat /proc/kmsg | grep denied > /sdcard/kmsg.log...
  46. CurtisMJ

    Post [WIP!][KERNEL] Razer Phone 2 Kernel (+exfat module, TWRP device tree, and more!)

    Custom kernel. So far I've figured out trying to modify the vendor partition is an absolute nightmare. I might just have a jerry-rigged magiskinit in the ramdisk to bind mount something from the ramdisk over it before they're modprobed, but we definitely need new modules. Disabling symbol...
  47. CurtisMJ

    Post [WIP!][KERNEL] Razer Phone 2 Kernel (+exfat module, TWRP device tree, and more!)

    Could be. I'm using the same defconfig as I did for an older build and sound worked though. I'll double check. I'm thinking maybe its the kernel headers used by the techpack, could result in slight differences in the final module with bad enough luck? I'll see. Edit: maybe I'll just compile...
  48. CurtisMJ

    Post [WIP!][KERNEL] Razer Phone 2 Kernel (+exfat module, TWRP device tree, and more!)

    I've also tried to start upstreaming the kernel if you're interested. https://github.com/CurtisMJ/cheryl2_custom_kernel Audio and WiFi immediately stop working citing mismatch of symbol in the log so modules need to be replaced on the vendor partition. I need to figure out how to compile that...