yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 8 Questions & Answers] nazirite.ninjah:
Flashing Global Rom

Hi. I have just bought an Mi8 off ebay which is originally from three UK and has a locked bootloader then the three global MIUI ROM. Can someone definitely confirm that if I unlock the bootloader and flash the latest global ROM using miflash and relock the bootloader it won't brick. I've only ever had Xiaomi phones from China so have never relocked the bootloader when flashing roms. This phone is for my wife and I'd like to just give her a regular global ROM with bootloader locked if possible as she won't want to tinker with the phone and just wants something stable and reliable. Thanks.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Downloads:

========================

TNT_Kitchen_for_Wizard:

contains the base kitchen without SYS and OEM. the orioginal XIP in this kitchen is 5.2.19209

Rapidshare

========================

5.2.19209 SYS Folder:

contains SYS folder extracted from Kaiser, just copy SYS to the kitchen

Rapidshare

=======================

29/Apr update1

CreateRom without combining all packages to one:

all you need to do is to download this file and put CreateROM.bat in TOOLS folder and replace.

=======================

29/Apr update2

XIP.bin from 19202 build:

as mentioned before, use xipport.exe to extract this xip and read guide to know where to extract and what to extract

Download

SYS from 19202 build:

just copy SYS to the kitchen

Rapidshare

=======================

13/May update

XIP.bin from 19213 build:

as mentioned before, use xipport.exe to extract this xip and read guide to know where to extract and what to extract

Download

XIP Folder from 19213 build:

this is the whole folder of XIP which should be located in Rom folder, so just remove the older one and paste this one.

Download

SYS from 19213 build:

just copy SYS to the kitchen

Rapidshare

=======================

5/Aug update

XIP Folder from 20273 build:

this is the whole folder of XIP which should be located in Rom folder, so just remove the older one and paste this one.

RapidShare

SYS from 20273 build:

just copy SYS to the kitchen

RapidShare
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Notes:

- you have to unlock your device before flashing, for more details in flashing notes visit this thread.

- i'm not responsible for any damage on your device.

========================================

Important Links:

- How to determine if your Wizard is a G3 or a G4

-

CID Unlock your G3 Wizard (Only for Wizards with less than AKU2)

-

Easy guide to CID unlock G3 Wizard

-

Solution for CID Unlocking G3 Wizard with AKU2 or higher

-

CID Unlock your G4 Wizard Hard-SPL

-

CID Unlock your G4 Wizard Soft-SPL

- Unlocking and Upgrading G3 Wizards

- Howto flash a Wizard... a little tutorial!

-

How to SIM unlock the Wizard

- HOW To Change the Pagepool (WM5)

- HOW To Change the Pagepool (WM6)

- XDA-Wiki for Wizard which contains huge informations needed.

Credits:

- ofcourse first one is Bepe for his great tools

- tom_condon for helping me on so many things in cooking

- misar for his tools in relocating modules

- all the nick names i used in this thread (faria, double_ofour, boy_de_ghet, mattk_r, and vippie)

- for jwzg for the good arrangement in our forums.

================================

i hope you get some useful tools and informations to learn and improve your cooking.

Good Luck and have a nice cooking :).

================================

if you don't have the time for cooking, you can download any rom, feel free to see my sign. and click on the latest wizard rom mentioned there.
[8125, K-JAM, P4300, MDA Vario ROM Development] amsatnetg:
Perhaps I should build my own. This should be interesting.

Thanks man, you always do a great job.
[8125, K-JAM, P4300, MDA Vario ROM Development] c28langthang2010:
Please creat kitchen buit 19701 new !!!!

OS 5.2.19701

Vesion clean !
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Done.

i will update the thread with the suitable informations and links to keep our working better.

if you think that there are some of useful threads just let me know to edit my posts :).

good luck guys :).
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
ofcourse you have to build your own (if you have the time) ;)
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
where is this??

point me and let me do it for you :rolleyes:.
[8125, K-JAM, P4300, MDA Vario ROM Development] newbie1221:
well done it's right, i am going to see if i can cook using your kitchen. :) I was completely clueless when it came to porting a "real" rom from one device from another so i can now see the light. :D This definately deserves to be a sticky!! thanks again :D
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
you will use it with no problem at all, and i'm sure you will increase your packages size (in case of dealing with 19209 SYS by removing the useless packages from it).

