yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] drkfngthdragnlrd:
Think I may have found something. I've been trying to port the MyFaves Page from Sense 2.1 to Sense 2.5. Been having problems because of the whole renaming issue. So, I edited the 26948339_manila & ManilaFull.xml to use the old Mode9 filepaths for the Page & it's icon. It loaded but the icon was missing. So i copied in the images from Sense 2.1 & it used them. I think the whole renaming thing is linked to those xml's if you use the old Mode9 filepaths, it looks for the old image files paths as well.

example:

When I used;

<Page Order="1" Name="myfaves.page" PackageName="HTC" Title="MyFaves" >
<ComponentReference Name="page" Mode9Path="[COLOR="#ff0000"]HTC\Myfaves\MyFaves.mode9[/COLOR]" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="[COLOR="#ff0000"]HTC\Manila\myfavesicon.mode9[/COLOR]" Component="MyFaves_Off" />
<ComponentReference Name="icon_selected" Mode9Path="[COLOR="#ff0000"]HTC\Manila\myfavesicon.mode9[/COLOR]" Component="MyFaves_On" />
<ComponentReference Name="icon_preview" Mode9Path="[COLOR="Red"]HTC\Manila\myfavesicon.mode9[/COLOR]" Component="MyFaves_Preview" />
</Page>

it used the new Filepath Hashnames (\Windows\HTC\MyFaves\Assets\Images\MyFaves\VGA\"ImageName".qtc).

But, if I use;

<Page Order="1" Name="myfaves.page" PackageName="HTC" Title="MyFaves" >
<ComponentReference Name="page" Mode9Path="[COLOR="#ff0000"]HTC\MyFaves.mode9[/COLOR]" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="[COLOR="#ff0000"]HTC\myfavesicon.mode9[/COLOR]" Component="MyFaves_Off" />
<ComponentReference Name="icon_selected" Mode9Path="[COLOR="#ff0000"]HTC\myfavesicon.mode9[/COLOR]" Component="MyFaves_On" />
<ComponentReference Name="icon_preview" Mode9Path="[COLOR="#ff0000"]HTC\myfavesicon.mode9[/COLOR]" Component="MyFaves_Preview" />
</Page>

It used the old Sense 2.1 Filepath Hashnames (\Windows\HTC\Assets\Images\MyFaves\VGA\"ImageName".qtc).

What this all basically means is, ".\" didn't change meaning. It means from the Mode9's filepath. So if Mode9 is in "\Windows\htc\", than ".\" = "\Windows\htc\". If the mode9 is in "\Windows\htc\Myfaves\", than ".\" means "\Windows\htc\Myfaves\".

EDIT: This does NOT seem to effect Script Filepaths...
[Windows Mobile Software Development] OndraSter:
So, I've discovered few more, some manually, some due depcheck from .mode9 files:

4BB97559_manila \windows\htc\scripts\Component\ringtone_landscape.luac

5507C5B6_manila \windows\htc\scripts\internetportal\internetportal_landscape.luac

7220160b_manila \windows\htc\Assets\Images\Inforwidget\yahoo_logo_wm_white.qtc

615da68d_manila \windows\htc\Assets\Images\Audio\VGA\music_expandarrow.qtc

1ce11d2c_manila \windows\htc\Assets\Images\Audio\VGA\music_expandarrow_focus.qtc

1acf08b8_manila \windows\htc\Assets\Images\People\VGA\icon_myfaves.qtc

1d00552c_manila \windows\htc\Assets\Images\People\VGA\contact_myfaves_circle.qtc

2b587b07_manila \windows\htc\Assets\Images\Settings\settings_myFaves_pressed.qtc

5a6297cf_manila \windows\htc\Assets\Images\Settings\settings_myFaves_rest.qtc

another coming when I finish another depcheck part :)

// remove the space from file names, forum is adding it there by itself

