yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] leyto:
Hello MalVal,

I have download and install the last update v1.4.4, thanks you for your help man.

But, when i execute the new cfg.exe and the new popup.exe, i have this message : "'Popup' is not a valid Windows CE application" or "'cfg' is not a valid Windows CE application".

I give you more informations on my device it's a gps, with Wince.net 4.2, it's an x950 from viamichelin, you can find spec here (I have not in windows folder backlight.dll ou backlight.cpl no dll with this name type) :

http://www.amazon.co.uk/ViaMichelin...Ireland/dp/tech-data/B000MQUE0I/ref=de_a_smtd

For this gps i have make this mod and i want add your application in, for dynamic light...:

http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=117745&whichpage=1

Thanks for your Help.

Leyto
[Windows Mobile Development and Hacking General] karpikpl:
Hi gopinathann,

your code should look like this:

[DllImport("coredll.dll", EntryPoint = "CreateFile", SetLastError = true)]
private static extern IntPtr CreateFile(
String lpFileName,
UInt32 dwDesiredAccess,
UInt32 dwShareMode,
IntPtr lpSecurityAttributes,
UInt32 dwCreationDisposition,
UInt32 dwFlagsAndAttributes,
IntPtr hTemplateFile);

[DllImport("coredll.dll", SetLastError = true)]
public static extern int DeviceIoControl(
IntPtr hDevice,
uint dwIoControlCode,
[In]IntPtr lpInBuffer,
UInt32 nInBufferSize,
IntPtr lpOutBuffer,
[Out]Int32 nOutBufferSize,
ref Int32 lpBytesReturned,
IntPtr lpOverlapped);

void setBrightness(int value)
{
string lpFileName = "BKL1:";

IntPtr hDrv = CreateFile(lpFileName, 0x40000000, 0, IntPtr.Zero, 3, 0, IntPtr.Zero);

if (hDrv.ToInt32() == -1)
throw new Exception("Can't open Backlight Driver");

UInt64 d = (UInt64)(12);
GCHandle handle = GCHandle.Alloc(d, GCHandleType.Pinned);
IntPtr input = handle.AddrOfPinnedObject();
int[] val = { 0xC, value };
Marshal.Copy(val, 0, input, 2);
int getCnt = 0;
int myGetResult = DeviceIoControl(hDrv, (0x3000000 | 0x14), input, 8, IntPtr.Zero, 0, ref getCnt, IntPtr.Zero);
handle.Free();

if (myGetResult != 1)
throw new Exception("Can't write to Backlight Driver");
}

hope it helps
[Windows Mobile Development and Hacking General] alphac16:
Hi, MalVal:

I hope to know the setting of my device (HTC diamond)

(however, it doesn't work with setting b- 0x7/p- 0x8 in previous discussion)

This is my backlight.dll

And would you please help me, thanks

==============================

<<update>>

Sorry, I found the resolution and I knew where the problem is:

1. have to reset after install and setting

2. have to disable backlight automatic sensor option (htc diamond)

Now, it works perfectly.

Thanks!!
[Windows Mobile Development and Hacking General] whatabambam:
Anybody can explain me what is doing option "Power value (no, if > max)"?
[Windows Mobile Development and Hacking General] MalVal:
whatabambam,

some devices doesn't have separate sliders for battery and power brightness.

In such cases happens conveniently to swith on the max brightness at device connection to a power and return back at switching-off.
[Windows Mobile Development and Hacking General] gopinathann:
Thanks. I will try and let you know.
[Windows Mobile Development and Hacking General] whatabambam:
Thanks a lot for your reply. So if i have HTC Kaiser, and it has separate slider for battery and power brightness so what value i should enter in this field? The default value is 1025 but i dont have any idea that is it correct...
[Windows Mobile Development and Hacking General] MalVal:
whatabambam.

If this feature is unnecessary you - set any value > max. 1025 - correct value in any such case (some devices have 1023 as maximum).

If you want to use it - any value <= max. For example, if the maximum is 7 and you set power value to 6, plagin will switch the bklight to 6 after device connection to the power.
[Windows Mobile Development and Hacking General] gopinathann:
Thanks for the code, however I am getting the "Can't open Backlight Driver" exception. any suggestions ?
[Windows Mobile Development and Hacking General] BoyBawang2:
@N'da

This program is very very very useful for me! I'm looking for something like this everywhere! you're my hero :)

