Device memory - Wing, P4350 ROM development

I have been using Ivans SJK to cook roms. I have been having device memory mysteriously eaten up. I have a phone that 6 megs used up in the last two days and it is only being used for calls and texting.
Where do i start to see what the problem is?

Install Oxios Close apps.

my problem is not program memory but device memory.

I think this my problem file \DebLogger\cprog.log it is 18 megs on one phone and 3 megs on another. Whats is the issue here?

You need to do a registry edit and delete this key:
HKLM\Software\HTC\DebLogger
Then do a soft-reset and you should be good to go. The key may reset itself, but it shouldn't continue the out-of-control logging.
G'luck!

Yeah so far that has been my only solution. I haven't checked to see if it resets though. Thanks for your help.

So the big question is how do I fix this in the cooking process? This is a problem on both 6.1 and 6.5.

Try this:
(I assume you're working with Ivan's kitchen taken from OsKitchen)
Create a folder in your cook/Sources/EXT/Fixes
create a text file called app.reg with text:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC]
"DebLogger"=-
Click to expand...
Click to collapse
I hope this works. It's useful for other keys

I'll give it a shot. I was gonna look at regedits for other things to.

Related

Restore Internet Calling in Faria's WM6 ROM?

I have been attempting to add Interenet Calling to Faria's WM6 ROM by adding the necessary files and registry changes and re-cooking the ROM but I am getting nowhere fast. I have managed to add some files to the original ROM, make a couple of registry changes fine and change some settings in the initflashfiles.dat file to remove some shortcuts I don't want and I can get this to work fine, however re-adding the IP Phone stuff is a bit more of a task.......
I have extracted the files (or modules) from the MB ROM and added the regsistry changes and the ROM cooks just fine. When I flash the Wizard though it completes sucessfully and then reboots. I get the 1st splash screen but then when the 2nd splashscreen should appear I get a white screen. The Wizard is working as I can hear the bleep when it asks you to 'tap the screen to set up the device'. It also powers on and off OK, but I only ever get this white screen.
I have tried this about 4 times now and I am convinced the registry changes and required files are correct, but each time I get this white screen. Any ideas?
Andy
http://forum.xda-developers.com/showthread.php?t=290786
Read this... especially towards the end.
trojan9x said:
http://forum.xda-developers.com/showthread.php?t=290786
Read this... especially towards the end.
Click to expand...
Click to collapse
Already read it..... I can get Internet Calling back if I launch the VoIP.CAB that is included in that thread after installation, however I want these to be integrated into the ROM like they were originally (Faria has removed them). As I said I have had some sucess with adding other files and other registry changes it is just this bit that I am stuck on.
I did manage to get a bit further but ended up with a corrupt Today screen, no idea what happened there though
Andy
What are you stuck on?... you said you didn't have it, but now you said you can get internet calling... what exactly are you trying to do?
Faria has said that his rom takes up almost the entire space alotted. Have you tried removing some files from the rom to clear up room for the VoIP files?
trojan9x said:
What are you stuck on?... you said you didn't have it, but now you said you can get internet calling... what exactly are you trying to do?
Click to expand...
Click to collapse
I want to restore the Internet Calling option in Faria's WM6 ROM - pretty simple to understand really
I can add it manually via the VoIP.cab file but this obviously takes up RAM and can be removed via 'Remove Programs'. I would like to add the files that are missing and make the necessary registry changes then re-cook the ROM. I would prefer to keep Faria's base ROM.
I haven't tried removing anything from Faria's ROM so far, I didn't realise it was near the limit - I thought we had 128MB to play with on the Wizard, are we near that already?
Andy
Listen.. that cab only does registry fixes and puts in the NECESSARY files for the current voip functionality. it does not install anything that is not needed. Extract the cab and look at the xml file. it will tell you exactly what it does...Pretty simple concept
trojan9x said:
Listen.. that cab only does registry fixes and puts in the NECESSARY files for the current voip functionality. it does not install anything that is not needed. Extract the cab and look at the xml file. it will tell you exactly what it does...Pretty simple concept
Click to expand...
Click to collapse
Yep, already done that, hence my original post.....
I have added the necessary registry changes/additions and proof-read them several times, however once the ROM is cooked and installed the thing reboots, I get the 1st splash screen OK, then the white screen when the 2nd splash screen should appear and that's it.
I will have a look at how bloated the DUMP directory is with the additional files in there and see if I am going over 128MB.
Andy
The DUMP folder is apparently 122MB (128,512,401 Bytes) but is taking up 132MB (139,141,120) on the disk on my PC. Does anyone know if this is too big? If it is what is safe to remove?
Thanks
Andy
Done it.......
If anyone is interested I managed to get Internet Calling back into Faria's ROM.....
What I did originally was correct, however the file (or modules) that are needed for Internet Calling total about 3.5MB, which I think was slightly too much and would make the ROM bigger than 128MB (I think Faria must have realised this when developing his ROM and removed them to save space). I have been through the installed applications and files and have removed some stuff that I don't use. I then re-built the ROM and low and behold it worked first time and Internet Calling is now an option...
It still doesn't work however but that is just because it needs a provisioning XML file from a provider. Hopefully when WM6 devices appear we will be able to extract a provisioning XML file and dig deeper........
And no, the ROM is not available since this is Faria's work and not mine.
Andy
Nice,
I’m new to this and the only thing that I need from WM6 is the “Internet Calling”
I have no ides how to make the voip work. But I fond this at Microsoft.
http://msdn2.microsoft.com/en-us/library/ms898226.aspx
I really would like to test this with my “asterisk server” (http://www.asterisk.org/)
/joad
Where did you find the "Internet Calling total about 3.5MB" module?
Or maby you have changed your mind and feel like chairing your ”build” of WM6
joad said:
Nice,
I’m new to this and the only thing that I need from WM6 is the “Internet Calling”
I have no ides how to make the voip work. But I fond this at Microsoft.
http://msdn2.microsoft.com/en-us/library/ms898226.aspx
I really would like to test this with my “asterisk server” (http://www.asterisk.org/)
/joad
Click to expand...
Click to collapse
I have exactly the same intentions, joad. I've got wm6 on my O2 XDA mini so I can try and connect to my Asterisk server as well!
Let's hope his eventually works.
N
joad said:
Where did you find the "Internet Calling total about 3.5MB" module?
Or maby you have changed your mind and feel like chairing your ”build” of WM6
Click to expand...
Click to collapse
You need to add the following files into the ROM (the 1st 3 are actually modules and are in directories with the same name):
dnsapi.dll
rtcdll.dll
voipphonecanvas.dll
ipdialplan.xml
ringback.wma
You also need to add the registry entries to the default.hv and user.hv that are contained in the '_setup.xml' file from the VoIP.CAB file (or extract them from another ROM that already contains Internet Calling).
HTH
Andy
joad said:
Where did you find the "Internet Calling total about 3.5MB" module?
Or maby you have changed your mind and feel like chairing your ”build” of WM6
Click to expand...
Click to collapse
Joad,
I agree with you. The 3.5 Mb footprint is inflated.
It's only 1.75 MB (remember if you are using recmod when you are unpacking the ROM with viewimgfs, you have two copies of the files that are stored as modules: the module version and a file copy!.
--eluth.
eluth, I knew that somebody out there would have done the right job. Congratulation! Would you mind making your rom available to us?
Thank you
Gio2003
Pleaaaaaaaaaaaaase !!!!!!
There are so many people wanting to do this now - and I have a MAJOR need for this on a Hermes -- I have a solid SIP provider and can get to it with my other apps but integration I can't test ---
I am trying soooo hard to pin this down. I have not found a single ROM yet that has the "complete" add-in of what you mention here.
It would be GREATLY APPRECIATED.
Thanks
gio2003 said:
eluth, I knew that somebody out there would have done the right job. Congratulation! Would you mind making your rom available to us?
Thank you
Gio2003
Click to expand...
Click to collapse
ckolibab said:
There are so many people wanting to do this now - and I have a MAJOR need for this on a Hermes -- I have a solid SIP provider and can get to it with my other apps but integration I can't test ---
I am trying soooo hard to pin this down. I have not found a single ROM yet that has the "complete" add-in of what you mention here.
It would be GREATLY APPRECIATED.
Thanks
Click to expand...
Click to collapse
This .CAB worked on my Wizard with Faria's WM6 real thing ROM that had the VoIP stuff removed:
http://forum.xda-developers.com/showpost.php?p=1147821&postcount=138
I then added the files and registry settings back and re-cooked the ROM.
HTH
Andy

Little help here Chefs - WM6 iPhone Edition

Does anyone know if there is an application (EXE file) within WM6 or WM5 that executes the "programs" and "settings" list, without tapping the Start button?
Also, on a soft reset, how can you make a single application load everytime?
Thanks...
bradsnw said:
Does anyone know if there is an application (EXE file) within WM6 or WM5 that executes the "programs" and "settings" list, without tapping the Start button?
Also, on a soft reset, how can you make a single application load everytime?
Thanks...
Click to expand...
Click to collapse
Anyone? I am sure there is a simple solution that I am overlooking. With a little help here I can fix a couple of problems with an iPhone emulator that can be incorporated into any WM6 Rom. I am currently running this now, but these fixes would make it perfect, and would almost do away with the Windows Mobile today screen. I am pretty amazed with this so far, The new iPhone today screen perfectly mathes what you would see on the apple website, and I am not noticing any signifigant lag time between apps that are loaded this way.
To make an application load on a soft reset, just place it in the windows/start up folder or place a link to it in that folder.
bradsnw said:
Does anyone know if there is an application (EXE file) within WM6 or WM5 that executes the "programs" and "settings" list, without tapping the Start button?
Also, on a soft reset, how can you make a single application load everytime?
Thanks...
Click to expand...
Click to collapse
not directly.... they are linked to explorer.exe and the shell....and of course the registry.....if my memory serves me rigth.
faria said:
not directly.... they are linked to explorer.exe and the shell....and of course the registry.....if my memory serves me rigth.
Click to expand...
Click to collapse
Faria, memory cannot serve you right. You are already at 97% capacity and the only way to get the information you require is to do a soft reset at which point you will get down to 75%. Or in the alternation upgrade.....
Is this the emulator you are talking about?
http://forum.xda-developers.com/showthread.php?t=301517
Did you find out how to start the functioning of program from icon.
I cannot find the explorer.exe in the rom
samy.3660 said:
Did you find out how to start the functioning of program from icon.
I cannot find the explorer.exe in the rom
Click to expand...
Click to collapse
Nothing as of yet. Without recompiling the software, each button on the iPhone today screen requires an .exe file, executable, to launch that particular service or program. To make things easy, I wanted to know how to create an exectuable file that will launch contacts, programs folder, and settings folder, with these, the normal WM6 today screen would not be needed anymore.
So Far....
So far....
Wow, those screens look cool already
Any idea when a first beta will be ready (if you are gonna release it)?
matthijst said:
Wow, those screens look cool already
Any idea when a first beta will be ready (if you are gonna release it)?
Click to expand...
Click to collapse
I have figured out how to link to Outlook Contacts, I am just having troubles getting settings and programs to pull up. Wven with creating shortcuts to them
well if you want settings like for example the task manager then a call to this would bring it up:
ctlpnl cplmain.cpl,4,2
Didn't want to leave you hanging so I ran a quick search here to see if it has a list and here's something that should steer you in a direction...that is if this is what you wanted:
http://forum.xda-developers.com/showthread.php?t=289005
that doesnt help, you know how to add a shortcut to start start menu
Here's a similar app:
http://rychlicki.net/en/2007/04/01/174/
http://rychlicki.net/inne/res_ppc-custom.icons.zip
Clock doesnt work there though

Little Help for First Time Cooker!

Hi There,
Ive been admiring the work of many here for a very long time.
I have owned a Blue Angel for about 18 months and a wizard since January.
The wizard has been flashed around 7 times in 4 weeks lol which is quite a bit for an HTC noob like me.
I have tried Orwells Rom (very stable for me) but then decided to upgrade to .mUn.'s rom as it was a newer version.
Unfortunately it wasnt quite as vanilla as I like.
Vanilla == No reg tweaks, No apps at all and no damned Cyberon!
Everytime I try to build myself a rom (tried Molski's kit and NotTooSmart's) I get a problem.
Dump decrypted NBA with Typhoon Tools
prepare_imgfs (with nosplit)
viewimgfs
hv > rgu
Added REGEDIT4 to the top line, saved as unicode, did everything correct as far as I know.
then back to hv's (yep right size, 750kb ish)
Then put it all back together. (incl the removal of bytes form initflashfiles.dat back to the first
1st Time with Molski's Kit = Booted fine, but would never load OS after a softreset
(few more attempts with the same kinda thing - failed )
Last time with NTS's kit = Stuck on the splash the IPL/SPL and would go no further.
Sorry for my ignorance, but what have I missed!
I hear about XIP sections and what have you, means very little to me!
I just want to build myself a rom on which I can mess around with :'(
Thanks Folks,
-Whiterat
When you remove the bytes from the front of the initfileflashes.dat file, what are you removing? It should just the FF, FE. Also, make sure you have English set in your regional and language options under the advanced tab.
If that fails, you may have a corrupt nk.nbf, since you've had BOTH kitchens fail. I would download a new ROM copy, dump and immediately rebuild and flash just to make sure you are properly going through that process. Then make one change at a time. It's time consuming I know, but you'll be wiser for the experience.
Peace,
JB
jwzg:
Thanks for taking the time to reply.
initflashfiles.dat should start with a ; (Since ; is used to remark lines) so I just remove back to that.
With regards to setting English, where abouts is the advanced tab? In what program even?
I did as you said with the nk.nbf and it goes on just fine without editting a thing
Its a pain testing these things, since I usually end up having to restore from SD which rewrites the extended rom, gsm, os, spash screen, htc screen,etc and then it takes ages for me to reflash my bits!
I can upload my rom if someone is willing to take a peek, see if I have missed something really obvious?
Too many files?
I had a similar issue (I think?) where everything seemed to work and the nk.nbf file was created OK. However there would be an error logged in the Windows Event Log about faulting an application. The resulting ROM image would install but I got a white screen following the reset (it made noises like it was working though). I followed the instructions for Molskis cooking tools to the letter and couldn't understand what the issue was I posted on here for some assistance but after I got no helpful replies I played around a bit more and realised the dump folder was slightly over 128MB (Size said less but I think it was over?). Anyway I removed some more files I didn't need and low and behold it all worked
I don't know what the absolute maximum size the dump folder can be, but I keep mine below 128,000,000 bytes....
HTH
Andy
ADB100 said:
...but I keep mine below 128,000,000 bytes....
HTH
Andy
Click to expand...
Click to collapse
Size on disk?
Whiterat said:
jwzg:
Thanks for taking the time to reply.
initflashfiles.dat should start with a ; (Since ; is used to remark lines) so I just remove back to that.
With regards to setting English, where abouts is the advanced tab? In what program even?
I did as you said with the nk.nbf and it goes on just fine without editting a thing
Its a pain testing these things, since I usually end up having to restore from SD which rewrites the extended rom, gsm, os, spash screen, htc screen,etc and then it takes ages for me to reflash my bits!
I can upload my rom if someone is willing to take a peek, see if I have missed something really obvious?
Click to expand...
Click to collapse
Not talking about that...
You have to open up initfileflashes.dat with a hex editor and remove the first two bytes (FF, FE). Then you can put the file back into the dump folder and build it.
jwzg said:
Size on disk?
Click to expand...
Click to collapse
The dump folder of the last one I cooked said:
Size: 121 MB (127,089,811 bytes)
Size on disk 131 MB (137,654,272 bytes)
And this worked fine, it was a re-heat of Faria's Real Thing ROM where I re-added VoIP & Windows Update (VoIP works but Windows Update won't and I can't figure out why - the application fails to connect to the MS site and won't close, but that's another story.......).
Andy
Yep I get that, I am a reverse engineer by trade so naturally I get what the manual had to say.
The limitation of imgfs is IF there are more than 1500 files being added to nk.nbf, the file size limitation also applies.
I am not adding any files to the dump, simply removing the cyberon stuff (and removing the microsoft callbacks, and sqm stuff)
Tried buling without removing sqm stuff and same thing.
I guess its just not going to be my thing
Here's what to do.
Delete the current 84000000-os.nb file in the ROMDUMP folder, then remake it. That should solve your problem. I forgot that I had the same problem.
Ahh I will give that a go
I was hoping to pick up a half broken wizard from ebay (broken digitiser/blocked/missing case/etc) and just use it as a tester, since I get alot of people whining when I am uncontactable for 90 mins
(About the right time to fiddle, flash and reinstall stuff)

Recent Programs List Empty on Two Refurb Fuzes

I keep having all kinds of problems on the Fuze. After going through three refurb Fuzes from AT&T in the last couple months, the last two of them have an empty programs list in the top of the start menu and no matter what programs you run and how many times you factory reset the things, the list still stays empty! Any ideas on what's happening?
PS- I'm using stock everything.
Do you have any sort of memory cleaner running in the background that is cleaning up the recent programs list? That's about all I can think of, unless there's a reg setting to not show recent programs. Have you installed advanced configuration, or some other tweaks program that may have set your fuze to not keep a recent programs list? I'm sure it's something simple like that.
Thanks for the reply-sadly this problem happens as soon as I've taken these phones out of the refurb'd box- I haven't installed any software, made any settings changes or anything like that. It's a really weird problem!
I'm running a 6.5 rom now, and haven't used 6.1 in a few months, but I was looking at the xml file for advanced configuration, and I believe there should be a 'Recent' folder in your \Windows directory (I could be totally wrong, I really don't know where the recent programs list gets stored). Is there one? Maybe try creating one and soft resetting, or something like that. It shouldn't be too hard to get this working. Also, with Total Commander or another registry editor, check and see if you have this:
HKLM\System\Explorer\Shell Folders\..... 'Recent' = \Windows\Recent
Dunno if this will help, but it might.
Works Now!
After checking that registry entry and creating that folder which did not exist previously and then soft-resetting it appears that the list works now! Thanks.
One last question
I was also going to ask- is there such thing as the 5.11.502.2 WWE Fuze rom or the 1.14.25.35 radio for Fuze?
First of all, that was blind friggin' luck, lol! I can't believe that worked. My batting average may be above the mendoza line now.
I'm pretty sure that's the new att rom update. Find it here or get it from htc. That's definitely the new radio.
That was awesome if that was just a guess! Wow!
But thanks, I was just making sure about that radio.

I'm curious

My bad in advance if this question is off topic.
Lets you say you flashed the stock rom [why i don't know] or one of the roms hanging around here. The RUU goes to 100%, you set the screen, the time, you get a peek at the home screen (lookin pretty plain there) only to be told to wait 3 seconds. A couple things run get a little progress indicator and the thing reboots.
Now your home screen is looking different. Couple plugins enabled, others disabled. Been scouring XDA regarding this and only found scant references here or there about setting your thing up to install cabs off an SD card. I'm looking for something more in the neighborhood of having different plugins enabled, possibly settings too.
Anywho if you know of where I can get some reading in about this type of stuff, lemme know.
It's the built-in autorun. There are also many different third party alternatives. A few are in SuperJustKitchen v0.7.
Besides that, I'm trying to decide if this is offtopic or not... Technically it has to do with cooking....
ivanmmj said:
It's the built-in autorun. There are also many different third party alternatives. A few are in SuperJustKitchen v0.7.
Besides that, I'm trying to decide if this is offtopic or not... Technically it has to do with cooking....
Click to expand...
Click to collapse
hehe i'm walking a fine there...
I was wondering who were those guys and what are they doing in my kitchen? Autorun, check autorun, and run cc From what I gathered about those programs is that runcc is like autorun but newer. My guess in using them is setting up some sort of txt file and pointing runcc or autorun to it.
If so what can I put in that txt file, coz I know i can't write something like "uh... dood, I don't want titanium enabled, I want this one enabled with this setting and that setting ticked... and while you're at it can you fiddle with that one over there, and lets throw some cabs on there shall we? they're over here..... you're not done yet, now I want you to monkey with the settings like so... alright now get the hell out of my office!"
If I could I would...
Whatever information you can point me over to would be cool.
Thanks
Dr.Gonz0 said:
hehe i'm walking a fine there...
I was wondering who were those guys and what are they doing in my kitchen? Autorun, check autorun, and run cc From what I gathered about those programs is that runcc is like autorun but newer. My guess in using them is setting up some sort of txt file and pointing runcc or autorun to it.
If so what can I put in that txt file, coz I know i can't write something like "uh... dood, I don't want titanium enabled, I want this one enabled with this setting and that setting ticked... and while you're at it can you fiddle with that one over there, and lets throw some cabs on there shall we? they're over here..... you're not done yet, now I want you to monkey with the settings like so... alright now get the hell out of my office!"
If I could I would...
Whatever information you can point me over to would be cool.
Thanks
Click to expand...
Click to collapse
RunCC is meant as a replacement for Autorun. Autorun just requires a text file while RunCC requires a Lua that points to a text file.
There are a few walkthroughs but nothing concrete on how to create a good autorun file.
Some of the commands are:
The lock screen command (I forget what it is)
EXEC: (Execute the following)
CAB: (Install the following cab)
CPY1: (Copy from this)
CPY2: (Paste to this)
RST: (reset the phone)
In the older Autoruns, to set a theme you'd use:
EXE: along with a program that set the theme
In the newer Autoruns, you can just set it with:
TSK: \Windows\theme.tsk
Unfortunately, neither works with WM6.5.1 so you have to set the theme with an EXT with many files and registry keys.
There are a few other autorun apps that people in xda have made that can do more, like be able to run your own custom config from your SD card if you want every ROM to have certain things automatically configured (as long as all the ROMs support the particular auto-configuration utility you have configured for.)
To tell you the truth, I never bothered much with Autorun unless I had to replace a file that needed to be one version for the rom to load the first time and another after the first time set up was done. Realistically, you can do almost everything with a simple EXT package.
ivanmmj said:
Unfortunately, neither works with WM6.5.1 so you have to set the theme with an EXT with many files and registry keys.
Click to expand...
Click to collapse
Now ain't that a kick in the pants
ivanmmj said:
To tell you the truth, I never bothered much with Autorun unless I had to replace a file that needed to be one version for the rom to load the first time and another after the first time set up was done. Realistically, you can do almost everything with a simple EXT package
Click to expand...
Click to collapse
I was thinking the very same thing. Something's telling me that I need to try out that "Create Ext" button. Maybe throw whatever reg keys I want played with in that file? That would be more simpler than creating an auto run thingie. Hmmm... if that is the case I guess I would to just need to know how to tinker with my home screen and settings from the registry.
Dr.Gonz0 said:
Now ain't that a kick in the pants
I was thinking the very same thing. Something's telling me that I need to try out that "Create Ext" button. Maybe throw whatever reg keys I want played with in that file? That would be more simpler than creating an auto run thingie. Hmmm... if that is the case I guess I would to just need to know how to tinker with my home screen and settings from the registry.
Click to expand...
Click to collapse
The easiest way to learn is to take a CAB that does something you like and converting into a EXT and looking at the registry settings it creates.
ivanmmj said:
The easiest way to learn is to take a CAB that does something you like and converting into a EXT and looking at the registry settings it creates.
Click to expand...
Click to collapse
That definitely helps, as well as using a reg editor to find out what has been done after installing a program then exporting the key to throw in the app.reg file. The real fun part was tracking down basic settings for things like button settings, today items (and their settings), and default theme (boy was that a blast!) Thanks again for clearing up the confusion

Categories

Resources