first off if this is a wrong place than sorry but ....i wanted to know how to add device support to the kitchen?? my device is GT-S6012 galaxy music duos) rooted .......does it use yaffs file system..........if anybody could suggest me a method ...........i also want to know the procedure to port cm or any othe custom rom as i am using the stock rom right now .....any help would be appreciated !!!! :good:
omkar333 said:
WARNING: If your device is not listed in post #1 of this thread, and it does NOT use a 'YAFFS'-based filesystem (e.g. usually only low-end devices use YAFFS), do not attempt to flash a ROM that you built with this kitchen. Instead, you must do the following if your device is NOT listed:
Create a file under the kitchen's /tools/edify_defs folder, with the name being the same as the value of ro.product.device (found in your device's /system/build.prop file).
If the stock ROM images for your device contain the recovery.img file, extract its files from the kitchen menu: Advanced --> Tools for boot image --> Extract from boot.img/recovery.img in any folder. Then, open up its ramdisk folder, and look for /system/etc/recovery.fstab or /etc/recovery.fstab or similar FSTAB file location. Open this file to find the mount points.
See the template file in the edify_defs folder to see how to set the mount points inside the file you created. Look at the other files in that folder for examples on how to do it.
NOTE: This method does not guarantee your device will work with your custom ROM, however. Some devices may require more steps than just the edify_defs file, but the procedure is outside the scope of this FAQ. Ask around in the XDA sub-forum for your device if you need further help.
Click to expand...
Click to collapse
You can find it in third post:@ here
Related
I have made a custom ROM, with additional API's and patches using stock ICS source - Downloaded from source.android.com.
After modifying, patching etc, I built the ROM using 'make' on my Ubuntu machine.
I followed the steps here to build the ROM: http://source.android.com/source/building.html
The output of this procedure is attached as a screenshot
(I copied the folder to windows hence the screenshot shows a windows OS)
Now I have a ROM I am asked to flash it using'fastboot flashall' per the instruction here:
http://source.android.com/source/building-devices.html
My device doesn't seem to support a Fastboot mode.
The output folder of the ROM is attached as a screenshot.
A> When I try to use CWM, it fails to flash - MD5 Mismatch:
Also I am unsure how CWM flashes and which of the folders are to be included. A CWM recovery generates:
1. boot.img
2. recovery.img
3. system.ext4.tar
4. data.ext4.tar
5. cache.ext4.tar
6. nandroid.md5
Clearly my output folder is not aligned to this format. So I'm a bit lost here.
B> Odin takes on tar file. I am not sure if simply making the folder a tar will work.
C> Heimdall doesnt support this tab I guess...
Any ideas on a solution would be appreciated.
Thanks & Regards
Indrajit
Downloaded & Installed a custom ROM zip, it worked. How can I make mine into a zip?
Most of the custom ROMs have a boot.img, system folder, data folder and meta-inf.
What is Meta-Inf?
Also If I zip my ROM (created as mentioned above) and try installing it doesnt since I dont have a Meta-Inf & I cant use the other meta-inf.
This is the ROM I installed: Worked fine except USB-PC connection didnt:
http://forum.xda-developers.com/showthread.php?t=1643736
Any ideas / suggestions would be highly useful & appreciated.
Thanks in advance.
HERE IS A GUIDE FOR YOU ALL YOU CAN CREATE YOUR OWN ROM BY THIS SEXY METHOD.I AM NOT RESPONSIBLE FOR BRICKED DEVICES,DAMAGED DEVICES IF YOU BLAME ME I WILL LAUGH AT U.
Click to expand...
Click to collapse
Requirement to make a custom rom
*java jdk installed on your pc
*windows xp or 7.
*package given in download section
Who is this kitchen for ?
Those who are brand new to
creating custom ROMs and
want an easy place to start
learning
Those who just want to modify
shipped ROMs or someone
else's custom ROMs to their
liking
Those who are confused by all
those scripts and complex
commands required for
building and extracting
This is NOT a tool to
automatically turn you into a
full-fledged ROM developer.
ROM development normally
involves work from the ground
up and involves time , research
and patience .
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK
Kitchen setup guide
setting up android kitchen
1.download all the three link and unzip kitchen.rar and cywin package.
2.open cywin_package then open folder Now, you can see 3 icons, a read-
me,a setup, and a folder. Choose
the setup. Here You will choose
install from local directory. Next,
Navigate to the the folder of
extraction of cygwin and choose
the folder Cygwin_packages inside
the cygwin extraction folder. Wait
for some time. Then, You will come
across a list of file. Click the 2-
circle-arrows,untill, it displays
“install”
After the procedure is complete,
run the batch file cygwin.bat . Now, minimise
it and copy kitchen folder,
Keep it in some location where you have installed your cygwin package open home/ajay-Pc(in my case this is administrator name of my pc)kitchen
Now, open the batch file window
and type
cd C:\Kitchen
Wait for some time and then when
the location the changed, type
./menu
Click to expand...
Click to collapse
PRESS THANKS IF YOU LIKE MY WORK
GUIDE
now minimize the batch file and extract official rom and open pda there you will find system.img then extract it using magic iso or flash
the official stock rom using odin the take a nandroid backup u will get system.rfs.tar in your sd card extract it using magic iso then make a folder in called rom and open it. again create a folder called system and copy all data from system.rfs.tar which u have extracted(do drag and dropping).
Now copy meta-inf of any stock rom and copy and kernel to rom folder.
Now you will get two folder and one file in your rom folder zip the folder content and copy the file where you have installed cygwin/home/ajay/kitchen/original update folder.
now open command shell which you have minimized 1st create working folder then add root permission,deodex your rom.
and at last press 99 to build your rom..
note-if it ask you to change updater script to update script change it but dont forget to change it back to updater script.now you will get your rom in output folder copy it to your sd card flash it if error occur unzip the zip file and delete meta-inf and boot.img and again copy meta-inf of any rom and kernel to it and zip it..again flash the rom..
PRESS THANKS IF YOU LIKE MY WORK
Downloads
Downloads
Link for cygwin click here :good:link for kitchen click here :good:link for magic iso click here :good:
PRESS THANKS IF YOU LIKE MY WORK
CREDIT
credits
xda
dev of kitchen DSIXDA
me for boring guide
PRESS THANKS IF YOU LIKE MY WORK
gd 1 but think theirs many guide to teach how to cook rom from kitchen
amanmehta007 said:
gd 1 but think theirs many guide to teach how to cook rom from kitchen
Click to expand...
Click to collapse
many user asked for my help so i created this for them
gd
THE DEV OF KITCHEN IS DSIXDA U SHOULD MENTION HER NAME
bY
------------------------------------------------------------------------------SOMKLL---------------------------------------------------------------------------------------------------
Yes
yes i m Flasholic
I already have a guide for this.
Sent from my GT-S5360 using XDA
Man I was trying to make a rom from source and I came across my kernel.tar.gz and ics.tar.gz file for my tc 88xx cpu
so how can I use those files to make a rom
Please help me man thanks in advance
karan1038 said:
Man I was trying to make a rom from source and I came across my kernel.tar.gz and ics.tar.gz file for my tc 88xx cpu
so how can I use those files to make a rom
Please help me man thanks in advance
Click to expand...
Click to collapse
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Re: [SOLVED] How to make a rom from kernel.tar.gz file
Shimp208
Man i can upload ics.tar.gz and kernel.tar.gz can you please help me to make an android rom
karan1038 said:
Shimp208
Man i can upload ics.tar.gz and kernel.tar.gz can you please help me to make an android rom
Click to expand...
Click to collapse
If you send me the links I will be happy to help you out and I'll try my best to assist you as best I can.
shimp208 said:
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Click to expand...
Click to collapse
Amazing!!!!
camy rock said:
Amazing!!!!
Click to expand...
Click to collapse
I should clarify that the source does not always include the /system folder sometimes companies will provide this and other times they won't. The other way to get the /system folder is to use adb and pull the system folder with a command similar to:
Code:
adb pull /system
Also this is just one example of a procedure that could be used to build a custom ROM from the stock ROM that originally ships with the phone. The procedure for building Cyanogenmod for example or another AOSP based ROM would be very different.
shimp208 said:
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Click to expand...
Click to collapse
what if the kernel source code doesnt have a system folder?
Got the same issue with alcatel pop 4 5051d
shimp208 said:
To build a custom ROM extract the source code from the ics.tar.gz file (I would recommend using a program like 7-Zip). Once you have done that take the System folder that should be in the source code you extracted, create a new folder called MyROM, and put the source code for the System folder in the MyROM folder. Next extract the boot.img file for your ROM by extracting the boot partition of your stock ROM, and place it in the MyROM folder. Third, take a working META-INF folder that contains the standard Android update-binary, and a working updater script for your device, and place the META-INF folder in the MyROM folder. Once you have the System folder, Boot.img file, and META-INF folder in the MyROM folder, use 7-Zip to create a zip file containing the MyROM folder. After this flash the .zip file you created in recovery and you should have a custom. First off, for building a custom kernel if you extract the kernel source from the kernel.tar.gz file using 7-Zip, there should be a read-me or other type of documentation describing how to compile the kernel source code you downloaded. If there isn't any documentation I recommend taking a look at this guide on building your first kernel. While these are just a general outline of what you have to do, if you have any questions feel free to ask .
Click to expand...
Click to collapse
So glad to see this thread. Mine is an alcatel pop 4 5051d. After extracting, i saw a .com file of about 650mb in size. Please, what do i do from here? d file: https://drive.google.com/uc?export=download&confirm=zM0d&id=0Byi69Jpw2ZDtcTFBX0FzMXBkajg
DISCLAIMER NOTE: I AND XDA IS NOT TO BE HELD RESPONSIBLE FOR ANY DAMAGES THAT YOUR PHONE MIGHT INCUR DURING THIS PROCESS, I HAVE TESTED IT IN MY BEST KNOWLEDGE TO WORK FOR OUR DEVICE BUT JUST TO BE SURE, PLEASE PERFORM ALL NECESSARY BACKUPS FOR THE PHONE TO PREVENT ANY DATA LOSS, IF YOU HAVE THE NEED TO DISAGREE AND/OR FAIL TO COMPLY JUST DON'T FLASH IT AND GET ON WITH YOUR LIVES
Click to expand...
Click to collapse
This is for editing the bootsplash: the image wich is displayed while kernel is loaded.
For example in Samsung devices is the image which comes between Samsung Logo and bootanimation.
This change is made in kernel, so if you want to include this in your ROM you must include the edited kernel with it.
Pre-requisites:
1.-Android Image Kitchen (DOWNOLAD)(THREAD)
2.-edit image on windows Tool modified by me (DOWNLOAD)(thanks to championswimmer for this)
3.-I recommend Photoshop or similar software for image editing (GIMP or Paint are ok)
4.-I recommend to enable the file extension visualization in Windows.
Let's start!
1.-Take the boot.img of the kernel that you want to use
2.-Extract Android Image Kitchen
3.-Extract edit-image-windows.zip
4.-Put boot.img in Android Image Kitchen folder
5.-Now go to cmd and navigate to Android Image Kitchen folder
6.-Type:
Code:
unpackimg boot.img
7.-Now open windows explorer and navigate to *\Android Image Kitchen\ramdisk, look for a *.rle file and copy it. Rebember the name of the .rle file, you'll need it later.
8.-Paste the rle on edit-image-windows folder
9.- Open cmd, navigate to edit-image-windows folder and type:
Code:
rle2png nameoftthrle.rle 000x000
Where I wrote nameoftthrle.rle write the name of your rle and where I wrote 000x000 write your phone's resolution.
Example: for me, I have a GT-S6500D wich has a 320x480 resolution and the name of my rle is GT-S6500.rle so I must write:
Code:
rle2png GT-S6500.rle 320x480
10.- Open the .png file which is now on edit-image-windows folder with your image edition sowtware (I recommend Photoshop) and made the changes you want. In my phone, is only displayed on black and white, so it's useless to enable color mode.
11.-When you finished editing go again to cmd and write:
Code:
png2rle nameofttherle.png
Where I wrote nameoftthrle.rle write the name of your png.
Example:
Code:
png2rle GT-S6500.rle.png
12.-Now you'll have a file called nameofyourrle.rle.png.rle witch is the modified rle
13.-Go to *\Android Image Kitchen\ramdisk and replace the rle with the new one witch is modified.
14.-Now go to cmd, navigate to Android Image Kitchen folder, and type:
Code:
repackimg
15.-Done! rename the image-new.img to boot.img and flash it!
Click to expand...
Click to collapse
PLEASE give me a thanks if you like my work
reserved
last one reserved
manu19thebest said:
This is for editing the bootsplash: the image wich is displayed while kernel is loaded.
For example in Samsung devices is the image which comes between Samsung Logo and bootanimation.
This change is made in kernel, so if you want to include this in your ROM you must include the edited kernel with it.
Pre-requisites:
1.-Android Image Kitchen (DOWNOLAD)(THREAD)
2.-edit image on windows Tool modified by me (DOWNLOAD)(thanks to championswimmer for this)
3.-I recommend Photoshop or similar software for image editing (GIMP or Paint are ok)
4.-I recommend to enable the file extension visualization in Windows.
Let's start!
PLEASE give me a thanks if you like my work
Click to expand...
Click to collapse
Nice work, wonder if it work on window64
You can now edit/split a ramdisk on your phone now. Apktool on android has boot.img/ramdisk editing functionality. And a whole bunch of others....
Download apktool on android from here:
http://code.google.com/p/apktool/downloads/list
Make sure you download the correct zip file for your phone... And the updated apk. Follow the installation guide the developer has posted.
Before you split the boot.img make sure you're running apktool on an ext4 filesystem. Move the boot.img to /cache/subfolder our something like that.... then you shouldn't have a problem.
EDIT:
If your ROM has SElinux integrated, make sure it's set to permissive before splitting the image file or you'll get sh-applet error.
Go into terminal emulator and type:
su
setenforce 0
Happy editing
_kohjun_ said:
Nice work, wonder if it work on window64
Click to expand...
Click to collapse
My Windows is 64 so yes
Enviado desde mi GT-S6500D usando Tapatalk 2
DexedrineXR said:
You can now edit/split a ramdisk on your phone now. Apktool on android has boot.img/ramdisk editing functionality. And a whole bunch of others....
Download apktool on android from here:
http://code.google.com/p/apktool/downloads/list
Make sure you download the correct zip file for your phone... And the updated apk. Follow the installation guide the developer has posted.
Before you split the boot.img make sure you're running apktool on an ext4 filesystem. Move the boot.img to /cache/subfolder our something like that.... then you shouldn't have a problem.
EDIT:
If your ROM has SElinux integrated, make sure it's set to permissive before splitting the image file or you'll get sh-applet error.
Go into terminal emulator and type:
su
setenforce 0
Happy editing
Click to expand...
Click to collapse
I prefer using pc, mobile isn't good for image editing and boot.img is kernel, so just a little pediting will be a brick for sure.
Enviado desde mi GT-S6500D usando Tapatalk 2
manudroid19 said:
My Windows is 64 so yes
Enviado desde mi GT-S6500D usando Tapatalk 2
Click to expand...
Click to collapse
and on x32 sys? it didnt worked for me. bootloop. anyway doing for the 2nd time now
Edit- it did worked. many thanks
So how do you put a modified kernel in a rom zip? I built a rom from source, and want to change the uninstalled kernel to my own. P.S I have a tool that does this and creates a flashable zip for you, if anyone wants it.
Great work!!!
Tried it on my SONY... - perfect! :good:
Thank you very much
Can you use an .elf or .sin file instead of .img?
I'm on cm12.1 and there aren't any rle files
im also on cm12.1 an no rle file
By using these tools Can I able to change my boot splash ( ASUS Boot logo) in my asus zenfone 5 ? If not, then please guide me so that i can change my ASUS BOOT LOGO with custom made boot logo.
Thanks in advance?
I can't help myself but this work looks very similar to @DooMLoRD work - even the script is almost the same. Only resolution variable added....
https://forum.xda-developers.com/showthread.php?t=1140406
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE
Most of us have always wanted to use custom roms but there just no custom roms for our devices so we just use different app launchers and uninstall some bloatware to make our stock rom feel good.
Rom porting makes it possible to use a custom rom on your mtk device provided in this tutorial they have the same chipset (example: mtk 6582 ported to mtk6582).
THINGS NEEDED :
1. B1 archiver / ES FILE EXPLORER
2. Root Browser.
4. A rooted device is also needed but not much important if you have CWM INSTALLED WITHOUT ROOT.
PROCEDURE :
1. Make a backup of your current rom, preferably CWM backup. You can either use MTK DROID TOOLS or ROM MANAGER...
The location of the backup will be at clockwork/backup/"date and time of the backup ". This is very important since we will need stuff from the back up and we will also use the backup to recover the phone should the ported rom give any problems.
2. At this point I presume you have already downloaded the apps needed and the custom rom you want to use which is in a zip format( this was not important but I had to bring it up cause I know zombies could be reading this.
3. Now extract the custom Rom with Root Browser. if you extracted with Root Browser then the location will be "speedsoftware/extracted/"folder with the name of the custom rom "".
4. Now open Root Browser and open the folders side by side "custom rom which will be ported at one side and other side will be used for searching for the location of the things needed for the custom rom.
5. Delete the following from the Custom rom:
Boot.img
logo.bin (You do this only when you like the Your current logo.bin)
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
6. Now that you have deleted them from the custom rom replace them. You will find the boot.img at clockworkmod/back/"folder with date and time"/boot.img. The rest of the files and folders will br located in the Root /system. Just copy and paste
7. Now at the custom Rom panel go back to where you find the "META-INF" folder,open /google/android will now long press on "updater script" and tap on open with then select text editor.
8. Check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT.
9. Check multi select in B1 archiver Select ( do not archive the folder the files are in but the individual files in the folder containing the extracts)
10. Compress to ZIP file wait till the process finished. Now boot to recovery and flash your ROM
Good luck in porting Your Rom... I have used this method to port 5 roms including AROMA ROMS. and I have never ported a Rom with a pc before
MAYBE U NEED TO EXTRACT THE BOOT IMG TOO IF THIS DIDNT WORKED
DO IT AS FOLLOWS
Requirements:
-- BusyBox (cpio, gunzip and gzip is mandatory)
-- /System Write Permissions (Does not need to be a modified kernel)
-- Terminal Emulator
-- ES File Explorer (or similar)
-- Hex Editor (or use of DD)
-- Open up your android terminal emulator.
-- Now go ahead and pull your boot.img from your device (or use another one if you wish)
-- Open up your boot.img with the Hex Editor and look for: ANDROID!. Remove everything before it so that the ANDROID! header is the first to be read then save it over top of the boot.img. NOTE: This is only required if you are using a stock boot.img.
OR USE THIS IF U DIDNT UNDERSTOOD THIS
Hello Everyone, I’ll show you how to Unpack and Repack your Phone’s Boot.img & Tweak Karnel. Lets start.
Make a new folder named “boot edit” in cache/
image
Pull your boot.img in this folder
image
Now open ApkTool. Long press on “cache“, click on Get Access Permission.
image
Open cache folder and do same with boot edit. Give ApkTool access permission
image
Open boot edit, click on boot.img select Expack(MT65xx), press ok
image
It will unpack your boot.img.
image
Now open file manager & go to cache/boot edit/. You wil find your unpacked boot.
image
Now edit/modify the files or tweak karnel.
Again open ApkTool. Goto cache/boot edit click on ramdisk select repack-mt65xx.
image
It will repack your boot.
image
You will find an img file named new.img
image
This file is your Tweaked/edited/custom boot.img!!
Flash it via Recovery or Flashify & Enjoy..
FOR DETAILED AND STEP WISE GUIDE WITH SCREEN SHOTS SEE HERE
Mod Edit: link removed
XDA:DevDB Information
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE, ROM for all devices (see above for details)
Contributors
manhar2108, manhar2108, 2108kick
Source Code: Mod Edit: link removed
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: all
Version Information
Status: Stable
Created 2015-08-16
Last Updated 2015-08-16
HIT THANKS IF I HELPED U
Good guide..
Especially for noobs....
Darshan601 said:
Good guide..
Especially for noobs....
Click to expand...
Click to collapse
i too am a noob so i tried and made this guide
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
manhar2108 said:
i too am a noob so i tried and made this guide
Click to expand...
Click to collapse
Yeah....Even I am a noob
gunzgunz said:
how bout porting 5.1 rom to 4.4.2 stock?
what should I consider?
aside from tweaking kernel
Click to expand...
Click to collapse
just replace all these files and use stock kernal to port them
good luck
Sir i tried your guide in porting rom. Mt6582 tp mt6582 chipset roms.. But after replacing those files you mentioned and when i flashed it to my phone, it was tuck in boot screen and keep on restarting. How am I going to fix this?
Thread closed. Pay per click links are not allowed on XDA.
Darth
Forum Moderator