for my i780 the min and mix brightness are 4 and 9.

Is there an option to let the light say on as desired? like "smartlight" or "backlight override".

thanx.
[Windows Mobile Development and Hacking General] joyride76:
I've an ETEN m810 with default rom, but I'm not able to find in any place DeviceIoControl.

As suggested I've tried to open COMBackLight.dll using Ida pro but I'm not able to get the values.

Anyone can give me an help?

Sorry I'm not a developer
[Windows Mobile Development and Hacking General] MalVal:
joyride76,

the same value that is used for other eten's - 0x24321101.

Registry: HKLM\ControlPanel\ETEN key Backlight.

And don't forget about "AutoAdjustBackLight".
[Windows Mobile Development and Hacking General] joyride76:
Done!!!

I tried different registry settings!

The right one are present in post "#38"

The settings presents at "HKLM\ControlPanel\ETEN\"Powermanagement" won't work!!!!

Thanks a lot for you help and your great tool!!!!!

Stefano

Italy
[Windows Mobile Development and Hacking General] rohinsadh:
Phone Dead

my samsung omnia is HUNG - No response ever since I installed backlite!

HELP!

my phone home screen is blank and it does not respond. the last thing it asked to allow MVBklight.dll to run after reboot

after that it has become dead. does not respond!

help!
[Windows Mobile Development and Hacking General] topway:
Hi,MarVal

Thanks a lot for your work and your great app.

MVBklight 1.4.4 works excellently in my device.
[Windows Mobile Development and Hacking General] wh_hsn:
I've tried this software in iMate 8502 & it didn't function properly so I tried to play with the settings but also did work properly.

On the first softreset I noticed that the phone screen is always off although the phone is working & I still can receive calls.

I've tried every thing even a hardreset didn't brig the screen to life.

Now the phone is dead because I can't see he screen to make the installation :(

I don't have the TV cable right now but I'll try in few days maybe I can get a picture on the TV & be able to fix it.

Any ideas?

Thanks,

WH

:(:confused::mad:
[Windows Mobile Development and Hacking General] yepp:
htc shift

please, help me with htc shift settings
[Windows Mobile Development and Hacking General] bmw2320:
Thx for ur tip. I use long-press-end-key for assigning the .lnk file. Now i could see my lcd better under the sunlight with just a press of a button.
[Windows Mobile Development and Hacking General] Skyliner1:
Are there any settings for LG KS20?
[Windows Mobile Development and Hacking General] tobbbie:
yes, KS20 is similar to other MSM7200 devices:

Settings for: Manual

Device Type: WM5/6

Battery ...reg: BatteryBrightness

Power ...reg: ACBrightness

Battery DeviceIO : 0x7

Power DeviceIO: 0x8

Min: 1

Max: 32

Step: 1

The setting for "Switch Plugin on Today" does not work for hard localized installation paths. A German localized path for "Program files" is "Programme". Since the CFG.EXE application does not check where it is installed, but writes hardcoded "Program Files\..." to the registry path:

HKEY_LOCAL_MACHINE\Software\Microsoft\Today\Items\MVBklight

DLL = \Program Files\MalVal\MVBklight\MVBklight.dll

you must one-time change the registry to the correct path and not touch it again in the CFG.exe program (it will re-write it on any change of the item).

I have made a patched cfg.exe (based on 1.44) for the German path "Programme" which is attached here. This applies e.g. to the original Vodafone ROM or the unbranded German 1.0a for the KS20.
[Windows Mobile Development and Hacking General] mermanpaul:
It's really a good must-have program. Are there any settings for acer S200 neotouch?
[Windows Mobile Development and Hacking General] dorinnirod:
An excelent aplication !

Is it possible to use it on MioMoov500 ?

The application starts but I think I can't find the corect configuration.

Did anybody know it ?

Thank's for help !
[Windows Mobile Development and Hacking General] Biges:
Please help!

I can't get it work on my Acer M900. I get the registry settings right, so when I change the slider, I can see the registry value changes, but the change does not take effect :(

I tried various values posted in this thread, no help.

Thanks
[Windows Mobile Development and Hacking General] Biges:
Hey, hey! I got Acer M900 to work with mvbklight 1.44!

The settings are:

Manual

WM5/WM6

0x40B00014

HKCU

ControlPanel\BackLight

BacklightLevel

BacklightLevel

0xEA600004

0xEA600004

0x0

0

250 (Maximum value)

25

1025

Default

Enjoy :)
[Windows Mobile Development and Hacking General] frankfurt:
The settings for ACER S200 are the same as for ETEN devices:

Manual

WM5/WM6

0x40B00014

HKCU

ControlPanel\BackLight

BacklightLevel

BacklightLevel

0x24321101

0x24321101

0x0

0

255 (Maximum value)

1

1025
[Windows Mobile Development and Hacking General] Scougar:
Hi :-)

I got shown this program by Lycrus and it's very useful, almost perfect.

I am trying to change the skins by creating my own, but even though the file types and sizes are correct, I can ONLY get the SLDR.BMP to change for me.

Am I doing something wrong with the BMP's? How did you create your skins Malval?
[LG G6 Guides, News, & Discussion] Windforce0511:
Hi, has anyone tried a new application by XDA? What are your thoughts?

Google Play link - https://play.google.com/store/apps/details?id=com.xda.nobar
[LG G6 Guides, News, & Discussion] gerardolan64:
my navigation bar does not hide...
[LG G6 Guides, News, & Discussion] J-Zzz:
I'm trying it right now. And it's not too bad. Only complaint is you can't change the transparency so that small bar will always be there. But you can change the size and make it really small so it won't be that noticeable.

So far, it seems like a good alternative to All in One Gestures. Will update on battery life later.
[LG G6 Guides, News, & Discussion] Wassupdog:
Did it hide your navigation bar ?

It won't hide my navigation bar .
[LG G6 Guides, News, & Discussion] jhpaul62:
Works pretty well

It works pretty well for the most part, though on apps where they are black you can see a white line on the very bottom of the screen. Which is kinda annoying.
[LG G6 Guides, News, & Discussion] ILGreat:
If you want hide the stock navigation bar, I find a workaround using immersive mode. You can enable it in nogaut too using an app called "SystemUI Tuner" and giving to it adb permission through a pc (so without root).

I don't like too much this gesture so i return to stock, but if you want this work.
[LG G6 Guides, News, & Discussion] Killua96:
Don't know why but it doesn't ask for root permission (needed in order to hide the navbar), so you need the adb commands, for the rest it works pretty well.
[LG G6 Guides, News, & Discussion] ArturEduardoBr:
For hide the navbar you can switch the app proportion for the 18: 9 and set the permissions again. After this, turn off the gestures and turn on. If this not work, restart the phone. For me it works.
[LG G6 Guides, News, & Discussion] gerardolan64:
Ohhh now its working! thanks! :good:
[LG G6 Guides, News, & Discussion] G-Ultimate:
Can't find the scale option under lg g6 with 8.0.

There are some apps there but no navigation gestures.

I think with Android 7 I had the option. Now I can't find it any more. Can someone assist?

Or is it obsolete with Android 8 ?
[LG G6 Guides, News, & Discussion] Nicocolegyneco:
Me too, I don't have it. May be it's automatic ?