/// Also, what happens, when .luac requires some other .luac but it doesn't exist? just pasts and doesn't quit?
[Windows Mobile Software Development] 12aon:
Check out the kitchen in my sig, it has a fuction to update the mode9_filenames.txt ;)
[Windows Mobile Software Development] OndraSter:
You mean search for all .qtc and .luac references in dump, and add them into the names list?
[Windows Mobile Software Development] 12aon:
Yes, only thing you will have to manually update is the mode9 names (I don't remember the exact file name, but m9_editor_names.txt is for all files). It's a ver complex batch script, but as far as mine aware it's still the best all round manila kitchen out there ;)
[Windows Mobile Software Development] OndraSter:
How does that batch (or the mnf.exe itself) work? It does line by line in all mode9, .luac (for require("somefile") etc) files? Nothing more?

// sorry, found it in MNF thread, it works just as mine :)

/// but I really thank you for making me notice for the newer LuaTool.exe that is able to disassemble code with less errors and mostly directly from unicode, rather than making it ANSI first :). Thanks man :)

Anyway, this depscan found missing .luac or .qtc files in original TF3D, so I suppose that when something is missing, the code continues without error?

\windows\htc\scripts\machine_status_svc.luac -- fail -- hash = 6bd9e3dd_manila
\windows\htc\scripts\worldclock_svc.luac -- fail -- hash = 6a0a6e19_manila
\windows\htc\scripts\appointment_svc.luac -- fail -- hash = 3fbefd54_manila
\windows\htc\scripts\weather_svc.luac -- fail -- hash = 2d08ce75_manila
\windows\htc\scripts\messaging_svc.luac -- fail -- hash = 3ebf9463_manila
\windows\htc\scripts\contacts_database_svc.luac -- fail -- hash = 34a43e58_manila
\windows\htc\scripts\io_svc.luac -- fail -- hash = 3b167f1d_manila
\windows\htc\scripts\settings\configurationpage_vga.luac -- fail -- hash = 5e65ad79_manila
\windows\htc\scripts\stock_svc.luac -- fail -- hash = 4b5fe889_manila
\windows\htc\scripts\favorites_svc.luac -- fail -- hash = 30f23038_manila
\windows\htc\scripts\google_suggestion_svc.luac -- fail -- hash = 21e7c049_manila
\windows\htc\assets\images\manila\icontray_tab_new.qtc -- fail -- hash = 3164bf50_manila
\windows\htc\assets\images\manila\icontray_tab_level1.qtc -- fail -- hash = 54b6feaf_manila
\windows\htc\assets\images\common\comm_btn_dn.qtc -- fail -- hash = 0363479f_manila
\windows\htc\scripts\simpledialog\simpledialog_vga.luac -- fail -- hash = 117ea9e7_manila
\windows\htc\scripts\settings\settingspage_vga.luac -- fail -- hash = 4d15d292_manila
\windows\htc\scripts\audio_manager_svc.luac -- fail -- hash = 0d3b3651_manila
\windows\htc\scripts\weather\weathergizmo_vga.luac -- fail -- hash = 12aeb199_manila
\windows\htc\scripts\basefavorites.luac -- fail -- hash = 4682eb48_manila

-- these files are talked about in .luac or .mode9, but they do not exist in the files at all
[Windows Mobile Software Development] 12aon:
Those are filenames found that have no physical manila file, for example test files etc.
[Windows Mobile Software Development] OndraSter:
Ah, thanks, if I have any other questions, may I ask you?

Thanks, Ondra :)
[Windows Mobile Software Development] 12aon:
No problem, you know where to reach me,

12
[Windows Mobile Software Development] madnish30:
Thanks Co0kie for starting this thread, really useful for people like me ie manila no0bies trying to learn about it.

Cheers,

Do let me know if you need anything to be done on the thread.

Madnish30.
[Touch HD General] derstandard:
Hi @all

i think i have a hardware error.

The FM-Receiver does not work and Bluetooth, too.

Is there a possibility such as flash a diagnostic rom and try the reflash the BT und FM Module or do some diagnostic stuff ?!
[myTouch 3G, Magic Android Development] jordanrules:
i would like to know if there is a way to extract the hero widgets and install them on (in my case my touch t-mobile)htc magic. since mine i can not root yet. mabey a stupid question but i am a real newbie. thanks in advance.
[myTouch 3G, Magic Android Development] Roy_Drage:
Nope not yet.

The Hero widgets are tied heavily into the Rosie interface used in the Hero so wouldn't work on our Magics without Rosie.

Try searching through the market place, there is plenty of widgets available that are 'almost' the same as the ones in Hero.

I've found the clock/weather app

A twitter widget

An sms widget

You can even put all your web site bookmarks into a folder and place that on one of your home screens, then when you open it you get a scrollable list of all your bookmarks.
[myTouch 3G, Magic Android Development] jordanrules:
yea but the one i really liked was the people one. but thanks for the reply.
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
I've read lots of comments, these very unwanted random hard-resets are suppose to be a common bug, however the suggested fixes dont seem to work for me, anyone else having the same issue?

Note: The issue must be software related, it only started happening to me immediately after a ROM update a few months back.

What usually happens:

- Install a ROM -> Configure It -> Install Apps... all looks good

- At some random point (could be days or weeks) the phone will lock up (usually on the password screen)

