TouchFlo 3D killing OpenGL-ES Application - Windows Mobile Development and Hacking General

I recently acquired the new HTC Touch Diamond 2 in France and I've been attempting to do OpenGL ES application development on it, but was getting Init failures and generally weird behavior. I noticed that the applications worked fine on older Windows Mobile 5.0 devices such as a Palm and older HTC. I suspected the TouchFlo 3D (built-in UI) might be causing the problem so I turned it off and now everything works great.
so
Does anyone know how to disable TouchFlo 3D temporarily from an application and reactivate it when finished? I can't expect users to permanently disable TouchFlo since it works quite nice and is a big improvement over the existing UI.
Note: I am using the Vincent 3D library for OpenGL-ES.
Thank you
E

You can kill the TouchFlo 3D app when your app launches and restart it when your app closes. The Filename of the app should be "manila.exe", using some VS Tools you can check the main windows class name which you can use to send a WM_QUIT message.
But be sure that your app covers the hole display before you quit the app because the app is automatically launched when the home screen is displayed...
After shutting down your OpenGL|es context and displays you can easily restart the manila.exe or it should be automatically started when the home screen is shown ...
Can you tell me how you got the Vincent 3D library running on your pda? I've tried all on my HTC Touch HD but nothing is displayed except the title bar of the window ...
Greetings

Related

Manila.exe CPU usage Problem

Hi guys,
my fresh resetted Touch HD with TouchFlo 3d (1.3.37295.0_1630.38) has a big problem. After a short time (like when i charge my battery or something) the manila.exe CPU usage goes up to 100%. And then the HD will be very slow and when i start the task manager i see a hopping cpu usage from 50-95%
I don´t know what i doing wrong (the HD Tweaker i set all the TF3d features to default after i change some settings) i installed kalos tatoo theme and have the my today page running (but when i disable the today page and restart this issue is there too)
Did someone know what i can do?
greets
Kenny
Kenny1980 said:
Hi guys,
my fresh resetted Touch HD with TouchFlo 3d (1.3.37295.0_1630.38) has a big problem. After a short time (like when i charge my battery or something) the manila.exe CPU usage goes up to 100%. And then the HD will be very slow and when i start the task manager i see a hopping cpu usage from 50-95%
I don´t know what i doing wrong (the HD Tweaker i set all the TF3d features to default after i change some settings) i installed kalos tatoo theme and have the my today page running (but when i disable the today page and restart this issue is there too)
Did someone know what i can do?
greets
Kenny
Click to expand...
Click to collapse
Use your task manager to see if you have any apps running in the backgroun. Also, try using CleanRAM
This happened to me today, just after i had deleted a load of old texts. I backed them all up with myphone, and deleted all the text off the phone, i had about 300. manila was back to normal without a restart!
Manila.exe CPU usage Problem 95% - 97%
I am still having this issue. I just got this phone about 2 weeks ago. The only thing I have installed on this is a application that puts the option to close programs like the old htc touch pro (from HTC). The only task I am currently showing running in the background is Activesync which is not normally running. If I set the task manager to Process mode, then i can see the entire list of processes and they all look to be correct. I am showing manila.exe taking up 95 - 97% cpu and it crashes a lot. I would really like to know how to get to the bottom of this or if anyone knows of any error logs (or debugging methods) I could check then that would be most helpful.
Jeff
Having the same problem since a week.
It's interesting that the high CPU load from manila.exe stops when another application goes to the foreground.
Mostly it happens after a soft reset.

How to remove HTC branding on HD2 (T-Mobile - US phone)

