yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand Duos i9082 General] jetvis37:
Most probably ur device has this issue....coz I have successfully flashed cwm on 4.2.2 with a single try...working gr8...odin shows reset for 2 to 3 mins even after device rebooting...after that it says pass...

i9082 - 4.2.2 - rooted
[Galaxy Grand Duos i9082 General] romy4321:
[MENTION=3496889]bongski55[/MENTION],

sorry, for make your name short,

finally i install CWM ver 6.0.3.2 using ODIN 3.07

and as i said before i make a rom with same procedure and flash it succesfully
[Galaxy Grand Duos i9082 General] bongski55:
[MENTION=2888328]romy4321[/MENTION] you have cooked 4.2.2? May we know what files you used on the leak? Did you use pit file?
[Galaxy Grand Duos i9082 General] romy4321:
I did not use the pit file in flashing leaked 4.2.2 rom

Only system.img and boot.img in cooking rom

Total of 731MB come out from kitchen deodexed, rooted, with busy box and init.d without removing apps safe to remove
[Galaxy Grand Duos i9082 General] bongski55:
Ok will try cooking my own 4.2.2 now.

UPDATE: NO LUCK 1st attempt did not boot.
[Galaxy Grand Duos i9082 General] BEingNiCK:
kitchen does not add cache.img shows error

system win8 64bit
[Galaxy Grand Duos i9082 General] bongski55:
kitchen just recognize cache.img.ext4. also you don't need cache.img it is just for the csc. you can manually add csc to the rom later if you require.
[Galaxy Grand Duos i9082 General] BEingNiCK:
I don't find any cache.img.ext4 in archive 4.2.2
[Galaxy Grand Duos i9082 General] bongski55:
Of course you will not find ext4 files on samsung fw. It has to be converted using linux(AFIK). Ballis roms contain ext4 files. We can ask him how he does it.
[Galaxy Grand Duos i9082 General] BEingNiCK:
its not there in balli's rom

will tell me what folder/files we need to copy & are they from cache.img??? that comes with samsung firmware?
[Galaxy Grand Duos i9082 General] romy4321:
extract CSC_OXA_I9082OXABMF2..........

you can find there:

baffin.pit

cache.img

hidden.img
[Galaxy Grand Duos i9082 General] BEingNiCK:
yup next ???
[Galaxy Grand Duos i9082 General] romy4321:
you want to include in the rom? back read to page 16 post # 152
[Galaxy Grand Duos i9082 General] bongski55:
I agree. But you have to inspect CSC folders. If any of the folders are empty it will not work on the final rom. That is also why k2wl does not include csc as he said. It is time consuming to inspect each and every folder of csc/multi csc.
[Galaxy Grand Duos i9082 General] romy4321:
for me no need this file, the base is 4.2.2 leaked rom which everything is there

we cannot flash this modded rom to another version or 4.12

maybe he want to modify something in csc file
[Galaxy Grand Duos i9082 General] BEingNiCK:
thanks that worked,

now facing some other problem

so i should include or not?
[Galaxy Grand Duos i9082 General] dexvils:
Thanks man..it really help me..
[Galaxy Grand Duos i9082 General] sujith1994:
just a noob question!

hey man thanks for the detalied instruction i just want to know that wether i suld extract system,boot&cache .img files and then copy them to kitchen or directly copy those .img files to the kitchen folder ????

btw im using ubuntu 13.04

plz help asap
[Galaxy Grand Duos i9082 General] bongski55:
Copy system.img, boot.img and cache.img as they are to kitchen after extracting from the rom.
[Galaxy Grand Duos i9082 General] Zephyr!:
Extract system.img 1st

Make.Believe

If you're good at something

Never Do It For Free - JOkER
[Galaxy Grand Duos i9082 General] sujith1994:
o0

i just created a custom rom with out doing it and im using ubuntu no windows 7 in my pc!

thanks for responding to my question :)
[Galaxy Grand Duos i9082 General] Zephyr!:
Cool :)

Share the process

Make.Believe

If you're good at something

Never Do It For Free - JOkER
[Galaxy Grand Duos i9082 General] sujith1994:
Okay I understood he gave that in Linux it automatically extracts the stuff and do its magic ! Hey btw I don't own a grand could you help me out testing it razor?
[Galaxy Grand Duos i9082 General] Zephyr!:
Yeah why not

Make.Believe

If you're good at something

Never Do It For Free - JOkER
[Galaxy Grand Duos i9082 General] BoMbO711:
is it easy to do that?
[Galaxy Grand Duos i9082 General] sujith1994:
do what?

---------- Post added at 12:23 PM ---------- Previous post was at 12:21 PM ----------

