Hi, anyone here who can help me replacing the kernel from the attached stockboot.img to the boot.img ?
I cant find any boot.img repacker tools and ima beginner, maybe someone can help me out ?
Keiko87 said:
Hi, anyone here who can help me replacing the kernel from the attached stockboot.img to the boot.img ?
I cant find any boot.img repacker tools and ima beginner, maybe someone can help me out ?
Click to expand...
Click to collapse
Use Android image Kitchen. Search it on google.
Start here. https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434 You will need to use Linux or Windows but linux is your best bet if you are a beginner.
Sent from my SM-J327P using Tapatalk
Sands207 said:
Start here. https://forum.xda-developers.com/ap...chen-superr-s-kitchen-v1-1-50-v2-1-6-t3597434 You will need to use Linux or Windows but linux is your best bet if you are a beginner.
Sent from my SM-J327P using Tapatalk
Click to expand...
Click to collapse
Awesome aririririgatou, worked for me ヅ
Keiko87 said:
Hi, anyone here who can help me replacing the kernel from the attached stockboot.img to the boot.img ?
I cant find any boot.img repacker tools and ima beginner, maybe someone can help me out ?
Click to expand...
Click to collapse
has several tools,,, but, what's the point, if they close the file, half the size
i have a boot_b.bin weighing 40mb when I open and close, it gets 17mb, never that the systema will accept such a deal.
Related
Hi everyone,
I'm noob here. I'm using Xperia S. And now learning mote about android.
However I have a question, how can I make boot.img from my ftf file?
Sure, I extracted the ftf, decrypt the kernel.sin into kernel.elf.
From kernel.elf, I decrypt it again and get 4 files, one image (I suppose it is kernel zImage), one ramdisk.gz, one file forgotten and another is elf.4.
Okay, now the problem comes.
The main purpose of me is to change the bootlogo of my Xperia S.
I searched for a day to change the bootlogo, most need to add the rle file into boot.img file (ramdisk).
For sure I read through the site how to unpack, edit and repack the boot image.
The kernel and ramdisk of mine are extracted from ftf but not existing custom Rom,
1. Can I directly use the mkbootimg program to create boot.img? Will it work out?
2. Do I need to aware of any parameters or setting for Xperia S? Since I worried that different devices have diff setting.
3. Is it better to make it on linux? I found mkbootimg.c in c language file but not precompiled program as tutorial, the link given is broken. Can work also?
Sorry, I'm really quite new and very noob, I tried searching and many other things, but still can't figure it out.
Hope that pros here can help me...
Sent from my LT26i using xda app-developers app
Trevor Chuah said:
Hi everyone,
I'm noob here. I'm using Xperia S. And now learning mote about android.
However I have a question, how can I make boot.img from my ftf file?
Sure, I extracted the ftf, decrypt the kernel.sin into kernel.elf.
From kernel.elf, I decrypt it again and get 4 files, one image (I suppose it is kernel zImage), one ramdisk.gz, one file forgotten and another is elf.4.
Okay, now the problem comes.
The main purpose of me is to change the bootlogo of my Xperia S.
I searched for a day to change the bootlogo, most need to add the rle file into boot.img file (ramdisk).
For sure I read through the site how to unpack, edit and repack the boot image.
The kernel and ramdisk of mine are extracted from ftf but not existing custom Rom,
1. Can I directly use the mkbootimg program to create boot.img? Will it work out?
2. Do I need to aware of any parameters or setting for Xperia S? Since I worried that different devices have diff setting.
3. Is it better to make it on linux? I found mkbootimg.c in c language file but not precompiled program as tutorial, the link given is broken. Can work also?
Sorry, I'm really quite new and very noob, I tried searching and many other things, but still can't figure it out.
Hope that pros here can help me...
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
how did you decrypt kernel.sin ? can you explain step by step ? Im also a noob
ShivangDave said:
how did you decrypt kernel.sin ? can you explain step by step ? Im also a noob
Click to expand...
Click to collapse
For how to decrypt the kernel.sin, you can use Flashtool (not Sony official one)
Under Tools (perhaps I remember correctly), there is a option about decrypt SIN, and then you can choose the kernel.sin you want to decrypt.
Have to tried kernel kitchen?
neectron said:
Have to tried kernel kitchen?
Click to expand...
Click to collapse
Yes, I tried Kernel Kitchen by champion at that time after I asked this question since nobody answer this thread.
I use command way to perform this boot.img creation also. It work that time. now forgot some part dy.
Trevor Chuah said:
Yes, I tried Kernel Kitchen by champion at that time after I asked this question since nobody answer this thread.
I use command way to perform this boot.img creation also. It work that time. now forgot some part dy.
Click to expand...
Click to collapse
Oh,now I see question is so old
neectron said:
Oh,now I see question is so old
Click to expand...
Click to collapse
yeah, very old. haha
Anyway, thank you for your kindly reply.
Moving my way toward developer (super noob developer). haha
Who here is developer? i need to modify one nexus 4 for rom it's very simple what i have to modify but i still need a help i will be pleasurable if anybody offer for help me :victory:
Acfanderson said:
Who here is developer? i need to modify one nexus 4 for rom it's very simple what i have to modify but i still need a help i will be pleasurable if anybody offer for help me :victory:
Click to expand...
Click to collapse
what do you want to modify?
ricky310711 said:
what do you want to modify?
Click to expand...
Click to collapse
Is it very simple man i would like to replace launcher2.apk in the nexus 4 factory image to googlehome.apk becouse thia is TVE nexus 5 launcher. Van you help me to do this?
Acfanderson said:
Is it very simple man i would like to replace launcher2.apk in the nexus 4 factory image to googlehome.apk becouse thia is TVE nexus 5 launcher. Van you help me to do this?
Click to expand...
Click to collapse
Remove launcher2.apk and replace it with googles? i released a modpack for the s3 that includes the requirements, just pluck them from the package(i grant permission) and done
ricky310711 said:
Remove launcher2.apk and replace it with googles? i released a modpack for the s3 that includes the requirements, just pluck them from the package(i grant permission) and done
Click to expand...
Click to collapse
Yes this is what i have to do =D can you help me?
Acfanderson said:
Yes this is what i have to do =D can you help me?
Click to expand...
Click to collapse
Hahahaha why do you need help? The task is simple? Delete the launcher2.apk and grab all the apps from my modpack? Its easy!
ricky310711 said:
Hahahaha why do you need help? The task is simple? Delete the launcher2.apk and grab all the apps from my modpack? Its easy!
Click to expand...
Click to collapse
of course is simple, but i need to moodify the STOCK ROM .TGZ file (factory image) when i extract this file i have some file with .IMG extension and one of this files is System.IMG in this file haver the folder called Priv-apps and the old launcher is it there so i need to replace this apk and repack the rom to original FORM but i don't have idea for do this
Acfanderson said:
of course is simple, but i need to moodify the STOCK ROM .TGZ file (factory image) when i extract this file i have some file with .IMG extension and one of this files is System.IMG in this file haver the folder called Priv-apps and the old launcher is it there so i need to replace this apk and repack the rom to original FORM but i don't have idea for do this
Click to expand...
Click to collapse
Look up how to decompile .img files, im pretty sure you use unyaffs.exe to do it! I done it once but I dont remember how
ricky310711 said:
Look up how to decompile .img files, im pretty sure you use unyaffs.exe to do it! I done it once but I dont remember how
Click to expand...
Click to collapse
is it necessary have LINUX for use this method and my computer use WINDOWS and i can't run a virtual machine here
Acfanderson said:
is it necessary have LINUX for use this method and my computer use WINDOWS and i can't run a virtual machine here
Click to expand...
Click to collapse
No need for linux, also consider using my rom kitchen for windows, cygwin isnt needed!
ricky310711 said:
No need for linux, also consider using my rom kitchen for windows, cygwin isnt needed!
Click to expand...
Click to collapse
who will do this for me my computer is LOW and i don't have idea for do this =\ THX for try to help me =D
hi i know this seems like a over asked question but my case is different at least i could find a solution .. i did look for it
so i need to unpack a boot.img and i did try with dsixda's kitchen and championswimmers kitchen but no hope .. they both say android magic header not found and doesn't unpack it.. i need to edit the bootclasspath of the kernel but there isnt a way i can without unpacking yeah ? i even tried re-naming to .elf and extracting with flashtool but that dosent give me an output either ..
does anyone know how i can do this ? or atleast a workaround ?
androidous said:
hi i know this seems like a over asked question but my case is different at least i could find a solution .. i did look for it
so i need to unpack a boot.img and i did try with dsixda's kitchen and championswimmers kitchen but no hope .. they both say android magic header not found and doesn't unpack it.. i need to edit the bootclasspath of the kernel but there isnt a way i can without unpacking yeah ? i even tried re-naming to .elf and extracting with flashtool but that dosent give me an output either ..
does anyone know how i can do this ? or atleast a workaround ?
Click to expand...
Click to collapse
Try using this tool found here http://forum.xda-developers.com/showthread.php?t=2073775
it has worked very well for me. If this doesn't work for you then I can suggest some Linux alternatives.
Sent from my SCH-I535 using XDA Premium 4 mobile app
shimp208 said:
Try using this tool found here http://forum.xda-developers.com/showthread.php?t=2073775
it has worked very well for me. If this doesn't work for you then I can suggest some Linux alternatives.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey thanks but ive tried that kitchen before and no luck
i figure the problem is
caused because the boot.img 's are not of standard type and do not have the standard ANDROID header therefore that kitchen wouldnt work
Okay, unpackbootimg crashes trying to unpack the boot.img from FXP204-cm-9-20130126-UNOFFICIAL-kumquat because it has the wrong "magic" at the top. trevd pointed this out as a definite incompatibility for some devices a couple pages back. Trying trevd's split_img from the first page, it actually reports the "Wrong magic" error and shows that the file has an ELF header not an ANDROID!. Opening in HxD shows that there is no ANDROID! header later on as with some HTC devices, so ELF is the only header, and we're basically dealing with a different, unsupported filetype here. On the upside, there is no real gap in the data, so there might not be a ramdisk packed with it anyway.
Click to expand...
Click to collapse
enlighten me on the linux alternatives please
androidous said:
Hey thanks but ive tried that kitchen before and no luck
i figure the problem is
caused because the boot.img 's are not of standard type and do not have the standard ANDROID header therefore that kitchen wouldnt work
enlighten me on the linux alternatives please
Click to expand...
Click to collapse
These are the linux alternatives they may or may not work based on what you said but might as well give them a try.
Hi can someone help me to unpack
G850FXXU2ANHD_G850FOXX2ANH7_G850FXXU1ANHD_HOME.tar
i got problems to extract system.img
i tried to unpack with ext4_unpacker_exe
but unknown file error
It is not working I did try it also, and I think nobody because otherwise there was already someone that put a Rom here
dack23 said:
Hi can someone help me to unpack
G850FXXU2ANHD_G850FOXX2ANH7_G850FXXU1ANHD_HOME.tar
i got problems to extract system.img
i tried to unpack with ext4_unpacker_exe
but unknown file error
Click to expand...
Click to collapse
Maybe "Total Commander" does the trick? There is a free Demo Version available. TC helped me out a lot of times when nothing else worked...
First you need to run s2img (not sure about the name) it is part of the CM tree. After that you can mount it as a loopback device.
out/host/linux-x86/bin/simg2img system.img system.img.raw
mount -o loop system.img.raw /mnt
already done from beginning first Rom was out....
use Android Kitchen
Can anybody port a system dump then?
dajumper said:
Can anybody port a system dump then?
Click to expand...
Click to collapse
it will be easy to dl kitchen and do it, i have to build rom and upload it... not easy as i'm not a developer....
i have only deodexed stock rom to test apps on S4
_alex74_ said:
it will be easy to dl kitchen and do it, i have to build rom and upload it... not easy as i'm not a developer....
i have only deodexed stock rom to test apps on S4
Click to expand...
Click to collapse
Can you post the deodexed Alpha ROM?
Can someone send files from g850F - boot.img , recovery.img ,build.prop to this site ,
one m8 acepted to make recovery to us,be fast please
Could someone with a the phone please post /proc/mtd. My phone didn't arrive yet.
modpunk said:
Could someone with a the phone please post /proc/mtd. My phone didn't arrive yet.
Click to expand...
Click to collapse
post deleted, moved to correct thread.
Hello!
Can someone explain to me what differences are between these roms? (see attachements):
I have MT6755 device and it's stock ROM has inside a boot.img, system.new.dat, system.patch, META-INF, etc..
And then I found a device which ROM has inside just boot.img, META-INF and system folder.
What's the difference?
If I want to port a custom rom, does my device need to have in a custom rom these files(system.new.dat, system.patch...) too, or can I use a "structure" of the ROM zip with just boot.img and system?
As far as i know You just need only System,boot.img and meta-inf also data if you wish to add an app as user
sohamsen said:
As far as i know You just need only System,boot.img and meta-inf also data if you wish to add an app as user
Click to expand...
Click to collapse
So if I want to port a ROM from device that has (system.new.dat, etc..), I need only to extract system.new.dat to get system folder and just use it?
Adreno306™ said:
So if I want to port a ROM from device that has (system.new.dat, etc..), I need only to extract system.new.dat to get system folder and just use it?
Click to expand...
Click to collapse
Ya
sohamsen said:
Ya
Click to expand...
Click to collapse
Ok, I will try it.
Thank you for your answer
Adreno306™ said:
Ok, I will try it.
Thank you for your answer
Click to expand...
Click to collapse
best of luck