(reposted to a more relevant subforum)
Hello All,
It's probably a stupid question for most of the ppl here, but I need to know how to remove all that HTC branding and their eye candy. I'm working on some software and we will be using HD2 for a demo. The problem is that some phone manufactures hire retards that break very fundamental things in WinCE and that destroys my APP completely.
So, I simply want to know how to get rid of all their junk and have vanilla default WinMobile 6.5 installation on that phone.
For curious ppl: the problem with their software that i have is that the "X" button that meant to do some action doesn't do anything in my app, it simply minimizes it and my app doesn't get any notification that the "X" button was clicked. The Acer phone (also with snapdragon) at the beginning had an opposite problem, the 'X' button would always kill my app even if I handle WM_CLOSE/IDCANCEL messages properly, but with latest update that problem was fixed. Latest update in HTC/T-mobile still has that same problem and I absolutely have to find a solution asap. Using some cooked ROM is not an option (cannot be accepted by the customer).
If it's not very clear what I'm talking about: on some old old htc devices after factory reset I had to hold green and red call buttons on the first boot to prevent it from running operator branding junk. That's what I want to do on the HD2 phone from T-Mobile
Hi,
look at some of the ROMs here. There are some which contains only WM without Sense (what you call branding). Other way is just disable Sense in the Settings for the Home Screen and see if your application still does not work.
But to be honest, I guess it's more an issue of your application and WM 6.5 not a "branding" issue.
bye
Sven
It's the issue of that sense thing and has nothing to do with the os or my app itself. I'm not doing any quirks, I simply follow documented stuff on ms web site and it doesn't work.
The top bar that contains the 'X' button seems to be modified or subclassed by their junk code and that's why my app doesn't receive messages that it it receives just in every other mobile phone that I test with (6 and 6.5 WinMo, for 6.5 Acer s200, toshiba tg01, samsung omnia all work just the way they are expected to work). I absolutely can't use any other rom (I can take hummer and do whatever i want with my test device, but for the real demo at the customer site nothing like that can't even be discussed).
As was said, you can get roms without Sense at all, where Sense covers the majority of the HTC customization, or you can simply disable it in the Today Screen setup. Beyond that, if the X button is your only concern, get a task manger and force its behavior to what you want.
The stock HD2 doesn't have a task manager or any change to the smart minimize behavior, so the message sent when the X is hit should be WM_ACTIVATE with parameters fActive = WA_INACTIVE and nonzero fMinimized. If you're used to seeing a WM_CLOSE message, those are WinMo installs where the Smart Minimize button has been customized to close, rather than the HD2 being the modified environment. The stock HD2 does, on the other hand, have a very aggressive memory recovery config that practically allows only one program running at a time. That aggressive OOM killer is why the smart minimize was left at default behavior.
That's what I figured after testing that it has that horrible smart minimize. What about poor guys like me who don't like smart stuff at all? What that aggressive memory recovery thing you mentioned? What does that mean? All current devices have way more memory than os 6 can allow to be used. All shared dlls in total take like 10MB nowdays that leaves all the apps with like 20MB addressable ram. That's the problem and aggressive memory recovery sounds like some buzz word that has no meaning in the real life (unless I'm a total noob and fail to see the "smart" part in the aggressive memory config
Any way I can disable smart minimize? By the way, I figured that I can workaround that smart crap: I made a test app and it works as expected, the only difference is that my app uses different window style flags which seem to trigger smart behavior.
hattmoward said:
Beyond that, if the X button is your only concern, get a task manger and force its behavior to what you want.
Click to expand...
Click to collapse
That worked perfectly!
I tried to check HTC task manager : http://www.freewarepocketpc.net/ppc-download-htc-task-manager-v2-0.html
and it did exactly what I wanted. It did not modify anything, it did not add that manager as shown on the download page but it simply disabled smart minimize thing and it's now working as expected/required.
thanks for help!

[Q] Can I reinstall HTC Sense?

First let me say this is the first issue I've had to date with my HD2. As a die hard win mobile advocate, I love it and it has exceeded expectations at every turn. Today however, I seem to have a problem with HTC Sense. it will not Launch correctly. it hangs on the Launching Sense splash. the Home button is not working. the Start button (hard and soft) is working , but the display freezes anytime i do anything. for instance, i can press the Task Manager shortcut i put on my start menu, and lauch the task manager, but if i minimixe with the X, the x just disappears and the header changes from task manager to start, but the screen is left displaying the the task manager and nonworking buttons (more like a screenshot)
I'm considering restetting to factory, but thought i'd see if there was a way to reinstall sense first (if anyone might agree, thats worth trying first)
Can I reinstall HTC Sense? (without it working properly now)
Is this worth a try?
many thanks, love the forum
Markwood2k said:
First let me say this is the first issue I've had to date with my HD2. As a die hard win mobile advocate, I love it and it has exceeded expectations at every turn. Today however, I seem to have a problem with HTC Sense. it will not Launch correctly. it hangs on the Launching Sense splash. the Home button is not working. the Start button (hard and soft) is working , but the display freezes anytime i do anything. for instance, i can press the Task Manager shortcut i put on my start menu, and lauch the task manager, but if i minimixe with the X, the x just disappears and the header changes from task manager to start, but the screen is left displaying the the task manager and nonworking buttons (more like a screenshot)
I'm considering restetting to factory, but thought i'd see if there was a way to reinstall sense first (if anyone might agree, thats worth trying first)
Can I reinstall HTC Sense? (without it working properly now)
Is this worth a try?
many thanks, love the forum
Click to expand...
Click to collapse
have you installed anything recently? if that is the case, try uninstalling that, soft reset and then see if sense leaunches properly. As for reinstalling sense, theres a cab floating around, but its huge...dont know if it will work for you or not as ive never tried it myself
heres the link: http://rapidshare.com/files/401944993/bigboss_Manila_2.5_2016_full.cab.html
you need to install sdcerts first for the above cab to install. it can be found here
http://www.mediafire.com/?1mmddxz2yjm
good luck!
WOW!!!
MINE DID THE VERY EXACT SAME THING Monday night. I think it was something to do with a game that I must have installed from marketplace a few minutes before it happened. One of the free XIM games i think, or maybe the bartender recipes free app. I uninstalled almost everything and soft reseted about 10 times, nothing. Sense will work for about 30-60 seconds after a reset but then all of a sudden stops working. Leaving that last screen that was open displaying with no responses to anything other then start and end keys. WTF happened??
after a reboot, quickly go and disable the sense from home setting from the setting tab before it locks up. I did that and it is working fine with Windows default or even SPB Mobile shell. Sense is fried though.
Nate
any other ideas peeps?
Markwood2k said:
First let me say this is the first issue I've had to date with my HD2. As a die hard win mobile advocate, I love it and it has exceeded expectations at every turn. Today however, I seem to have a problem with HTC Sense. it will not Launch correctly. it hangs on the Launching Sense splash. the Home button is not working. the Start button (hard and soft) is working , but the display freezes anytime i do anything. for instance, i can press the Task Manager shortcut i put on my start menu, and lauch the task manager, but if i minimixe with the X, the x just disappears and the header changes from task manager to start, but the screen is left displaying the the task manager and nonworking buttons (more like a screenshot)
I'm considering restetting to factory, but thought i'd see if there was a way to reinstall sense first (if anyone might agree, thats worth trying first)
Can I reinstall HTC Sense? (without it working properly now)
Is this worth a try?
many thanks, love the forum
Click to expand...
Click to collapse
Follow up, I think it may have been an error with Twitter or HTC PEEP. I was looking around for the Peep app to see if it would run outside of sense and saw the HTC folder in the Windows (windows\htc\twitter\files) folder and found an executable Twitter app.exe. I launched it and it asked if I wanted to log out of twitter, i said yes and then later I turned on Sense and it has worked ever since.
Related??? Dont know.
but I am up and running again. I will report back if it happens again.
ok, everything is still running fine. What I did after the Sense crash.
installed SPB Mobile shell 3.5.5
tried sense a couple more times, failed each time.
Looked for and found Twitter app.exe, launched and logged out of twitter.
tried sense again, worked.
logged back into twitter
Unisntalled SPB mobile shell
No problems to note. Everythign is working as it should.
Running the latest Stock Tmobile rom as well.
seems like this thread has not had any activity lately, does that mean that the OP is not having issues now???
most probably it's not a matter of twitter app. i've never used it, was not logged in and sense still did break down, hangs while "Launching HTC Sense...". got energy ROM, happened for the second time, dunno why am tired of restoring to manufacturer defaults and wiping my device twice a year

