yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] levenum:
Ok, so in order:

1) eVC 4 is a full IDE which looks exactly like VS 6 (if you ever used that thing).

Note that most MS installers are temperamental. I once attempted to install eVC to a location other then default directories and wound up reinstalling the whole thing.

2) You already figured out you need an SDK, but here is a catch: apps are never backwards compatible so something compiled with WM 6 SDK will not run on WM 5, WM 5 SDK apps will not run on WM 2003, and you can't use WM 2003 SDK with VS 2005. Yep, bit of a mess.

3) GDI - are the windows native graphics functions. They are useless for stuff like games but for regular apps where you need to draw directly to a window, specially one that you did not create (like with a today plugin) they are the best solution (In my opinion).

Basically, when you begin to process the WM_PAINT message, you need to call BeginPaint which will return a handle to the window's "device context" thats what you pass to all the GDI funcs to draw on.

4) You may want to take a look at RegDisplay in my sig. It is specifically a shell of a plugin with no extra code other than reading a line of text from the registry and drawing it on the screen.

Should be perfect for a new project. (No settings dialog though...)

5) To release your plugin DLL you need to go to Start->Settings->Today->Items and uncheck it. once you click 'OK' on that settings window the DLL should be released.

6) As for debugging - you may think me silly but I gave up on the remote debugger ages ago. It takes too long to connect and some of the projects I worked on just can't be ran with a debugger attached so I got in to a habit of using the following:

{//DBG
FILE* f = fopen("my_debug.txt", "a");
fprintf(f, "The debug value is %d\r\n", myValue); //myValue can be any verible you need to check
fclose(f);
}

I just stick this block of code (it must be wrapped in {} to avoid var duplication and the //DBG comment makes it easy to fined and remove later) where ever I need to check something and it usually does the trick.
[Windows Mobile Development and Hacking General] evilc:
Golden info there mate, thanks.

Pity about the debugger, the stuff I have programmed previously was generally in stuff without decent IDEs / debuggers, would have been nice to code in a language with a nice debugger for once, but oh well...

I think I am gonna have a go a rewriting SaFF in native code. Will probably try and make it take the layout from an INI file or something so it is skinnable / configurable. Should be quite easy - you have written the clock bit and config screens for me, I just need to write something to parse an INI file for items (clock, calendar, PNG backgrounds, buttons) and write a system for specifying layout in portrait and landscape and I am done...

Oh, and regarding the SDKs, so for max compatibility for devices, use the 2003 SDK? Thus forcing you to use eVC anyway?
[Windows Mobile Development and Hacking General] evilc:
Well I have had some progress over the last couple of days - getting there...

One thing though I am having real trouble working out is how to display a transparent PNG using pure eVC - All the examples I see out there are either VB, C#, .NET, MFC, etc, etc...

Can anyone point me in the right direction?
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
Its often better to try and do the thing that interest you on your desktop os before doing it on a ppc. This is simply because it is easier to search for normal examples. Most of the time there are only minor changes that will need to be made when moving code from a pc app to a ppc app.

Your experience mentioned with a hello world program suggests learning more win32 because you could make the exact same code work on either platform. IMO depending on mfc too much is no good. This is because the dll versions change with time potentially causing code maintenance headaches.

the evc packages are really good for learning but for bigger projects vis studio 2005 is much better (it doesn't crash as much).
[Windows Mobile Development and Hacking General] evilc:
From what I understand, doing this on windows would not be the same.

Part of the problem seems to be that evC++ 4.0 does not have the libraries to do transparent PNGs. This would not be an issue on windows (As it would have GD+ ?). It's not that I do not know how to blit to the screen, it's just that the only form of transparency that the PPC 2003 SDK seems to support is a colour in a bitmap that represents 100% transparent pixels. I want proper Alpha transparency PNGs.

I am thinking that maybe the advice to use eVC 4 (and the PPC 2003 SDK, as I cannot get WM5 SDK to install with eVC instead of VS 2005) rather than visual studio was not in my best interests. OK, so by using the PPC 2003 SDK I get the most compatibility, but it seems I have to do an inordinate amount of research just to get anything done without resorting to .NET or managed apps or some crap like that. I only really care about supporting WM5 / WM6 anyway, it is not a commercial app. I am gonna release the source anyway, so if someone else can work out how to make it PPC 2003 then they can port it back, but I think it is beyond my ability.

I am trying to go around and perform the basic functions my app needs to perform so that I can find out whether I can use VC++, or whether it is just too much work and I would only be able to handle managed code for now or something.

My list is:

1) Draw text - yes, know this

2) Show clock - Know how to do thanks to levenum