- A soft reset is required to rectify the lock-up

(i.e. the red button on back of phone)

- Phone hard-resets itself

Suggested Solutions:

1) Upgrade to HardSPL 1.93 - made no difference

2) I have tried running MTTY a few times, also no difference

3) Try different ROM's, I thought it might be just a bug with the WWE ROM, but it happens with the Energy ROM too

Just out of interest:

Interestingly, my wifes phone, which I do exactly the same updates on (same phone, same ROM, same Radio, etc), is working completely fine...
[Touch Diamond, MDA Compact IV ROM Development] businello2000:
Hi

i had the same problem...for solve the problem, just flash the stock rom...you can download from htc website...than you can flash any rom you like and everytjing will work fine.

for any help just ask!
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
Hi, thanks for suggestion, although yep I tried that too. There is no stock ROM for an imported phone on Optus, but I just used the stock Telstra one that was on the forums, then after a while went back to the WWE ROM, and the same issue still occurs.
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
No other ideas for resolving the hard reset issues?

Next time it happens, I might try pulling the battery out instead of using the reset button on the back of the phone.. but clearly something is wrong :-/
[Touch Diamond, MDA Compact IV ROM Development] mugglesquop:
i have had this a couple of times, about 6 months ago and last week. i just flashed a different ROM, flashing the same one again didnt help, so just downloaded a different one and went with that.

seems to be ok now :)
[Touch Diamond, MDA Compact IV ROM Development] matrix77:
flash this rom and do a hard reset after flashing:

http://uploading.com/files/WY03RBG2/Stock rom noSPL no Radio.rar.html

I've also posted the same link here:

http://xdaforums.com/showpost.php?p=4057376&postcount=3
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
Thanks again for suggestions so far, but above fix only lasted about 5 days before another intermittent phone crash & subsequent hard reset, much the same as I have had experimenting with a range of stock and other ROM's :-/

I don't think the fix is as simple as just putting a

Stock Rom -> Hard Reset -> MTTY -> New Rom -> Hard Reset

. Im pretty sure its a software problem, but I dont see how the problem can survive such rigorous formatting...

Is noone else having the problem? Sounds like most are solved with 1 use of MTTY.
[Touch Diamond, MDA Compact IV ROM Development] maddie:
I searched a lot and found your thread.

I was upgrading my friend's Diamond, when he tells me that it hard resets itself without a reason. At first I thought it was the ROM's problem, so I switched to another one. But after I flashed the ROM, during the process of setting up the phone (settings, softwares), at some random point of installing random software, the phone says that the software was not installed successfully. After several re-flash, re-install, and ROM switching, it appears to me it's not a software problem.

It seems that it's at some point when the internal storage (not the NaviNAND) reaches a specific size, the device would fail and hangs (or not, randomly, but you can't install anything further), after a soft-reset, it will hard resets itself instead, it looks like some "badblocks" (sort of) on the internal storage NAND to me.

Is there a way to figure out if my theory's correct? I'm wondering if there is any tool that can run some diagnose on the internal NAND. If I'm correct and there is tool that can do so, it must have the ability to mask the bad pages on the NAND, right?

EDIT: There's a way to re-produce the situation. Just download some big apps (several MBs big) and install them in order. It will almost always hang at the same point.
[Touch Diamond, MDA Compact IV ROM Development] satus:
The only solution is:

1st MTTY and run task 29 to format the device to make it clean and no left over stuff from the last ROM.

2nd Install different ROM

If you have bad sectors in the device, MTTY might not help much here, I guess.
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
Hi maddie, yes you might be onto something, I assume you already tried the usual fixes: (Stock Rom -> Hard Reset -> MTTY -> New Rom -> Hard Reset)? You can tell it to format the NaviNAND during the hard reset.

I think my issue might be different to yours though, as mine does not happen 'when installing software' mine happens days/weeks after setting up the phone.. It usually goes down like this: I pull the phone out of my pocket -> its locked on the password screen usually (cant type) -> pull the battery out or press the soft-reset button -> bang.. phone hard-resets.

I will make 1 suggestion though, instead of using all the nice fancy mods, and SPB Mobile Shell (looks like sense ui), I went back to a boring old stock rom, and well after 1 month its still going.. I absolutely hate it, but I dont want to buy another phone quite yet, so gonna go old-skool.

Let me know how you go, and as above if you did all the standard suggestions? It sounds like you need to somehow instruct the phone not to use those bad memory spots, but ive no idea if such a tool exists im afraid.
[Touch Diamond, MDA Compact IV ROM Development] kenleekwanho:
I got the same problem recently and I am still trying different way to solve it.

My Hard-reset happen:

After flashing new rom -> Installation of software ->

-> launching programs -> when some got may holding or loading without response

-> Soft-reset (red bottom) -> It automatically Hard-reset....:mad:

Similar thinking with you, I think that maybe one of those reasons leading the hard reset:

1. Device got bad sector while flashing for different roms;

2. New Radios got bug and crash with the new version of roms;

3. Too many things stored in Internal Storage;
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
I like this logic, im in the position of owning 2 HTC Diamonds with identical ROM, Radio, Applications, 1 works perfectly, 1 is resetting.

It 'probably' indicates that its hardware related, I doubt its Radio (due to the other phone working fine), so could be Internal Storage or Bad Sector.

Im not even close to filling up my internal storage though, so if its storage related, perhaps a particular sector is the problem (like maddie was mentioning).
[Touch Diamond, MDA Compact IV ROM Development] maddie:
Thanks for all your opinions!

It's the first time for me to think it's the Radio's problem. It comes to me now it seems this situation starts when I flashed the 1.15.25.14 radio. I will try another radio and update here.
[Touch Diamond, MDA Compact IV ROM Development] adsoxda:
I dont 'think' its Radio, but worth a shot.

I cant consistently reproduce my issue, so it could take me a month to find out if ive fixed the issue.. and there are a lot of variables in a month. But sounds like you have a way of reproducing it consistently, gl.
[Touch Diamond, MDA Compact IV ROM Development] maddie:
OK, it doesn't seem to work. I think that's it..

Maybe I should start looking at the bootloader commands..
[Touch Diamond, MDA Compact IV ROM Development] espg:
ive got the same issue, but only with some ROMs, for example, the AZTOR X3 and GEN.Y D2 didnt work, but gen.y 1.4 worked for me.
[Touch Diamond, MDA Compact IV ROM Development] kenleekwanho:
I tried MTTY method to re-flashing, it seems fine to my diamond right now.:)
[Touch Diamond, MDA Compact IV ROM Development] dreamz18:
i have the same problem, i have tried about 10 different roms, but i don't think it's software related, i think it might be the phone overheating causing a faulty component, it started 2 days ago for me and usually after 5-10 min it crashes, and it started happening when the weather heated up and it will crash quicker if i try to charge it, anyone notice this?
[Touch Diamond, MDA Compact IV ROM Development] daveaus:
Has anyone found a solution to this?

For me it started when I installed the Gen Y rom with the android dual booter (but not android itself). I have tried MTTY, Stock ROM but Im still experiencing the problem. I suspect it has something to do with the dual boot.
[Touch Diamond, MDA Compact IV ROM Development] Yaskin Forrit:
I get the same thing. soft reset = hard reset.

I have tried several ROMs but now the phone hangs on the loading screen
[Windows Mobile Themes] holdemdogg:
I wanted to share my Battery percentage script and icons for iphontoday plugin. But I believe it can be used for other UI if anyone tries it on another UI please post. So if you have any icon based scripts please post them here and we will keep them in one thread.

This could not be possible without

Chance63

Sir.John

j101399

MiToNiOeS

Biglittlewhateva

Heres my version of chances mybatterylevel it shows battery percentages 1% at a time.

Updated 8-12-09

1. changed location of battery.png and battery.mscr

2. Added option to have battery folder with icons it on sd card

Please unistall any old version before running new version

Unistall

To remove delete icon of of iphonetoday page then unistall cab then go to device memory and make sur it deleted the battery folder and in device memory if there is a battery.png or battery.mscr then remove it before installing new cab

Download

1. download cab to desktop

2. Unzip cab anywhere on device memory

3. Install cab on device memory it will make a folder called battery and it will place the battery.png and the battery.mscr in device memory no folder

4. If your running iphonetoday UI then follow the next steps

5. Make a new icon image will be battery.png found in device memory no folder

6. EXE will be battery.mscr found also in device memory no folder

7. Uncheck animation and save your done

To run battery folder from SD card follow these steps used for low memory devices

1. download cab to desktop

2. Unzip cab anywhere on device memory

3. Install cab on device memory it will make a folder called battery and it will place the battery.png and the battery.mscr in device memory no folder

4. If your running iphonetoday UI then follow the next steps

5. Download storage.zip

6. Unzip on desktop

7. Copy the battery.mscr to device root over writing the other one

8. Now on device move the battery folder to you sd card

9. You can delete the battery folder off of device memory if you copied it instead of moving it

10. Make a new icon image will be battery.png found in device memory no folder

11. EXE will be battery.mscr found also in device memory no folder

12. Uncheck animation and save your done

For now to show battery charging icon when you plugin phone tap the Icon (We are working on getting this done automatic) When you unplug wait a few seconds and the charging icon will be gone and show the percentages again.

The first attachment is the cab has everything in it

The second attachment is icons only zip

The third attachment is the mortscript file
[Windows Mobile Themes] chancer63:
Here is a first try:

#to be up- to- date when switching the phone on, thx to BOBO_01
RunOnPowerOn ("\iPhoneToday\battery\battery.mscr" )

Attention: You changed the script name from "mybatterylevel" to "battery" (and the path as well) so if someone had already installed this script before it's possible that it's still in the NotificationQueue causing trouble. You should remove it with

RemoveNotifications( "\iPhoneToday\mybatterylevel.mscr" )

.

CU
[Windows Mobile Themes] chancer63:
...auf was die Leute so alles kommen... *wunder* :)

Idea: are there two different versions planned: men and women...:D

CU
[Windows Mobile Themes] holdemdogg:
oh Thank you very much I didnt get an error or anything because I did a clean install to moniter it for flaws I will add this as soon as I get home.

Again theres no way this script wouldve worked without all your hard work on the original script.
[Windows Mobile Themes] Biglittlewhateva:
I just noticed an "oddity". The batter script folder contains 100+ icons, two of which are name battery.png and battery0.png. Those are blank battery and 0%. I was just about to re-enable the script and went to point the icon to the blank and it was gone, replaced by the 0% icon image. I now have two 0% icons but one is named battery.png. WTF?

Somehow the icon for blank battery is being replaced by the 0%er. It is overwriting the image but leaving the name intact.

I think I figured it out. Here is how to recreate it on your phone...

While the script is running and a battery image other than blank is showing, disable the script (edit icon, remove link to script, save). Now go and check the image that is called battery.png. My guess is, it will now have the image of the last image displayed. I just did it with 100% displayed and now the battery.png image is 100% instead of blank. The name remained the same. I also did it while on charge and it replaced blank with charge png.
[Windows Mobile Themes] Sir.John:
I'm not sure whether I got this right, but what you describe seems not to be and oddity rather than "works as designed"

Explanation:

as the link to the icon fro iPT is static per definition the only chance to alter the image is to replace the the picture the icon links to. Hence you link to "battery.png" which gets constantly overwritten (and the display refreshed) according to the actual value...this may be "copy battery0.png battery.png" or "copy battery100.png battery.png".

Or did I get you completely wrong?
[Windows Mobile Themes] holdemdogg:
Seems like a made an error on the script and the placement of the icons I included them in the same folder. The battery.png updates with the current battery level. Then if you make any changes like remove the icon then place it back then it can be confusing on wich icon to pick im going to change the location of the battery .png and the script and see if it helps out I'll be uploading it soon. Sorry for the mistake give me about an hour or so and I'll have it done
[Windows Mobile Themes] Biglittlewhateva:
@ Sir.John, I believe you got it right. ;)

@ holdemdogg, sounds good. I'll be back in a bit. Gotta walk the dog.
[Windows Mobile Themes] mickael91210:
Hello,

I tried to do the same script as Sir.John (jkklaxon) but for G-Alarm.

I think (thanks for your comments/reports) I have only a bug when an "programmed alarm" is 'ON' (only working days or other...). I think it's completely functional for quick alarms.

Thanks for comments and thanks Sir.John for his script.

The scripts are made for :

- three icons in \iphonetoday\icons\

- two scripts in \iphonetoday\lnk\

- take jk_alarm.png for clock (with type = "clock") and execute = "G-Alarm.mscr"
[Windows Mobile Themes] Sir.John:
Hi :-)

if I'm not mistaken you check for

HKCU\Software\ageye\g-alarm\$ID\OneTime

and for a string that reads YY.MM.DD.HH.MM.SS

is that correct?

Where will programmed alarms be stored in registry?

Is it possible to post a screenshot or an export of g-alarm registry key?

kind regards, John
[Windows Mobile Themes] mickael91210:
Yes you are right. You can have several alarms stocked.

Yes, i try to join an export of G-Alarm (for me for the moment the script is very well:) )
[Windows Mobile Themes] Sir.John:
Thanks heaps, this is helpful. (my pity: You need to get up as soon as me btw ;-))

Would you mind to post an reg-export of a programmed alarm as well? Perhaps we can sort something out to read these alarms in correctly as well.

For both excerpts you posted (IDs 0 and 1) a "OneTime" string was set, so I assume these two are quick alarms, no?

John