[Q]How to create XIP driver - TG01 General

Hi.
I am just working on my own driver. I tested its body and seems to be ok but I have some problems concerned with the fact, system does not want to load it at boot time. Fortunately I can load it further having already access to the shell so I know it works as it should.
I suspect that maybe it is caused driver is not XIP'ed becuase it has been created as single dll file. Maybe my driver .dll file should be inserted in kitchen as module for example in mydriver.dll directory and I have to place in this directory needed Sxxx files and imageinfo files like other available drivers have ? Am I right ?
Regards
fxdjacentyfxd

fxdjacentyfxd said:
Hi.
I am just working on my own driver. I tested its body and seems to be ok but I have some problems concerned with the fact, system does not want to load it at boot time. Fortunately I can load it further having already access to the shell so I know it works as it should.
I suspect that maybe it is caused driver is not XIP'ed becuase it has been created as single dll file. Maybe my driver .dll file should be inserted in kitchen as module for example in mydriver.dll directory and I have to place in this directory needed Sxxx files and imageinfo files like other available drivers have ? Am I right ?
Regards
fxdjacentyfxd
Click to expand...
Click to collapse
Tell me, what is this "mydriver.dll"? What he doing?
If you want i insert this file for your xip...
Cheers

Related

Extracting cabfiles from software I have??

I have been reading lots of posts on the forum and got so far but now I'm stuck.
I have an XDAII and have managed to unlock and unhide the extended rom. now I can access the extended rom while XDAII is in the cradle.
I understand how I can add cab files to it and will be using the configcreator tool to edit the config.txt file.
The problem I have is; all the pockekpc software I have, is on my computer and I have only ever installed it through activesync the normal or official way. When ever I have tried to put the files directly on my phone and click on them I always get the messeage this is not a valid pocket pc application..... or something like that.
So how do I convert the software files I have on my computer to cab files so I can include them in the extended rom? :shock: ? :?:
To most of you guys this must seem like a nuby question sorry :roll: , but I can't seem to find the answer on the forum.....
Is there a tool I can use or a program that I can use to make useable cab files?
Also just a though when I install programs via activesync does my computer convert the files to cabfiles and then automatically transfer them to my device? if so can I somehow copy the cabfiles from the temporary location on my computer :?:
A step by step guide would be helpfull but any help would be appreciated :?
Thanks in advance
Daz
Some 'high-end' software will leave a copy of their cab files on a specific directory (i.e. you have a choice of choosing). Those you can just go to the directory and copy it. If you do not know what I'm talking here, nevermind
Anyway, for normal simple software, they will most probably extract themselves to temporary directory. Example
C:\Documents and Settings\'yourWindowsUserName'\Local Settings\Temp\
where 'yourWindowsUserName' is your username for the PC. My guess would be, try to search for *.cab files in your temp directory (i.e. as the above dir) before you install your software. THEN, start your software installation, and do a search again on the 1st setup screen, see if you are lucky And try to do another search after you're done with the setup.
Hope this helps.
Thanks for that I'll have a go.
Daz
I managed to edit my extended rom! 8)
I was able to add the cab files from tom tom navigator 3 and it installs them perfectly after a hard reset!
The only issue I have, when I run Tom tom for the first time after a hard reset I have to keep entering the activation code. Not really a major issue more of a pain.
Wonder if anyone knows how to get it to enter the activation code automatically :?: Bat file or something :?:
This sites really helped me with my tinkering I think its about time to donate
Thanks for all the help guys
Daz
adobe reader
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
adobe reader
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
Re: adobe reader
doortodoorsalesman said:
anyone know how to extract the cabfiles from the adobe reader pocketpc exe file?
I've tryed to get them from
my pc's temp file when installing via activesync but the files are not cab files?
any Ideas?
DAZ
Click to expand...
Click to collapse
Hi :
Here after what I do with succes :
When installing the application from ActSync, you must select "Storage Card" instead deffault location to install.
Then, you have to cancel the installation process before the progress bar on your PPC's screen ends.
A dialog box will ask if you're sure to abort the process.
At this stage, you go to storage card throught your PC Explorer, and you'll find the cab file there.
You save it away.
This cab file on the storaqe card will be automatically removed when you confirm that you really want cancel the installation process on the PPC's screen.
Or...
Go to c:\Program Files\Microsoft ActiveSync folder in your desktop and you can find there more cabs. Or simply find all the *.cab files on your HDD and you'll be surprised.
Thanks for this I will check out both methods
Does anyone know what the best freeware tool for modifying the cabfile is? and where I can download it :?:
Thanks for the help
DAZ
...
I think,that everyone here knows only WinCE Cab Manager from OCP Software. But this is commercial,but...on internet is everything...

