yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Yes it would be good to patch the latest versions
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Can you update the module for Android 10? It's causing a bootloop in Magisk Canary at the moment.

---------- Post added at 04:13 PM ---------- Previous post was at 04:07 PM ----------

Yep it doesn't. Causes a bootloop
[Google Pixel 2 XL Themes, Apps, and Mods] Hadookie:
I would love to have this working on 10.
[Google Pixel 2 XL Themes, Apps, and Mods] :
hey, any update? for Pie
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
No contact from the dev. Anyone else you can possibly fix the below?

Sssh switch to be patched for Android 10

Patch Wellbeing to recieve newer updates?
[Google Pixel 2 XL Themes, Apps, and Mods] :
I don't know what he has done to patch the app, I thought is the APK and the permissions On the other way.
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
I hope he fixes it. Tried PMing them with no response
[Google Pixel 2 XL Themes, Apps, and Mods] :
I see is not active since March :(
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Not looking good so. Shame ?
[Google Pixel 2 XL Themes, Apps, and Mods] Error404html:
I don't understand why my pixel 2 xl does not have this useful option, even my old Samsung s6 has it.
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
You would think in the new Android 10 update they would of included it in Digital Wellbeing for all.

Surely somebody here can update it if the dev is M.I.A
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Still nothing from the dev. Disappointing
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Found this app. Works perfectly.

https://play.google.com/store/apps/details?id=com.urbandroid.dnd
[Google Pixel 2 XL Themes, Apps, and Mods] :
Yes, I know this app, but is a third app, I prefer having an old version of wellbeing and shh from that
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Until the Module is updated, it does the job.
[Google Pixel 2 XL Themes, Apps, and Mods] KeyRie:
Is there any way to active flip to shh without using Tasker ?
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
There is a free flip to sssh app in Google Play that works great but it seems it's not optimisized for Android 10 stock as I suffered battery drain.
[Google Pixel 2 XL Themes, Apps, and Mods] warrencoakley:
Just to let you know Flip to shh is now active in the latest Wellbeing beta.

---------- Post added at 10:39 PM ---------- Previous post was at 10:38 PM ----------

Just to let you know Flip to shh is now a time in the latest Wellbeing beta.

---------- Post added at 10:40 PM ---------- Previous post was at 10:39 PM ----------

Just to let you know Flip to shh is now a time in the latest Wellbeing beta.
[Galaxy Note 4 Accessories] imeem:
any1 have experience buying from here? http://www.battdepot.com/us/model/cell+phone+battery/samsung/galaxy+note+4/css249.aspx .

I found this site via ifixit.com

EDIT: after reading their about us, they seem to sell aftermarket battery and not OEM
[Galaxy Note 4 Accessories] Mr. JAVI:
Mr. JAVI

I have seen Samsung OEM batterys on ebay. I myself use AceSoft extended slim battery advertised at 6,980 mAh. I seriously doubt that, however I do notice an improvement over the stock battery. I also use an external power bank thats built into a case for my Note 4 called Stallion. 4,800mAh. I highly recommend it and no Im not the seller(lol). Its about the size of an Otterbox case but a bit heavier.
[Nook Touch General] nmyshkin:
I have been trying to work up a tile for my Quick Tiles app that would allow a user to toggle the glowlight from the panel. With the help of [MENTION=5860933]marcoNST[/MENTION] (I do not own an NSTG) I have isolated the Glowlight Control dialog but my intention was to have that as an option for a long-press of the tile, while a simple tap would toggle the light without any intensity adjustment.

This toggle is normally handled by a 2-second press of the "n" button. I've been scouring logcats and tracking down smali files in jars but the closest I've come up with is a broadcast which is probably used, among other things, to tell the status bar manager that the light icon needs to be shown/hidden--so it's an after-the-fact thing:

com.BN.intent.action.SCREEN_LIGHTS_ON (or OFF)

I've exhausted my bag of tricks:(

Attached is a logcat showing the "n" button used to repeatedly toggle the light. There is a PowerManagerService statement each time, but I distrust this because I see that statement a lot in logcats, even for my NST sans glowlight. In fact, that statement often appears in triples!

So...quite the challenge ;)

