Delete gx.dll from Windows - Advantage X7500, MDA Ameo ROM Development

Is there anyway to delete the gx.dll from \windows on the Athena or would I have to get the rom image and remove from there before flashing.
I am looking to try a couple of alternative gx.dll's to see if they can cure the couple of issues with performance on GAPI software and try GAPI for HPC's http://www.wincesoft.de/html/gapi_for_hpc_s.html to see if that can rescale the touchscreen to 96dpi (which it reckons it can do) but even if you believe you have overwritten the dll once you soft reset to try the new one out the original is still there.

you will need to use resco explorer. You might also be able to do it through Activsync. The normal file explorer won't work.

Shall try again later on I have used Reco to overwrite the .dll and it appears that you have done it until you soft reset then the original ones back again. I shall try a delete & reset and see what the phone thinks of that.
update:
Resco brings up a dialog box saying 'File in ROM cannot delete' so looks like I would have to strip it out the image and flash the firmware without it there

try total commander..its free. Some apps do not allow delete, but will allow overwrite

Will give it a try, Resco allowed you to overwrite and when you look afterwards it appears to have done so, File Manager and Activesync explorer also both give the same impression but when you soft reset so that the nex gx.dll gets loaded you find that windows has rolled it back to the original.
On my Universal I can do this no problem and swap stuff around as I like so I assume the Athena's handle things a bit differently, I get the impression that the \Windows directory you write to is actually in two parts but you see the two as one, there's the set in stone part on the rom itself and then there's another on the storage that you can write to so new files like .ini's or custom dll's can be added but nothing already there from the rom flash can be deleted/overwritten.

Related

Handmade config.txt for ms_.nbf (extended ROM image)...