Hi can anyone help pls?

I'm rather new to these kind of devices so please excuse the ignorance.
I have an XDA Atom Exec, I upgraded to WM6 with this site successfully.
I also would like to install HTC Home and Customizer as I like the big clock and icons, however I can't seem to find instructions on how to install them. I tried using the search function but nothing came up.
Can someone explain it to me please? Thank you.
Have you downloaded the cab files for HTC HOME and CUSTOMISER , if so just go copy them to your phone and then navigate from the file explorer of the phone to where you have pasted , and run (tap) Hope this helps.......
If you have not downloaded them ....find Ironeagles thread on this forum , to find the links
Or you can download the cab from http://www.pocketemu.com/download8.html
Regards,
Carty..
Hi, thank you for trying to help.
I think the problem is that I can't run the "setup". It opens in Internet explorer just like on my PC, I downloaded another copy from Carty's site and the same thing happens. Do I need a special program to open the setup XML file?
Thanks again..
Carty said:
Or you can download the cab from http://www.pocketemu.com/download8.html
Regards,
Carty..
Click to expand...
Click to collapse
Hey Carty, I would like to ask about your Ultimate Theft protection. If I flash a new ROM, will it still be there?
xda noob said:
Hi, thank you for trying to help.
I think the problem is that I can't run the "setup". It opens in Internet explorer just like on my PC, I downloaded another copy from Carty's site and the same thing happens. Do I need a special program to open the setup XML file?
Thanks again..
Click to expand...
Click to collapse
describe in steps how you did your installation. we don't usually deal with xml files for installation.
jiggs said:
describe in steps how you did your installation. we don't usually deal with xml files for installation.
Click to expand...
Click to collapse
Well after downloading the zip file to my PC, I unzipped it in a created folder.
Sync'd my atom exec with the PC.
Opened File Explorer from ActiveSync, opened Program files on Atom Exec and just moved created folder with unzipped file into Atom.
After opened the created file from within the device and click "setup" with the stylus.
It opens up Internet Explorer and I can only view it as a document of some sort.
Hope that makes sense
No mate , you dont have to ZIP it (you are actually zipping the cab file which runs directly on the ppc , copy the .cab file without zipping it to your PC and then run ..)
This is what you do wrong
xda noob said:
Well after downloading the zip file to my PC, I unzipped it in a created folder.
Sync'd my atom exec with the PC.
Opened File Explorer from ActiveSync, opened Program files on Atom Exec and just moved created folder with unzipped file into Atom.
After opened the created file from within the device and click "setup" with the stylus.
It opens up Internet Explorer and I can only view it as a document of some sort.
Hope that makes sense
Click to expand...
Click to collapse
if you will list the contents of your zip file, that would be helpful. we don't normally copy files to program files for installation.
Thank you everyone... the problem was exactly what udayrulz was describing. I merely had to just move the file over to the device and click it, instead of unzipping, create a folder etc.
Thanks again, this plugin is much easier on the eyes!
No Problem , glad it worked out

Duplicate File Problem with any kitchen

