[How-To] Make custom bootscreen/bootlogo (image to rle)/(rle to image) - Sony Cross-Device General

hey guys since i was getting so many requests to make custom bootscreens/bootlogo, and lots of ppl asking me how to do this i am making this how to...
it took some time for me to get all this info and tools in one place and make it easy to use...
[ INTRO ]
this little how-to/tutorial will cover points on how to convert between image files and (static) bootscreen/bootlogo files (initlogo.rle/logo.rle)
THIS WILL NOT COVER INFO ON HOW TO INTEGRATE IT IN CUSTOM boot.img, i will add this later cause it requires different tools
initlogo.rle/logo.rle are image files which are in the integrated ramdisk in custom kernel boot.img
these .rle files are shown during booting of the custom kernel (boot.img)
if u want to remove showing of these images then just delete the initlogo.rle/logo.rle from the ramdisk
if u want to change it to the image that u want then follow this tutorial
after creating the .rle files u will need to rename the files to initlogo.rle / logo.rle and place it within extracted ramdisk folder then repack the ramdisk and then repack it with kernel (zimage) using proper boot address and specific command line parameters
[ CREDITS ]
makers of 5652rgb, to565 for freely providing the sources!
ImageMagick for the brilliant convert.exe tool
me for creating the cygwin binaries and batch files & making it little simple to use
[ REQUIREMENTS ]
windows PC (u can find compatible linux tools if u search online)
this package
correct resolution images (check post #2 for details)
[ WHATS INSIDE? ]
the package i have provided has:
precompiled cygwin binaries for
5652rgb
to565
convert.exe from ImageMagick-6.7.0-Q16-windows
all required dlls for standalone installations
easy to use batch files i made
convert_image_to_rle.bat
convert_rle_to_image.bat
[ HOW TO USE? ]
Converting any image to rle file
open command prompt and browse to folder with those bat files
execute:
Code:
convert_image_to_rle.bat <path_to_image_file>
the <path_to_image_file>.raw file and <path_to_image_file>.rle file will be created at the same location as <path_to_image_file>
Converting any rle to image file
open command prompt and browse to folder with those bat files
execute:
Code:
convert_rle_to_image.bat <path_to_rle_file>
the <path_to_rle_file>.raw file and <path_to_rle_file>.png file will be created at the same location as <path_to_rle_file>
[ ADDITIONAL INFO ]
the batch files i have made are specific to X10 screen resolution (480x854) if u need to use it for another device just edit the convert_rle_to_image.bat file and changed this like
Code:
[user=220077]@bin[/user]\convert -depth 8 -size 480x854 rgb:%1.raw %1.png
[ DOWNLOAD LINK ]
boot_screen_logo_creation_package.rar
[ REFERENCES ]
http://forum.xda-developers.com/showpost.php?p=6775233&postcount=5
http://www.androidtablets.net/forum...-before-animated-boot-animation.html#post1895
http://android.git.kernel.org/?p=platform/build.git;a=tree;f=tools/rgb2565
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images <<< has info on how to pack/unpack boot.img files

aZuZu has uploaded newer tools!!!
Chumby_666 said:
new version of custom boot image toolkit is up!
minor fixes ...
added image to android logo & android logo to image ( external tools ) ( cygwin again! god damn! )
working on new ramdisk handle procedure ... soon will be fixed
thanks DooMLoRD for finding tools
Click to expand...
Click to collapse
get them here: http://forum.xda-developers.com/showthread.php?t=1090217
[ INFO ON SCREEN RESOLUTIONS ]
the resolution of the image to use depends on ur the capabilities of ur device
following is a list of the resolutions
QVGA (320×240)
WQVGA (432×240)
HVGA (480×320)
VGA (640×480)
WVGA (800×480)
FWVGA (854×480)

Very useful!
Thank a lot.

& this is WHAT i want!
Great work bro!
Cheers
SX,

Just what I needed..
Many thanks, no need to pester you any more for bootscreens, but many thanks for the ones you provided t me

For some reason it isn't working on my computer, I have no clue why .Running everything exact ,but it could be my phone .Does any one have some spare time to whip one up for me? Any help would be greatly appriciated

Does not work it creates a rle file on 0.00kb
Sent from my X8 using XDA App

getting a bit farther but it tries to take my image to rle but it says it can't find the file
any chance there could be a bit more noobish instructions to follow or is there any way to set it up like the moto devices could with a logo.bin file

pouxonu said:
getting a bit farther but it tries to take my image to rle but it says it can't find the file
any chance there could be a bit more noobish instructions to follow or is there any way to set it up like the moto devices could with a logo.bin file
Click to expand...
Click to collapse
make sure that there are no spaces in the path to the image file... best way is to place the image file in the same folder as the batch files

for exapmle how should this be typed. I have the set up in my c drive near my sdk
convert_image_to_rle.bat
Program Files_Android_boot_screen_logo_creation_package
does all that need to be together with underscores? And do I need the name of the image?

i found draging and droping the logo.rle on top of "convert_rle_to_image.bat" did the trick for me. before it was giving some errors.
jus shared my find.

i'm making a bootscreen, anyone know what's the name of xda developer's font or can share it, please?
ayyu3m said:
i found draging and droping the logo.rle on top of "convert_rle_to_image.bat" did the trick for me. before it was giving some errors.
jus shared my find.
Click to expand...
Click to collapse
i did a drag and drop and it seems to have worked, now i'm totally lost in what to do next

Doomlord... you are a miracle worker XD even when I'm not looking for something for my X10 you seem to solve all my problems XD

Hi DooM bro,
How to cpio.gz the ramdisk folder after editing it?
I tried the azuzu tool but i get error.
Any other way?
Linux, windows, anything any other script? Or can u gz the ramdisk for me?

weaponXandroid said:
Hi Doom bro,
How to cpio.gz the ramdisk folder after editing it?
I tried the azuzu tool but i get error.
Any other way?
Linux, windows, anything any other script? Or can u gz the ramdisk for me?
Click to expand...
Click to collapse
u need to use linux
go to the folder which has the ramdisk files (init,etc)
give this command:
Code:
find . | cpio -o -H newc | gzip > ../ramdisk.cpio.gz

can you please divert me a link how to import this rle file into phone/tablet ?
thanks

indigo_blue said:
can you please divert me a link how to import this rle file into phone/tablet ?
thanks
Click to expand...
Click to collapse
it depends from device to device...
some devices have bootlogo in boot.img (ramdisk) other have a seperate partition to dump this splash image

DooMLoRD said:
it depends from device to device...
some devices have bootlogo in boot.img (ramdisk) other have a seperate partition to dump this splash image
Click to expand...
Click to collapse
Well, I managed to make .rle file... So, how can I add it into DooMLoRD kernel?
I am using ARC S...

Ninolina said:
Well, I managed to make .rle file... So, how can I add it into DooMLoRD kernel?
I am using ARC S...
Click to expand...
Click to collapse
u need to repack ramdisk and then repack it zImage to get boot.img (using correct mkbootimg arguments)
there was a thread somewhere by SE on how to make kernels for Xperia 2011 devices... they have provided info on how to repack ramdisk and the correct mkbootimg arguments...

DooMLoRD said:
u need to repack ramdisk and then repack it zImage to get boot.img (using correct mkbootimg arguments)
there was a thread somewhere by SE on how to make kernels for Xperia 2011 devices... they have provided info on how to repack ramdisk and the correct mkbootimg arguments...
Click to expand...
Click to collapse
Thank you very much for answering me, but I am afraid it wont help me much... I dont want to make a Kernel, I only want to change the SplashScreen... On HTC Desire it was easy to do that (there is a Tool for that) and with ARC this and everything else is so much complicated... I also see that there is not much support for this device and so little number of people is willing to help...
Thank you one more time... I hope there will be easier ways to do this and other stuff which are standard on other devices...
Just one more question... Is it easier just to remove the SplashScreen that is now in DooMKrenel? I will be satisfied with that too...

Related

[HELP] can somebody extract this boot.img please

hi,
i have a big problem.
i have extracted with perl script the boot.img from updata.app
this works fine... but when i want to extract the boot.img, then i have many errors and the .gz files are not readable.
i have tried it under windows and ubuntu, but still the same :-(
can somebody extract the file ?
here is the .img file
http://www.megaupload.com/?d=XX69Z7BM
many thanks
That img file is corrupt, or does not have a ramdisk image within it (only a kernel). Or it is using some non-standard means to store the ramdisk.
What is it from and how did you extract it?
thanks for your replay
the file is from a v845 (huawei 8120).
Firmware: V845 V100R001MYSC02B 236(Malaysia)
from here: huawei
i used the script split_updata.pl, split_bootimg.pl and unyaffs.exe
the boot.img doesn't use yaffs2, it is a raw kernel image combined with a cpio archive of the ramdisk image (and a short header to tell where the files are delimited). Your file has a corrupt header. I was able to extract it for you. Do you want me to attach it for you? I assume you extracted the kernel OK (it worked for me).
Gene Poole said:
the boot.img doesn't use yaffs2, it is a raw kernel image combined with a cpio archive of the ramdisk image (and a short header to tell where the files are delimited). Your file has a corrupt header. I was able to extract it for you. Do you want me to attach it for you? I assume you extracted the kernel OK (it worked for me).
Click to expand...
Click to collapse
yes, please attach it
can you tell me, with which tools you managed to extract the kernel ?
thanks
wildgunman said:
yes, please attach it
can you tell me, with which tools you managed to extract the kernel ?
thanks
Click to expand...
Click to collapse
I normally use the tools found in this thread:
http://forum.xda-developers.com/showthread.php?t=551711
but like I said, your image was corrupt or something. I just hex grepped it for a gzip signature indicating the start of the gzipped cpio ramdisk portion.

Looking for a tutorial: how to cook a ROM?

I'm looking for a guide which tells how to make a own custom ROM from another one
I mean:
1. How to add/replace/remove apps in /system/app/?
1. a) Do they need to have special permission?
2. How to replace boot screen?
3. How to add custom kernel?
4. How to add Desire lockscreen/flip clock?
5. How to add transparent notofication area?
6. How to add Power menu?
I've been serching forum, but didn't find such tutorial. Would be very thanful to get this knowledge.
I think that will be very useful for maaaany android maniacs
1. Simple delete/copy apks in .zip file using 7-Zip or any other.
2. I belive you need to put bootanimation.zip in /data/local/ folder.
3. Idk
4. For Desire lockscreen you need edited HtcLockScreen.apk; for flip clock - HtcClockWidget.apk
5. Edited /system/framework-res.apk or /system/framework/com.htc.resources.apk. I'm not sure
6. You need edited /system/framework/android.policy.jar
69. Resign your zip file using Auto Sign
Attachment doesn't load, but I know about resigning ROM after everything is done
Ad. 1. As I thought, but do the need special permissions? And I also wonder one thing. Are they installed while flashing? Cuz they need to be in system registry, I think...
I have found this: http://wiki.android.com.pl/wiki/Kon...iana_instalowanych_aplikacji_razem_z_systemem
No any permissions etc.
Found this, too. Thanks.
to add a custom kernel you have to unpack the boot image and edit the ramdisk manually, although i think there is an option in dsixda's kitchen to unpack and repack the boot.img
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Edit:
Found nice guide there: update-script syntax
tomekk_nt said:
I've got two more questions:
1. When signing, three files are created in folder META-INF: CERT.RSA, CERT.SF, MANIFEST.SF. But in other packages I see also com/google/android/update-script in META-INF. How to make it? Is it necessary?
2. If I want to make only flashable update file which changes one app or another file, eg. framework-res.apk, I have to create folder structure: system/framework/framework-res.apk, add it to zip archive (no compression?) and sing using Auto-sing. Am I right?
Click to expand...
Click to collapse
The most important part of a recovery update zip is the update script. It will tell the recovery what to do. If you want an example of a basic update package, which replaces one file in the /system/framework (although a different one) can found here. Open this and read the META-INF/com/google/android/updater-script (or whatever its called). The syntax is pretty straight forward and I think its easiest to learn from the examples of updater scripts found here on XDA. For the simple case, of only replacing/adding files to the /system partition you can leave the updater script from the above example as is and only change the files under the /system directory in the zip.
Note, that the above example uses the newer upader-script (I hope I am writing this correctly, I am writing from memory) which also has a binary file in the same directory. Some update zips use the older "update-script" lone text script. For these kind of scripts, you can find a guide here.
Personally, I use RA recovery, and for this recovery you need to sign the update zips (last thing you do of course). At least for RA recovery, both the older "update-script" and the newer "updater-script" work fine, so its up to your personal preference which do you prefer.
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
I built a kernel tool long time ago, very easy to use (only for linux)
1: unzip the file, place it where you want it eg your desktop
2: place boot.img in the working directory
3: double-click the menu icon or launch from terminal
4: it creates a new directory named BOOT-EXTRACT,edit what you want in there or change the kernel etc.. and repack it again via the kernel tool
see screenshot. here for those how want the tool >>> http://www.elelinux.se/tools/kernel_tool.zip
Edit: Only for Hero
tomekk_nt said:
Thanks. Found a guide you mentioned a couple of minutes ago and read it.
The more I know, the more questions it brings So one more thing. If I'd like to use the newer version of syntax: "updater-script", I need also to put this binary file in this folder. But I create/edit only "updater-script", binary file is the same for all packages, or do I need to edit it, too?
Click to expand...
Click to collapse
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
elelinux said:
I built a kernel tool long time ago, very easy to use (only for linux)
Click to expand...
Click to collapse
And that's a good reason to install newest Ubuntu Thanks!
riemervdzee said:
Only the updater-script. The binary is a replacement of the script-interpreter I think, but thats just an assumption.
Click to expand...
Click to collapse
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
LOL, you've got help from every well known hero dev on xda, I'm sure you'll have all the info you need now to start building rom's. Good Luck!
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
tomekk_nt said:
Found an app called Easy Flashable zip Builder on this thread. Will test it soon.
Click to expand...
Click to collapse
But it is for MS Windows, or saw I wrong ? I have also built a tool to javasign files,but should probably write a manual first,it is easy to use but some dependencies maybe not so easy for a beginner with Linux.
tomekk_nt said:
That's mine assuption, too, but would like to know it for 100%
Edit: I see you use it in your kernel update package. So you write only updater-script and place also update-binary next to it?
Click to expand...
Click to collapse
Correcto

how to open(unpack) android update.app

????????????
That should be under general...
Sent from my Huawei Ideos X5 1.12.9(ret4rt)
boss_y said:
That should be under general...
Sent from my Huawei Ideos X5 1.12.9(ret4rt)
Click to expand...
Click to collapse
It should indeed.
Moved to General
I believe flibblesan used a tool to unpack it, cant remember what it was called. Ask him
edit. or dzo.. cant remember
i'd like to know the name of the tool....
Google is your friend
http://android.modaco.com/topic/298436-perl-script-for-unpacking-the-updataapp-files/
demolition23 said:
Google is your friend
http://android.modaco.com/topic/298436-perl-script-for-unpacking-the-updataapp-files/
Click to expand...
Click to collapse
that script is already included in dsixda kitchen....the problem is that the kitchen extracts the updata.app and a "out" folder (where there are some files, among them system.img).
the most important problem is that i can't extract system.img with dsixda.
matteof93 said:
the most important problem is that i can't extract system.img with dsixda.
Click to expand...
Click to collapse
It should be (I haven't checked it myself) an ext3 image, which you can just mount under Linux anyway.
qwerty12 said:
It should (I haven't checked it myself) an ext3 image, which you can just mount under Linux anyway.
Click to expand...
Click to collapse
ok, i will try later....now i am on windows
EDIT: mounting the system.img on ubuntu the file seems to be empty.....is there any tool to extract it?
http://forum.xda-developers.com/showthread.php?t=1036147
This should work
Sent from my U8800 using Tapatalk
No, doesn't work either. The link is for unyaffs, which is the same app dsxda kitchen uses for extraction
dancer_69 said:
No, doesn't work either. The link is for unyaffs, which is the same app dsxda kitchen uses for extraction
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=18905974&postcount=6
dont working.
andreasha said:
http://forum.xda-developers.com/showpost.php?p=18905974&postcount=6
Click to expand...
Click to collapse
just tested on ubuntu. i have obtained the system.img but i had some issues extracting updata.app and i don't have the boot.img
I not open please video or photo
ı'm using ubuntu latest version
I am trying to sort this out now, but not getting so far. Looks to me that the hash locations found in the script are wrong so it is not finding boot.img and other files and is breaking the script.
http://www.zebadger.com/android/scripts/split_updata.txt
Code:
my %fileHash=( "\x00\x00\x00\x10","appsboot.mbn",
"\x00\x00\x00\x20","file25.mbn",
"\x00\x00\x00\x30","boot.img",
"\x00\x00\x00\x40","system.img",
"\x00\x00\x00\x50","userdata.img",
"\x00\x00\x00\x60","recovery.img",
"\x00\x00\x00\xC0","file11.mbn",
"\x00\x00\x00\xD0","file08.mbn",
"\x00\x00\x00\xE0","file05.mbn",
"\x00\x00\x00\xF0","file04.mbn",
"\x00\x00\x00\xF1","file07.mbn",
"\x00\x00\x00\xF2","splash.raw565",
"\x00\x00\x00\xF3","file01.mbn",
"\x00\x00\x00\xF4","file02.mbn",
"\x00\x00\x00\xF5","file14.mbn",
"\x00\x00\x00\xF6","boot_versions.txt",
"\x00\x00\x00\xF7","upgradable_versions.txt",
"\x00\x00\x00\xF8","file09.mbn",
"\x00\x00\x00\xF9","version.txt",
"\x00\x00\x00\xFA","file20.mbn",
"\x00\x00\x00\xFB","appsboothd.mbn",
"\x00\x00\x00\xFC","file23.mbn",
"\x00\x00\x00\xFD","file16.mbn",
"\x00\x00\x00\xFE","file18.mbn",
"\x00\x00\x00\xFF","file21.mbn",
);
Have looked through the update.app with a hex editor, but not seeing anything that correlates to those lines. Can find boot.img etc, but they are referenced differently. Will look at if hex dump is a different thing and see if it references boot.img properly. If we could get this working, we could make a lot more custom roms as it would be easier to make them in the kitchen using official huawei files with mods.
Ok so system.img can be mounted using furius iso in linux on a loop setting, not a fuse one. Now to try and find the boot.img
http://android.modaco.com/topic/311...s-new-version-of-split-updatapl/page__st__180
See last post, unless he is only joking/being sarcastic, looks like we may get some support for our update.app files for the u8800 in zebadgers script. would be great if we could get full support in the android kitchen for our phone
Ok, last one for now, spent whole afternoon combing through scripts and hex editor readouts. Still not much closer. I can find a couple of files in zebadgers script that if you rename them to boot.img (F0, F3 and F4) will let the script do its job, but they are clearly not the boot.img, too small and not right.
There are still four mystery files named unknown_file 0-3 and 2 look to be the correct size for a kernel/boot.img but I dont know where they come from. They are not from the filehashes in my above post.
hi paul....so did you managed to obtain the system.img from update.app?
which script have you used?
about the boot.img: i don't think that it is absolutely necessary....i can copy my boot.img through the pink screen and use it in the dsixda kitchen. is that right?
ps: i think that the boot.img of the B512 is the same of the B540...isn't it?

[Guide]Complete Android ROM development and essential tutorials ~~ By Nero Young ~~

Hi,
If you willing to learn to build custom ROM then you should have following things
Basic Knowledge about handling Command Promt
Basic Windows software knowledge
PC with all tools properly installed
And a mobile with bootloader unlocked
This tutorial is for "Windows OS (Windows 7 x64 in my case)" And Android 2.3+ OS (2.3.4 GingerBread in my case).
But Dxda Kitchen also supports Ubuntu/Linux and also can support Ice cream sandwich
In this whole post you will learn How To -
Make custom ROM - Done
Unpack .ftf packages - Done
Use Cygwin - Done
Setup Android Kitchen - Done
Edit .apk files - Done
Edit .jar files - Done
Edit .9.png files - Done
Rooting System - Done
Writing scripts
Making flashable zips - Done
Porting apk software
A2SD Techs - Dropped ( Outdated now )
Editing build.prop - Done
Editing init.d tweaks
Information of every customizable file
Making Hosts
apn configs
editing boot.img
converting png to rle or vice versa
Writing updater-script
Making Aroma Installer
How to set default Settings after ROM installations
more and more things to arrive
Tools Required : (Update them manually and report me dead links please)
Download the tools as per your need.Link is given in the name itself below....
Flashtool - For Flashing stock ROM if anything goes wrong (Download link in the installation tab of website)
apktool Direct Download- for editing apk files and jar files (you can use APK manager but apktool is simpler)
Cywign Direct Download- Linus Terminal For Windows
ROM Kitchen (ROM Development Tool) Direct Download- For Cooking custom ROM + boot.img related tools - to edit boot.img files (Its inside the ROM Kitchen Files, Please update this Kitchen to latest version its out dated now,for this use inbuilt updater of kitchen)
Official Link to kitchen dxda Kitchen - Official Thread and Github source Please refer FAQ on official thread for Kitchen related problems
ftf-extractor Direct Download- It will extract system files from the ftf package which you will use to make your ROM
fastboot Direct Download- For flashing kernel to your device
DoomLords Easy Root Kit v4 Direct Download- To Root Stock/Custom ROM
Demo META-INF Folder Direct Download- For Making Flashable zip files
DroidExplorer - For advance tools regarding real time phone memory handling through windows.
Flashable Zip Demo Direct Download- For those who want to just apply some stuffs through CWM
Customized build.prop demo - Download Build.prop
Post #9 download link - All In One Tweaker By Nero Young
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Special Thanks to -
dsixda for his awesome kitchen Please Hit Thanks button for him
DooMLoRD for providing root files
Please kindly remind me if i have forgotten to write your name in thanks section, i have collected all things from many many sources and with modification.
Tools Overview​
Introduction​
This video gives information about the basic tools for ROM development.
Tools will be uploaded once the tutorial is completed.And the links will be posted in 1st post.This tutorial is for all kinds of devices.No matter what your device is ... you can use this tutorial...
Though ftf files are only for Xperia devcies which are used in flashtool to flash stock ROMs to Xperia devices.If you have other device the don't get confused if you will not ftf file for your device.Try other sources to get system files.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Settings Up Cygwin And Kitchen​
This video teaches you how to setup Cygwin And Kitchen.The softwares told in this video can be downloaded from first post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Setting Up Remaining Tools (ftf extractor,flashtool,fastboot etc)​
This video teaches you how to setup all remaining files and folders...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Getting System Folder​
Universal method for obtaining system folder (Root needed)​This tutorial guides you how to extract system folder from .ftf packages and get system folder for your custom ROM easily.
For this we have used ftf extractor.
Though you can flash your device,install stock ROM root it and then copy all system file to SD Card and get the system folder.This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
Install it on your freshly flashed device as stated above.
Open it and type:
su
This will give root permission to your terminal emulator.
Then type:
tar -c system/* >> sdcard/system.tar
This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.
After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)
Code:
/app
/bin
/etc
/fonts
/framework
/lib
[COLOR="Red"]/lost-found[/COLOR]
/media
[COLOR="Red"]/sd[/COLOR]
/semc
/usr
/xbin
build.prop
[COLOR="Red"]And some other files and folders like ""autorooted,kernel files" etc[/COLOR]
Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be
Code:
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Now thats all...
Use this pre rooted ROM as your base now and have fun in tweaking and customizing .... Hope this is simplest method that you could ever find...
Click to expand...
Click to collapse
Extracting .FTF File
Only For GB ROM AND XPERIA DEVICES !​Try this method if ftf extractor is failing for ICS. And note that ftf files are only for sony models.
You can optinally try flashtool to edit .sin files from ftf files. Just install latest flashtool and go to advance menu. then choose sin file editor, choose desired ftf file and then dump the system folder.
Another methods to get system folder.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Working With Android Kitchen​
Getting Started​This tutorial will tell you how to setup working folder in kitchen and how to root your ROM,change name,add busy box etc.
This is pre requirement on ROM development.So this video will continue after total customization is done !
After this video you can jump to next post to proceed with customization and then come back to setup to second video in this post so you can continue packing of system folder in flashable zip
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Finalizing ROM​This video shows you how to finalize making zip file of your ROM and use it for flashing.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Working With APKTOOL​
Editing .APK Files​​
This video teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Editing .JAR Files​In this next video you will get information on how to edit .jar files like services.jar using APKTOOL.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Customization Tutorials​
Dealing With .9.png Files​​
This video teaches you how to edit draw9 i.e .9.png image files easily without any errors.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Performance,Battery Life Using Build.prop Tweaks!​
Editing Build.prop​​
This video will guide you for editing build.prop of your device but make sure you don't copy my build.prop.Edit yours build.prop and use syntax from my build.prop
Here is download link for you - Download Build.prop
Click to expand...
Click to collapse
Click to expand...
Click to collapse
GIMP Tutorial
Using GIMP For Editing Images​
Refer This Thread !​​
Remaining posts​
This post contains​​
Editing init.d tweaks
Making Hosts
apn configs
How to set default Settings after ROM installations
Download Link in 1st Post
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Reserved for more work 9
Looks super awesome MSN, just what I've been looking for! Gonna have a closer look when I'm out of bed
Sent from my Desire HD using XDA
Very nice!!! This is the first time I have searched for Android ROM development and look what I find, the KING, of all Android ROM development posts! Thank you SO much for the time you have put in to this...
Very nice, will take a look at it for a nice refreshment.
Looks pretty good and detailed, nice guide.
How about finding another file host. I don't like being forced to download crap that I don't need.
"The way is known to all, but not all know it."
Sent from my modded LG-P506 using XDA App
Here is how tolearn to compile rom from sources if anyone is interested http://forum.xda-developers.com/showthread.php?t=1667551
Sent from my Optimus Me using xda premium
Awesome Tut!
Waiting for more!
Just great!
Thanks a lot for awesome Tut.
In the ftf-extractor.rar i found only the aIUP.exe. what about the other file 'SKI7i.....ftf'
Also when i execute the './menu' in the cgwin/kitchen folder, i have "error: The application "clear" is not installed ...
wilowfr said:
Thanks a lot for awesome Tut.
In the ftf-extractor.rar i found only the aIUP.exe. what about the other file 'SKI7i.....ftf'
Also when i execute the './menu' in the cgwin/kitchen folder, i have "error: The application "clear" is not installed ...
Click to expand...
Click to collapse
That SK17i...ftf package is stock firmware for my Xperia Mini Pro.By opeing it i have extracted system.sin file.
You will need ftf package of stock firmware of your Galaxy3 as you mentioned in your signature.
Also re install cygwin Completely and add kitchen files in cygwin/home/<YourUserNameOf PC>/kitchen to remove that error.
Great!! Thank u!!!

[Noob-Tutorial] How to create a CWM flashable zip file from FTF Firmware

Hi @all,
I´m using the Flashtool and other provided tools here in the Forum for a long time (thanks to all people who are involved in the developing)
Now I want to give something back.
I´m not a developer but I understand (hopefully) basic things.
I have also some phones which does not support the flashmode so I am reliant to the fastboot mode and CWM.
At this point my goal was to flash the stock ROM to the Xperia Z.
I found a tuturial how to make a flashable zip file for CWM but it was for old devices with yaffs2 filesystem and the new ones have ext4.
After some search I found everything what is needed and I want to share it with you.
The Tutorial covers basic things but maybe it will help some people who will try it.
Step 1
Download the Stock-FW you want (FTF-File)
Step 2
Rename the .ftf File to .zip
Step 3
Extract the system.sin (with 7zip or WinRar for example)
Step 4
Open Flashtool go to "Tools" -> "Sin Editor" -> Choose the extracted system.sin and push "extract" Data
Step 5
You will get an system.ext4 file
Step 6
We have to extract the files which are in the system.ext4 file - for this I used the DiskInternal Linux Reader
Step 7
After extracting the files you have to put all the files in a folder named "system" (low letters)
Step 8
Create a folder named for example "Firmware"
Step 9
Put the "system" folder in the "Firmware" folder
Step 10
Download the Attached META-INF File - extract it and copy the META-INF Folder in the "Firmware" folder
Step 11
Now you have in your "Firmware" folder two sub-folders
"system" and "META-INF"
Now you only have to zip the both folders for example with 7zip or WinRar
Important: You have to set the compression to "Store"
Step 12
Copy the zip File to your SD-Card and flash it with CWM
If you want you can now add files to the system folder - like busy box - and or modify things and flash it over CWM.
Special thanks to Bin4ry
Best regards
UserX10
Learned ! Thank you.
Nice tutorial!
EDIT: The flashable zip is huge (990MB), did this have anything to do with the compression being set to 'store'?
xL3thalTuRdZz said:
Nice tutorial!
EDIT: The flashable zip is huge (990MB), did this have anything to do with the compression being set to 'store'?
Click to expand...
Click to collapse
If you don't set it to store it wont work at all, no rom/flashable zip have anything other than store compression the same goes for bootanimations
Edit: OP/Mod you might just want to change TFT file to FTF in step 1
Sent from my GT-i9100 using Tapatalk 2
Edit2: It seems like this only goes for bootanimations, sorry my bad.
Great.....learning it now
Thanks for the positive feedback.
Changed also the typo on Step 1
I've tried setting compression to 'Normal' and all seems to be going fine...
Sent from my C6603 using xda app-developers app
Can this be applicable to nxt devices like mine?thanks for the tutorial...
Sent from my LT22i using Tapatalk 2
how to extract from ext4
can you explain with details :fingers-crossed:
im getting ext4 file again after extracting !
ShivangDave said:
can you explain with details :fingers-crossed:
im getting ext4 file again after extracting !
Click to expand...
Click to collapse
You have to selected the .ext4 file open with LinuxReader. (like you .doc file with Word)
LinuxReader will "mounted" it in his own window, open your "new" disk (2Go) then select the "Save" option above...
tempofestival said:
You have to selected the .ext4 file open with LinuxReader. (like you .doc file with Word)
LinuxReader will "mounted" it in his own window, open your "new" disk (2Go) then select the "Save" option above...
Click to expand...
Click to collapse
did it via linux ! thanks any way !
When I tried to extract Xperia S's stock rom from the ftf using DiskReaderInternals, then the rom would boot but USB would never work. Even the guy above me (ShivangDave) tried extracting using DiskReaderInternals for Miro but the rom failed to boot and got stuck at the Sony logo. That's why it is better to use linux to extract the system.ext4 image.
i want to make a flashable zip to install aps
UserX10 said:
Important: You have to set the compression to "Store"
Click to expand...
Click to collapse
How do I set the compression to "Store"?
Thanks a lot for your guide!
MinnesotaVikings1961 said:
How do I set the compression to "Store"?
Thanks a lot for your guide!
Click to expand...
Click to collapse
whenever you add file in archive it will show a box first ! 'NORMAL' is default ! change it to 'Store' !
Please!
Does this tutoriral can be applied to other models as Neo V.
Thank you and best regards!
fer14 said:
Please!
Does this tutoriral can be applied to other models as Neo V.
Thank you and best regards!
Click to expand...
Click to collapse
This Tutorial should also work with the Neo V. Only one thing could be different.
But depending on your Android Version (when I remember well) it could be possible that you have instead of an ext4 file a yaffs2 file. In this case you can search the forum for an how to for this extension.
TheHawk002 said:
If you don't set it to store it wont work at all, no rom/flashable zip have anything other than store compression the same goes for bootanimations
Click to expand...
Click to collapse
I use a template for flashing various things and I just drop stuff in it using Normal compression and it flashes ok, might be more important for full ROMs or zips to be run on the Phone like a boot animation, but for flashing the odd apk or other file I don't think it matters.
UserX10 said:
This Tutorial should also work with the Neo V. Only one thing could be different.
But depending on your Android Version (when I remember well) it could be possible that you have instead of an ext4 file a yaffs2 file. In this case you can search the forum for an how to for this extension.
Click to expand...
Click to collapse
XperienceD said:
[GUIDE] How to make your regional firmware an .FTF file
[Guide] How make a FTF of stock firmware from SUS files
[GUIDE]How to make a rooted flashable rom from ftf file[FOR ALL XPERIA PHONES]
[tutorial] | how to extract system.sin
[tutorial] step by step method to extract ftf file from ics [ics]
[Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images
Click to expand...
Click to collapse
UserX10 said:
Hi @all,
I´m using the Flashtool and other provided tools here in the Forum for a long time (thanks to all people who are involved in the developing)
Now I want to give something back.
I´m not a developer but I understand (hopefully) basic things.
I have also some phones which does not support the flashmode so I am reliant to the fastboot mode and CWM.
At this point my goal was to flash the stock ROM to the Xperia Z.
I found a tuturial how to make a flashable zip file for CWM but it was for old devices with yaffs2 filesystem and the new ones have ext4.
After some search I found everything what is needed and I want to share it with you.
The Tutorial covers basic things but maybe it will help some people who will try it.
Step 1
Download the Stock-FW you want (FTF-File)
Step 2
Rename the .ftf File to .zip
Step 3
Extract the system.sin (with 7zip or WinRar for example)
Step 4
Open Flashtool go to "Tools" -> "Sin Editor" -> Choose the extracted system.sin and push "extract" Data
Step 5
You will get an system.ext4 file
Step 6
We have to extract the files which are in the system.ext4 file - for this I used the DiskInternal Linux Reader
Step 7
After extracting the files you have to put all the files in a folder named "system" (low letters)
Step 8
Create a folder named for example "Firmware"
Step 9
Put the "system" folder in the "Firmware" folder
Step 10
Download the Attached META-INF File - extract it and copy the META-INF Folder in the "Firmware" folder
Step 11
Now you have in your "Firmware" folder two sub-folders
"system" and "META-INF"
Now you only have to zip the both folders for example with 7zip or WinRar
Important: You have to set the compression to "Store"
Step 12
Copy the zip File to your SD-Card and flash it with CWM
If you want you can now add files to the system folder - like busy box - and or modify things and flash it over CWM.
Special thanks to Bin4ry
Best regards
UserX10
Click to expand...
Click to collapse
I tried this on Xperia SP but the installation is aborted, does this supports Xperia SP? If not, how can I make another one for Xperia SP? Thanks
tdth said:
I tried this on Xperia SP but the installation is aborted, does this supports Xperia SP? If not, how can I make another one for Xperia SP? Thanks
Click to expand...
Click to collapse
which error ?
---------- Post added at 08:52 PM ---------- Previous post was at 08:50 PM ----------
tdth said:
I tried this on Xperia SP but the installation is aborted, does this supports Xperia SP? If not, how can I make another one for Xperia SP? Thanks
Click to expand...
Click to collapse
this works... make sure you have correct update-binary file and also script !

Categories

Resources