yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 Questions & Answers] itmasen1:
Finally we went something else, such as the custom rom for at least improving the quality of the photo botched by the loss of drm keys. Omnirom gave a little improvement for the focus of the cam for xa2 plus.

Thanks to the help of our friend Scanno my phone has changed his fluidity.
[Windows Mobile Development and Hacking General] chris.wilcox:
Hello All,

I decided to start a my own thread for this script because I had an update for it. :)

I wrote this script some time ago and I've been using it for a while now. I thought I was the only one who wanted random gifs, guess not :D

Below is a MortScript I wrote, it will choose a random file in a directory of your choosing and set it to the S2U2 background every 2 hours.

Installation:

Download the attachment and extract the S2U2_Wallpaper.mscr file and copy it to your device in your \My Documents\ folder.

Then just run it and it will do the rest.

(*) It puts its next run in the "Notification Queue", so it should remain there even after a Soft-Reset. It does on my device anyways. MortScript is great!

Customization:

To change the directory: edit Line 7

To change how often you want the images changed: edit Line 9

Make sure you copy this to your My Documents folder on the device mem and run it. Then it'll change randomly for you.

Currently I have it set up to choose gifs and jpegs, but you can change that in Line 7, in theory

Enjoy and pass it on to others!

- chis

UPDATE:

I noticed that if my script runs to change the wallpaper for S2U2 AND I have S2P running, both programs freak out. So, I added a check to "postpone" the wallpaper change if S2P is runnng.
[Windows Mobile Development and Hacking General] salahnajm:
Thanks!! I've been looking for this my whole life !! (well actually when I started using S2U):)
[Windows Mobile Development and Hacking General] chris.wilcox:
You're welcome, buddy! Enjoy! :)
[Windows Mobile Development and Hacking General] godson408:
need help with s2u2 walkpaper

hey, i know this thread is kinda old but if some can help program my s2u2 to randomly change my wallpaper that would great...
[Windows Mobile Development and Hacking General] chris.wilcox:
Just copy the zip attachment and extract the file inside to your device in the "My Documents" folder and run it. Thats all :)

@All - I uploaded the file here, the upload issue on the forum looks to be resolved! Yay!
[Windows Mobile Development and Hacking General] salahnajm:
Hey I've been using it for a while; sometimes it works smts it gives an error (see image below). I tried reproducing the problem but it seems to be VERY random. :( ... sometimes it goes through 3-4 cycles max and changes the wallpaper and then gives the error, sometimes after attempting first cycle it gives the error.

I have a t-mo Wing running WM6 , any suggestions?

thanks
[Windows Mobile Development and Hacking General] chris.wilcox:
Error should be fixed

Hi salahnajm,

I've uploaded a new script with hopefully a fix. I changed with way the script is inserted into the notification queue to run.

Let me know if this helps. Thanks for the report! :)
[Windows Mobile Development and Hacking General] chris.wilcox:
Hmm, I'm sorry this error occurs. I havent seen it on my device (also a Wing WM6). I tried changing the way its inserted into the Notification Queue, but that was having a problem and it wasn't loading right. I changed it back to the original way it was working and I'm going to work on this issue and see if it happens to me.
[Windows Mobile Development and Hacking General] godson408:
hey chris.wilcox..i dont think your zip work is there another link..thank
[Windows Mobile Development and Hacking General] salahnajm:
any news?

thanks
[Windows Mobile Development and Hacking General] chris.wilcox:
I just tried to download it and it worked just fine. Is anyone else having that problem? I'll reupload it just to be safe.
[Windows Mobile Development and Hacking General] chris.wilcox:
How often do you have it changing your wallpaper? I have mine set to every 4 hours, i ran it for about a day with it changing every 30 min, I've never seen that error. do you have the latest MortScript? I'm running v4.1. Do you have MortScript installed to your device memory?
[Windows Mobile Development and Hacking General] salahnajm:
yes I have mortscript version 4.1 on my device memmory. is there a way to know if and which script is running? ill try it again and see if it works and what happens (i have a feeling im clicking on the script several times, could that b the reason?)
[Windows Mobile Development and Hacking General] godson408:
i tired downloading it and it said that it a wrong file... it said i have to run it first sorry man..for the inconvenienced..if you can have a mirror of different link it would awesome thank
[Windows Mobile Development and Hacking General] chris.wilcox:
That could definitely be the problem. The script could take a while to run depending on the number of files in the folder you have. the script runs in the background and doesn't have any notifications pop up cause its supposed to change the wallpaper by itself.

