[Q] Gsensor.dll - HD2 General

Hey Hi,
Well I have a little problem, I was just going through some stuff in my HD2 registry and accidently deleted the gsensor.dll file. Can u guyz please help me out on this how can I add the gsensor.dll file again, my auto rotation is disabled by it!!!

How did you manage to delete it by going through your registry?
Anyway: I haven't found this dll on my device!
Where do you think it should be?

Registry Entries
If you connect your HD2 to ActiveSync or WMDC you should be able to use a program called CeRegEditor to import a .reg file to the registry.
Create a file called temp.reg in notepad and add the following:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GSensor]
"Dll"="Gsensor.dll"
"Prefix"="ECS"
"Order"=dword:c
"Index"=dword:1
"PollingInterval"=dword:c8
"ShakingThreshold"=dword:3
"EnableShaking"=dword:0
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
"CalibrateMethod"=dword:e7

Hey dude,,
Well I have created the file, I cant find anyway to go through to my Registry through Active Sync?

hey oh I got how to import it, but somethings wrong, I created a notepad file temp.reg as u said, after clicking the import it does not show under .reg files but comes up when I select all files!

Hey well i Got it finally, added the registry but the gsensor.dll file does not show up, i restarted it also, but the rotation is not working!

After the phone is connected in ActiveSync. In CeRegEditor select the "Connection" and then "Connect" from the menu. Then go "Edit" and select "Import" (make sure it set to all registry files) and browse to the temp.reg file, select it and click "Open". A warning will appear saying it seems to be a PC reg file just click "Yes".
Sorry still writing this one when you posted again, if the file isn't there have you tried extracting gsensor.dll from the ruu_signed.nbh and placing it in the windows folder. What rom are you using?

hmm,,,, well my ROM is 1.66.707.1 and Radio is 2.12.50, and also can you tell me how can i extract ruu_signed.nbh by nbhextractor ?.......i'm opening the ruu_signed.nbh using the nbhextractor which extracts a file 00-OS.nb !!

hey Well can anyone just upload their gsensor.dll file, so I can just add it!!

hard reset?!?
and sorry, can't copy the file to zip it from my phone. Getting errors.

i doubt he needs the file, gsensor.dll is located in rom
hes more likley screwed his registry
@zainirs
restore your registry from a backup (you do make backups dont you?) or do a hard reset and start from scratch

Man,,,,the Hard reset worked.........Damn need to install everything again!!!

Related

K-JAM CAB Delete Disable tool - Stop CAB files being deleted

I made a little CAB file which contains a reg key to prevent CAB files from being deleted after you install them.
Just run this on your K-JAM and no more CAB files will be deleted.
(Although ironically of course it still deletes this CAB file since the change doesn't take place until after the install finishes and this file is deleted.)
Neat!
I store CAB files in zip files, when I want to install anything, just open it and run from zip. This way my CABs are not deleted either.
I think it's enough if you set the Read Only attribute on the CAB file.
Re: K-JAM CAB Delete Disable tool - Stop CAB files being del
awojtas said:
I made a little CAB file which contains a reg key to prevent CAB files from being deleted after you install them.
Click to expand...
Click to collapse
my solution is CabInstaller program. simply copy it on your wizard, run it and check two options:
[x] Do not delete CAB file
[x] Associate CabInstl with CAB files
from now on, CabInstaller will popup after every CAB file installation attempt, then just click install and that's it!
I've got my cabs on a storage card, and within totalcommander you can
set the properties of the cabs to "read only",
this works like a good workaround for me, some cabs i want to be deleted,
some not..
I agree^^^. I set them to read only before I copy them to the device and they are fine. If you have something like total commander or resco explorer then you can set the Read Only attribute on the device.

Is there a way to edit/modify a protected file in \Windows?

Hi
I'd like to edit the file Preconfig.txt in \Windows. This file is protected. Is there any way to make a file in \Windows writable?
Thank you
Jean-Yves
If I recall correctly, you can copy the file out of the windows directory to another directory and then paste it back over the top of the protected one and then you can edit it.
I may be wrong though, so sorry if I'm leading you up the garden path!
What Codenix said is true, if the file is inside the ROM.
If the file is 'protected' in terms of attributes, you can use Total Commander to disable the attribute first.
I tried removing the read-only/system attributes in Total Commander in some \Windows files on my x01ht, but every time the attributes are reseted back! How to avoid this?!?
yes i have the same problem with you~~
although i use active sync to copy the files to ppc \windows
it also block me and say protected
and i want to copy a new phcanOverbmp.dll replace the old one....
what should i do???
can some brother help~!!!
Some files are in use and cant be unprotected and written over in this manner.. the only way to do it when it fails like that is to cook your own rom... which we are still trying to do, but get closer every day
And for the phcanOverbmp.dll we have cabs in the upgrading forum for this.. read here:
http://forum.xda-developers.com/showthread.php?t=287829
and why if i want to edit my start menu items from ASync it don't work?
The files are unprotected but from active sync explorer i can't delete/move it... with resco explorer there are no problems!..
Also.... it interrupt file transfers if i try to copy thumbs.db.. included in win folders :x
SkizZO said:
and why if i want to edit my start menu items from ASync it don't work?
The files are unprotected but from active sync explorer i can't delete/move it... with resco explorer there are no problems!..
Click to expand...
Click to collapse
I had the same problem - ActiveSync seems to not have the necessary rights for these files. The methods described here solved the problem for me. Yes, the text behind the link talks about problems with registry access, but the reasons and solutions for both problems are the same.
Also.... it interrupt file transfers if i try to copy thumbs.db.. included in win folders :x
Click to expand...
Click to collapse
That may or may not be the same problem. I would guess thumbs.db may just be in use (i.e., opened).
Cheers
Daniel

How to install .XML files??

How to install the .xml files bundled in the cabs.rar?? I do not know how to make the extrom run automatically after the HR so i have to install each cab file 1 by 1, can anyone help??
Use the ones in cabs2. Also make sure you know what are those .xml for (they are replaced with .cab (s) in cabs2)
xml files are a typicaly a formatted text file like html
not really binary exe programs files
some programs use xml files to store settings and data
maybe they need to be in a location the program in question
will look for them
Rudegar said:
xml files are a typicaly a formatted text file like html
not really binary exe programs files
some programs use xml files to store settings and data
maybe they need to be in a location the program in question
will look for them
Click to expand...
Click to collapse
Did you mean copy the .xml files to the location of the program file ??
use HTCustom1.7.cab
yup...
I am having the same issue. I keep seeing these .xml files. I am not a computer guru lol. Do I cut and paste it somewhere on my phone or what? I am so lost please help.
Same thing here on my side mixtape_butcha. I'm subscibed in an Universal forum and have to install a USB switch which is a folder containing an xml file. I asked many time a guide on how to use it but nothing came back.
If you happen to know how to handle it, let me know. I'l do the same with you.
bests
Michael
first of all it is nice that you looked up a matching post yourself and obviously searched for a solution there, but...
if i get your problem right, it doesn't match the ones before. they were talking about .xml files that came with a cab file and stored the settings on how to install and execute.
you, however, talk about a subscribtion to a thread, meaning your xml file is an RSS feed, for which you need a special reader, since PIE is not a proper desktop browser and therefore does not handle feeds. but there is a lot of software out there to handle rss feeds. i personally use spb online 1.2, but there is also freeware, like this: http://www.dewantoro.net/search/pda+rss+reader+cab
i don't get the point with the usb switch though, maybe if that didn't solve your problem you should post further details about that issue and maybe post filenames or screenshots so we all know exactly what you are about to do.
You need not worry to install xml file if it comes with a cab. Cab file should be designed to use it automatically. xml files store usually configurable settings, it may be worth opening those files using any text editor like note pad or even IE to check the contents, that may help if any change is needed. But 99% chances are that you need not do any thing with those xml files.
I have found some people run in to this problem when they download a .cab file from the internet and once downloaded it is a .rar so you extract the .rar to find NOT .cab but .xml
Here is more about it and how to fix it.
http://forum.xda-developers.com/showthread.php?p=2367946#post2367946
I am trying to install a game on my MDA Vario IV , it does have .xml file. But no .cab files , only .000 file , .002 , .003 , and .004 files. How do i install this game then ? The installer is the .xml file.
EDIT : Nvm , fixed it , i needed not the files within the .cab file , but just the .cab file itself to extract in on my mobile.
Hello guys iam actually looking to install a sat nav software on my HTC TOUCH HD phone and i got this file called SETUP.XML Document and there's thousands of other files in the same location called KB, which i have no idea what they are but my problem is when i copy those files to my phone and open the SETUP.XLM Document, it opens by the internet explorer in the phone and it does nothing, please let me know if u know any answer to this.
Thank you very much....
nickholas said:
Hello guys iam actually looking to install a sat nav software on my HTC TOUCH HD phone and i got this file called SETUP.XML Document and there's thousands of other files in the same location called KB, which i have no idea what they are but my problem is when i copy those files to my phone and open the SETUP.XLM Document, it opens by the internet explorer in the phone and it does nothing, please let me know if u know any answer to this.
Thank you very much....
Click to expand...
Click to collapse
Couple of things:
You are in the wrong subforum. This section is for the Blue Angel. You should look for the Blackstone (aka Touch HD) section.
Now, the file that you opened is a cab file. You don't need to extract the contents of a cab file. Just copy it to your device and click on it one. The cab will install everything, including the settings in the xml.
Good luck!
Gili50 said:
I am trying to install a game on my MDA Vario IV , it does have .xml file. But no .cab files , only .000 file , .002 , .003 , and .004 files. How do i install this game then ? The installer is the .xml file.
EDIT : Nvm , fixed it , i needed not the files within the .cab file , but just the .cab file itself to extract in on my mobile.
Click to expand...
Click to collapse
Couple of things:
You are in the wrong subforum. This section is for the Blue Angel. You should look for the MDA IV (aka Touch Diamond) section.
Now, the file that you opened is a cab file. You don't need to extract the contents of a cab file. Just copy it to your device and click on it one. The cab will install everything, including the settings in the xml.
Good luck!

[HOWTO] Modify any DLL or EXE Files you want!!

Hello!
Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!
In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!
Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!​Step2:
Now you can edit the file! I placed the reshacker into the package...​
Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it​
Viola, now your file is Modified and signed!!!
thx 4 tools in one place.
Method is rather..known, but good.
Hi,
thanks for your good work.
wfg
starbase64
thx nice works i need that
great software suite thanks
i tried this but still cant copy into the \windows\ directory, i can copy from from \windows\ dir tho
thx 4 share.....
gh0st- said:
i tried this but still cant copy into the \windows\ directory, i can copy from from \windows\ dir tho
Click to expand...
Click to collapse
I have not figured this out myself eather, i read "everywhere" to use activesync, but how do i copy a file trough activesync?
schreda said:
Hello!
Now I found a way to Edit DLL, EXE, MUI and all other files for WM5 and WM6!
I ever had problems with the Signature in the Files bur now i have the Solution!
In This package i attached, there is a UnSigner, Signer, Editor and the Certificate for the Phone!
Step1:
First you must Unsign the file you want to edit!
Just go into the Unsign dir and drop the file over UnSigner.exe.
A DOS-Window will popup for a short time, the file is now unsigned!​Step2:
Now you can edit the file! I placed the reshacker into the package...​
Step3:
If you edited the file successfully, you must sign it again!
Go into the Sign dir and open siggner.exe. Then choose the file you edited and take the "SDKSamplePrivDeveloper" Certificate.
Press "Start sign process" and close it​
Viola, now your file is Modified and signed!!!
Click to expand...
Click to collapse
THANKS! Your pakage was very helpful to me and the two certificate cab's did it for me. Now i can translate my M2D into Swedish.
ToddeSwe
i want to modify a dll file
hi, I want to modify a dll file called invdb32.dll in this file an option is block i want to open it, any body help me?
[email protected]
good job! thanx dude
Is there a way we can view the images instead of a bunch of numbers and stuff? BTW great job man! Thank you!
Thanks for sharing
Is this can work with Windows vista
modify the manilla2d exe with this to support animated weather other than rain???
Can i use this to change the Samsung Omnia Menu to different programs being shown? Instead of TouhPlayer Kinoma?
I was able to unsign, modify and then sign a DLL file. But when I opened it in PE Explorer to check it, it gives me errors that the file is now too long. Take it you can't make additions, only changes?
EDIT: Here's the exact error I'm receiving, not sure if it's fixable or not;
03.01.2009 21:03:04 : EOF Extra Data From: 0008C400h (574464)
03.01.2009 21:03:04 : Length of EOF Extra Data: 00001948h (6472) bytes.
03.01.2009 21:03:04 : EOF Position: 0008DD48h (580936)
03.01.2009 21:03:04 : Error! (Step: Examining Exports)
03.01.2009 21:03:04 : Errors detected! Opening file in SAFE MODE...
03.01.2009 21:03:04 : Done.
the original file showed the following;
03.01.2009 21:02:25 : EOF Position: 0008C400h (574464)
03.01.2009 21:02:25 : Done.
converting dll to VGA
hi, i need expert help from any of you to kindly convert this enclosed dll file to VGA 191dpi for my Raphael. this file is part of PHM ppc Plus to enable clibboard in SIP. thanks in advance for your help
MEditor: Simplicity
Hi guys,
I've decided to make it quite a bit easier. Just open up the attached .zip
file, extract the MEditor to Program Files, and double-click Install Context
Menus.reg (confirm if a warning pops up).
Now, to edit a dll, mui, or exe file, just right-click on it and press Edit with
ResHacker. Once you're done editing, just save the file, close ResHacker,
and it'll take care of re-signing the file for you
How it works
I didn't mean to make this post a big deal, but I'd just like to explain how this
thing works. I've added the necessary registry files for adding or removing
(if you choose) the Context Menus for "Edit with ResHacker". It calls
C:\Program Files\MEditor\open.bat, which opens a batch window (do not
close it until you're done editing, it will close itself) that removes the
readonly, archive, system, and hidden attributes off the file, then unsigns it,
then opens ResHacker.exe to edit it. When you close ResHacker.exe, it
automatically signs the file and adds the readonly and system attributes
(hidden and archive aren't necessary). Not very complicated if you think
about it, but it's what I use
smotrs said:
I was able to unsign, modify and then sign a DLL file. But when I opened it in PE Explorer to check it, it gives me errors that the file is now too long. Take it you can't make additions, only changes?
Click to expand...
Click to collapse
Same problem. Internal adresses are being messed up. Tried expanding array in IDA and adding complimentary bits in HEX Editor. No luck. This has to be possible right? Shifting the entire code a few bits as to add a few characters here and there? Please someone, this is driving me nuts.
Help On exrtacting the *.dll file from windows folder
Hello has any one been able to remove the file from the windows folder tried resco and total commander but in vain ..
Awaitin help...

[Q] Unsigned Folders ?

First of all, sorry for openeing a new thread; but surely i have searched all of chef central din't find anything much or maybe din't understand which one was my solution.
The problem is after boot of my ROM ( regardless of which boot ie 1st 2nd or 10th ) i get 2 pop up errors:
1) "The file 'programs' cannot be opened. Either is not signed with a trusted certificate or one of it's components cannot be found.If the problem persists please try reinstalling or restoring this file."
2) "The file 'Tools' cannot be opened. Either is not signed with a trusted certificate or one of it's components cannot be found.If the problem persists please try reinstalling or restoring this file."
I have a folder called "Tools" in the start menu, and it works fine, and everything inside also works good. But still this error.
I'm pretty sure all the Packages cooked which are meant to go in this folder do go in.
And the programs error is it anything to do with the fact that in the APP.DAT in almost all packages i have used similar naming:
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("System")
Directory("\Windows\Start Menu\Programs\Tools\Tweaks"):-File("Flip_IT.lnk","\Windows\_Flip_IT.lnk")
and also added similar REG in the REGS :
[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Tools\Tweaks\Flip_it.lnk]
Click to expand...
Click to collapse
As i was not sure which one will decide the location, so some packages have only .REGs, some have only APP.DATs and some have both ( but all the locations are same that is sure !)
Please help me with this.
Thanks alot.
PS: I have enabled NoCert in EVK, and also cooked in the latest ( 2015 ? ) SDKCerts EXT. And after that no other apps give an unsigned problem.
Just a question, this isnt the full app.dat right?
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("System")
Directory("\Windows\Start Menu\Programs\Tools\Tweaks"):-File("Flip_IT.lnk","\Windows\_Flip_IT.lnk")
If yes, you miss some lines,this app.dat is just copying a link to startmenu but i guess that you need the program in Windows.
i'm afraid that is the full App.DAT
here is another one
Code:
Directory("\Windows\Start Menu\Programs"):-Directory("System")
Directory("\Windows"):-Directory("appdb")
Directory("\Windows\appdb"):-File("_end_mid_2.png","\Windows\_end_mid_2.png")
Directory("\Windows\appdb"):-File("_end_mid_8.png","\Windows\_end_mid_8.png")
Directory("\Windows\appdb"):-File("_folder_2.png","\Windows\_folder_2.png")
Directory("\Windows\appdb"):-File("_folder_8.png","\Windows\_folder_8.png")
Directory("\Windows\appdb"):-File("_folder_8_2.png","\Windows\_folder_8_2.png")
Directory("\Windows\appdb"):-File("_lock_gray.png","\Windows\_lock_gray.png")
Directory("\Windows\appdb"):-File("_lock_green.png","\Windows\_lock_green.png")
Directory("\Windows\appdb"):-File("_lock_red.png","\Windows\_lock_red.png")
Directory("\Windows\appdb"):-File("_logo_2.png","\Windows\_logo_2.png")
Directory("\Windows\appdb"):-File("_single_2.png","\Windows\_single_2.png")
Directory("\Windows\appdb"):-File("_single_8.png","\Windows\_single_8.png")
Directory("\Windows\appdb"):-File("_start_2.png","\Windows\_start_2.png")
Directory("\Windows\appdb"):-File("_start_8.png","\Windows\_start_8.png")
Directory("\Windows\appdb"):-File("_suite_2.png","\Windows\_suite_2.png")
Directory("\Windows\appdb"):-File("_suite_8.png","\Windows\_suite_8.png")
Directory("\Windows\appdb"):-File("_ack_2.png","\Windows\_ack_2.png")
Directory("\Windows\appdb"):-File("_ack_8.png","\Windows\_ack_8.png")
Directory("\Windows\appdb"):-File("_compiling.png","\Windows\_compiling.png")
Directory("\Windows\appdb"):-File("_disable_2.png","\Windows\_disable_2.png")
Directory("\Windows\appdb"):-File("_disable_8.png","\Windows\_disable_8.png")
Directory("\Windows\appdb"):-File("_dt_2.png","\Windows\_dt_2.png")
Directory("\Windows\appdb"):-File("_dt_8.png","\Windows\_dt_8.png")
Directory("\Windows\appdb"):-File("_dukeok_2.png","\Windows\_dukeok_2.png")
Directory("\Windows\appdb"):-File("_dukeok_8.png","\Windows\_dukeok_8.png")
Directory("\Windows\appdb"):-File("_empty.png","\Windows\_empty.png")
Directory("\Windows\appdb"):-File("_end_ams_2.png","\Windows\_end_ams_2.png")
Directory("\Windows\appdb"):-File("_end_ams_8.png","\Windows\_end_ams_8.png")
Directory("\Windows\appdb"):-File("_logo_8.png","\Windows\_logo_8.png")
Directory("\Windows\Start Menu\Programs\\Tools\System"):-File("Java.lnk","\Windows\Java.lnk")
This seems to be correct right ?
Can you please tell me does APP.DAT decide the position or REG ? and what if both exist.
Thanks.
Can an incomplete app.dat cause those errors ?
EDIT: i have identified 3 packages have incomlete app.dat
1) task manager
app.dat says :
Directory("\Windows\Start Menu\Programs\Tools\"):-File("Task Manager.lnk","\Windows\dotFred Task Manager.lnk")
Directory("\Windows\Start Menu\Programs\Tools\Utilities"):-File("Regeditor.lnk","\Windows\dotFred RegEdit.lnk")
Click to expand...
Click to collapse
reg also defines a location.
2) flip it
app.dat says
Directory("\Windows\Start Menu\Programs"):-Directory("System")
Directory("\Windows\Start Menu\Programs\Tools\Tweaks"):-File("Flip_IT.lnk","\Windows\_Flip_IT.lnk")
Click to expand...
Click to collapse
reg defines location and settings.
3) torch
app.dat says
Directory("\Windows\Start Menu\Programs\Tools\Utilities"):-File("hTorch Flashlight.lnk","\Windows\hTorch Flashlight.lnk")
Click to expand...
Click to collapse
reg defines settings only.
4) reg editor
app.dat says:
Directory("\Windows\Start Menu\Programs\Tool\Utilities"):-File("PHM RegEdit.lnk","\Windows\PHM RegEdit.lnk")
Click to expand...
Click to collapse
reg defines sttings and location.
Can anyone of the above cause the issue ?
can some please help me correct them ?
Thanks.
EDIT: can someone please tell me the REG to enable Call Waiting Tone.
I don't hear any tone it when i have a call waiting.
The app.dat decide the position of file and folders.
I found thi " Flip-IT" from a Tom Codon thread and i used Cab Converter for extracting it.
This is the App.dat that i got:
Directory("\Windows\Start Menu\Programs\Tools"):-File("Flip_IT.lnk","\Windows\Flip_IT.lnk")
Click to expand...
Click to collapse
In red are the subfolders that doesnt come with the original.
There are some difference with your but i dunno if this is the problem but worth try.
Umm well i have defined those locations as to fit them lnk in the place i want in the start menu.. isn't that the way ?
Im Quoting you from 1st post:
1) "The file 'programs' cannot be opened. Either is not signed with a trusted certificate or one of it's components cannot be found.If the problem persists please try reinstalling or restoring this file."
2) "The file 'Tools' cannot be opened. Either is not signed with a trusted certificate or one of it's components cannot be found.If the problem persists please try reinstalling or restoring this file."
you got this popup error automatically, no need to open any folder\file?
It seems that you put a wrong shortcut to files called "Tools and programs" in your StratUp folder.
Check some other App.dat
i have checked all APP.DAT in the EXT can't find any which i cook and does not get cokked in the correct location ?
Umm and the two errors are seperate not in one only.
So i guess the conflict is there with 2 seperate folders "Tools" and "programs" respectively.
Ideally it should not conflict with tools, because i do have a tools folder in the start menu.. so everything should go there :/
any other help?
Try to cook a rom without one of the latest apps that you have add and if the problem gone then you have find the issue,after that post here the responsable so we can look at it.
madnish30 said:
i have checked all APP.DAT in the EXT can't find any which i cook and does not get cokked in the correct location ?
Umm and the two errors are seperate not in one only.
So i guess the conflict is there with 2 seperate folders "Tools" and "programs" respectively.
Ideally it should not conflict with tools, because i do have a tools folder in the start menu.. so everything should go there :/
any other help?
Click to expand...
Click to collapse
af974 said:
Try to cook a rom without one of the latest apps that you have add and if the problem gone then you have find the issue,after that post here the responsable so we can look at it.
Click to expand...
Click to collapse
I'll try and cook without the 5 EXT i identified with wrong app.dats ?
I have had this problem since long, but i din't bother much, so i really don't know whats the issue..
it has been there basically since i tweaked the start menu locations.
now i have to get rid of it cuz any ROM user won't like to just press ok and continue with the ROM.
I'll try.
My suggestion is to try one by one but ofcourse this way you need to flash 5 times your phone.
Did you ,maybe,tweaked your Initflashfile.dat?
madnish30 said:
I'll try and cook without the 5 EXT i identified with wrong app.dats ?
I have had this problem since long, but i din't bother much, so i really don't know whats the issue..
it has been there basically since i tweaked the start menu locations.
now i have to get rid of it cuz any ROM user won't like to just press ok and continue with the ROM.
I'll try.
Click to expand...
Click to collapse
No i don't play with initiaflash... because i don't know much about it..
I guess i will not cook anyone of them so that if its one of them i will just download fresh CABs for them and convert them into EXTs rather than flashing my phone 5 times..
Thanks alot.
i tried cooking without those apps no luck
Same 2 errors hence those 2 apps are ok..
Attached my Initflashfile.dat if that helps.
Please help.
You really need to look in your startup folder to see what is in there. That's the first thing to do. Then, look in the start menu and see if anything weird is going on. Particularly, look for corrupted files or folders. If there are any files that look like folders, that could be the issue.
You're initflashfiles.dat is effin' huge!! Learn to make a cab, or relocate apps to windows. You must be wasting a ton of storage space.
thanks for the help Ted,
In the startup i see 2 folders
1) programs in which there is tools->system->Arkswitch.
2) tools -> system -> XDA_UC.
rest are the normal i guess.
Then in the startmenu it seems fine.
but one problem there i see in the start menu i see a system folder which is empty AFAIK i did not create and such path why is that there ?
You're initflashfiles.dat is effin' huge!! Learn to make a cab, or relocate apps to windows. You must be wasting a ton of storage space.
Click to expand...
Click to collapse
I'm not good with initflashfiles.dat i don't know much about it.
Can you please link me to a thread where i can learn about it.
Also what do you mean by CABs ? does that mean using UC to install via CABs ?
And how can i reloacte apps to windows ?
can you give a little explaination please.
thanks alot for the help.
The app.dat for Arksswitch is
Directory("\Windows"):-Directory("StartUp")
Directory("\Windows\Start Menu\Programs"):-Directory("Tools")
Directory("\Program Files"):-Directory("ArkSwitch")
Directory("\Program Files\ArkSwitch"):-Directory("Theme")
Directory("\Program Files\ArkSwitch"):-Directory("NLS")
Directory("\Program Files\ArkSwitch\NLS"):-File("1033.xml","\Windows\1033.xml")
Directory("\Program Files\ArkSwitch\NLS"):-File("1036.xml","\Windows\1036.xml")
Directory("\Program Files\ArkSwitch\NLS"):-File("1040.xml","\Windows\1040.xml")
Directory("\Program Files\ArkSwitch\NLS"):-File("1049.xml","\Windows\1049.xml")
Directory("\Program Files\ArkSwitch\Theme"):-File("config.xml","\Windows\config.xml")
Directory("\Program Files\ArkSwitch\Theme"):-File("status-bar.png","\Windows\status-bar.png")
Directory("\Program Files\ArkSwitch\Theme"):-File("x-deselected.png","\Windows\x-deselected.png")
Directory("\Program Files\ArkSwitch\Theme"):-File("x-selected.png","\Windows\x-selected.png")
Directory("\Program Files\ArkSwitch"):-File("Microsoft.WindowsMobile.Gestures.dll","\Windows\Microsoft.WindowsMobile.Gestures.dll")
Directory("\Program Files\ArkSwitch"):-File("ArkSwitch.exe","\Windows\ArkSwitch.exe")
Directory("\Program Files\ArkSwitch"):-File("ArkSwitchNative.dll","\Windows\ArkSwitchNative.dll")
Directory("\Windows\Start Menu\Programs\Tools\System"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
Directory("\Windows\StartUp\Programs\\Tools\System"):-File("ArkSwitch.lnk","\Windows\_ArkSwitch.lnk")
Click to expand...
Click to collapse
and the app.dat for XDA_UC is
Directory("\Windows\StartUp\Tools\System"):-File("XDA_UC.mscr","\Windows\XDA_UC.mscr")
Click to expand...
Click to collapse
Please help me correct the two in order to remove the warning.
Will try and cook without them to see if they cause they problem.
I don't use xda_uc, but delete the sub-folders in startup and the problems go away.
App.dat copies files from windows to other places. In many cases, an app works fine in windows. You just need to fix paths (shortcuts, registry) so they point to windows. It's a complete waste to have two copies of all your files, especially when the ones in rom work perfectly fine. Personally, I don't even use app.dat's, except to create directories and to copy the important customization links into startup.
Edit: ok, so I'm looking at your initflashfiles.dat. One, there's something weird with your Manila twitter lines. Why does it appear twice? That's kind of a waste, and will slow down 1st boot. Also, you've got a dozen mui files in there. Just put in the one you need (0409 or whatever), and delete the rest. You've to two copies of a bunch of files that you don't use. Remove the lines you don't need from the app.dat.
As far as relocating apps, you've got 20 or so that would work fine in windows. For example, clean ram does not have to be in program files. Just leave the exe's in windows, and send 1 lang file to \windows\lang. The app will work fine. Do you really need 20 lang files for cleanram? Dude, that's a total waste.
Here's an easy one to fix: pocket rar. You've got two copies of it now on your device. Just get a shortcut for it to windows, and you're done. You stick rar.exe in a package, along with the shortcut, and send the shortcut to the start menu as normal. Speaking of which, it looks like you've got a syntax error there:
Directory("\Windows\Start Menu\Programs\\Tools\System"):-File("Pocket RAR.lnk","\Windows\_Pocket RAR.lnk")
Click to expand...
Click to collapse
Get rid of the extra \.
Thanks sir i got it, now i will impliment it.
Sir if you don't use app.dats then how do you chose which package shows up where in the start menu ?
I do pretty much everything with morscripts. I put all files and directories in zip files that are unzipped during customization, and all shortcuts are created by a script. This reduces the rom file count by hundreds (I have about 1800 rom files), and the zip files reduce the storage memory for files that have to be inserted elsewhere. There's also a restore script that resores files that change a lot and that aren't practical to cook in.
Anyway, were I you, I'd work on fixing all of your packages to make the rom more efficiently designed (instead of worrying about upgrading build numbers). I bet you could removed 500 files and clean up a crazy amount of memory (like 50 mb). It can be tricky moving an app to windows. Some apps have .ini files or similar settings files, and the app will crash or not load if the setting file is read-only, so you need to get the file into windows without having it read only (do it with an app.dat that copies or renames it to windows). Some apps have their settings in the same damn file name (like settings.txt), so you can't have them both in the same directory.
To relocate to windows, almost anything in the root program folder (like \program files\cleanram) can be moved straight to windows. Sub-folders generally just need to be moved to \windows. Typically, an exe looks for .dlls first in its own directory and second in \windows, so just about any dll can be moved to windows without issue. It will then usually look for the support files in the same directory that it's located in. The only apps I've had problems with are resco keyboard (the skin files seem to be hard coded to program files), and the latest Power Radio (2.4.0.2, or something like that). I had a bunch of power radio packages that worked fine in windows, but the latest wouldn't, so I just didn't do the upgrade.
It's usually easiest just to test things without cooking. In your case, you've already got everything in windows. Just click on exes and see what works and what doesn't. Some apps will need sub-folders relocated to windows, and it looks like your cab-to-ext package unfortunately renamed the rom files, so some files in the program folder will need to be copied to windows. Just do this for testing purposes, to see what works and what doesn't. I bet your rom is effin huge, and you could make it a lot leaner by cleaning your packages up. The cab-to-ext makers all more or less suck; it's better to do things manually (or with kheb 1.1).
Edit: you've got the tachan black theme in there twice, too. You really, really don't need those files copied elsewhere. I'm guessing there's a reg file with all the file locations (in HKCU\Software\Microsoft\Today). Fix it!!! All you need to do is do a 'replace all' and replace \\My Documents\\Themes\\tacchan23black with \\windows. Then delete that gawdawful app.dat file (both occurrences). That will remove 101 redundant files.
Do you remember this from your 1st post?
Directory("\Windows\Start Menu\Programs"):-Directory("System")
Directory("\Windows\Start Menu\Programs\Tools\Tweaks"):-File("Flip_IT.lnk","\Windows\_Flip_IT.lnk")
Click to expand...
Click to collapse
Here is (marked in red) your System folder (empty) in startmenu.
madnish30 said:
Then in the startmenu it seems fine.
but one problem there i see in the start menu i see a system folder which is empty AFAIK i did not create and such path why is that there ?
Click to expand...
Click to collapse
Thanks ted & af974.
i will try to do things you suggested.
But Ted, what does the attachment mscr do ?
I attached and EXT package from Chucky's Rom thanks to birkoffsjunk, i guess you will understand what mscr does looking at it.
madnish30 said:
Thanks ted & af974.
i will try to do things you suggested.
But Ted, what does the attachment mscr do ?
Click to expand...
Click to collapse

Categories

Resources