Good luck bro :).
[8125, K-JAM, P4300, MDA Vario ROM Development] j.vd.spank:
Nice Kitchen! I ported 19701 and it works greats! But now the SYS folder... The 19701 from PDAVIET is protected. Can someone provide it or knows how to extract it?
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
is it difficult? :rolleyes:

about the protuction, no one can open it.

any rom will be cooked using the kitchen here can't be extracted, PDAVIET used the same tools included on this kitchen ;)
[8125, K-JAM, P4300, MDA Vario ROM Development] j.vd.spank:
Not difficult... I can share if someone is interested, but without SYS folder its 'useless'. So we have to wait when someone releases a kitchen :)
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
i don't prefer the builds that not provided by microsoft, many of builds are hacked like 19400 and yours, so i don't think you will find SYS folder simply.
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Very well done wise man!

I'm going to start on my own and report the results later:D

Thanks a lot for sharing:cool:
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
you are welcome, have a nice cook man ;).
[8125, K-JAM, P4300, MDA Vario ROM Development] ADB100:
The two links are to the same file.....

Andy
[8125, K-JAM, P4300, MDA Vario ROM Development] PC Master:
nice job =D

i'll try it myself :)
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
no they are different

but after editing :D, thanks for that.
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Itsright,

Got little confused...:confused:

During cooking process, only DUMP is created together with log.txt. That's all found inside temp folder. Shouldn't expect boot.rgu and nb file? I added my own stuff like OEM and SYS parts. no issues here.

XIP is also already in but didn't got your point related to OS.NB.PAyload.

What actually does it mean?

Maybe I should review something left behind...:p

I appreciate other comments too...:cool:

Rgs
[8125, K-JAM, P4300, MDA Vario ROM Development] jwzg:
Is it possible to do all of this without combining all of the .dsm's together? Though it saves space, I believe it makes the ROM impossible for others to cook using a different kitchen if they want to extract it.
[8125, K-JAM, P4300, MDA Vario ROM Development] jwzg:
Auto-porting the XIP is what I'm after. If we can just break this out, any ROM can be ported to any device. Whoa!
[8125, K-JAM, P4300, MDA Vario ROM Development] j.vd.spank:
In one of the batch files all_packages_in_one is called. Remove or comment out that line.
[8125, K-JAM, P4300, MDA Vario ROM Development] sleurhut:
I take this one als base to create a "Dutch" Rom
[8125, K-JAM, P4300, MDA Vario ROM Development] jwzg:
Spank you very much
[8125, K-JAM, P4300, MDA Vario ROM Development] newbie1221:
quick question: how does one "extract xip.bin" from the build i want to port. Don't flame me guys i'm used to working with other kitchens but like i said i've never ported a ROM before so be nice :p

I understand everything else from its right's guide, this is the only thing that is unclear to me.

Thanks in advance.

newbie1221
[8125, K-JAM, P4300, MDA Vario ROM Development] amsatnetg:
Great Job,

I have built my own based on this newest setup.

Thank you,
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
because of combining all packages to one, all RGU files will be added to default.hv and when you extract your rom, will not show RGU files. Unless you used the CreateROM.bat which cancelling all packages to one combining.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
for kaiser use Kaiser Kitchen (i think most of builds will be come from Kaiser).
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
I got the idea...thanks a lot my man...:p

I saw you updated first post with createrom.bat..nice!;)

Take care!:cool:
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
ok, because some of you looking for xip.bin to learn, i will add it from 19202 build with its SYS to build a fully 5.2.19202.

enjoy porting guys :).
[8125, K-JAM, P4300, MDA Vario ROM Development] ajc2003:
Thanks, Download:)
[8125, K-JAM, P4300, MDA Vario ROM Development] DrForIslam:
great work from u my bother
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Itsright,

From a dumped XIP.bin, there're other folders beyond these 2 below and each one with its specific image txt. Shouldn't also ignore these TXT files too?

I also realized other folders after extract xip.bin which contains files that could be exported to ROM/XIP and replaced. How's that? Ignore?