here you go its absoulty beta so be cautious do it at your own risk ok ? i will pm you the link check it out :good:
[Galaxy Grand Duos i9082 General] BoMbO711:
Making my own ROM
[Galaxy Grand Duos i9082 General] sujith1994:
lol read the guide there and do as u want your rom to be! :cool:
[Galaxy Grand Duos i9082 General] BoMbO711:
will give it a try later...thanks bro :good:
[Galaxy Grand Duos i9082 General] Resonance28295:
thanks k2wl:good::good::good: for step by step guide

sucssesfully installed rom -4.2.2 deodexed

very low ram consumption about 340mb :highfive:
[Galaxy Grand Duos i9082 General] androidbaba:
can anybody gin=ve me the compatibility file?cant seem to find one

also i pasted kitchen over older kitchen and now i am getting this error:the zip file is not installed how to correct this

tia
[Galaxy Grand Duos i9082 General] romy4321:
for compatibility file

page 1, item no 2 @ THINGS NEEDED
[Galaxy Grand Duos i9082 General] androidbaba:
Hey I cooked a rom but unable to boot it phone keeps vibrating and doest boot what can be the problem

Also I got error while deoxdexing one file saecmail_j didnt get deodex and gave me an error can bootloop be because of that??
[Galaxy Grand Duos i9082 General] jetvis37:
No...when I cooked rom secemail didn get deodex with mine too...but rom booted successfully...may be some other issue...have u set api level to 17 while cooking????

Sent from my GT-I9082
[Galaxy Grand Duos i9082 General] androidbaba:
yes i did :confused:
[Galaxy Grand Duos i9082 General] Resonance28295:
have u changed update script to updater script?

and which platform u r using for cooking?
[Galaxy Grand Duos i9082 General] androidbaba:
no i didnt change updater script is is mandatory? how?

i am using cygwin and windows vista
[Galaxy Grand Duos i9082 General] Resonance28295:
I don't know about cygwin but.. I will recommend U to use Linux or Ubuntu.... it have no problem at all.... dual boot Ubuntu with vista is easy.. I m using Ubuntu 12.04 LTS dual booted with Windows 7.

I also didn't changed updater script n I didn't used cache.img...

before flashing rom, clear cache, data , after flashing, clear cache, dalvik cache n try

Sent from GT-I9082
[Galaxy Grand Duos i9082 General] androidbaba:
thank you all for your support but i am still having the same problem

this time even editified the scripts :crying:
[Galaxy Grand Duos i9082 General] jetvis37:
Earlier I was on ubuntu 10.4 n it was giving me same error...but now I installed dual boot ubuntu 13.04 on windows7 along with latest java...n everything works fine without a single issue...I suggest u to try it...

Sent from my GT-I9082
[Galaxy Grand Duos i9082 General] androidbaba:
which files from leaked 4.2.2 to be included in "original folder"
[Galaxy Grand Duos i9082 General] jetvis37:
System.img n boot.img...no need of cache.IMG...api level 17...rest same procedure....
[Galaxy Grand Duos i9082 General] androidbaba:
still getting bootloop and vibrations

do we have to do certain steps manually cause i had this error while compiling

Warning: No cache.img.ext4 found. You can unpack this file separately

by running the plugin script in the kitchen's Advanced menu options.

If your device doesn't use a CSC, then just ignore this message.
[Galaxy Grand Duos i9082 General] k2wl:
are you on 4.1.2 or 4.2.2???
[Galaxy Grand Duos i9082 General] androidbaba:
trying to create rom from leaked 4.2.2

can you help me
[Galaxy Grand Duos i9082 General] bongski55:
The question means that you have to flash the rom you cooked on top of leaked 4.2.2. If you flash it on 4.1.2 it will bootloop.
[Galaxy Grand Duos i9082 General] androidbaba:
i am on leaked 4.2.2
[Galaxy Grand Duos i9082 General] BEingNiCK:
same here, but only if rom zipaligned else will boot normally but will eat too much amount of ram almost 80% with bloatware removed

trying to figure out what's wrong with it
[Galaxy Grand Duos i9082 General] :
error regarding java while runnin kitchen

i am getting the followin error when i run the menu file in kitchen..

Welcome to dsixda's Android Kitchen

Please wait ...

Error: The application 'java' is not installed - the kitchen

will not function properly without it. Ensure you did

not miss a step during installation! Refer to the

Android Kitchen FAQ at xda-developers.com for further

assistance.

in wht location should the java be installed
[Galaxy Grand Duos i9082 General] jetvis37:
Read installation instructions carefully given in OP...btw using cygwin or linux???
[Galaxy Grand Duos i9082 General] :
m using ubuntu 12.04..