3) Draw transparent PNG - No joy so far, but know how to draw to a DC.

4) Detect click on a PNG or in a rectangle - Should be easy in any language?

5) turn on / off wifi and bluetooth - may have to use vjay's app for this, but again shouldnt be an issue

6) Read SMS / MSG counts etc - Shouldn't be a problem, coded this in rlToday, could use S2R and read info from reg if needs be.
[Windows Mobile Development and Hacking General] evilc:
Bah. About at the point of giving up.

30+ hours of my life utterly wasted just trying to display an alpha transparent PNG.

I feel so disillusioned - funnily enough, the last time I remember quitting a programming project in such disgust was when trying to code some stuff in MS Access - exactly the same story - a million and one different libraries (COM+, .NET, Managed code, etc) and not a clue what they all are or where the boundaries lie. In that case I re-wrote in PHP and MySQL and had it done in days. Why is everything Microsoft so complicated ????
[Windows Mobile Development and Hacking General] kabeza:
because Microsoft is like Women :confused: :D

nice thread guys...
[Windows Mobile Development and Hacking General] penasagra:
I know this thread is a bit old but I'd like to thank everybody who contributed to it.

I'm new to all this and reading it and the links provided has answered most of my questions.

Cheers guys.
[Moto G6 Plus Themes, Apps, and Mods] kemoti:
Hello all. Since our Motorols do not have LEDs, I have found a very good application that solves this problem by enabling flash notification. The application is free and without advertising. Maybe some of you know her but maybe I helped someone.

Google Play:

https://play.google.com/store/apps/details?id=com.trendy.frontflashnotification

XDA:

https://xdaforums.com/android/apps-games/app-frontflash-notification-v1-6-t3734332

A big thank you to the author of the application.
[Moto G6 Plus Themes, Apps, and Mods] Dadud:
actually i noticed a LED in the top right upon booting the phone for the first time, so physically, there is a notification LED. But, i think its disabled in the android software, maybe a custom rom can fix that at some point.
[Moto G6 Plus Themes, Apps, and Mods] kemoti:
In fact, if you look at it in good light, you can see a small dot on the right side of the flash. However, I'm not sure if it's a led. It would be fun because then they will do it in unofficial roms. :D

News:

https://xdaforums.com/showpost.php?p=76857721&postcount=1
[Moto G6 Plus Themes, Apps, and Mods] ericlikeseatin:
It is a white LED. If you let your phone discharge its battery all the way down to nothing, this light will turn on when you charge it. After a few moments, it then turns off. No idea why Moto set it up this way. I'd rather have the LED on all the time when charging.
[Moto G6 Plus Themes, Apps, and Mods] ninjakira:
Ex kernel manager gives you options to use the white led. I have it set to be on when my phone is charging lol
[Moto G6 Plus Themes, Apps, and Mods] Sultonis:
how did you find how to operate front led light?

my one is always on for some reason, phone is operating well, i did a factory reset recently that didn't help.

any advice?
[Fire HD 8 and HD 10 General] synchron50:
I have a rooted HD 10 2017 and, once in a while, it will not wake up from standby on its own. My understanding is that when you close the lid from the case it goes to standby. There are times when I open it, it stays a black screen. Pressing the power button for over 20 seconds does not wake it up. The only way to wake it up is to attach AC power to it and then it hard reboots.