You could check if its running by making another quick script with:

If(ScriptProcExists("S2Us_Wallpaper.mscr" eq TRUE)
Message("Script its running")
EndIf
[Windows Mobile Development and Hacking General] chris.wilcox:
I just tried it again and it seems to be working fine. Can you download other files in this forum? I don't have any places to mirror the file.
[Windows Mobile Development and Hacking General] godson408:
yo chirs...maybe a dumb question..on the zip is there this description on that file...there nothing on the zip but this page...is that it or is there like some thing i can download...like a mortscript ... i really new to this...i have the slide 2unlock pro...it work find like it better then the A_C s2u2...

# MortScript by chis to

# randomly choose a wallpaper for S2U2

# from the a folder

Removenotifications("\My Documents\S2U2_Wallpaper.mscr")

Path = "\Storage Card\My Documents\pics\*"

#time to wait in minutes

ChangeTime = 240

If(ProcExists("s2p.exe") eq False)

i=1

ForEach picturefile in files {Path}

array=picturefile

i=i+1

EndForEach

n=MaxIndex(array)

x=timestamp()

tp=substr(x,9,2)

z=substr(tp,2,1) & substr(tp,1,1)

r=z*n/100

y=part (r,".",1)+1

randompic = array[y]

x=timestamp()

tp=substr(x,9,2)

z=substr(tp,2,1)

r=z*n/100

y=part (r,".",1)+1

randompicL = array[y]

RegWriteString("HKCU", "\Software\A_C\S2U2\", "Wallpaper", randompic)

RegWriteString("HKCU", "\Software\A_C\S2U2\", "WallpaperL", randompicL)

Run("\Program Files\S2U2\iLock2.exe","-refresh")

#Message(randompic&"^NL^^NL^"&randompicL)

#Wait for at time with a few extra seconds for next randomization

RunAt(timestamp() + 60*ChangeTime + y,"\My Documents\S2U2_Wallpaper.mscr")

Else

RunAt(timestamp() + 60*ChangeTime + y,"\My Documents\S2U2_Wallpaper.mscr")

EndIf

Exit
[Windows Mobile Development and Hacking General] chris.wilcox:
The MSCR file that you opened and copied the code from is the MortScript. You have to have MortScript installed in order for it to run, though it won't help you much, its designed to work for S2U2 by A_C, not the other one.
[Windows Mobile Development and Hacking General] EValP:
Could anyone tell me if a script like this one could work for changing the wallpaper of the home screen as well? I am new to the MortScript world but it seems like it would just need a few adjustments to the code but I can't get it to work.

Any help?
[Windows Mobile Development and Hacking General] razzyan:
Installation error ..MortScript to change the S2U gif Picture

hi frnds...can u help me out ...

Ihv got Atom Life Wm6 ....installed mortscript 4.1.

copied the file s2u2_Wallpaper.mscr to my documents ....

then as clicked the file ..an error came ..up .....cudnt understand...

.. ihv attached the error ...pls ..let me ....

ii realy need tis utility .....am waitin

tc
[Windows Mobile Development and Hacking General] chris.wilcox:
Hey, sorry for your issue here. I think you need to set your directory in the .mscr file. It this on your computer with your favorite text editor. The line to edit is in the beginning of file. Make sure you include the *.*

hope that helps.

C
[Windows Mobile Development and Hacking General] razzyan:
tnx chris

hey tnx chris...actully te poblem was ..as u said the correct path .....actully my MMC name is memory card ...n in >mscr file it was storage card ......anyways now its done n workin fine ....

thankyou very much .......i was realy waitin for sumone to solve my issue ..n u did it .tc bye
[Windows Mobile Development and Hacking General] fishwiz45:
hey chris,

when it comes time for the gif to change it unlocks my device? the script works fine though:) is this normal? i would prefer the gifs change and the phone stays locked. any help would be appreciated. thanks for the cool app!
[Windows Mobile Development and Hacking General] chris.wilcox:
Hey fishwiz45,

I think this may happen if you're device is on (perhaps connected to AC power and the LCD turned on). On line 34, I have iLock2.exe refresh its settings after the registry is updated.

Ordinarily, if your device's screen is off and in your pocket or something, my script runs and then iLock is updated and this is all done in the background and the device shouldn't "wake up".

Then, when the device is "woken up" (a call comes in, or you turn your device on) S2U2 is brought to the front as usual, but with a new background :)

How often do you have it change?
[Windows Mobile Development and Hacking General] Borg1982:
What did you mean by "then run the file"? When I tap on it, it wants me to open the mscr with a program of my choosing. What should I use?

I opened it with "NOTES" for the time being and changed the random time to 30 seconds. I think this means the program is working fine since my pictures

do

change randomly? ..... or it could be s2u2's randomness changing it for me. Hopefully its the mscr file. I put it in my documents as instructed.
[Windows Mobile Development and Hacking General] chris.wilcox:
You've done everything right. But you forgot that you need to install MortScript. You can google it to get the latest cab installer and then you'll be all set. It will assign the mscr extention on your ppc and you'll be able to click the file and "run it". Once it's running in the background it will do it's thing.
[Windows Mobile Development and Hacking General] Dopedangel:
i keep getting this error

'maxindex': parameter is no array

line 18(\my documents\s2u2_wallpaper.mscr):

n=maxindex(array)

what am I supposed to do
[Windows Mobile Development and Hacking General] Dopedangel:
ok found it i had changed the folder name but not changed it in the script
[Windows Mobile Development and Hacking General] will5204:
i got the same thing how did you fix it?
[Windows Mobile Development and Hacking General] zen kun:
so ints in queue? so how much memory ram takes? im kind short f time so for i was reading it allocates in queue and close program and re run when the times come , so its pretty cool instead keep the program on ram, but how much memory takes in queue thanks :D
[Windows Mobile Development and Hacking General] jenotc:
Thanks Man great job :)
[Galaxy S III Q&A, Help & Troubleshooting] Hesham Sleem:
Deleted
[Galaxy S III Q&A, Help & Troubleshooting] khatir bahri:
Salam ......for me I think lineage 14.1 android 7.1.2 it's stable custom ROM ... and the good one it's miui8
[Galaxy S III Q&A, Help & Troubleshooting] Hesham Sleem:
do you try miui8 ?