No matter, the gesture work for me, some times the pill disappear and i reactivate it by the toogle
[LG G6 Guides, News, & Discussion] PsychoTribe:
It is there for me under Settings>Display>App Scaling. See the screenshot.
[LG G6 Guides, News, & Discussion] G-Ultimate:
But can you find the app in the list as well?
[LG G6 Guides, News, & Discussion] cedrocece:
which app did you scaled for make it work? i didn't understand the procedure that you said..

Thank you
[LG G6 Guides, News, & Discussion] ShantyM:
I love this app.

My battery autonomy is superb and also have more space on the screen.

But the navigation bar doesn't hide automatically, I used SystemUI Tuner from the playstore to hide it.
[LG G6 Guides, News, & Discussion] cedrocece:
Using systemUI tuner does thr navbar came back after a swipe up from the bottom?
[LG G6 Guides, News, & Discussion] Nicocolegyneco:
Yes
[LG G6 Guides, News, & Discussion] Demodark:
Hello, when i'm trying to grant permission i only get :"Operation not allowed: java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS." what can i do pls ?
[LG G6 Guides, News, & Discussion] marac1993:
I have the porblem that if I open an app lets say, Instagram or Armorfly Browser, the white line at the bottom just dissapears. Then I was swiping up from the bottom to try and get it back or at least the nav bar, after a few tries, the nav bar and the white line for the gestures were showing and dissapearing all the time, it was like they were having a fight for who will stay at the bottom of my screen haha :)

Does anybody know a fix for that?

Thanks :)
[LG G6 Guides, News, & Discussion] Brutale1090!:
I'mf facing the following problem, the app is constantly loosing it's rights
[LG G6 Guides, News, & Discussion] gedwis:
I have a different problem. My nav bar is hidden and the whit line e is on the screen but it does nothing. Nothing when you press on it nor when you Swype. Whats the fix?
[LG G6 Guides, News, & Discussion] johnwayne007:
If you just updated the app. Restart your phone, I updated it and i couldn't get it to respond. Restarting fixed the issue.
[Android Software Development] aldana:
Hi,

I bought a JVC Android TV (Android 7.0) but missing Google Play Store; instead there is a JVC Market (Aptroid based). I tried installing Google Play Store along with the Google Services however Google Services is installing successfully, but not showing anywhere for configuration.

Any advise how to successfully install Google Services and make it work...? Do I miss any other component...?

Furthermore, I can open Google Play Store through the browser and successfully sing-in into Google Play Store but my device (Android TV) is not listed in my devices. Can I add a device manually in Google Play Store...?
[Android Software Development] rsabluebulls:
I have a 4K 65" 3D JVC TV With android 4 and also looking at ways to get Android TV 7 on it.. any help would be appreciated
[Xperia Tablet Z Q&A, Help & Troubleshooting] Caniv:
Hey guys.

SGP312 model here, unlocked bootloader.

not sure what i did wrong here - i got to Fastboot mode and the blue light is on, when i run "Fastboot devices" i get the device name.

so i followed the explanation here: https://xdaforums.com/xperia-tablet-z/orig-development/ub-twrp-v3-2-1-xperia-tablet-z-t3735110

and did: "fastboot flash boot twrp-3.2.1-0-pollux_windy.img"

however, now my phone won't boot, and when i type "adb reboot recovery" i get "error: device not found" (even thought "Fastboot devices" gives me a response")

i tried fixing it with Flashtool, and everything works well until i get to "Wait for Flashmode" and im instructed to "unplug, power off, pres vol down, plug in USB cable" - this simply doesn't do anything =X

so.... how do i get out of this? all i want to do is install one of the newer roms from the forum (either Marshmallow or Oreo)

can anyone help me get out of this issue i've gotten myself into?
[Xperia Tablet Z Q&A, Help & Troubleshooting] Rootk1t:
you flashed recovery to boot. So only recovery exists in boot section.

Of course tablet won't boot afterwards, as there is not kernel.

Download custom rom you want to install, unpack boot.img from roms zip files and flash via "fastboot flash boot boot.img"