Thanks one more time....going forward....:D
[8125, K-JAM, P4300, MDA Vario ROM Development] j.vd.spank:
The modules in the other folders are device specific. You need only the “MSXIPKernel” and “MSXIPKernelTLK” from the new XIP. Copy and replace these in the NEW XIP. The .txt's you can ignore.
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Ok Spank!

Thanks for the tips:p

I did that as I though even before I had asked....but I stick on the second splash screen...shaking screen...:o

I just replaced all without TXT files.

I'll dig little more....:cool:
[8125, K-JAM, P4300, MDA Vario ROM Development] jwzg:
Epimazzo, there are some files and modules that should not be replaced. Among those are hd.dll, osasxt0.dll, device.exe and filesys.exe. Try leaving those in and see if the ROM will boot.
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Hey jwzg!

Thanks for support me...:p

Porting is a completely new thing to me....that's why I'm asking so many questions....but I promiss that is gonna be shortly!:D

Well, you mean that all files in these folders like S000, S001 and so on..including the bin one should not be exported to ROM/XIP?

I understood from the steps that we have to export all except TXT files. It means that I have replaced all including DLL folders ignoring txt files. S000 and bin files....Specially those In MODULES/MSXIPKernel folder.
[8125, K-JAM, P4300, MDA Vario ROM Development] j.vd.spank:
Everything in the folders. For example: You have a coredll.dll folder. You copy this entirely folder.
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Ok Spank....

Gonna do that and report in a bit!;)

Thanks in advance!
[8125, K-JAM, P4300, MDA Vario ROM Development] jwzg:
Some modules will cause errors if exported, namely those listed in my previous thread as the addresses are not compatible. Filesys.dll may be OK, but the others aren't. I know because I just ported my first build the other day and these files were giving me fits.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
comeon :), just open FILES then open MSXIPKernel and MSXIPKernelLTK, then copy all contents without txt files to XIP folder and replace, and the same thing for MSXIPKernel and MSXIPKernelLTK from Modules.

All other folders except MSXIPKernel and MSXIPKernelLTK from FILES and Modules should be ignored.
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
LOL

You guys are so funny....I'm getting crazy over here....

Should I copy or should do not copy? :D

I did that exactly what you said to do itsright but....man....that annoying second splash insist to be around me....

all seems to be ok with the nb file...no errors, nothing during the cooking process....I have made some squezee with exe files but nothing else. Got 19209 SYS package, put it into the kitchen and started burn!

extract xip.bin to out folder, made packages and exported as you told me....

still stuck on the 2nd SS. gezzzzzzz....that's gonna be really cool...:) poor device...:cool:

I'm around....making experiences and seeing if I have left something behind my back...;)
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
reclean your kitchen and start over :)
[8125, K-JAM, P4300, MDA Vario ROM Development] KhMeRA:
Error, External Component has thrown an exception

every time I run builNB.bat then eht BuilOS is started. After processing for a while, I get an error message" External Component has thrown an exception". Does anyone know what could it be?
[8125, K-JAM, P4300, MDA Vario ROM Development] anichillus:
Which .exe more exactly ?

From what I know 2nd screen means that it's passed XIP but stuck at registry or a boot-up program. Check the registry and which programs you squeezed.

.NET Compact Framework most likely
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Just to let you know that my MSXIPKernelLTK folder is completely empty after extracting from your released xip.bin. So, I have no idea if it means something...:rolleyes:

......on the way starting over again...
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Exes that I used to squeeze often like Office package, camera and some others found on my OEM folders. I don't think these guys could be the cause. I used to remove some other folders like catalog, update, entertaiment, transcriber and welcome center. It's been working fine over ROMs which I was confortable with during the cooking.

I also modify RGU files in browsing adding my own data and have other two responsible for performance and tweaks which one more time had worked many times over the latest kitchens available.

