Khuanchai, on Nov 20 2009, 01:22, said:
That's my experience too. I tried to buildos from packages even without modification. After flash, it went error on language setup screen even I had corrected the 1EA value. It doesn't make sense if we are thinking that this value is for multilanguage setup. Do you have any idea why it happens with buildos from packages but not from direct dump?
Something is strange with this language pack setup in multilanguage roms.
I did another test today to see relocation is going to work without buildos. Here is what I did:
1. Dump files from IJ9 nb0
2. Run WMReloc.exe on the dump folder. I didn't make any changes to the dump folder, just had to fix two files with some sections equal to 0 for WMReloc.exe to work (they were R2VS_ARM_WM6_PRO_Driver.dll and VoiceBooster.dll)
3. Pack Rom
So I didn't dump to packages or use buildos. I just wanted to see what WMReloc.exe will do.
When I flashed the phone, It went through the language setup screen OK - the progress bar worked fine and the phone started. But that's where it finished, I got stuck on the splash screen again. The other thing I noticed is that I didn't have startup sound.
Then I dumped this modified rom to compare dump_MemoryMap.txt files for original dump and the relocated dump.
I have noticed that WMReloc.exe creates some extra data. Memory is divided into 2 slots (2 halves). Most of file sections are mapped to both slots (Some are only in one). After running WMReloc, it maps all the files to both slots. The other thing what WMReloc did for the modules that it added, is to swap around the slots (the part with bigger size is in different slot now). For example there was only 1 memory allocation in first slot for bta2dp.dll (size 65535) in original dump. WMReloc added another one so now we have in first slot bta2dp.dll (size 4095) and in second slot bta2dp.dll (size 65535). Not sure if it matters though.
If you have a look at the attached spreadsheet you will see what I mean. Maybe it will be usefull for rodrigofd. I had to rar it, It doesn't like xlsx attachment.
Edit:
You haven't tried by any chance using buildos and/or WMReloc on the Chinese rom that we started with? I wonder if it worked on the 1-language rom.
Edited by wes58, 20 November 2009 - 03:18 AM.