---------- Post added at 03:58 PM ---------- Previous post was at 03:50 PM ----------

i still dint find d directory whr i shud install java can ny1 help me...
[Galaxy Grand Duos i9082 General] jetvis37:
go to applications>ubuntu software center>serach for JAVA>select openjdk7 java runtime environment... Click install n wait till installation finishes. Make sure u r connected to the internet.
[Galaxy Grand Duos i9082 General] :
Warning: No cache.img.ext4 found. You can unpack this file separately

by running the plugin script in the kitchen's Advanced menu options.

If your device doesn't use a CSC, then just ignore this message.

m tryin to build custom rom bt m not understandin the above error though i hav put cache.img in the original update folder using dsixda kitchen in ubuntu..
[Galaxy Grand Duos i9082 General] jetvis37:
Ignore that error n go ahead... No need to add cache.img...only two files are necessary to cook rom... system.img n boot.img... If u r working on 4.2 2 just set api level to 17...n if 4.1.2 set it to 16....
[Galaxy Grand Duos i9082 General] :
Ws goin thru d post on this thread I read about updater script wht is it..?

N before i build d rom wht m I suppoz to do wid updater script..?
[Galaxy Grand Duos i9082 General] bongski55:
No need for updater script in cooking rom. Go ahead and cook....Good Luck!
[Galaxy Grand Duos i9082 General] nadar13:
Friends I need a stock rom for my galaxy grand dous...

my baseband version is I9082XXADF1
[Galaxy Grand Duos i9082 General] bongski55:
Please use search function. This thread is for rom cooking not stock rom. Also go to sammobile.com.
[Galaxy Grand Duos i9082 General] satyajit2412:
I am getting an error, Unable to open ext4, use linuxreader.exe. and framework folder not found
[Galaxy Grand Duos i9082 General] muntinlupa:
[MENTION=943196]k2wl[/MENTION] on 4.2.2 how do you add the CSC folder extracted from cache.img to the system folder of the ROM ? I have added it easilly on 4.1.2 but on 4.2.2 I get csc unknown. I observed there is no Cscversion.txt on the system folder of the cooked rom. No problem rhough on flashing.
[Galaxy Grand Duos i9082 General] fieryfinix:
Need to ask a favour

I have been using custom roms for more than 1.5 years now, previously owned an xperia. I just wanted to ask for a favour. Can u build a stripped (Bloatware removed) rom just like u did in 4.1.2. All this bloatwares are lowering speed.

Thanks
[Galaxy Grand Duos i9082 General] satyajit2412:
I am getting a message saying that unable to add Root Permission as build.prop not found even though the working folder contain build.prop while making custom rom in windows 7 using cygwin.
[Galaxy Grand Duos i9082 General] k2wl:
i have added instruction to add level 17 api before dodexing in OP for JB4.2.2.

for those who are getting unknown csc error....

extract cache.img in kitchen through plugins menu go to cache.img for sg2 the extarct sec_cache.zip