Is this normal behavior or should it get looked at? I got it last Thanksgiving Black Friday sale for $99.
[Fire HD 8 and HD 10 General] Supersonic27543:
Not normal behaviour, maybe try a factory reset? Sometimes, very strange things happen after rooting the Fires, maybe because they are not like other tablets. :(

If that doesn't work, you'll have to flash stock, and if even that doesn't work, ask Amazon for a replacement.
[HTC U11  Questions & Answers] SidneyD:
Hello,

I've been reading this forum to try and understand the processes related to modifying the U11. I purchased the Dual SIM variant so I could use it both at home in the USA and while traveling abroad.

While reading I came across some terms I don't understand. Could someone please explain them to me?

OCN

RUU

S-ON and S-OFF

CID, SuperCID, and MID

hboot and aboot

zip-aligned

odex and deodex

I also have a couple questions. Other phones prevent unlocking bootloader, but I didn't see mention of that for this phone. Are all variants unlocked from the factory? If not, is there a standard process to unlock the bootloader?

Similar to the bootloader, is getting root on this phone difficult?

Other phones, when updated, cannot be rolled back. Is there anti-rollback for the firmware of the phone or modem/radio?

One of the custom ROM threads states that "Oreo firmware is mandatory". Would I need to flash 2.33.401.10 while within recovery? Or would I flash it in ADB download mode?

I will be using the phone on T-Mobile in the USA for the most part. Is VoLTE and WiFi calling available in any custom ROM? I have these services enabled on my T-Mo account.
[HTC U11  Questions & Answers] elmor0:
Google & XDA search functions are your friends regarding the terminologies/ guidance you need.

Also, try the helpful links via this XDA page: https://xdaforums.com/u11/how-to/collection-htcu-u11-ruu-firmware-t3612048

And this guide: https://www.theandroidsoul.com/htc-u11-root-twrp-recovery-and-bootloader-unlock/

Regarding unlocking the Bootloader, try: https://www.htcdev.com/bootloader/

(Depending on where you have purchased your handset from, it may or may not be 'Factory unlocked').

You can flash via Custom recovery or via ADB mode.

Check the specific custom ROM's info re. VoLTE/ WiFi calling (which is carrier dependent).
[HTC U11  Questions & Answers] CurtisMJ:
Some direct answers. Use the search function next time though ;)

OCN - the U11's codename. Short for Ocean.

RUU - ROM Update utiltity. HTC specific full device imaging utility for returning to factory firmware. It's usually difficult to find a copy for certain variants though.

S-On/Off - HTC specific Bootloader level security. In S-On mode the flashing of certain partitions is restricted to officially signed images even if the bootloader is unlocked. These are mostly firmware partitions which most people wouldn't care to flash with anything else anyway, so unless you have a specific use case you're good with S-On for now

CID/MID - designators for different region and carrier variants. The SuperCID is a testing CID used by HTC engineers (111something. I forgot exactly) which has no restrictions.

hboot - HTC bootloader. Its the first binary that runs and loads the kernel. Resides on one of the partitions locked behind S-On. Not worth modifying on the U11 last I heard.

Zip-aligned - technique of packing APKs which optimizes read performance from storage. Not HTC specific

De/Odex - Dalvik bytecode from system apps often gets precompiled into Odex files for performance reasons but this makes them a bit hard to modify so reincorporating them into the system APKs is common practice (Deodexing). Also not HTC specific