Anyway, I'll check it over again these particular spot....but it would be important to know if anyone who already use the pack here got good results!:cool:
[8125, K-JAM, P4300, MDA Vario ROM Development] peter petrelli:
Guys, don't worry about including hd.dll and osaxst0.dll in your ported XIP. These modules are for debugging purposes only and will free up space for the imported modules.
[8125, K-JAM, P4300, MDA Vario ROM Development] bwesty:
PP, answer your PM's you lazy bastard.
[8125, K-JAM, P4300, MDA Vario ROM Development] jwzg:
Yeah, peter. Answer! :D
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
guys...

Let me tell you where I am now....

Tried a few times doing exactly what is being written but still didn't go through it!:(

I started over again porting XIP but no luck at all....stuck on a 2nd SS.

Then, as an alternative, I got another SYS pack and tried...well..it worked!:) What does it means now?

I kept the same OEM packages, same tweaks including the original ROM folder from the kitchen (XIP). All I did was add a new SYS package. Nothing else. Didn't port XIP as well.

So, any clues? :o
[8125, K-JAM, P4300, MDA Vario ROM Development] ajc2003:
OEM can share it ？ Thanks:)
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Check here:;)

http://xdaforums.com/showpost.php?p=2170435&postcount=79
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
amm... did you solve your problem??

did you locate the kitchen on C:\ directory??

strange, this kitchen fully worked with many of users as reported here and by PM. :rolleyes:
[8125, K-JAM, P4300, MDA Vario ROM Development] epimazzo:
Hey itsright!

Glad that you up!:)

I actually back to you Vanilla version meanwhile. I'm facing another problem with my battery and a new one is on the way....so....I still didn't solve my issue...and course, it's all on my C:.

As many users had good results using it, maybe I am facing something or left things behind...:rolleyes:

I'll start from the beginning all over again.....but now without even port the XIP you released...ok?

Let you know progress later.....

thanks a lot for while...:cool:
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Updates are on.

check first posts :).

Enjoy.
[8125, K-JAM, P4300, MDA Vario ROM Development] ajc2003:
Thanks，you port Which version ？
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
the kitchen will port, i just added the files needed which from the newest AT&T Kaiser 5.2.19213 rom.

the last post is related to the 2nd post, just check the end of the 2nd post :).
[8125, K-JAM, P4300, MDA Vario ROM Development] goofeyass:
The link for the 5.2.19213.1.0.4 SYS file is wrong.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
sorry, check now.
[8125, K-JAM, P4300, MDA Vario ROM Development] goofeyass:
Thanks. great kitchen
[8125, K-JAM, P4300, MDA Vario ROM Development] turkishboy:
Hi everybody,

I have just one question, can i create a FRench Rom with this kitchen?
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Yes, if you have the required packages for French language.

Good luck.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
5.2.20273 has been uploaded... check the 2nd post ;).

Enjoy.
[8125, K-JAM, P4300, MDA Vario ROM Development] S.V.I:
need some help.

I downloaded the 20273 kitchen. trie to cook with it.

build os is telling me that it can not create HVs with it.

I first had a problem with the dsm in the XIP folder. so I copied the contents into a new text file, and renamed it as the old. that error went away. now I have an issue with the rgu's is it normal to not be able to uncheck the hidden state of them? the only way to get around it is to copy them into a new file.

this is very unusual. so I thought I would ask you first. what should I be doing?

Thank you for porting this, I would like to use it very much. what am I missing though??
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
I didn't get the idea... more cdetails please.

BTW, try to minimize the number of packages added to the OEM folder, then cook to check out where is the problem.

Because we have some bugs in TNT.20273 which is based on this kitchen, if I fixed them I will upload the fixed SYS folder later on.
[8125, K-JAM, P4300, MDA Vario ROM Development] S.V.I:
I'm using Faria's easy cooker.

first problem that I encountered was a dsm in the XIP folder. it was marked read only and hidden . I could not remove the hidden atribute, so I copied the contents to a new text file and renamed it to the name of the dsm that the access was denied to. didnt get the error again.

then I had a problem with build OS not creating HV file. I noticed that all of the rgu's were marked with the same atribute as that dsm, and I could not unhide them. when I get home I will try to run build OS again after I empty some of my hard drive contents (it may be too full :( )
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
If you are talking about xip files which you downloaded from this thread, all of these files are set to be unhidden and non-read only... so I think there is something done in your PC did that :rolleyes:.