now copy the system folderfrom the extracted sec_cache.zip to your working directory of kitchen.
[Galaxy Grand Duos i9082 General] miko_2090:
me 2 i want to unlock the bootloader :(

if u unlock the bootloader please help me :(
[Galaxy Grand Duos i9082 General] Alard_626:
Question

Hello!

Is there a list of files that can be safely removed from rom for 4.2.2 ?

Thank you.
[Galaxy Grand Duos i9082 General] egor27:
If you look at the second post, its their.
[Galaxy Grand Duos i9082 General] Alard_626:
This is for 4.1.2. Not work correctly for 4.2.2
[Galaxy Grand Duos i9082 General] egor27:
Names are identical at most, worked fine for me with the latest 4.2.2
[Galaxy Grand Duos i9082 General] egor27:
[MENTION=943196]k2wl[/MENTION] - thank you o much for your guide, I successfully created my own customized rom.

Here are few tips that worked for me:

-Linux mint has everything you need built in, including Java JDK and "open in terminal" right click. it resembles windows allot and is very easy to use, I used it installed in VMWARE under Windows 7 host without any issues.

-if you want to customize and remove apps, do it in the working directory of kitchen, before making the final rom, this worked for me, editing the archive afterwards gave me trouble, maybe its the compression used, or the sighing process, anyhow it works.

-you would see lots of mentioning of removing "factorytest.apk", for me it caused "settings" to force close, so beware.

-removing SNoteProvider.apk will force close S-Memo if you choose to use it, keep both.

All and all creating your customized rom isn't too mind boggling, follow k2wl guide, you'll get there.
[Galaxy Grand Duos i9082 General] RVR:
made it successfully on linux but when i made it windows it didnt boot..
[Galaxy Grand Duos i9082 General] RVR:
[MENTION=943196]k2wl[/MENTION] how to add bootanimation.zip support to the rom??
[Galaxy Grand Duos i9082 General] android.zealot.fervor:
HELP SIR

Hi friends,

i need urgent help. I have been trying to build custom Rom for my grand on windows. I made one and put it in my sdcard and flashed it but after the completion of flashing the rom i got stuck SAMSUNG GALAXY GRAND DUOS black screen (not bootlogo) Please help me guys. Does it take hours to get booted or what ? I even used k2wl's update script in op but no luck. Same issue. I shall be highly thankful if some would help me.
[Galaxy Grand Duos i9082 General] :
Hi android.zealot.fervor.Did you edit anything in the ROM because if you edit anything maybe because some of the files are causing the boot loop.If you did not edit anything,don't use what the android kitchen compile the flash able zip for you,it will not boot because I have tested already and the only way is to push the files you edited through ADB and use the Meta-inf folder from other ROM.Then last step is to backup the file and push into the flash able zip
[Galaxy Grand Duos i9082 General] android.zealot.fervor:
Actually i haven't modified a single thing from the rom. Just download the full stock rom from sammobile and used its files.Secondly i didn't get you.......i didn't edit any thing through adb ??? Well i think you mean after makind a working folder for the rom i have to use some other ROM's update script and a flashable zip. Right ?

---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------

And yes if possible can you provide me that flashable zip from any rom ? that would work ?
[Galaxy Grand Duos i9082 General] ##W4TCH0UT##:
Deleted
[Galaxy Grand Duos i9082 General] RVR:
seriously ...and u ported aospa without installing linux O.0 ..no offence
[Galaxy Grand Duos i9082 General] ##W4TCH0UT##:
Dude, I didn't know how to install linux before. Check the post date.
[Galaxy Grand Duos i9082 General] RVR:
ohh ..sorry
[Galaxy Grand Duos i9082 General] iceyhotguy:
[MENTION=943196]k2wl[/MENTION] [MENTION=5273865]xenon92[/MENTION]

I managed to make a make a ROM using this guide and I'm downloading CM source as well, so first of all thank you for providing me with the right directions and motivating me to explore the codes.

There are two things that puzzle me at this point regarding stock ROM building, even though I have managed to get around them during the cook. I'll be grateful if either of you could spare a moment to clarify them,

- During the use of disxda kitchen use, I noticed that the file in kitchen dir for adding init.d support is only to the ROM. This seems to be common in a lot of other guides I have come across. But some guides stress on the fact that kernel, more specifically ramdisk need to be prepared for init.d by adding these lines to Init.rc file

service sysinit /system/bin/sysinit
oneshot

The thing is, init.d seems to be working without the kernel editing as well as with it. Does adding kernel support extend the access capacities of init.d scripts?

- The update-binary. My understanding is that this is a file written in C and is not manually created but it's main motive is to handle every command which is written in updater-script and do everything from extraction to writing image files etc. My question is that if this is the case, the update-binary should be a general file, but a lot of guides related to making flashable zips say that take the update-binary from a working ROM on your phone. That would make it device specific?

Also, is update-binary firmware-independent? Since it only runs in recoveries it should be, right?
[Galaxy Grand Duos i9082 General] k2wl:
Firstly thank you for being motivated for such kind of development work.

i dont work on stock anymore due to lack of time.

Ans 1 - init scripts work without support in kernel as they mostly busybox dependant or something like that.

it need not to be written in ramdisk.

Ans 2 - updater-binary is not a generic file but mostly compiled for specific devices and roms. thats why it is different for different devices and different roms. (correct me if i am wrong)
[Galaxy Grand Duos i9082 General] iceyhotguy:
Working on stock ROMs already feels very limited already, specially since most things can be done using Xposed now. But I figured I would start with basics rather than jumping into compiling from source.

The reason I wondered if update-binary could be generic is that packages like scripts, gapps etc have a update-binary that works for a wide range of devices.

EDIT : So far I've been able to find only vague references and mostly just description of update-binary, nothing about compiling or editing it separately. This isn't a problem since I am able to use binaries from other ROMs to successfully make my own packages, aroma and normal ones but I'm just a curious person :p
[Galaxy Grand Duos i9082 General] k2wl:
I dont know much of updater-binary bt sometimes it doesnt work properly from other devices. dont know why.

bt start the develpment...thats important...
[Galaxy Grand Duos i9082 General] xenon92:
It is good to be curious.

I never gave a deep thought about it, but I don't think that update-binary are device specific. They are dependent on recovery's source code and if some update-binary fails to load the script, it might be because the binary is not up-to-date to the recovery or vice versa. (I could be wrong)

update-binary is the initial stage of the process that helps in loading the script that you see in updater-script.

You can read more about it here: http://wiki.cyanogenmod.org/w/Doc:_About_Edify

Source code: https://github.com/CyanogenMod/android_bootable_recovery/tree/cm-11.0/edify
[Galaxy Grand Duos i9082 General] xenon92:
[MENTION=4462857]iceyhotguy[/MENTION] [MENTION=943196]k2wl[/MENTION]

Just few minutes ago, I found out that there is indeed a reason why it is said that use update-binary from a ROM that is working for your phone. There are a few phones for which these binaries and (or) updater-script need to be custom too. Most phones work with the files in the source of the ROM, but some phones need some tinkering to get them to flash using recoveries. I don't know the details, but I saw some device trees today that have custom files that modify update-binary and (or) updater-script. So it might be possible that update-binary is device specific and not recovery specific per se. Depends from phone to phone.
[Galaxy Grand Duos i9082 General] k2wl:
because i tried almost 50 types of updater-binary from different phones and some work and some doesnt....

anyway i think few are truely generic but some are unique for phones...thank you very much for clearing out.
[Galaxy Grand Duos i9082 General] puncy:
I am getting (status 0)error while flashing..
[Galaxy Grand Duos i9082 General] agriculture:
error status 0

sir can I use your updater script k2wl in my mtk 6577...

does it works with any rom

plz help
[Galaxy Grand Duos i9082 General] RVR:
no it wont work .. if the mounts are wrong in the updater script .. u can end up bricking your device
[Galaxy Grand Duos i9082 General] krossifix:
First thing: great guide [MENTION=943196]k2wl[/MENTION] .. very simple instructions to make a custom rom from kitchen.

i have followed the instructions carefully and managed to make a rom from the MK3 firmware. confusion is: what files are supposed to be inside the output zip file created by kichen after selecting option 99. i see a meta-inf folder, a system folder with subfolders in it and a boot.img image.

where as, i compared this with other stock roms created by fellow devs on this sections and those zips have a meta-inf folder, boot.img file, and few other files with the name system.ext4.tar.a, system.ext4.tar.b, system.ext4.tar and image.edify.

not sure if i am missing something. also failed to flash the output file on the device as i got a status0 error.

Im on Ubuntu 12.04 64 bit, kichen version: 0.224.

Fellow xda'ians... any tips or suggestions on what i must do?

Edit: the rom was created from kichen for i9082 device. please pardon my signature
[Galaxy Grand Duos i9082 General] RVR:
if u use windows ... that is cygwin to make the rom ...then it adds these files system.ext4.tar.a, system.ext4.tar.b, system.ext4.tar and image.edify. .. no sure why though

yours is right .. try flashing
[Galaxy Grand Duos i9082 General] krossifix:
Thank you for the suggestion.

i checked the baffin file under the edify scripts folder and it had an additional file extension to it. the downloaded file name was baffin.bin for some reason.

i removed the extension and made the rom again from kitchen. BINGO!!

thank you [MENTION=4924398]rutvikrvr[/MENTION] and [MENTION=943196]k2wl[/MENTION]

now i feel like i can be a dev some day like y'all :victory:
[Galaxy Grand Duos i9082 General] krossifix:
One more stumble and I'm sorry if this is a noob question. I have played around with the kitchen and made ROMs from several firmwares for i9082 but never found a way to correctly update the superuser binaries on kitchen before making the ROM itself.

I placed the apk file on the correct location in the kitchen directory and placed the xbin files too. But no success. However I can flash the SuperSU zip update from recovery to update it after flashing the ROM that was created. Is there anything I can do to overcome this at the ROM making stage itself, thanks for any suggestions
[Galaxy Grand Duos i9082 General] SVR:
I'm getting the below error .. Pls help..

svr@ubuntu:~$ sudo apt-get install gnome-shell gnome-session-fallback indicator-applet-appmenu gnome-tweak-tool ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gnome-shell is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package gnome-session-fallback is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0 lib32asound2

E: Package 'gnome-shell' has no installation candidate
E: Package 'gnome-session-fallback' has no installation candidate
E: Unable to locate package indicator-applet-appmenu
E: Unable to locate package gnome-tweak-tool
E: Package 'ia32-libs' has no installation candidate
svr@ubuntu:~$
[Galaxy Grand Duos i9082 General] RVR:
This command isn't mandatory ... So you can skip it. ... Go ahead with the next steps