There is an unlocking process (doesn't come unlocked) but not all variants are necessarily unlockable.

Getting root isn't particularly difficult once TWRP is installed

There is some sort of rollback protection but it seems overridable with certain flashing methods (The "SD Card method")

When a ROM claims that Oreo firmware is mandatory it means the modem/radio etc. You'll need to OTA or RUU to an official Oreo ROM.

Carrier services depend rather heavily on the particular ROM, carrier and even signal bands on the hardware so no guarantees can be made.
[Honor 9  Questions & Answers] Fant0hm:
Hi there,

New here so thanks in advance for any help you guys could provide.

I need to root my Honor 9 for Android Development purposes so I tried to unlock the bootloader to install a TWRP.

(following this thread : https://xdaforums.com/honor-9/how-to/how-to-root-honor-9-stf-l09c432b360a-t3778110)

When it comes to the "adb reboot recovery_ramdisk", it loads to that error message :

Error Mode

Attention!

Please update system again

Error!

Func no: 11 recovery image

Error no: 2 (load failed!)

Any clues of what i'm doing wrong and how I can get rid of that error message...?

(The goral is to root the phone using that Magisk thing everyone's talking about :))

Thanks a lot!
[Honor 9  Questions & Answers] oslo83:
still need help ?
[Honor 9  Questions & Answers] Fant0hm:
Hi Oslo83!

Yup, still need help. I don't understand what i'have done wrong :/
[Honor 9  Questions & Answers] oslo83:
Phone is still booting in normal mode ?

You got this error screen only when bootinng to recovery ?

Do you still have access ro bootloader ?

---------- Post added at 12:09 ---------- Previous post was at 12:09 ----------

-ro +to
[Honor 9  Questions & Answers] Fant0hm:
phone is still booting, no probs with that, and I still have access to bootloader yup.

i get the error message when i boot into recovery with adb reboot recovery_ramdisk

if i boot into nrecovery by pressing the buttons, i have the default honor recovery appearing.
[Honor 9  Questions & Answers] oslo83:
What firmware version and region are you on ?

8.0.0.xxx (Cyyy) ?

Recovery mode is 'recovery_ramdisk'...

You should boot in twrp 0.3 when booting into recovery, as you flashed it, if you typed the right command...

recovery and erecovery are 2 differents mode on differents partition.
[Honor 9  Questions & Answers] Fant0hm:
Version : 8.0.0.364

Region: C432

Well, as i said, i followed the thread step by step and yet, still no twrp.

Thing is, if I want to flash it again with adb (in case of something went wrong during flash?), well, i get a "FAILED" error
[Honor 9  Questions & Answers] oslo83:
it wont flash with adb, but with fastboot it will...

I really think you messed the command you previously typed. Can you post them ?

You'll have to

fastboot flash recovery_ramdisk stf-twrp-zxz-0.3.img

again then to boot to recovery mode.

---------- Post added at 12:57 ---------- Previous post was at 12:56 ----------

Post the whole error output...
[Honor 9  Questions & Answers] Fant0hm:
well, first, i connect the phone with usb debug and OEM enabled.

i do

adb reboot bootloader

wich give me the "fastboot&rescue mode" with phone unlocked and FRP unlock in red

then i do

fastboot flash recovery_ramdisk stf-twrp-zxz-0.3.img

and it tells me :

target didn't report max-dowload-size
sending 'recovery_ramdisk' (0KB)...
FAILED (command write failed 'No error))
finished. total time : 0.016s
[Honor 9  Questions & Answers] oslo83:
You're stf-twrp-zxz-0.3.img is wrong or not i' your working folder. Download it again.

---------- Post added at 13:45 ---------- Previous post was at 13:45 ----------

-you're +your -i' +in
[Honor 9  Questions & Answers] Fant0hm:
Oh! it worked!

Problem apparently wasn't the .img but the "Minimal adb and fastboot"

I downloaded sdk platform tools on my home personnal computer and managed to install twrp (plus, buttons and flash work correctly, yay!)

So, problem solved i guess.

Thanks a lot for your time, Oslo!
[Honor 9  Questions & Answers] oslo83:
I'm using Minimal adb and fastboot without any problem.
[Honor 9  Questions & Answers] Fant0hm:
well, i don't know what else it could be. used the same files, the same commands...
[Huawei P20 Pro Questions & Answers] FranAmestoy:
Hi, just read some info regarding brand new, gamers oriented Honor Play, which packs same CPU and GPU than P20 Pro, with little bigger display and less battery capacity.

However, I'm troubled to think this is only advertising, regarding the turbo GPU thing and the supposed 7.1 sound capabilities, called "4D gaming", otherwise our phone should have the same features.

What do you think? Are they trying to sell their new toy, or in fact those things are already available or may be in the future through updates or modding in our phones ?

Also, suggestions about reposting to another topic will be appreciated. Thanks in advance

Big hug for y'all
[Huawei P20 Pro Questions & Answers] isko01:
P20 Pro will also get GPU Turbo. And it is not the same spec, smaller battery, no IP67, no good camera's and etc...
[Huawei P20 Pro Questions & Answers] yasitoo:
I've heared somewhere that honor play is'nt coming with Android but with a Huawei proprietary OS.
[Huawei P20 Pro Questions & Answers] FranAmestoy:
Nope, already confirmed that came with Android
[Huawei P20 Pro Questions & Answers] FranAmestoy:
But GPU turbo sounds like a hardware feature, common sense tells that if this is the selling point of the Play, wouldn't be wise to make it available for other phones, that's why I'm asking in the modding forum.

Regarding the specs, I said smaller battery and bigger screen, camera is obvious
[Huawei P20 Pro Questions & Answers] dlads:
Coming from the OnePlus 5 and being a gamer myself I've tried a lot of emulators, Tekken 6 on the PSP works perfectly, half life 2 should work, gsmecube games, the p20 doesn't really need anything more tbh.

But if theres overclocking needed then I'd say a kernel app would be the best way and a custom kernel if needed.
[Huawei P20 Pro Questions & Answers] flipp0:
This phone only costs around $330 on aliexpress. Incredible value. https://www.aliexpress.com/item/HUA...81dc-411a-901e-fcbb7453f03d&priceBeautifyAB=0
[Huawei P20 Pro Questions & Answers] sniper20:
Where the hell did you find the same specs in those two very different phones.??? A totaly useless topic.
[Huawei P20 Pro Questions & Answers] smohanv:
I agree.
[Huawei P20 Pro Questions & Answers] Nezzox:
Same CPU does not mean same specs.
[Huawei P20 Pro Questions & Answers] cnqrr:
i bought one, and i regret the decision mainly because of the camera. Buy the V10 instead of this gimmick phone.
[Huawei P20 Pro Questions & Answers] Celesteela:
Does god of war run at 60fps in ppsspp? How about ps2 games? Is it better than oneplus 5 at emulators? And have you tried wii games? How do they run?
[Huawei P20 Pro Questions & Answers] dlads:
PS2? No mate, ps2 is a long way off being playable.

Psp runs great for the most part. The game fluctuates between 40-60 usually around 45fps

But then again the OnePlus 5 never played it at a solid 60.

In fact neither did the psp, it had many drops in frames.

Playable? Absolutely, not my type of game but definitely playable..everything else has been spot on, for the most part they run at the framerate they should.

Perhaps if the GPU boost can be utilized for emulators it'll improve even more.

It's been superb for what I've used it for (the P20 Pro)
[Huawei P20 Pro Questions & Answers] Celesteela:
Oh, thanks for the information!
[Huawei P20 Pro Questions & Answers] dlads:
No worries mate.
[Windows Mobile Development and Hacking General] gwaitsi:
I recently bought a WinCE6 unit supposedly with 256Mb and the unit was majorly unstable i.e. losing certain settings i.e. radio, system, etc at startup although the navi settings remained and random rebooting during driving etc.

I sent the above unit back and bought a different brand supposedly with 512MB and got the same issues.

I spent more time analyzing and established the problem was particularly bad when navi was auto-started at boot up or when multiple services had been in use and things like reversing would cause a chinese error dialog. the dialog basically says MTK has insufficient memory, do you want to continue and then the unit resets.

I removed some of the non-essentials from iGo9 and turned off auto start navi and was able to improve the situation but still get MTK error messages, etc.

using total commander, i established the units only have 150Mb free ram so the marketing material appears to be false, or the ram is faulty causing the intermittent crashes.

I also discovered when i connect the WiFi over 4G that the unit is trying to connect on port 1080 to a site in China.

Questions;

- how can i a remove the internet proxy which seems to be independent of Opera Mini browser

- how can i get it to work with the less than expected memory i.e. swap file, etc.

Thanks for the advice
[Google Pixel 2 XL Questions & Answers] TokyoGuy:
So far I've noticed the following. Note this list doesn't include obvious things like "the recent menu now has a clear all". Also I have put this here because I suspect some of the topics will be "where did x go"? Moderators, feel free to move this to the discussion forum if you want.

1. Unfortunately Google has severely toned down or else removed many of the navigation-related animations that were present in DP2. I loved them...

2. The color mode preview image in settings is now a hummingbird instead of simply a drab background.

3. The AOD now has the At A Glance weather image tacked onto the date portion. This includes color, as my display currently has a yellow sun mark.

4. Using gesture navigation, it is now much easier to actually call up the recent list: it kind of pops in place now, aided by haptic feedback that some on Reddit are already complaining about.

5. The "separation icon" that replaced the mini arrow above the homescreen's docked apps is now gone entirely.

6. Haptic feedback overall feels much stronger than before.

7. Some language-translation things have been fixed, yet new ones have appeared. For reference I have my phone set to Japanese and the "Support" tab in Settings is now listed in English whereas before the title was in Japanese, and the gesture navigation setting is now titled in Japanese whereas before it was in English.

8. The OS version is now listed as 9, instead of P.

9. The Sharing menu setting now includes a tab of "previously paired" devices.

10. The home screen now requires manual setting to allow rotation when auto-rotate isn't enabled.

11. The native scaling seems to have been adjusted (or broken) as the navigation bar-based clock seems to either be smaller than before, or else glitch between large and smaller.
[Google Pixel 2 XL Questions & Answers] biggiestuff:
Anyone know how to get rid of this? The squashed notification when the quick settings is fully expanded?View attachment 4520686
[Google Pixel 2 XL Questions & Answers] EeZeEpEe:
Clear your notifications
[Google Pixel 2 XL Questions & Answers] biggiestuff:
I don't want to clear it. I want to interact with it. Sometimes it's hard to reach a notification so I use a gesture to expand the quick settings tile further so I can hit reply or Mark as read.