is it stable with you ?
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
[IMG="LogoPlus Logo"]https://raw.githubusercontent.com/CurtisMJ/LogoPlus/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png[/IMG]

My device has met with QC issues and I've elected not to replace it. Development on this project may stagnate

LogoPlus is an Open Source Alternative to the stock Razer Chroma Configurator app and corresponding service

The latest version can be downloaded from GitHub (cant load XDAs upload plugin in my browser for some reason)

Demo video attached to post #2

The current feature set includes:

Select custom notification color per app

Set LED brightness

Up to 4 apps' colors on the logo at once

5 different passive effects

Animation for phone ringing, with different colors per contact

Pocket mode. Lights turn off if placed into a pocket or bag

Automation integration (Tasker/Locale)

Charging animation

Custom effect programs

Music visualizer (controllable via automation plugin)

In order to use the app correctly, please disable the "Chroma" system app

Currently notifications will only be displayed when the phone is locked (screen off or on lock screen)

Also please enable notification access for the app as it currently doesnt ask for it automatically

Also please disable battery optimisation for the app so Android doesn't kill the service

Also I haven't done apps for a while, so please excuse the very messy code :p

XDA:DevDB Information

LogoPlus, Device Specific App for the Razer Phone 2

Contributors

CurtisMJ

Source Code: https://github.com/CurtisMJ/LogoPlus

Version Information

Status: Stable

Current Stable Version: 1.0.13

Stable Release Date: 2020-04-09

Created 2019-01-26

Last Updated 2020-04-09
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
Reserved

Creating custom effects

The app supports loading of custom microcode programs into an effect slot. This allows for many possible lighting effects for the passive effect.

Please note that creating custom effects is very advanced! One should have at least some knowledge of assembly, programming and integrated circuits in general. Reading Texa Instruments' literature on the controller is strongly advised, the LED controller is very constrained in it's abilities.

In order to begin, you will need the TI Lysti compiler. You can find a link to it in post #1 of my Chroma Research Thread under "Controller OEM support"

The compiler compiles an assembly style language called Lysti into a .hex file. Rename the .hex to .txt and place the file somewhere on your phone's internal storage, then click the "Load Custom" button from in the app and select the file. The program will be validated and you will see either a success or failure message. Once loaded, the program will play as the passive effect if you have the "Custom" effect selected as your passive effect. Only one program at a time is currently supported.

Below is a sample of the "Pinwheel" effect used by the app in Lysti:

ENG1: dw 0000000001011000b ; R G B
ENG2: dw 0000000010100001b ; G B R
ENG3: dw 0000000100000110b ; B R G
ALL: dw 0000000111111111b

.segment program1
mux_map_addr ALL
set_pwm 0
trigger s{2|3}
loop2: mux_map_addr ENG1
ramp 2, 255
ramp 2, -255
ramp 2, -255
branch 0, loop2
rst

.segment program2
trigger w{1}
loop3: mux_map_addr ENG2
ramp 2, -255
ramp 2, 255
ramp 2, -255
branch 0, loop3
rst

.segment program3
trigger w{1}
loop4: mux_map_addr ENG3
ramp 2, -255
ramp 2, -255
ramp 2, 255
branch 0, loop4
rst

This compiles into the following .hex

00 58 00 A1 01 06 01 FF 9F 83 40 00 E0 0C 9F 80
20 FF 21 FF 21 FF A0 03 00 00 E0 80 9F 81 21 FF
20 FF 21 FF A0 01 00 00 E0 80 9F 82 21 FF 21 FF
20 FF A0 01 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
@ 04 program1
@ 0D program2
@ 14 program3

The first 12 lines consist of the compiled bytes of the program followed by the offsets for the 3 program counters (The controller is a triple core :) )
[Razer Phone 2 Themes, Apps, and Mods] hashcheck:
Wicked work mate!!! A music visualizer would be a great addition
[Razer Phone 2 Themes, Apps, and Mods] DanXbix:
Wicked work mate!!! A music visualizer would be a great addition. Are you able to compile it for as apk
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
Apk is available in the download tab. You might have to view the thread in a browser
[Razer Phone 2 Themes, Apps, and Mods] hashcheck:
yup worked it out was on phone lol
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
Update

New version v1.0.1 available in Downloads section!
[Razer Phone 2 Themes, Apps, and Mods] RKBD:
amazing work!!!

working on phh-aosp
[Razer Phone 2 Themes, Apps, and Mods] Pete450:
Awesome work! So glad someone has taken this on. Will definitely watch this thread and look forward to future updates, feature expansions, and bug fixes, etc. Good job so far.
[Razer Phone 2 Themes, Apps, and Mods] AbsoluteContingency:
Will it always be the case that the app requires root access?
[Razer Phone 2 Themes, Apps, and Mods] ctakah27:
I keep getting this when enabling the service
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
It might be possible to implement the functionality in a daemon, or even as a system service for custom ROMs where we can add source code (this is how Razer did it).

It's also probably possible to use Razer's own system service, but that's a lot of reverse engineering on the Chroma Configurator, and won't work for custom ROMs. Using root seems more aligned to the purpose of the app at the moment but I'll consider alternatives. Most of the magic was figuring out the microcode anyway
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
Just realized I have release builds up so the logs won't even be much use... Sorry about that, you can try clearing the app's data and see if it'll cooperate. I've got another version soon. I'll remember to enable debug build :D
[Razer Phone 2 Themes, Apps, and Mods] Flippy125:
Awesome work! This is functionality that should have shipped with the phone from the factory. Been running the pinwheel animation for the past 1.5 days and haven't noticed any increased battery usage.
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
Ok maybe not soon soon. But definitely this afternoon
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
OK, new build is up! v1.0.3

This is mostly just trying to stabilize the app. New features should come soon

If the release build gives issues, please switch to the debug build and capture some logcats. Only logcats for the application package is sufficient

Lastly, as I've changed the persistence system, unfortunately settings from v1.0.1 wont carry over
[Razer Phone 2 Themes, Apps, and Mods] AbsoluteContingency:
I'm gonna level with you man, I don't understand a lot of this. I was hoping it was as easy as having one that worked on custom ROMs and another that could be sideloaded as another app on the stock non-rooted RP2, but now that I'm thinking about it I suppose you are controlling a pretty odd piece of actual physical hardware that isn't exactly standard on phones.

I'll keep this thread around and check it every now and then to see if a non-root version ever comes around. It seems super cool, and I'm glad someone is tackling the logo, even if (at least right now) I can't take advantage of it. Keep up the cool work, dude.
[Razer Phone 2 Themes, Apps, and Mods] M1cky:
For anyone that hasn't given this a go, try it! It's spectacular. Exactly what the Chroma app should be. The pinwheel effect is sexy af too! Good work, keep it up.