...Third day I spend to find how to persuade mine i-mate to use it's extended ROM as backup image source ... Have some troubles, maybe someone will be interested:
1. I've started from filling extended ROM with .CABs needed by me. Great. It works but I want to have more. So for now I am "on research":
2. I have installed all needed software and configured mine device to consist of all needed soft and settings for me.
Than I made self extracted image of my device (registry, \Storage, \Windows, etc.) except of Storage Card, of course, by SPRITE SOFTWARE BACKUP.
I get about 10 megabytes self-extracting .exe, named (for example)
_install.exe and I have wrote it in ROM file and include in config.txt string like this:
EXEC:\Extended_ROM\_install.exe
but I meet some troubles, and stuck...
1. that self-extractor looking to place one runtime dll from itself in current directory where it is. Of course it can't (rom is readonly for it).
And it fails with the 'cant extract DLL...' error, and... That's it!
After that I need to install any RegEdit manually from SD card, change registry for Exteneded_ROM to be visible, manually copying file _install.exe from that ROM to \temp\, than run - and only after that I bring my backup image to life...
Does config.txt supports some kind of commands like COPY for me to copy that .exe from Extended_ROM to \temp\ and then run?
Or config.txt have no ability to make copies of files?
Than, hypothethically, I need another simple programm like copy.exe to do this manually from command line?
After all this I just expect to get restored image of mine Himalaya already packed with soft and configured for me...
Fellows, what you think about it?
One more: how to exclude config.txt from being visible in PocketWord if I want to left extended_ROM to be open? (for ex. I put there .exe's that don't require installation)?
Sorry for mine English
-------
BTW: GREAT LITTLE DEVICE, after first XDA it's like more oxygenic ... O3 (ozoned .
Yes, config.txt supports COPY commands, check this thread
http://forum.xda-developers.com/viewtopic.php?t=6648
To make the ext-rom visible you can also edit one of the cab-files which only updates registy settings with WinCE Cab - Manger and add the registry setting to make ext-rom visible ( I think it is :
HKLM\System\StorageManger\Profiles\TRUEFFS_DOC
MountFlag 0 : but check this... )
Alex
WOW! THANKS! I supposed about CPY1: CPY2: cause I saw them in autorun.exe with hex editor... So It is! great... Let's try...
I'll write results here.
Only weary thing that I neen every time to rewrite all ROMs (somewhy when I delete Nk.nbf & radio rom and left only extended rom - upgrade will not end normally and device after hardreset enters into bootloader...
IT WORKS!!!!!!!!!!!!!!!!
YES! From empty Himalaya after hardreset I now recieve FULLY LOADED MINE device! even with setted up today and all else !
Wow!. .
Here is attached make_visible_Extened_RAM.CAB sized in 400 bytes - it will just only modificate registry to make Exteneded_ROM subdir visible.
Maybe someone will need it.

How to get different extended rom?

So is there a way I can do this on my G4 8125? I've been trying, but have not been successful.
Extended ROM basically consists of large number of CAB files. Go to the ftp and get hold of some of the ROM packages in ZIP format and unzip the EXT rom. Unlock your EXT ROM and replace everthing with the one you've downloaded. Done.
Personally, I don't use Ext Rom. Upon hard reset, I just skip the Ext Rom installation and I install my stuff manually, which I think gives more flexibility. I had my phone backup-ed into an EXE file which I can use when I hardreset next time.
I don't know how to unlock it, and I can't even stop my Cingular one from installing every time.
To stop it from installing, upon hardreset, softreset your phone just after the security option (eg when it asked you to set your PIN for the phone). It should skip installing the EXT ROM.
I'm not sure if it is read only or not, but you can try. Download and open Total Commander (for PPC), at the top section of TC, enter this
Code:
\Extended_ROM
It will show you stuff in your Ext Rom. See if you can overwrite it.
If the extended_rom is protected like in G3 >2.xx SPLs then you have no luck there. Even if you change something and it looks like it worked you'll get bad checksums on next soft-reset and all data in extended-rom will be deleted
mestrini said:
If the extended_rom is protected like in G3 >2.xx SPLs then you have no luck there. Even if you change something and it looks like it worked you'll get bad checksums on next soft-reset and all data in extended-rom will be deleted
Click to expand...
Click to collapse
exactly what happened to me.
after it had bad checksums, strange characters and folders, i formatted the extemded rom using wizard service tool ver 4.2.1
now my extended rom is empty... but i have a copy of it on the PDA in a different folder and on my PC.
Is there a way to restore it?
royorlev said:
exactly what happened to me.
after it had bad checksums, strange characters and folders, i formatted the extemded rom using wizard service tool ver 4.2.1
now my extended rom is empty... but i have a copy of it on the PDA in a different folder and on my PC.
Is there a way to restore it?
Click to expand...
Click to collapse
Absolutely. Simply use WST and select the "Write ROM" option. Then select "Extended ROM" and upload the backup from your PC.
Hi All,
Is there any way to build own ExtROM?
Thanks

WM6 comm manager

Im looking for any information about where the .bmp or .jpg or whatever format the comm manager picture files are. I am looking to just greyscale the green ones and swap them if possible. I like the look of the current comm manager but not the color. Also i don't want to use the other comm manager replacement programs out there because they look ugly.
I found the Bkgnd_Land.bmp and Bkgnd_Port.bmp in the windows directory and i haven't been able to replace or rename them with greyscale versions. It seems the attribs of the files are set to read only, system and ROM but the ROM setting is checked and greyed out so i cant change it. Ive tried to change the read only and system attribs but with no luck. Any info would be appreciated. If it is located in the rom will it take a cooked rom to do what i want?
You should be able to overwrite them with Resco File Explorer if they are in the Windows directory.
I change the both files, but the Comm Manager is still green
Did you power off for 30 seconds then do a soft reset?
Only the soft reset. I try again.
Saying that I cant change them either!
I found a whole host of images from CommManager, all in the correct colours. It just doesnt use them. I wonder if it was meant to change with the today theme, and something has got stuck.
Any ideas?

[Q] Removing unwanted applications from rom

The cookers of roms are by default including bunch of applications to ROM which i dont want to have and each time flash new version i need to manually remove them (like all google applications which takes quite a while and i am quite successfull at missing some). The rom is a zip file so i could make a program to kick apks out of rom automatically and repack it which isnt much of work to do but i am worried if such rom would still work. There is also a second problem, the digital signature which from expirience produces the yellow warning triangle at boot, i dont have problem with creating my own public/private keys and signing the rom but again i have no clue where the signature should be and where to register a private key (or maybe the samsung one is known?).
Is there some document on this topic or someone is prepared to help me out?
takes 20-30 seconds to open titanium and do a batch uninstall of the apps you dont need
Hmm... i dont use it but i will try, although i would still rather do a batch remove of all unwanted applications on my own before they even get installed. And adding a new application to install first also wouldnt be a bad idea (LBE privacy guard)
You can just extract the rom zip and from that delete the apks you dont want from the System --> App folders or Data --> App folders if there is anything in there. You could also use this 'opportunity' to choose which Kernel and Modem etc you wanted if you plan on changing / flashing different ones later. Re-zip and flash!
I will say this though, in the past i've done this and for some reason certain apps that I left in the zipped rom didn't install, no biggy though
Ok, this was the answer i was searching for. One more thing, what to do with digital signature?
Custom rom .
Open with Win Rar do not extract.
Open System Open Apps
Delete whatever you dont want and is safe to do so .
Close Win Rar and flash rom .
jje
Hmm, i am just playing with one thought, if the android is tied to apk extension for installing, the changing of zip header (actually from historical reasons it is footer ) to rename the apk to ap_ for unwanted application would acctually kill it from installing without ever unpacking it... and the code is actually even more trivial, search and replace...

[Q] How to modify a system file?

Hi there,
I upgraded my Galaxy 551 to Gingerbread 2.3.6. All went well. Unfortunately it seems to be a common side effect that the Z and Y keys (and some others) get swapped. The fix is apparently to modify the file /system/usr/keychars/sec_keypad.kcm.bin. The ideal thing is to put the old file from before the FW update back in, but of course I don't have that anymore! But the existing one can apparently be altered. If I can copy it to the SD card I can alter it in a hex editor and put it back.
So, I rooted my phone with that one click application, and that went OK too. I installed root explorer and found the file. There were also some others in the same folder I may be able to use. But, I cant make the folder R/W (pressing the button does nothing) so cant do anything with the file. I also tried Super Manager with no luck.
I am new to the phone fiddling stuff so noob level instructions would be appreciated!
Think I have it sorted. I installed superuser and then Root Explorer allowed me to select read/write. Now to try sort out this file!
OK, seems that you need to edit the file /system/usr/keylayout/sec_keypad.kl. Did that. DO'H now my keyboard doesn't work at all! Glad it saved a backup for me! Not sure what I did wrong, only edited two characters in a text file! Even the power button doesn't work. Got to pull that battery out LOL!
It seems when the file was saved it was saved with zero size. When I try to delete it to replace it with the backup it says cant delete, read only. So, not sure how I am meant to replace this and fix this problem.
Any ideas, remembering that I cant actually use any buttons on the phone!

Categories

Resources