Afterwards enter recovery and flash custom rom zip, gapps or whatever you need.
[Xperia Tablet Z Q&A, Help & Troubleshooting] NoSuperHero:
I made same stupid mistake, so after getting the boot.img and ur command I get waiting for device. Any solution?
[Xperia Tablet Z Q&A, Help & Troubleshooting] Rootk1t:
enter recovery if it is installed and flash boot.img from there.
[Xperia Tablet Z Q&A, Help & Troubleshooting] big ach:
I did the same thing knowing the outcome and then successfully flashed Lineage.

For future reference, with the Xperia Tablet z where should I be flashing the recovery if not to boot:

"fastboot flash *What goes here?* twrp-3.x.x-0-pollux_windy.img"
[Xperia Tablet Z Q&A, Help & Troubleshooting] Rootk1t:
dd if=/sdcard/twrp.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

where twrp.img is your recovery image.
[Samsung Galaxy S9+ Accessories] ret4425:
Anyone found a belt clip that will work with a naked S9+? I actually use a very thin Spigen case, but the two clips I tried have companion cases which are thicker, making the Spigen case too loose for them. I love the thiness of the Spigen, just looking for a clip.

Thanks
[Samsung Galaxy S9+ Accessories] cpufrost:
The encased ones work well. They have a model that will work with slimmer cases.

https://www.amazon.com/Encased-Slim...qid=1526924832&sr=8-20&keywords=s9++belt+clip
[G2 and Desire Z Q&A, Help & Troubleshooting] heroes121:
Hi, I'm new to rooting and I've managed it on my old Samsung but I also have a HTC desire Z which I would like to run Cyanogenmod 11 on it which I know has been done, anyway can anyone offer my help with downgrading to 2.2 and installing a custom recovery I'd really appreciate it.
[Magisk] devsx:
I'm looking for a solution to change files in the vendor parition. Is this possible through a magisk module?

I've tried with the attached zip, but that didn't work, in fact it changed nothing.

Installation log:

- Copying zip to temp directory

- Installing enable_volte_pixel_xl_2.zip

- A/B partition detected, current slot: _b

- Mounting /system, /vendor

- Device skip_initramfs detected

Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip

inflating: config.sh

inflating: module.prop

creating: common/

inflating: common/post-fs-data.sh

inflating: common/service.sh

inflating: common/system.prop

*******************************

Installing Pixel XL 2 mcfg_sw VoLTE Enabler

*******************************

******************************

Powered by Magisk (@topjohnwu)

******************************

- Creating /data/adb/magisk_merge.img with size 64M

mke2fs 1.43.3 (04-Sep-2016)

Creating regular file /data/adb/magisk_merge.img

Creating filesystem with 16384 4k blocks and 16384 inodes

Allocating group tables: 0/1 done

Writing inode tables: 0/1 done

Creating journal (1024 blocks): done

Writing superblocks and filesystem accounting information: 0/1 done

- Mounting /data/adb/magisk_merge.img to /dev/tmp/magisk_img

- Extracting module files

Archive: /data/user/0/com.topjohnwu.magisk/cache/install.zip

creating: system/

inflating: system/mcfg_sw.mbn

- Setting permissions

- Done

- All done!
[Magisk] Didgeridoohan:
Well... Looking at the attached zip, it's not strange nothing is mounted to /vendor. Your file is placed directly in /system...

You'll have to place it in /system/vendor (and whatever sub-directory of /vendor the file should be in), and Magisk will take care of mounting it to /vendor.

You'll find a little more info on how Magisk modules work here:

https://github.com/topjohnwu/Magisk/blob/master/docs/modules.md
[Magisk] Didgeridoohan:
Ah... I just noticed what you're doing and why it's not working as you expect. I didn't see what you'd done to config.sh earlier...

In the system directory in the module you need to mirror the directory structure to the file you're trying to replace. So:

<MODULE>/system/vendor/mbn/mcfg/configs/mcfg_sw/generic/common/WildCard/WildCard/mcfg_sw.mbn
<MODULE>/system/vendor/mbn/mcfg/configs/mcfg_sw/generic/common/PixelLite/Commercial/mcfg_sw.mbn

The REPLACE part in config.sh is only used to replace a directory in /system or /vendor with an empty directory. Useful for debloating system apps or clearing out the directory for any other files than the ones you mount with the module.

What you're basically doing with your module is that you mount your file directly to the root of /system, and then you also create two empty folders named "mcfg_sw.mbn" in the directory structures you've put in config.sh.

Remove the stuff from REPLACE in config.sh and create the proper directory structures in the module system folder and you should be good to go.

Here's the relevant part is the documentation that's mentioned in config.sh for the REPLACE part:

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#remove-folders

Edit: oh yeah... If you're gonna post a log output directly in the post like that, at least use hide tags, please. Better yet, attach the file to the post.
[Magisk] devsx:
Okey, so the only thing I now did is:

-Place the folder structure in the system folder

-Remove the replace code in the script

Do I need to delete the existing files in the vendor partition or does the module overwrite the existing files?
[Magisk] Didgeridoohan:
Don't delete anything. Magisk will mount new files over any already existing files.
[Magisk] devsx:
Ok, but it seems not working with the way you described.
[Magisk] Didgeridoohan:
Nope... Still not right.

You're putting another system folder inside the module's system folder. That won't do...

You should have the vendor folder (with all relevant sub-folders) directly in the module's system folder.
[Magisk] devsx:
Many thanks, it worked!!
[Magisk] goRt:
Are you saying you now have a working VoLTE/WiFi module for Pixel 2 - can you please share the working version.

Does it also work on DP?

Thanks in advance
[Magisk] devsx:
Nah
[Xiaomi Redmi Note 4 Questions & Answers] der_Kief:
Does anybody know if RN4 esp. Mido/Snapdragon variant supporting HD Voice (Audio-Codec AMR-WB) or maybe even HD Voice+ (Audio-Codec EVS) for telephony/calls ?

The question arises if this is supported by hardware and which ROMs support this ?
[Xiaomi Redmi Note 4 Questions & Answers] k3lcior:
If you are brave: http://en.miui.com/forum.php?mod=viewthread&tid=622620&page=1&authorid=149467232

Dont ask me why it's disabled, this phone is truly "made in China". (fun fact: HD Voice works on MTK variant)

You can try to just add "ro.ril.enable.amr.wideband=1" in build.prop but i dont think it's gonna do anything.
[Xiaomi Redmi Note 4 Questions & Answers] der_Kief:
I found out that VoLTE uses either AMR-WB or EVS codec. So if VoLTE is working it should use HD voice.

This hack is for HD voice over 2G/3G
[Xiaomi Redmi Note 4 Questions & Answers] k3lcior:
VoLTE works, but it has nothing to do with HD Voice (which is 3G technology), VoLTE is LTE technology.

If VoLTE doesn't work for you then you better contact your sim carrier.
[Moto Z2 Force  Questions & Answers] thedemonschild:
Hey guys, I've been searching all day for a way to revert to stock recovery on my t mobile moto z2 force (XT-1789-04) and I can't find anything anywhere. I've scoured the forum and google all day but just can't seem to find either a. a rom that has stock recovery or b. a stock recovery image. Would anyone be willing to point me in the right direction? Thanks!!!

Edit: this is so I can install OTA updates again because when the download verifies, it fails without asking me to reboot meaning I can't use flashfire in this case. I'm very particular about things being a certain way with my phone, so please help me out!
[Moto Z2 Force  Questions & Answers] Uzephi:
You'd have to flash a stock boot image and lose root. You can't take OTA without going full stock then rerooting afterwards. The OTA does a hash check on the device to make sure system has never been mounted rw and also checks to see if boot is unmodified (where root and recovery sits in this phone).