I'd appreciate hints or outright solutions. Any takers?
[Nook Touch General] Renate:
int i = 128; [b]// 0 (off) to 255 (full on)[/b]
ContentResolver cr = context.getContentResolver();
System.putInt(cr, System.SCREEN_BRIGHTNESS_MODE, System.SCREEN_BRIGHTNESS_MODE_MANUAL);
System.putInt(cr, System.SCREEN_BRIGHTNESS, i);

This is standard Android "screen brightness".
[Nook Touch General] nmyshkin:
I thought/hoped as much when I ran across a kvetching post about the

NGP

and the need for a menu to turn on the light. So the complainer wrote a little app which just toggled the "screen brightness" to 0 for OFF and some arbitrary value he liked for ON.

It seemed wonderfully simple but when I did the same thing and shared the app with an

NSTG

user, it did absolutely nothing :(

Edit: I looked at this again and maybe made some progress. Although I have only a non-Glow NST, I did figure out how to call up the light control dialog, so I can do some tentative fiddling. If I use that dialog to turn the non-existent light ON and then change the screen brightness to zero, my tick mark for ON disappears and the slider control moves all the way to the left. That looks promising. One issue was that I saw a warning this time that autobrightness was ON (who knew?) and I had better turn it OFF. So I did that. Unfortunately when I start with the non-existent light in the OFF position, changing the screen brightness to a non-zero value does not place a tick mark in the light control panel showing the light as on. The slider advances, but...

Well, it's hard to test non-existent hardware, so I guess it's time to put together another toggle app and let my co-conspirator with the NSTG test it.

Edit: Nope. Changing the screen brightness to 0 or some other arbitrary value has no effect on the glowlight for the NSTG. Back to square zero.
[Nook Touch General] Renate:
I've never had a NSTG, so I can't say.

I use an in-app brightness control in my reader app and it's exactly like the code above.

It works on every device that I have, Nooks, phones, tablets.

Maybe the NSTG is different.

Did you look in the code to see how it was done?

Does it use something native to talk to I2C?
[Nook Touch General] nmyshkin:
To be honest, I finally let it go. It's really hard to troubleshoot without the hardware :o and there was no real way for me to examine what was going on or not going on other than by report. I ddn't want to exhaust the member with the NSTG, so....
[Nook Touch General] nmyshkin:
Well, yes, actually. I finally tracked down an old NSTG for a reasonable price (a few tiny screen defects with the light, as expected...) and with your hint and some additional sleuthing I am half-way to my goal. There are two values in

/sys/devices/platform/i2c_omap.2/i2c-adapter/i2c-2/2-0040/leds/lcd-backlight/

one is brightness and the other is brightness2. Both are "0" when the light is off. When the light is on, they become the intensity value. Manually changing the value of brightness from "0" to some other number turns the light on (brightness2 stays at "0" when the value of brightness is manually changed, so they are not ganged together; not sure why there are two values). Manually changing the value of brightness back to "0" turns the light off.

This is good, but unfortunately the status bar icon does not change when the values are changed manually :( A portion of the logcat of the sequence of turning the light on and off in the usual way is below

D/WindowManager( 789): CALLING monitor
D/StatusBarPolicy( 789): ACTION_SCREEN_LIGHTS_ON
D/SurfaceFlinger( 789): Frame buffer posted; elapsed time = 17 msecs
I/PowerManagerService( 789): setPowerState: mPowerState=0x3 newState=0x3 noChangeLights=false reason=1
D/SurfaceFlinger( 789): Frame buffer posted; elapsed time = 12 msecs
D/WifiService( 789): ACTION_BATTERY_CHANGED pluggedType: 0
I/PowerManagerService( 789): setPowerState: mPowerState=0x3 newState=0x3 noChangeLights=false reason=1
I/PowerManagerService( 789): setPowerState: mPowerState=0x3 newState=0x3 noChangeLights=false reason=1
D/WindowManager( 789): CALLING monitor
I/PowerManagerService( 789): setPowerState: mPowerState=0x3 newState=0x3 noChangeLights=false reason=1
I/PowerManagerService( 789): setPowerState: mPowerState=0x3 newState=0x3 noChangeLights=false reason=1
D/WindowManager( 789): CALLING monitor
D/StatusBarPolicy( 789): ACTION_SCREEN_LIGHTS_OFF

So now the question becomes "How do I make the status bar icon change?" There's not a lot of info (for me) in that logcat snippet. I'm thinking an intent is broadcast when the light is cycled in the intended way, but I don't see evidence of it. I should add that this device is entirely gutted of B&N stuff (yay! I finally figured out how to kill the endless whining for B&N server contact!!), so whatever remains is capable of making the status bar icon change.

?
[Nook Touch General] Renate:
The two brightnesses could be the two different colors of LED for color tuning.

I'm not sure if this had that.

The backlight is in /system/framework/framework.apk in android.provider.settings.System

If you want, post the file somewhere and I'll take a look.

Yes, the settings are there, but I haven't tracked it to the hardware.
[Nook Touch General] nmyshkin:
I assume you mean framework.

jar

as there is only the framework-res.apk and it contains precious little code.

I've decompiled the jar and taken a look around. It's a little different than what you were anticipating, probably. Any "light" references seem to be in Settings.smali, not the Settings$System.smali. There appears to be a reference to a broadcast intent regarding whether the lights have changed or are on/off but that seems to refer to com.BN which is certainly gone (I think) since I removed all the (visible) B&N stuff, including the jars. And yet it all still works properly if the light is turned on and off with the "n" button. What I don't see is how the status bar is getting wind of the change. But you'll probably see many things I don't :o

Copy of framework.jar attached.
[Nook Touch General] Renate:
In short, how in normal Android it's supposed to work.

You change the settings.

Settings is only a content provider, it doesn't know or care about the difference between "screen_brightness" and "activate_doomsday".

Some service puts a ContentObserver on that setting and when it changes it does something.

So for the Glow2:

services.jar

com.android.server.power.PowerManagerService
systemReady()
ContentResolver.registerContentObserver(Settings.System.SCREEN_BRIGHTNESS)

com.android.server.power.DisplayPowerController

com.android.server.LightsService.Light
setBrightness()
setLightLocked()
setLight_native()

libandroid_servers.so
setLight_native

So look at what you have for settings in:

# sqlite3 /data/data/com.android.providers.settings/databases/settings.db
.dump

Then:

# settings put <namespace> <key> <value>

The status bar will only change if you change through Settings, not the I2C.

So maybe the NSTG uses different settings.
[Nook Touch General] nmyshkin:
I've had a peek at settings.db before. In "system" it shows the last intensity setting of light (so it's non-zero generally, even when the light is off). There is also an entry for "screen brightness mode" for which I show a value of 0 (perhaps it's 1 when the light is on?) and also "dim screen" which shows a value of 1 (again, I copied this file when the light was off).

Hmm...

Aha. If I copy out the settings.db file when the light is on, I get a value of 1 for "screen brightness mode".

Now to try the real thing. Thanks for pointing me in a possible direction. So many of those database values seemed like descriptive artifacts that don't effect real change when you alter them but instead report a change when it has happened. I have been mistaken.
[Nook Touch General] Renate:
It's "screen_brightness_mode" and that means to use the ambient brightness to modify the display brightness.

None of the Nooks have a sensor, so that really doesn't affect anything.

"screen_brightness" is the stock single value for brightness.

Are there any other settings for brightness/color/temp/whatever?

Post the services.jar
[Nook Touch General] nmyshkin:
Using sqlite to change the value of screen_brightness_mode in settings.db does not, in fact, turn on the light. What is does do is (bizarre) tick the box that says the light is on in the quick settings panel for the light :silly:

I've attached services.jar. There are no other entries in settings.db that could plausibly be construed as having to do with the light.
[Nook Touch General] Renate:
I can see that PowerManagerService$SettingsObserver.smali is only tracking changes to screen_brightness_mode.

I can see that B&N strayed from stock here quite a bit.

I can see that this jar has been modified by something called "ModUtils"

So:

If you want to turn on the light, use a ContentResolver, set screen_brightness, then set screen_brightness_mode to 1;

If you want to turn off the light, use a ContentResolver, set screen_brightness_mode to 0;

If you want to change the level of the light, use a ContentResolver, set screen_brightness, then increment screen_brightness_mode (so as to effect a change).
[Nook Touch General] nmyshkin:
So that's the place, then.

Based on the principle that enough is never enough.

Yes, service and framework jar both have small modifications in them from NookTouchModManager and GApps installation.

I assume you are suggesting this so that the changes will be broadcast to whatever routine is updating the idiot icon in the status bar to show that the light is either on or off (I mean, if you can't tell the light is on or off by looking at the screen, an icon is probably not going to help you...). Otherwise the same effect can be accomplished by changing the values of "brightness" and "brightness2".

Since I'm not going to be addressing this issue via JAVA, I need to keep looking for a method to address the status bar icon change. If I had

that

, I'd be fine with writing a simple value change via shell command to turn the light on/off.
[Nook Touch General] nmyshkin:
The Law of Unintended Consequences

Mark this "sorta solved", I guess.

While mulling over the possibilities I decided to go ahead with setting up the device and flashed the only available kernel that includes both No Refresh and USB host. This kernel is, unfortunately, based on FW 1.1.5 but it behaves fine on my NST running FW 1.2.2.

It does

not

like the Glowlight option. What it does is interesting: a long-press of the "n" button, which should turn the light on/off at the last used intensity, changes the status bar icon but does

not

turn the light on or off. Accessing the light from the control panel changes the status bar icon but only turns the light on if the slider is touched. To actually turn the light off, it is necessary to push the slider all the way down manually before changing the status bar icon. And actually, you cannot get to "0" by manually pushing the slider. The stored value turns out to be "3".

While still not revealing how the status bar icon gets the word, this did enable me to construct a software "solution" from shell commands that both changes the status bar icon and turns the light off and on, after checking settings.db to see what the last intensity setting was. I could not have done that without my previous delving into the i2c stuff.

In the end none of this mattered because what I really wanted to do was move the function from a long-press of the "n" button to some other hardware button. This was possible to do with Nook Touch Mod Manager, but when I addressed the hardware button with a sendevent command via Tasker, it responded as the stock hardware assignment, not the reassigned button. So game over.

Anyway, I have Glowlight functionality with a kernel based on 1.1.5 and in the end, that's almost as good.
[LG G6 Guides, News, & Discussion] jimrfraser:
Hooked up to lg bridge and feb security update. Almost 3 gig in size
[LG G6 Guides, News, & Discussion] cheeze.keyk:
Next time kindly use the Thread for the Canadian Variant.

https://xdaforums.com/lg-g6/how-to/lg-g6-canada-t3607723/page18
[LG G6 Guides, News, & Discussion] jimrfraser:
Hmmm says lg g6 news lol guess i put it in the right place
[Samsung Galaxy Note 9 Accessories] djbutter:
Can anyone recommend a good mini wireless keyboard for the note9? I travel a lot and would love to bring a tiny portable keyboard with me when I hook up my phone to a hotel room TV with dex and a BT mouse.

A thumb keyboard would be perfect.
[Samsung Galaxy Note 9 Accessories] p33l05:
Microsoft Universal Foldable Bluetooth Keyboard for Apple iPad, iPhone, Android devices and Windows Tablets - Black https://www.amazon.co.uk/dp/B010SPV1OK/ref=cm_sw_r_cp_apa_i_i1YFCbK094G6K

Not cheap but tiny.. The space in the middle takes a little getting used to but it's fine for casual use when traveling.
[Samsung Galaxy Note 9 Accessories] bond32:
I ordered this one, seems ok.

https://goo.gl/o28ZJG
[Samsung Galaxy Note 9 Accessories] prz13:
Hi! I use this: Logitech K380 Multi-Device Bluetooth Keyboard
[Samsung Galaxy Note 9 Accessories] jporjpor:
How to change the key that is selected by default in virtual keyboard when pressing ENTER?

This is because when I am typing the URL in a browser, if I press ENTER it takes the first key on the virtual keyboard ('Q') instead of ENTER (Return).

Mini Wireless Keyboard "QiDianz"
[Moto G7 Questions & Answers] timecutter:
Took a gamble and purchased a G7 through Amazon, fast shipping and easy returns.

It showed XT1962-1 and came with all of the Amazon apps pre-loaded. I went to the motorola bootloader unlock page and attempted to unlock it. ***IT WORKED!!!!!***.

After bootloader was unlocked, I took a bigger chance and attempted to patch the boot.img from the XT1962-1 retus stock rom. Patched appeared to be successful so I copied it back over to desktop and then flashed it back to the g7. Uh oh, now it is stuck on unlocked device screen followed by a very brief motorola splash screen then back to device is unlocked.

Tried flashing stock boot.img back with the same results. Decided to go ahead and flash full stock room back using the commands from flashflile.xml.

Rebooted and back working. Shut it down and attempted to put the patched boot.img back on and this time IT BOOTS.

installed magisk app and confirmed root. SUCCESS!
[Moto G7 Questions & Answers] O7ymand1as:
Can you please explain to a beginner what you did, and what do you mean by "flash full stock room back using the commands from flashflile.xml"?

Thanks for your time
[Moto G7 Questions & Answers] timecutter:
steps

I can only tell you what worked for me and can't offer any advice or assistance if you try this and run into trouble. If you aren't comfortable with flashing or don't have a spare backup phone in-case you run into trouble then I wouldn't recommend this.

I grabbed the stock XT1962-1 retus stock image from here:

https://mirrors.lolinet.com/firmware/moto/river/official/RETUS/

unzipped it to a folder and then dropped adb/fastboot into the same folder. I did NOT erase the modem or userdata/ddr since it was a new phone that wasn't setup to begin with.

From command prompt in the folder with the unpacked stock rom in it, run these commands. I would recommend one at a time to watch for errors.

Let it reboot once to make sure it worked. The first boot may take a while.

fastboot getvar max-sparse-size

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash modem NON-HLOS.bin

fastboot flash fsg fsg.mbn

rem fastboot erase modemst1

rem fastboot erase modemst2

fastboot flash dsp adspso.bin

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash dtbo dtbo.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash system system.img_sparsechunk.9

fastboot flash system_b system_b.img_sparsechunk.0

fastboot flash system_b system_b.img_sparsechunk.1

fastboot flash system_b system_b.img_sparsechunk.2

fastboot flash vendor vendor.img_sparsechunk.0

fastboot flash vendor vendor.img_sparsechunk.1

fastboot flash vendor vendor.img_sparsechunk.2

fastboot flash oem oem.img

fastboot flash oem_b oem_other.img

fastboot erase userdata

fastboot erase DDR

fastboot oem fb_mode_clear

fastboot reboot
[Moto G7 Questions & Answers] neo0983:
does hands free alexa still work though after flashing? Supposedly the hands free alexa option only works with the amazon rom.
[Moto G7 Questions & Answers] maamdroid:
I followed this procedure on a moto g7 power and it worked as well. I didn't have any issues booting up the first time after patching the patched boot image that magisk created like you did. I'll comment over on the g7 power board, but wanted to thank you for your instructions.
[Moto G7 Questions & Answers] rootuser11:
Can I safely assume that after flashing the stock rom, the phone is not converted to a stock g7 instead of Amazon branded one

Thanks.
[Moto G7 Questions & Answers] timecutter:
I can only say what I have experienced on my phone. It is stock, hands free alexa does appear to work. I have a buddy at work with stock g7 and the installed apps appear the same. I can't visually tell a difference between the 2 phones other than under about phone my software channel shows amazon. Others with more experience may have more information to offer you however it worked for me and I haven't had any issues and great battery life so far.
[Moto G7 Questions & Answers] rootuser11:
Hmm ok. It seems like Amazon stuff still resides somewhere to indicate that the phone is related to Amazon. Ugh..
[Moto G7 Questions & Answers] raychang:
I cannot find Netflix in Google play store

Hi timecutter,

I have a Moto G7 (US version) with Amazon Alexa Hands-Free – Unlocked, with its firmware totally replaced with the Stock US retail firmware. Everything is fine except I cannot run Netflix. I cannot find Netflix from Google play store. I tried to download several netflix apk files from apkmirror.com and install them but all of them failed to run with the message that the version of Netflix is not compatible with my phone.

Does this happen to you? Which version of netflix did you use? Where did you get it?

Thanks.
[Android Q&A, Help & Troubleshooting] CorcRoazBa:
Is someone know how to root Realme U1.
[Android Q&A, Help & Troubleshooting] yuvarajv952:
https://xdaforums.com/android/help/method-rooting-realme-u1-t3916683/

bro already i posted the way to root realme u1 check it out :good::good: