PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   CDMA TP Development (http://forum.ppcgeeks.com/forumdisplay.php?f=68)
-   -   CDMA Touch Pro XIPs 20764 20771 20954 21015 21018 21028 21032 21109 (http://forum.ppcgeeks.com/showthread.php?t=53848)

FormerPalmOS 01-19-2009 12:44 PM

CDMA Touch Pro XIPs 20764 20771 20954 21015 21018 21028 21032 21109
 
5 Attachment(s)
BE SURE YOUR SYS INCLUDES WinCENLS_WWE as this has been removed from the XIP.

Show me some thanks if you use one of these XIPs please.

EDIT 25-Mar-09: 21032 version added in 2nd post along with .RGU file to fill in some missing reg entries and remove some unneeded stuff.

EDIT 17-Mar-09: Version 8 added in 2nd post, SYS 21028, no encryption.

EDIT 14-Mar-09: Version 7 added in 2nd post without storage card encryption. +64K free virtual memory, +64K program memory. FAST!

EDIT 8-Mar-09: Version 7 loaded in 2nd post, same as others, MSXIPKernel 20771 (Thanks fr4nkl1n).

EDIT 23-Feb-09: Version 6 loaded, same fixes as 3-5 using MSXIPKernel 21018. Thx to Drellisdee for pointing me in the direction for this version.

EDIT 17-Feb 09: Version 5 loaded, same fixes as versions 3 and 4, using 21015 MSXIPKernel for use with 21015 SYS. FWIW, 21015 is definitely faster / more responsive than 20954. I'd say it's on-par with 20764. Not sure if 21015 of 20764 is faster, but 21015 does include a newer IE and Adobe Flash.

EDIT 16-Feb-09: Version 4 loaded, same fixes as version 3 (same boot.rgu). 20954 MSXIPKernel for use with 20954 SYS.

2E = 21109 (has been tested now)
3E = 20764
4E = 20954
5E 21015 = 21015
6E 21018 = 21018
7/7E 20771 = 20771
8 21028 = 21028

EDIT 5-FEB-09: Version 2 updated with fixes in version 3. Still 21109 sys. New os.nb.payload attached. I HAVE NOT TESTED THIS YET (too happy with my current ROM to re-flash). If you use it successfully, please let me know. NOTE - you will need the .ROM and .VM and boot.rgu files from the 3E folder so download both - the 2E folder contains ONLY os.nb.payload.

List of changes vs. stock Verizon 19998 XIP:
  1. Removed wince.nls from XIP - make sure it is in your SYS if cooking with this XIP
  2. Removed DSMs for LangDB and MSXIPKernelLTK (both empty)
  3. Compressed out XIP free space, increased free ram in ROMHDR.TXT. Note - to take advantage of this you have to also make changes in the .ROM and .VM files in your SYS. I've attached the changed files here. More info can also be found in post 68 of this thread.
  4. Changed EncryptByDefault to 0 in boot.rgu. Changes to enable disk meta-data cache (system-managed sizes) and file filter cache.
  5. Removed htcfilter, relfsd and fsdspy
  6. Updated OEMXIP DSM for removed files from ver 1E
  7. Updated os.payload.nb with new partition table and MSFLSH50 header based on smaller size XIP.
  8. Default pagepool set to 10MB.
Feel free to provide any feedback.

- - - - - - - - - - - - - - - - - - -

One of the issues I have with some of the latest 21109 ROMs is that it seems somewhere someone thought removing cachefilt.dll and mencfilt.dll from the XIP was a good idea. I need storage card encryption - that is a showstopper for me. Plus, IMHO the file cache filter is a good thing, not a bad thing, if it's configured properly (which it wasn't). The encrypting filter will slow things down if it doesn't have a small data cache to work with. So I decided to change this, and port the XIP to 21109 SYS files at the same time.

Now, pause for thanks to those who deserve it:
1) scrosler - His VZNAV3 beta 2 ROM was good enough without this new XIP to show me how much nicer this phone can be than what Verizon ships us. http://www.scottcrosler.com
2) calku - His sys files are pretty good
3) ervius at xda-developers (porting tools)

DISCLAIMERS:
I have a day job. I will try to answer questions about this, but no guarantees. Also, this was intended for and tested ONLY on a Verizon CDMA Touch Pro. Might work on Sprint. Most likely WILL NOT work on a GSM Touch Pro and definitely WILL NOT WORK on any other phone model. If you ask about other phones, I will not answer and will instead direct you to read the first post (if someone doesn't beat me to the response).

Each file contains a ROM directory with os.payload.nb file, and a matching XIP sub-directory with matching boot.rgu. Make sure you replace the entire ROM directory!.

There is also a SYS folder with new .ROM and .VM folders. Replacing these will allow your builds to take advantage of a little extra virtual memory space (not to be confused with program memory) - make sure your kitchen runs G'Reloc.exe. Note - replacing the SYS files is not necessary but is recommended (save your originals in case you need to revert).

If you are successful with cooking with this XIP, your start-up screen and ROM version on the device information page will show 1.FPOSXIP.2E (or 3E or 4E) as the version number.

SD Card Encryption - My XIPs with an E in the version number include mencfilt.dll but default to NOT encrypt. You can enable it by going to Settings -> System -> Encryption. If you don't see the encryption control panel aplet, go to HKLM\ControlPanel\Encryption\Hide and change it from 1 to 0 (One of Scott's ROMs had it set to hide this).

The encryption key is generated every time you hard-reset. After a hard-reset (or ROM flash), everything that was saved encrypted on your card will be un-recoverable. Stuff that was never encrypted in the first place will be unaffected.

Versions 7 , 8 and 9 (no E) do not implement encryption.

FormerPalmOS 01-19-2009 12:44 PM

Re: CDMA Touch Pro XIPs 20764 20771 20954 21018 21028 21032 21109
 
5 Attachment(s)
Reserved for additional download space and bug list / change request.

As of 25-Mar
Versions 7 - 9 (non-E) may cause flickering icons for programs installed after boot (i.e. not cooked into a ROM). This happens with some SYS and not others. The problem can usually be fixed by one or both of the following:

1) Change the attributes of the shortcuts in \Windows\Start Menu\Programs to read-only

2) Apply the .RGU attached below

This problem does NOT seem to occur with the versions that include encryption - likely due to a difference in the way the file system filter stack-up is instantiated in boot.hv.

Note - if you use the .VM file in the versions 7-9 (non-E) XIP, you will gain about 64K of virtual memory (room to add more modules). Use ONLY with versions 7-9 non-E XIP - will break any other XIP. The version 7-9 (non-E) XIPs will also give you 64KB more program memory, even if you don't change your .VM file.

As of 23-Feb - No changes requested.

25-Jan Version 2 Change requests:

Bug list:
Ver 1 and 2 (broken versions no longer posted) - Phone Settings page gets stuck there - settings stick, but clicking OK doesn't take you out of the page. Cause - missing boot.rgu entries for Lockstream DRM.

17-Jan Version 1 Change requests:
Make version without mencfilt.dll (remove module, reallocate, see if can free any RAM, remove associated boot.rgu entries) - will do if time
Default to no encryption - done
Run pagepool changer patch and no cert patch - pagepool changer patch done, did not do no cert patch

Mr. X 01-19-2009 12:51 PM

Re: New XIP for 21109 sys with working encryption
 
it is a good idea to remove this from the xip. u know what would have been 789643298576329486523984% easier?

use those dlls in a OEMXIP Package rather then reinventing the wheel in putting them back into the xip. they are taken out to save space. that way if u need it u add it to the OEM XIP package... if you dont then you dont.

oh yah. patch the PP string in the payload, and no cert patch it. if your going to do the xip might as well patch it correctly so users can take full advantage of it.

FormerPalmOS 01-19-2009 12:54 PM

Re: New XIP for 21109 sys with working encryption
 
EDIT - THIS POST IS DEPRECATED. You shouldn't be using one of the release 1 posts.

How to change the pagepool size (version 1 only - not needed for version 2 - use the pagepool_changer application):
  1. Open os.payload.nb in a hex editor (I use XVI32)
  2. Go to address 0x7A0E0. Verify you see the following hex string: 03 15 A0 03 03 15 A0 13
  3. Change the 03s shown above in bold to 1/4 of your desired pagepool. Or change 03 15 to nn 16 where nn is 1/4 the pagepool size in MB. For example, to go for 8MB, change to 02 15. To go for 9MB, change to 09 16. Change both instances.
  4. Save and re-cook.
Note - I have not tested this - but it should work as described. Here is the code in NK.EXE in the XIP that is being changed (note the addresses below are NOT the same addresses in os.payload.nb):
0005a06c: e59f3758 ldr r3,#0x5a7cc ; = #0xba0810c0 ; Load R3 with 0xba0810c0
0005a070: e59f0750 ldr r0,#0x5a7c8 ; = #0x80006b90 ; Unrelated register load, might be used in called sub
0005a074: e5933000 ldr r3,[r3,#0] ; Load R3 with data at address 0xba0810c0 + 0x00
0005a078: e3530c01 cmp r3,#0x100 ; Compare R3 with value of 0x100
0005a07c: e59f3740 ldr r3,#0x5a7c4 ; = #0x803d6350 ; Load R3 with 0x803d6350 (pointer to PP size constant)
0005a080: 03a01503 moveq r1,#0xc00000 ; If R3 compare was equal, load R1 with 0value xC00000
0005a084: 13a01606 movne r1,#0x600000 ; If R3 compare was not equal, load R1 with value 0x600000
0005a088: e5831000 str r1,[r3,#0] ; Store R1 at address 0x803D6350 (location of PP size)

This is how it was stock. In the os.payload.nb I changed the 600000 to C0000. This could be patched to allow the pagepool changer app to work, but I trust this more.

scrosler 01-20-2009 02:30 AM

Re: New XIP for 21109 sys with working encryption
 
Quote:

Originally Posted by FormerPalmOS (Post 651275)
One of the issues I have with some of the latest 21109 ROMs is that it seems somewhere someone thought removing cachefilt.dll and mencfilt.dll from the XIP was a good idea. I need storage card encryption - that is a showstopper for me. Plus, IMHO the file cache filter is a good thing, not a bad thing, if it's configured properly (which it wasn't). The encrypting filter will slow things down if it doesn't have a small data cache to work with. So I decided to change this, and port the XIP to 21109 SYS files at the same time.

Now, pause for thanks to those who deserve it:
1) scrosler - His VZNAV3 beta 2 ROM was good enough without this new XIP to show me how much nicer this phone can be than what Verizon ships us. http://www.scrosler.com
2) calku - His 21109 sys files are pretty good - he's put a lot of time into converting dlls to modules for faster loading. That's one reason ROMs using his SYS files are faster. His kitchen also had the tools I needed for XIP porting.

Gonna try to cook with it now.... Will report back shortly....

Oh and you still need to correct my web address:

www.scottcrosler.com... You removed the double S but forgot my first name ;c(

scrosler 01-20-2009 02:48 AM

Re: New XIP for 21109 sys with working encryption
 
Ummmmm, Uhhhhhhhh, OMG!

Dude, this is sick!

Notable improvement in file operations. Just was just a quick test though. Still need to test but intial repsonse is WOW.

Nice work!

Can y ou make this without the encryption for Room? If so I would like to use that in my ROM. Also, do you have any objections to me using this in my nexk kitchen update? Assuming the performance holds true?

You know you just pissed off my wife! Im gonna be up all night trying to tweak this further. AHAHahahahaha

Good work man!

EDIT: Ok, here is what my base was befoer the XIP change just for the record.....

My kit which is 100% OEM VZW stock drivers and apps, eRice latest SYS files, your XIP. I cooked wiht the same options as my "Choice Edition" ROM. 9 Meg PP. Yeah, its even peppier now. WOW

Good job again man!

How big is encryption and is worth taking out for saving space.

scrosler 01-20-2009 02:50 AM

Re: New XIP for 21109 sys with working encryption
 
Quote:

Originally Posted by FormerPalmOS (Post 651298)
How to change the pagepool size:
  1. Open os.payload.nb in a hex editor (I use XVI32)
  2. Go to address 0x7A0E0. Verify you see the following hex string: 03 15 A0 03 03 15 A0 13
  3. Change the 03s shown above in bold to 1/4 of your desired pagepool. Or change 03 15 to nn 16 where nn is 1/4 the pagepool size in MB. For example, to go for 8MB, change to 02 15. To go for 9MB, change to 09 16. Change both instances.
  4. Save and re-cook.
Note - I have not tested this - but it should work as described. Here is the code in NK.EXE in the XIP that is being changed (note the addresses below are NOT the same addresses in os.payload.nb):
0005a06c: e59f3758 ldr r3,#0x5a7cc ; = #0xba0810c0 ; Load R3 with 0xba0810c0
0005a070: e59f0750 ldr r0,#0x5a7c8 ; = #0x80006b90 ; Unrelated register load, might be used in called sub
0005a074: e5933000 ldr r3,[r3,#0] ; Load R3 with data at address 0xba0810c0 + 0x00
0005a078: e3530c01 cmp r3,#0x100 ; Compare R3 with value of 0x100
0005a07c: e59f3740 ldr r3,#0x5a7c4 ; = #0x803d6350 ; Load R3 with 0x803d6350 (pointer to PP size constant)
0005a080: 03a01503 moveq r1,#0xc00000 ; If R3 compare was equal, load R1 with 0value xC00000
0005a084: 13a01606 movne r1,#0x600000 ; If R3 compare was not equal, load R1 with value 0x600000
0005a088: e5831000 str r1,[r3,#0] ; Store R1 at address 0x803D6350 (location of PP size)

This is how it was stock. In the os.payload.nb I changed the 600000 to C0000. This could be patched to allow the pagepool changer app to work, but I trust this more.

I had no issues changint he PP from 12 to 9. What are you two talking about? I dont get it? Or did you fix the XIP and re-up?

Also My sys files are fixed. Grab SSK 1.1

scrosler 01-20-2009 04:46 AM

Re: New XIP for 21109 sys with working encryption
 
DAMN! Encryption just ruined my day.

EDIT: Can you take the time to post a cab to default it OFF please? Or tell me where in the reg to look so I can cook it in.

EDIT2: Is this it:

[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\E NCFilt]
"EncryptByDefault"=dword:0

jakdillard 01-20-2009 11:19 AM

Re: New XIP for 21109 sys with working encryption
 
Encrpytion is removed because on some device like the mogul it would corrupt your storage card ... this practiced is just still used today .... the catch filter if you choose to keep it you can move it to imgfs .... most times something is removed to save space or move modules around to take advantage of free RAM that is out there or to gain space in imgfs there are plenty of modules in the OEMXIPKernal and MSXIPkernal that can be moved to imgfs or deleted completely the key is to trim XIP

stanglifemike 01-20-2009 12:29 PM

Re: New XIP for 21109 sys with working encryption
 
Interesting, sounds like good news for VZW users!! Thanks guys!!


All times are GMT -4. The time now is 03:32 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0