Hi All,
with all of the kitchens found here, it is noticeable that when adding any packages to the OEM/SYS folders (i.e S2U2) then trying to re-build the rom specially in the process of BuildOS we got many errors that file already exist and then crashes.
after many research i got to know that the package will extract the files in windows folder for all packages on time then while installation, the files will be copied to the proper folders.
here is the problem, once trying to re-build the rom all files will be copied in the same folder.
is there a way to avoid this?
Hi robekia1,
Even I am facing the same problem when rebuilding os.
we will keep waiting for the seniors here to deliver a solution for us.
thanks to whom will help in this regard
I also faced this problem while cooking ROMs, Hey krazy! help please.
I guess, if we could know the file structure from the folder structue before installing, then it would be easy.
hmmmmmmmm, it seems that this problem have no solution as (Finding emulator for cooked ROM)
done the same and working
robekia1 said:
I guess, if we could know the file structure from the folder structue before installing, then it would be easy.
hmmmmmmmm, it seems that this problem have no solution as (Finding emulator for cooked ROM)
Click to expand...
Click to collapse
Hey I have done the same previously I love the s2u2 applications so I have cooked my rom with all 3 apps of s2u2 i.e. S2U2, S2P, S2V.
I created packages from package builder, then copied all files to one folder.
removing duplicates with latest one.
Also I changed the initflash file for the locations which is created by the package creator with the new folders path.
Then also I added the all item tag in XML to detect DSM files of the respective apps.
Make sure you have registry hack for installing third party apps in your ROM packages.
Enjoy... you will get all your S2U2 apps in your ROM.
Right now I dont have the folder I will upload it tomorrow if anyone wants.
Hope this information is useful to you all.....
Please Dooooooo
bhushangahire said:
Hey I have done the same previously I love the s2u2 applications so I have cooked my rom with all 3 apps of s2u2 i.e. S2U2, S2P, S2V.
I created packages from package builder, then copied all files to one folder.
removing duplicates with latest one.
Also I changed the initflash file for the locations which is created by the package creator with the new folders path.
Then also I added the all item tag in XML to detect DSM files of the respective apps.
Make sure you have registry hack for installing third party apps in your ROM packages.
Enjoy... you will get all your S2U2 apps in your ROM.
Right now I dont have the folder I will upload it tomorrow if anyone wants.
Hope this information is useful to you all.....
Click to expand...
Click to collapse
Thnx a ton budy for this information.
really, i can't wait till tomorrow for this folder because i want to see all these modifications whitch greatly will help all ppl here.
please upload it ASAP.
also, what about Cooked ROM emulation? i hope there is a solution up there whitch i'm not aware about.
registry hack
bhushangahire said:
Make sure you have registry hack for installing third party apps in your ROM packages.
Click to expand...
Click to collapse
What you mean by registry hack? it sounds something new for me.
do you mean any registry editor? or it is another OEM Package should be installed along with the ROM?
robekia1 right, all file will be in windows folder, if you put it in the "program files" folder, the files exist in windows folder too, that is will be wasto your phone storage. Avoid put in the program files folder will be increase your phone memory.
Usually the default directory of the CAB file is in the progam file, and if you use OEM creator to that CAB, it will copied to Program file folder and exist in windows folder, to make only in windows folderyou can use this method:
1. edit the initflashdat result of OEM creator, delete all value of program file, or
2. Before you use OEM creator, edit the installation directory of CAB file, use wincab manager to do it, or
3. use wincab manager to extarct the files in the CAB, and registry, after that you can make .rgu, dsm, shortcut, manually and input the shortcut location in the initflash.dat file (I always use this method).
Usually every CAB file have different files with other, and if the have same file it can be same with the SYS file or the author/maker of the CAb is same. you can choose the latest version of that file if it happend.
While cooking even though we separate files inside different packages, but at the time when imgfs.bin is created, all the files go to \Windows folder. Thats why there cant be two files with same name even when they are in different packages.
Now some apps have common dependencies. Like the DirectShow and mHubVO dlls are needed by Youtube, as well as streaming media. Now what happens is, if you take two packages for these, sometimes the author puts the dependency files in both the packages so that if someone uses one package and not the other, it still works. This mostly happens packages that are made by converting a cab to a package. So if you cook these packages, you need to make sure that they are not putting duplicate files.
The same thing also happens with also happens with registry settings. Somtimes, two or more packages update the same regisrty keys in their .rgu files. SO we need to take care of those too and remove the lines that dont apply to the version of files we are actually using in our kitchen. This is a necessary evil and thats why cooking is not a child's play.
Once a ROM is flashed, and phone boots for the first time, the initialization process takes place. Now the ROM cooks have two ways to initialize their packages : using the .provxml files, this works if you have newer OEM* folders like from Elfin or Opal, it basically requires the Autoshortcut.exe file as well as newer HTCUtil.dll. The other way is the older initflashfiles.txt files inside the packages.
The difference between two methods is that using initflashfile.txt you can only copy files and create folders on the file system, but provxml can be used to perform many different things like registry values, applying themes etc.
So using one of the methods you copy your files to appropriate locations. Do remember that this process if done wildly can decrease the availabel free phone memory noticeably. Thats why we sometimes go a bit furthur and do some programming stuff to minimize this. You people sometimes dont even notice what is happening behind the scene.
I tell you one such experience. Google maps is a package that copies all its files to \Program Files\GoogleMaps but i noticed if i dont copy the files by deleting the initflashfiles.txt, and run GoogleMaps.exe from \Windows, it runs just fine. This works in pro user's rom but in Manila ROMs, the Maps tab of Manila looks for GoogleMaps.exe in Program files folder. So i had a choice to either copy googlemaps.exe into program files folder and waste 2 MB of phone memory or loose the functionality of maps tab of manila.
What i did was the third way i thought of myself. I created a .NET application called GoogleMapsStub.exe and what it does is it runs the googlemaps.exe from windows folder and passes all the information to it that manilla passed to it while running it. This exe is copied into the \program files\GoogleMaps folder by using initflashfiles.txt as GoogleMaps.exe. So now manilla is happy that it has googlemaps.exe in its proper place and i am happy too coz the new exe is only 3.5 kb in size You can verify this in v3.1.1 of VanillaManila rom. Look in the program files folder you will get the 4 kb googlemaps.exe, put it on your pc and check its version in its properties, you will get my name there And if you check the windows folder, there will be a googlemaps.exe of 2 MB size and a GoogleMapsStub.exe of 4 kb size.
So sometimes hacks like these are necessary in order to make a perfect roms. ROM cooking is just like food cooking, It may appears to be like just putting the ingredients into a cooker and light up the gas stove and wait for the food to cook. But if you try that for first time, your food will not be eatable for sure It requires a careful balance of salt, pepper and other things to cook a tasty dish I hope i have made myself clear
Wonderful
AMAZINGGGGGGGGGGGG PPL
latest buildos/ visual kitchen has option to delete duplicate file while cooking but
i will make new kitchen in future (not soon) because current kitchen work fine for me and i have lots of other work like android + building to rom from weekly leaked sys of wp 6.5
Thanks ankit360 for the visualkitchen9.7, i'm already trying to use it but the problem is: the ROM generated by the kichen is not working for GENE.
i tried another kitchen for the same ROM and it still working fine, the only problem with it is the duplicate
bhushangahire, i'm still waiting for you to upload your files.
also, what about the reg hacker?
Hi Karzy,
" What i did was the third way i thought of myself. I created a .NET application called GoogleMapsStub.exe " you answered one of my query unknowingly, when I had extracted your ROM, I saw there was GogleMapsStub.exe which was not present in any other ROM I had extracted. So I was wondering what that file was about !!! Now I know what it was.
Thanks a lot karzy for sharing this info.
You have been always good in explaining things indetail, which helps a lot for new comers like me.
I m glad that i am able to help my buddies here.
find the files below...
robekia1 said:
bhushangahire, i'm still waiting for you to upload your files.
also, what about the reg hacker?
Click to expand...
Click to collapse
Please find the files below sorry for delay.....
S2U2 Application OEM folder.
S2APPS.7z (786.47 KB)
Registry Tweak OEM Folder.
Registry__Disable - Security warnings when installing non-certified application.7z (849 bytes)
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
bhushangahire said:
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
Click to expand...
Click to collapse
i guess this ROM is for OLD gene???Correct me if i'am wrong...
yup for old
htc3400 said:
i guess this ROM is for OLD gene???Correct me if i'am wrong...
Click to expand...
Click to collapse
yup you are right this rom is for Old ..
If anyone want it for new gene please ping here I will cook it for new also....
Thanks
bhushangahire said:
S2U2 Application OEM folder.
S2APPS.7z (786.47 KB)
Registry Tweak OEM Folder.
Registry__Disable - Security warnings when installing non-certified application.7z (849 bytes)
Please find the link to ROM with S2U2 applications + Antivirus.
WM6.5_Old_21231.7z (51.91 MB)
Click to expand...
Click to collapse
Thanks a Ton bhushangahire for sharing those links.
I appreciate this.
Now, i'm gonna read them character by character