Any way, I'm waiting for your experiment.
[8125, K-JAM, P4300, MDA Vario ROM Development] S.V.I:
So I got home after work. cleaned up some space on the hard drive; and made all new rgu's that would not be Hidden. then I rightclicked on the folder/properties and changed the atributes of all subfolders and files to read only/hidden and back again (many of those files would not change their atributes! I can only fix the read only!!)

mind you, other files on the computer I can do that with.

So I even used your 209 oem to see if it would cook. nothing.

another thing I noticed is that the size of the files (rgu's) changed when I made new ones. almost half. I later realized that it was the read only atribute that was doing it.

Then I tried something radical:

I removed the OEM files and folders completely. only had to leave Initflashfiles.dat . still rgu error.

I have been cooking the same way since april, and have only run into this problem with your kitchen roms (I unfortunately could not use the 209 either.) it's just weird.

Sorry I don't mean to *****, but there is something seriously wrong with the SYS portion of this kitchen.

I just don't undrstand what I am missing.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
amm..... it is not because of my SYS there is something in your PC because there are many of users used this and reported by PMs, the question is did you install the requirements of this kitchen listed on the thread correctly??
[8125, K-JAM, P4300, MDA Vario ROM Development] p_shad0w:
OEM Packages

If you could Post the OEM packages for the V.2 build (20273) it would be greatly appreciated. You always have the latest and greatest versions of everything cooked in your roms.
[8125, K-JAM, P4300, MDA Vario ROM Development] gullum:
Looks like this is going to be the Kitchen I'll use as a starter when my wizard arives sometime next week :D got a cheep second hand wizard
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
All the stuff available on xda-developers but need some searches. BTW, I don't have all the latest versions compared to the available on the website :o.

thanks.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Hi bro,

I hope you enjoy with Wizard and this kitchen ;).

Welcome to Wizard community.
[8125, K-JAM, P4300, MDA Vario ROM Development] S.V.I:
I always make some stupid mistake like that :/

Just cooked my first rom using your kitchen and my oem.

Just still cofused about something: How/ why are the rgu's made to work off MS visual basic? none of the other kitchens have to have it?

another thing I think I will miss is having buildOS let me put check marks for packages. (probably something I missed)

impressive kitchen. cooked this rom extremely fast and easy!

Had no issues puting my oem into it as well :)

I was planing to release a brightrom update "hornet" with the 588 os within a couple of days, but it looks like instead it will be a tnt rom with my flavors ( If you are cool with me using your kitchen and due credit ofcourse)

Much respect. I can see why you graduated :) congrats on that by the way.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Finally???? :D

I'm happy to use this kitchen for your flavors ... but to give all the credits, this kitchen based on bepe kitchen.

Thanks and good luck with your cooks and porting (BTW the porting is very easy if you read carefully and ask me if you need something)
[8125, K-JAM, P4300, MDA Vario ROM Development] S.V.I:
IRDA for the kitchen

Drivers for IRDA.
[8125, K-JAM, P4300, MDA Vario ROM Development] its right:
Thank you so much :o
[8125, K-JAM, P4300, MDA Vario ROM Development] tekknogenius:
Error during G'Reloc.exe

Getting the following error when trying to build rom. I "unzipped" the kitchen, sys and xip folders and put in appropriate place (sys -> kitchen root, xip -> kitchen root\rom). Then I executed the BuildNB.bat and it begins the process, run the build part, then I assume it blows up during the TOOLS\G'Reloc.exe -doit -dump part.

Error seems to be in the buildos.exe section. I ran it manually and get the following error:

"Error, last status: Creating initflasfiles.dat..."

Again, I have not changed anything as of yet, just making sure it will build as it has been provided.

Any help would be greatly appreciated.

Thanx
[8125, K-JAM, P4300, MDA Vario ROM Development] xda2_haseeb:
I just tried to use your kitchen tommorow what happens is it builds the ROm fine but when it for the first time boots up on the Wizard it halts on the third splash screen. It just shows the Some splash screen+taskbar with the start icon in middle nothing else. When its screen goes black i can even revive it with any button and touching either. No matter how much i reboot its always halting there, wht do u think is the problem??