Briefly had a issue with it not turning off when screen was off, toggle seemed to do nothing, reinstall fixed it. No issues otherwise.
[Razer Phone 2 Themes, Apps, and Mods] CurtisMJ:
v1.0.4 has been uploaded

Still mostly a bugfix build

If the release build gives issues, please switch to the debug build and capture some logcats. Only logcats for the application package is sufficient
[Huawei P10 Lite Questions & Answers] svetlio359:
hi all is there a way to mod the stock dialer of p10 lite stock oreo with root

i mean every start of the app is with expanded digit keyboard like that

but i work mostly with recent calls

and every time i must hide the kayboard to see more calls like this

for me it is very stupid that there is no way to set start screen on recents without keyboard

or to be like samsung phones in any way you close the application then open from where you closed it even if you restart

i tried lots of dialers from market but none of them suits for me

thanks
[Huawei P10 Lite Questions & Answers] svetlio359:
come on someone must know where to edit I'll do the rest just give me some clue or may be i must move the thead to other section;)
[Huawei P20 Pro Questions & Answers] gijoe50000:
I was wondering, last month, how\when\if I'd get EMUI 9, since I bought my phone from eBay, from the UK, and it was locked to EE. I got it unlocked. (I live in Ireland).

I have been checking Hi Care, and the System Update, every so often, wondering where it would appear.

I checked Hi Care today and there was nothing, then I checked System Update in settings and there it was. Currently downloading.

I was kind of under the impression that Hi Care would have the update first, that it'd come straight from Huawei; And that System Update would give me the update from my current mobile provider. Can anyone confirm is this is supposed to be the case?

I'm still not clear on who exactly the update came from, but at least it's finally here..
[Nexus 6 Q&A, Help & Troubleshooting] ECrispy:
Phone was working perfectly, battery is in great condition and lasts 1+ day. Suddenly it wont turn on. No light or indicator when plugged in. Tried hard reset (via power button), bootloader/recovery (power + vol dn) etc, nothing does anything. Even tried putting on wireless charger, leaving it plugged in overnight etc. No response at all.

What should I do at this point?
[Nexus 6 Q&A, Help & Troubleshooting] runekock:
Try a very long press of the power button - more than 10 seconds. That may force a shutdown if the phone is stuck in some non-reacting state.

If that doesn't work, I would say you are in for a repair. Could be as simple as replacing the power button or as bad as the motherboard, not easy to tell.
[Nexus 6 Q&A, Help & Troubleshooting] ECrispy:
Didn't do anything. I checked with Motorola and the cheapest repair option is ~$115 which is rather high. I can buy a replacement phone for just a bit more.
[Nexus 6 Q&A, Help & Troubleshooting] runekock:
You can always try replacing the power button. You can buy it from China for $3, and it is reasonably easy to do yourself.

Though it could be a number of other things, so the odds are rather low.
[Nexus 6 Q&A, Help & Troubleshooting] briandanforth1:
I recently cracked the screen on my Shamu so I'm in a bit of a similar dilemma. If your not partial to Shamu, you can get the OG Pixels for around 120 give or take. Oneplus 3T and 5 can be found at good prices. Granted, these are preowned so the battery condition can vary but I've generally had great experiences buying that way. I personally think I'm going to move on to a Oneplus before long.
[Nexus 6 Q&A, Help & Troubleshooting] ECrispy:
Yes, I'n looking for a used Pixel XL. Do you have any reliable ebay sellers you know about?
[Nexus 6 Q&A, Help & Troubleshooting] mywindow:
The phone won't operate with an open/damaged battery. It would be a mistake to rule it out without measuring it with a multimeter or replacing it with a known good one. Your next step is obvious; You will need to open the back as shown online or find someone that will since parts are available.
[Nexus 6 Q&A, Help & Troubleshooting] briandanforth1:
No, I do not. I've been using Swappa rather than EBay. EBay is good, Swappa is awesome. There is a play store app for Swappa but it was sorta glitchy for me so I'd recommend using their website, Swappa.com

I just scored a 500gb PS4 with Bluetooth headset, controller, 7 games for 180 shipped few weeks back off Swappa or I'd have already replaced Shamu. Its mainly for phones though few other tech things as well. What I really like with Swappa is how detailed the listings are and how simple both the buying/selling process is. I'd highly recommend and encourage you to check it out.