Cant open the Android Files on the SD Card ?

Hai!
So I just copied the Android Froyo files directly onto my SD card, and when I try to open them on my HTC HD2 I recieve an error that the file cant be opened and I should try to reinstall it.
Any help ?
Bai!
When you unzip the downloaded zipped file on your PC, you should end up with an android folder. It's that folder that you need in the root of your SD.
It's detailed very clearly how to install and run Android on every single build page that I've read. You should start where you downloaded it from.
johncmolyneux said:
When you unzip the downloaded zipped file on your PC, you should end up with an android folder. It's that folder that you need in the root of your SD.
It's detailed very clearly how to install and run Android on every single build page that I've read. You should start where you downloaded it from.
Click to expand...
Click to collapse
I did that, same error.
Anyonez ?
Please
We're not mind readers. What exactly did you do and what was the error?
ALright:
- I copied the folder to my SD Card on the HD2.
- I go to 'Start' -> File explorer -> And then I select the audio file thing and after that the file to start the Android itself.
When I do the last step, I get an error that says:
The file "CLRCAD/HARET" cannot be opened. Either it is not signed with a trusted certificate, or one of it's componets cannot be found. If the problem persists, try reinstalling or restoring this file.."
Search for sdkcerts and install that on your phone. That should fix your problem.
Sent from my iPhone 5 beta using the XDA App
Does it matter where I extract the file to ?
Do I have to put it on my SD card or on my HD2 program files ?
THANKS!
Tried both locations, getting an error while installing the .cab:
'Installation of SdkCerts.cab has failed.'
Hey guy sorry if I didn't post right, butvi have a problem I just put a new build of android on my phone its cell core version, everything works fine like emulators, internet, etc. the only thing that doesn't work is when I try to download androzip for I can urar files and unzipped 7z files. I really need this program cause my computer is down, and that way I can do everything own my phone until I get it back up and running. I just wanted to now am I the only one having this problem or is there a solution to this problem. sorry again if I posted wrong I'm a newbie to forums never really had to use them but this problem is beyond. me. also I tried other builds like Mattc 1.7 & 1.8 still get a installation unsuccessfull if info I relevant. thanks in advanced sorry again if post wrong and if its too long.
gballer2020 said:
Hey guy sorry if I didn't post right, butvi have a problem I just put a new build of android on my phone its cell core version, everything works fine like emulators, internet, etc. the only thing that doesn't work is when I try to download androzip for I can urar files and unzipped 7z files. I really need this program cause my computer is down, and that way I can do everything own my phone until I get it back up and running. I just wanted to now am I the only one having this problem or is there a solution to this problem. sorry again if I posted wrong I'm a newbie to forums never really had to use them but this problem is beyond. me. also I tried other builds like Mattc 1.7 & 1.8 still get a installation unsuccessfull if info I relevant. thanks in advanced sorry again if post wrong and if its too long.
Click to expand...
Click to collapse
Make your own topic please.
So what point I am at:
- I copied the Android folder to my SD Card on the HD2.
- I go to 'Start' -> File explorer -> And then I select the audio file thing and after that the file to start the Android itself.
When I do the last step, I get an error that says:
The file "CLRCAD/HARET" cannot be opened. Either it is not signed with a trusted certificate, or one of it's componets cannot be found. If the problem persists, try reinstalling or restoring this file.."
-------------------
Then this person told me to download a .cab that would fix all the problems, and when I wanted to install it I got the error:
'Installation of SdkCerts.cab has failed.'
--------------------
And now I dont have a CLUE what to do! Lol
I am guessing you are running a stock windows mobile rom? You need to either run a custom rom or find "Advanced Configuration Tool" and install it so you can enable the rom to run all unsigned applications. Then you can run the android apps to boot it.
It is in the misc. section. More info: http://www.touchxperience.com/en/applications/advanced-configuration-tool.html
Uhm, where can I find a custom ROM :$?
I tried that Advanced Config, but when I try to run it on my phone it just gives me the error:
The file "AdvancedConfig" cannot be opened. Either it is not signed with a trusted certificate, or one of it's componets cannot be found. If the problem persists, try reinstalling or restoring this file.."
**** it, I will just peform a hard reset
Making a back-up of my contacts at this moment.
Peformed a Hard-Reset and the Android and all other files are working FKING GREAT!
Love you guys!
If you get that problem again, you should install an app called "bsb tweaks" (or a similar app) and set it to "allow unsigned"
this should allow you to install things that you couldnt before...........
Glad you got it sorted.
Thanks, John, for helping me out!

