Related
Has anyone here modified thier Wizard ROM with mamaich's imgfs tools? I'm trying to troubleshoot a problem and want to compare experiences.
The problem I have manifests itself as a strange font problem. If I take a virgin OS ROM, unpack it with imgfs tools and then pack it back up, the resulting ROM causes the fonts used in comm manager and the initial setup screens to display as Times New Roman (or similar) rather than Tahoma. The menus, Today screen etc all display properly.
Hi...I did try and used to dump the .nb file with all the files and modules the imgfs tools on wizard rom...it works flawlessly..but I hv not yet tried to delete or add files...
reg the font settings u can go to Universal WIki and check that out..
I hope this helps
hdubli said:
Hi...I did try and used to dump the .nb file with all the files and modules the imgfs tools on wizard rom...it works flawlessly..but I hv not yet tried to delete or add files...
reg the font settings u can go to Universal WIki and check that out..
I hope this helps
Click to expand...
Click to collapse
Thanks for the reply hdubli. It's not so much a font setting as a font problem caused by dumping and then fixing with the imgfs tools. If I take an OS and dump it, then fix it without changing anything at all, the font issue appears.
You can see the font problem in the cut/paste context menus that appears in the initial setup screens, as well as in the comm manager. The font in those places should be Tahoma, but they appear to be Times New Roman. In a fresh ROM straight from a carrier the proper font is displayed in those places.
Hi there..
Let me first congratulate u on the splendid work on AKU 2.3 ROMs..well I hv understood yr issues...may u can compare the two dumps and check..
hdubli said:
Hi there..
Let me first congratulate u on the splendid work on AKU 2.3 ROMs..well I hv understood yr issues...may u can compare the two dumps and check..
Click to expand...
Click to collapse
I'll give that a shot. Here's what I'll do to get the two dumps for comparison:
Dump 1 will be a dump of the OS portion as-is from the carrier
Dump 2 will be a dump of a ROM that has been dumped and fixed with no changes made
In theory they should be the same, but in the past I've noticed the size of the resulting nk.nbf is always smaller after using imgfs tools and then repacking.
hei summiter ,just to confirm,i got the same problem here as you.
hi all, i'm trying to make a ROM backup of my device following this metod:
http://wiki.xda-developers.com/index.php?pagename=Elf_HowtoDumpRom
I've extracted the .raw files, created the imgfs_raw_data.bin and dumped the ROM, but when i try buildimgfs.exe command i get the classic win32 error and the application crashes..
any suggestions?
tnx
I am having the same exact problem... i really dislike those semi dos promt tools.. its alway a question of running and praying...
userfriendlyness is also something the people here could be looking into....though im grateful for their working apps
Ill be looking into the thread.. http://forum.xda-developers.com/showthread.php?t=327073 for answers.. Ill keep you posted
Ok i checked the thread.
Seems a lot of people have the same error and not much is said about the error.
but this:http://forum.xda-developers.com/showpost.php?p=2277527&postcount=95
Seems the BuildImgfs.exe command just repacks the files in a similar .bin file.
So its only to be used when coocking i guess
The value of repacking is when you change files.
Hope this clears it up for you!
I also downed Hypercore, which is totally unusable.
At least i do NOT understand the first tutorial!
It says to put a rom file in a certain dir and then start dumprom... but no matter which file i put in the HyperCore\Extract\Source dir it says it cant find the right file (Ive tried 04_os.nb, imgfs_raw_data.bin, Part02.raw, RUU_signed.nbh and RUU_Pharos_DOPODASIA_WWE_1.11.707.1_4.1.13.59_03.15.90_BLUE_Ship.exe nothing, nada, zip, zilch, the big "O", niente)
so there is a big thank you for writing a tutorial which doesnt tutor. hey im not an engineer... just a user pppfffff... ever hear of ... userfriendlyness? usability?
ImgfsTools 2.1rc2 by tadzio
take a look here, in the attached file there is a readme with some explanations...
avathar behemoth said:
Ok i checked the thread.
Seems a lot of people have the same error and not much is said about the error.
but this:http://forum.xda-developers.com/showpost.php?p=2277527&postcount=95
Seems the BuildImgfs.exe command just repacks the files in a similar .bin file.
So its only to be used when coocking i guess
The value of repacking is when you change files.
Hope this clears it up for you!
Click to expand...
Click to collapse
That's correct! You just need to skip the two steps that create the Dump folder and then use the buildimgfs command. It worked for me after I was having the same problem with buildimgfs (for my Elfin).
BTW.. Sorry to bump this old thread.. Just thought it would help others out.
Folowing instructions ???
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
All ok, but someone need to make the stiky, with svreenshots and exact steps like you type this comp will do that
for example I was confused with FLASHDR, at my PHAROS that was "DSK1:" WITH ":" ????? Interesting, isnt it ?
P.S.
For admins :
Sory for bad english and tel me or let me make picture detailed manual for dumping roms. I am not bad with computer and mobile phones but this manual confused me at first
And another P.S.
I dumped my P3470 - Pharos english rom but i can not login on ftp, if someone need rom, PM me.
hello fellow chefs
its probably asked before but i cant find it and i cant find it in the stickies either with tuts and stuff
i ripped the newest leo rom out and i want to edit the file in manilla core to exclude footprints
i know i have to edit 26948339_manilla but with wich program do you have to that?
i tried it with notepad but then it gets saved as a text file and not a system file
couldnt find a program either in the software department in the stickies wich could do it(or atleast is described to be able to)
the second question is wich package arranges the file explorer
hope some oen can help me out
miniterror said:
hello fellow chefs
its probably asked before but i cant find it and i cant find it in the stickies either with tuts and stuff
i ripped the newest leo rom out and i want to edit the file in manilla core to exclude footprints
i know i have to edit 26948339_manilla but with wich program do you have to that?
i tried it with notepad but then it gets saved as a text file and not a system file
couldnt find a program either in the software department in the stickies wich could do it(or atleast is described to be able to)
the second question is wich package arranges the file explorer
hope some oen can help me out
Click to expand...
Click to collapse
Simply Notepad will do, remove the Read-Only and you can save, don't know what you mean about the File Explorer thing.
I think I used notepad to save the file..
What do you mean with the file that arranges file explorer? The file that place file explorer in the start menu? Thats initflashfile..
hmm think i did something stupid then as it got saved as a file and not a systemfile like all other manilla files are
will give it a few attempts
as for the file explorer i want to know wich packages contains all files from file explorer
i lost my kitchen a month ago
and now i have rebuilded it(i know stupid i didnt have a backup)
with the previous kitchen when i reachd the end of the list it would give a bounce effect
i lost this in file explorer while i still have it in contacts(for example)
so i think there is a reg wrong in file explorer package but i dont knwo wich package it is
is it a sys package or a ext package
i run a search treu the kitchen with for ''fileexplorer'' but without results
miniterror said:
hmm think i did something stupid then as it got saved as a file and not a systemfile like all other manilla files are
will give it a few attempts
as for the file explorer i want to know wich packages contains all files from file explorer
i lost my kitchen a month ago
and now i have rebuilded it(i know stupid i didnt have a backup)
with the previous kitchen when i reachd the end of the list it would give a bounce effect
i lost this in file explorer while i still have it in contacts(for example)
so i think there is a reg wrong in file explorer package but i dont knwo wich package it is
is it a sys package or a ext package
i run a search treu the kitchen with for ''fileexplorer'' but without results
Click to expand...
Click to collapse
edit: managed to save the manilla file as it should be safed
do i have to put back on the option read-only?
thanks guys
miniterror said:
edit: managed to save the manilla file as it should be safed
do i have to put back on the option read-only?
thanks guys
Click to expand...
Click to collapse
Don't think its needed to put it back to read-only. I never do that anyway.
The bounce in file explorer and start menu etc is done by physicsengine from WM6.5
EpiphanyNL said:
Don't think its needed to put it back to read-only. I never do that anyway.
The bounce in file explorer and start menu etc is done by physicsengine from WM6.5
Click to expand...
Click to collapse
thanks mate
gonna check if i can find anything there as all other things i have the bounce
edit: first attempt with physicsengine replaced with a older one gave me a disrupted file explorer:S
do know the package i whas looking for is fexplore.exe but its only a dll and no reg
wonder what could cause the problem as i have it everywhere except file explorer:S
edit2: another physicsengine doesnt work
you can think of anything else as this thing is bugging me for over 3 weeks now
u can use notepad2 ...it will be easy to edit the tabs with notepad2
thanks
miniterror said:
thanks mate
gonna check if i can find anything there as all other things i have the bounce
edit: first attempt with physicsengine replaced with a older one gave me a disrupted file explorer:S
do know the package i whas looking for is fexplore.exe but its only a dll and no reg
wonder what could cause the problem as i have it everywhere except file explorer:S
edit2: another physicsengine doesnt work
you can think of anything else as this thing is bugging me for over 3 weeks now
Click to expand...
Click to collapse
Try the one attached to this post. It should work
appelflap said:
Try the one attached to this post. It should work
Click to expand...
Click to collapse
thanks appelflap will give that oen a shot
6.5 bounce will not works in 6.5.x builds... just try another ols phisics engine dll hope it gaves you by apple flat works ok
Mod Edit: Solved
+ Que PPC said:
6.5 bounce will not works in 6.5.x builds... just try another ols phisics engine dll hope it gaves you by apple flat works ok
Mod Edit: Solved
Click to expand...
Click to collapse
thanks for changing it to solved by i think it wont be solved:-o
i am using 21907 so it should work by its own
also it a boumce thingie i have it in contacts and everywhere else i try but not in file explorer
i also tried the one from 21901 and im sure the rom i cooked with that build a couple of roms back it had the bounce thingie at the end of file explorer:-o
could it be 21907sys included a 6.5.x fexplorer? will try that later and wil lalso report if the physicsengine appelflap posted wroks or not
flashing the rom with appelflaps now is at 50%
well i made a rom with the physicsengine appelflap posted and again i have the bounce thingie everywhere except in file explorer
i use 21907 sys/xip so the build should support it in file explorer:S
anyone else any thoughts about this?
Don't re-cook and flash just to test out a .dll. You can over-write the rom module with a filed .dll using total commander,and after a soft reset see if things are working.
Farmer Ted said:
Don't re-cook and flash just to test out a .dll. You can over-write the rom module with a filed .dll using total commander,and after a soft reset see if things are working.
Click to expand...
Click to collapse
thanks wil ltry some different combos with fexplorer.exe and physicsengine.dll
hope i find a winning combo
this works for me, but im on 6.5.5 try it overwriting your device dll then softreset.
+ Que PPC said:
this works for me, but im on 6.5.5 try it overwriting your device dll then softreset.
Click to expand...
Click to collapse
thanks will give them a shot when the phone is ready installing
edit: well copyd it over to my windows folder but nothing gets overwritten
any idea where i could find that file on the phone
anyway with the file placed in windows folder i still dont have the bounce in file explorer but i do have it in the contacs list again:S
isnt there any reg for the bouncing cause when i hold till the loadingcircle for menu comes and i start scrolling before the menu pops up i can get the bounce in file explorer:-o
on a side note how did you make that vid with youre comp maybe i could make it to see what i mean
could you tell me with wich prog you made the movie
thanks
yep the program is SOTI pocket controler V6PRO
i dont know if there is a REG for bounce.... i dont know why you dont have nothing to overwrite... seems that you dont have the physics engine before so weird.
i know the physics engine is a module in my sys(got it this way from a few topics above)
kinda weird as it is working in startmenu, twittertab, contacts, settingstab and everywhere else you can think of having the bounce
gues ill have to leave it as it is
thanks for the help thoug
I've been reading up on cooking ROM's and with the help of leeston i managed to create a basic ROM earlier in the week. After searching for guides / tutorials on this stuff im really not that much the wiser, i cant seem to find anything that explains it well enough, there always missing details. The actual cooking process seems fairly straightforward but its those extra bits im missing ie
how do i add my own packages - am i right in just copying them to the SYS folder or is there more to it ?
how do i edit the registry - I know how to edit the registry once the ROM is loaded onto my phone but how do i do it from the ROM without the phone ?
how do i add things to the start menu - When i add packages to the SYS folder and load the ROM into my phone the shortcuts dont seem to be in my start menu
how do i add sense - i've loaded the packages but it never starts and theres no sense option in today settings
im new to this so as you'd imagine the questions i have are endless ...
Im sure most of this info is on XDA already somewhere but i just cant find it, maybe im searching for the wrong term or something.
Any help from the chef's would be great, perhaps you could provide links to tutorials / info you've used when learning to cook. Im sure this stuff would be useful to everyone and may even encourage more to have a go at cooking .
drkdeath5000 said:
1.how do i add my own packages - am i right in just copying them to the SYS folder or is there more to it ?
2.how do i edit the registry - I know how to edit the registry once the ROM is loaded onto my phone but how do i do it from the ROM without the phone ?
3.how do i add things to the start menu - When i add packages to the SYS folder and load the ROM into my phone the shortcuts dont seem to be in my start menu
4.how do i add sense - i've loaded the packages but it never starts and theres no sense option in today settings
.
Click to expand...
Click to collapse
I am still new to cooking but I'll tell you what i believe to be correct.
1.Yes. To add a package to a rom you put the package into the SYS folder.
However be aware that the kitchen used for the TG01 cannot handle EXT (visual) packages, only OEM (old) packages can be used. Use Totalfires package converter to convert between the 2 types.
The above info is not strictly true but is what you need to know when cooking for the TG and i don't have the time or knowledge to write a complete tutorial.
2. Editing the registry is all to do with .RGU files, you can create a package with a new one in or edit the existing ones within the packages in the SYS folder. You can edit them with notepad but i suggest using Notepad2.
Once you open an .RGU file you should recognize the reg key text in the file and edit it accordingly. As far as i am aware the file MUST have REGEDIT4 in the first line and an empty line at the bottom in order to work. Another way is to edit the regkey on your device then export the regkey using resco or something similar, then rename the resulting file from .reg to .rgu then open it in note pad and copy and paste it into another packages .rgu file, or create a custom package for that .rgu file.
The registry can also be modified using cab files during autorun, but this can be a little messy as the cab can be uninstalled by the end user causing problems.
3. To do this you need to edit the initflashs.txt file within the . This can be done manually or with one of the many package tools available on this site. The one i use is below, it does the hardwork for you, you click a few options and it edits the required files as needed.
4. Sense is a funny one. You should just need to add all the required packages to the SYS folder and away it goes. Unfortunately this is rarely the case. It should just a case of making sure all the sense packages are there, including its many dependencies. Sense is one of my weaker areas so maybe some one else has better advice.
Hope this is useful.
do you have a loooong far way, but read the forumposts an try, try and shortPin and try. that was my way, or is my way. i have don´t helping, all found with google and in xda forum.
unfortunately, my English knowledge is terrible. otherwise I would write more.
best to dump a officiels ROM or miROM5 , then you have an example
related post here
http://forum.xda-developers.com/showthread.php?t=750261
PC Software Reg-editor
http://ceregeditor.mdsoft.pl/index.php?id=1〈=en
CAB to OEM
http://forum.xda-developers.com/showpost.php?p=3942000&postcount=1
EXT to OEM
http://www.ppckitchen.org/forums/re...e666.ppckitchen.org/Tools/EXT%20to%20PPCk.exe
All folder to cooking need a .dsm (and/or) .rgu file
RGU name Generator (such as Reg- file) , dsm become automatically
http://www.famkruithof.net/uuid/uuidgen (Fetch UUIDs of another type to Version 4)
do you have a loooong far way!
... Or make a good donation to nokser or ffboy, they teach you
Hi my friend, I have a problem to cook a ROM with cab which required a reboot or witch have a information message ( SWYPE or GPSMOdDriver for example)
Do you know a solution for this please?
Thanks in advance.
Thanks for the info leeston and miro ;-). I havent had time to try it yet but will be over weekend and im almost sure now i know where to find the registry files ill be able to cook something decent up since that was my main problem. Thanks again for the help.
EVEALEX62 said:
Hi my friend, I have a problem to cook a ROM with cab which required a reboot or witch have a information message ( SWYPE or GPSMOdDriver for example)
Do you know a solution for this please?
Thanks in advance.
Click to expand...
Click to collapse
I may be wrong but when the cab files are first installed doesnt it automatically reboot ? If not you can always do a manual reboot ;-).
I've tried everything to get sense working but im just having no luck ... copied the packages to the sys folder, flashes fine, boots fine but no sense and now theres no setting shortcut in the start menu ?
Could i ask for the exact procedure for installing sense please ? Im getting my packages from here but replacing the 2017 home with 2016. Could i perhaps be missing something ?
Thanks again
drkdeath5000 said:
I may be wrong but when the cab files are first installed doesnt it automatically reboot ? If not you can always do a manual reboot ;-).
Click to expand...
Click to collapse
I have try to delete the line "Reboot" after autocabinstall but nothing change the phone always reboot ... I think the only thing is to do OEM package...
I have test with many cabs but nothing works same as you with Sense ...
Have you found solutions ?
EVEALEX62 said:
Hi my friend, I have a problem to cook a ROM with cab which required a reboot or witch have a information message ( SWYPE or GPSMOdDriver for example)
Do you know a solution for this please?
Thanks in advance.
Click to expand...
Click to collapse
The solutoin is to use autorun instead of cabinstl, you can then write a custom script to handle the input required by the cab.
However this is above my head, and i couldn't get autorun to work. FFBOY knows how but i doubt you will get his help as he doesn't seem to check any threads other than his own rom threads, and if he does his responces are few and far between.
drkdeath5000 said:
I've tried everything to get sense working but im just having no luck ... copied the packages to the sys folder, flashes fine, boots fine but no sense and now theres no setting shortcut in the start menu ?
Could i ask for the exact procedure for installing sense please ? Im getting my packages from here but replacing the 2017 home with 2016. Could i perhaps be missing something ?
Thanks again
Click to expand...
Click to collapse
Those are the packages i used and they work so it's not the packages, but i cheated and dumped a sense rom then modified it. I don't have time to try and work out how to do it properly unfortunatley.
leeston2379 said:
Those are the packages i used and they work so it's not the packages, but i cheated and dumped a sense rom then modified it. I don't have time to try and work out how to do it properly unfortunatley.
Click to expand...
Click to collapse
Well atleast i know the packages are fine, i was starting to wonder if that was the problem . Theres some satisfaction in doing it yourself but like miro said i think its just too much for me, ill give it another go later in the week and if that fails ill just dump a sense rom like you did ... if there was just a tutorial on installing sense packages etc id be fine, with sense being so popular you'd think there to be loads of tuts.
Hi,
I have a really strange problem.
I have two HTC HERMES, one good that I use and a second that I use only fot test purposes because it's not in good conditions.
I cook ROMs with "ROMDonalds Kitchen" and I have neved had any problem.
Since yesterday, every new ROM I cook, I have this problem:
if I don't edit "default.hv" the cooked ROM goes well in both my HERMES, but if I edit it, the ROM can only be loaded on the second HERMES (the one not in good conditions).
In the other HERMES after flashing, when I make the reset or even the hard-reset, the ROM begins to boot but then stops after the first splash-screen and the screen becames white.
I always flash from SD (hermimg.nbh).
What can be the problem?
Can be a problem of the good HERMES of the two I have?
Can be a difference in hardware between the good HERMES, even if they are identical from outside?
Many thanks !
Hi,
I don't understand why you need to edit default.hv but probably you have your reason.
It's better to leave it untouched to my opinion.
To edit the registry you can edit the .rgu in the specific package or create
a new package with the new registry overwriting the first package registry.
The second suggestion you can keep your tweaks in every rom you cook and switch the stock packages more easy.
What you are writing is indeed weird but this way you avoid errors in the .hv files.
Edit; btw, because Hermes is a pretty old device I'm asuming the kitchen you use is still using .rgu instead of .reg in the packages, latest kitchens mostly use .reg
.rgu and .reg files are same and containing the registry.
Grtz,
Laurentius26
yeah its true, what do you change in the d.hv? maybe you can tell us, what about to use another kitchen? or do your changes in app.reg ext pkgs or in oem packages to void edit it
I edit .hv files when I add or remove programs from the ROM.
I've tried also Ervius kitchen but when I try to dump my ROMs It gives me some errors...the only kitchen I was able to use is RomDonald's..
Can You suggest me another good one?
Thanks
Airxtreme's Oskitchen or Barin's OSbuilder, they are both in Chef Central here.
You don't need to edit .hv files as when you remove the package all registry of that package will be gone too.
eryunt said:
I edit .hv files when I add or remove programs from the ROM.
I've tried also Ervius kitchen but when I try to dump my ROMs It gives me some errors...the only kitchen I was able to use is RomDonald's..
Can You suggest me another good one?
Thanks
Click to expand...
Click to collapse
I dont think ROMDonalds processes rgu files. If I remember correct, you have edit the hive files to use that kitchen.
Wow, that's gotta be a huge pain in the butt.
ai6908 said:
I dont think ROMDonalds processes rgu files. If I remember correct, you have edit the hive files to use that kitchen.
Click to expand...
Click to collapse
Yes, It is correct.
But the strange thing is that only one of the two Hermes I have, accepts the ROM after I edit the .hv files...
The question is:
Is there a separate memory where the hive is stored, and can this memory be faulty in one of my Hermes?
eryunt said:
...Is there a separate memory where the hive is stored, and can this memory be faulty in one of my Hermes?...
Click to expand...
Click to collapse
If you mean the fixed address - the answer is No. *.hv are files and files do not have the fixed address.
I've tried also Ervius Visual Kichen, but when I dump my ROM It gives me these two errors:
1- "Xipkernel's DSM not found! I'll create new...Maybe protected XIP (not portable !!!)"
2- "Boo.rgu in xip not found!Create new...But maybe ROM will be NON BOOTABLE !!!)"
What's wrong?
Thanks for all the answers You provide !
XDA, really a great Community !!!
Hi,
I don't know what you are doing to setup Ervius?
Are you importing a new stock rom into the kitchen?
The errors you can check:
Ervius kitchen/Rom/Shared/'Sys build'/MSXipkernel/
boot.rgu and the .dsm should be there.
Without boot.rgu and the dsm the rom won't boot.
Are all your desktop system files unhidden and vissible?
eryunt said:
I've tried also Ervius Visual Kichen, but when I dump my ROM It gives me these two errors:
1- "Xipkernel's DSM not found! I'll create new...Maybe protected XIP (not portable !!!)"
2- "Boo.rgu in xip not found!Create new...But maybe ROM will be NON BOOTABLE !!!)"
What's wrong?
Thanks for all the answers You provide !
XDA, really a great Community !!!
Click to expand...
Click to collapse
The visualization of hidden files is active in my PC, and I am trying to import a NON STOCK ROM to add or remove packages.
Ervius kithchen gives me the errors I described, and also OSKitchen gives me errors..
Can these kitchens import only STOCK ROMs?
I used ROMDonald's kitchen because It was able to edit a ROM that was already cooked...but the editing of .hv files is wrong...
I advise you to use a stock rom as you can test if everything is working ok.
After this you can do your modifications.
I know it's a bit of work but the advantage is to use a new kitchen which is much more configurable.
Editing .hv files isn't that good, but we talked about that already.
Another tip, I always zip my kitchen after I know a configuration is working and I flashed the rom succsesvol, before I continue to the next step.
eryunt said:
The visualization of hidden files is active in my PC, and I am trying to import a NON STOCK ROM to add or remove packages.
Ervius kithchen gives me the errors I described, and also OSKitchen gives me errors..
Can these kitchens import only STOCK ROMs?
I used ROMDonald's kitchen because It was able to edit a ROM that was already cooked...but the editing of .hv files is wrong...
Click to expand...
Click to collapse
eryunt said:
Yes, It is correct.
But the strange thing is that only one of the two Hermes I have, accepts the ROM after I edit the .hv files...
The question is:
Is there a separate memory where the hive is stored, and can this memory be faulty in one of my Hermes?
Click to expand...
Click to collapse
It doesnt make sense why one device would run it, and the other one dont! Are you sure the hive files do not have any errors?
Try to flash a stock ROM first, then flash the cooked one. I know hermes has ext storage, and that can through errors...
ai6908 said:
It doesnt make sense why one device would run it, and the other one dont! Are you sure the hive files do not have any errors?
Try to flash a stock ROM first, then flash the cooked one. I know hermes has ext storage, and that can through errors...
Click to expand...
Click to collapse
That's the point...It's a nonsense..
I've already tried to flash stock ROM on both devices before flashing the cooked ROM, but It's always the same nonsense, one loads the ROM, the other doesn't...
At this point only a malfunction or a difference in hardware between my two devices could explain this strange behaviour
Don't know how to solve...
are you trying to recook my roms? hahaha just kiddin
everybody knows that we don thave bootable and full dumped roms from customized ones, due to DSMsif you want to make a roms looks like or be something like a... i recommend to ask for the kitchen many retired chefs on Legacy devices can share it to you or just dump the rom and xtract the things you want
but make your own Stock OEM an set good your Native Kernel