Zynga Poker - Running in Multi Window mode

Has anyone figured out the settings to use for this app to run in the following setup
- device locked to Portrait Mode
- Zynga in bottom half of the screen
There is quite a bit of down time when playing this game.
When I'm on the PC I'm reading Twitter/scrolling Feedly, want to do the same on my device, i mean we got 1920x1080 pixels to play with!
The default settings don't work in that the UI is messed up and doesn't fit properly.
when I change the DPI or layout it starts to look ok, however I can't start a game - using per app settings from xposed.
As soon as I click the "ok, take me to the table" the game runs some sort of validation to check that it is running full screen or something and then Force Quits.
Curious if anyone has gotten around this sort of issue.
I used Ultimate Rotation Control to stop Zynga Poker from switching the device into Landscape mode.

Microsoft OneNote problem

Hello all,
First of all, if this is wrong section to ask, please move to the right one, also if there is already solution to my problem I appreciate link =)
So my problem is, according to title: Microsoft OneNote. When I start new note, it runs smoothly for about one minute or less, after that time it starts to lag. But it is more like display is lagging or it is just not rendering. For example: I write down 2 sentences. When writing third, it is not showing any typed characters, keyboard is running -> one sec stop / freeze -> show all typed characters like superfast typing (not showing all at the same time, but one by one very fast). This stage is relatively OK. Next one is more problematic, because after some time, even keyboard freeze and there is nothing I can do. One temporary workaround is to go to Home screen & back, but it is temporary and after 3 to 5 times the only solution is to terminate app and wait some time and repeat.
This is bothering me some time, maybe a year and it is really annoying. It is not happening from the beginning of using OneNote.
My observations:
I tried to watch CPU usage (greed, red, blue bar) and when it is lagging, red and mostly blue bar is popping. When the screen refresh (when characters are typed) blue bar "dissapear"
Reinstall is not working
No battery saving is set on OneNote
No update of OneNote fix this
Latest version of MIUI is installed
Tried to switch to default launcher (Nova launcher is what i use)
Tried to switch to default keyboard (Swiftkey is what i use)
Force rendering 2D in GPU
Turn off MIUI optimalization
Turn off OneNote sync
And maybe something more I forgot.
Another apps run smooth and have no problems at all. Just OneNote.
Really don't want to put my phone to factory reset...
Is there something I can do to fix this? I Use OneNote on PC and like the sync between devices (used Evernote before), so another app is not a solution.
Thank you for reading, more thank you for replying and my greatest thank you for solution =)
P.S. Sorry for my not very good english.

Categories

Resources