Question one+-latest do it all tool

i found this on a gsm forum thought id share it here
32.33 MB file on MEGA
mega.nz
I have this... its not worked for me so far
This is a windows .bat file that is "protected" and is written to work with Android 11 and half the functions are not the same with the Android 12 ColorOS base version. If the author would have shared it with the .bat file in plain text, someone might have updated it and left his credit and not just stole his work and renamed it.
Not everyone embraces open source ideals.
Yes this work with os11 not for os12
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
the.real.p3y0t3 said:
All you have to do is run the exe, then browse to where it extracts the contents to. IE:
c:\Users\<username>\appdata\local\temp
....
Click to expand...
Click to collapse
You have not dealt with well written .bat file obfuscation. I have the .bat file, but it has been run through a tool that converts the editable ASCII into expressions and different encoded base (x) that are more work to resolve than to re-write the batch file.
Challenge: Make this working executable .bat file plain ascii again.
Your story, tell it like you believe it ;-)
Honestly though, why not look for your self? Ive already done it with this "tool". Not obfuscated at all. If yer having problems finding the files, run the EXE, choose one menu option, go to yer temp DIR and sort the contents by date modified, and with the FILES listed first, scroll down to where it starts listing directories. It will be the first one listed. Have fun!
\\'eird dunno why it didnt attach the file to the previous post. I should have made clear that the file you seek was located in the tmp directory thats created under the parent directory... You seemed to know what you were talking about, so I assumed little to no hand-holding would be needed...
Its worth mentioning that all of these bat2exe tools use the same (or nearly the same..) method for urm ehhh "obfuscation"; IE: upon running the app, it inflates the files to your appdata\local\temp directory. Sometimes the "app" will be password protected, and wont unpack the exe until the correct password is entered. For myself its force of habit to go check my temp dir after running any of these style tool things... And you should too!

Categories

Resources