Unpack and repack boot.img how to? - Samsung Galaxy Mini

I follow the Internet use split_bootimg.pl and mkbootimg to my CM 7.2.0 RC5.7's boot.img. No error and no warning but my SGM hold on the "SAMSUNG" screen .....I get the base is 13600000.....I really need change sth in boot.img ~………can someone tell me how ro?
来自我的GT-S5570 使用XDA 高级版 发送

maybe this one can help you,,,
_http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images

springhack said:
...use split_bootimg.pl and mkbootimg to my CM 7.2.0 RC5.7's boot.img.
...I get the base is 13600000...
Click to expand...
Click to collapse
You should typecast base value as hex number; that is
--base 0x13600000
and also check for pagesize
--pagesize 4096
Hint: once splitted, an image simply repacked must match exactly the original one...
The console command
diff boot.img repacked_boot.img
should not output nothing, otherwise, probably, the new image will never work...
P.S. In my foot signature there is a link to an old post where I explain how I do it for my S5570... Hope to be helpful!
Inviato dal mio GT-S5570 usando Tapatalk

http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
have a look on above page it may help

Try using ketut tools..
Sent from my GT-S5570 using xda premium

Related

[Q] How to change Boot logo?

Hi i am using Squadzone's Cyanmobile ROM ..Everytime i switch on the phone..Squadzone's logo come..Hopefully thats called Boot logo..i maybe wrong ..So i want to change it..i dont know how to do that
I know how to change Boot Animations..but Boot Logo is a different thing..Help
-Rik(Rittik)
Check yagya's blog. He has a good guide on editing the boot image. You will need some tools and you can download them from there. You will be editing the boot image so you will have to be careful with it as it contains the kernel and ramdisk.
kitrax59 said:
Check yagya's blog. He has a good guide on editing the boot image. You will need some tools and you can download them from there. You will be editing the boot image so you will have to be careful with it as it contains the kernel and ramdisk.
Click to expand...
Click to collapse
yagya's blog ?
can u give a link please?
-Rik(Rittik)
Rittik said:
yagya's blog ?
can u give a link please?
-Rik(Rittik)
Click to expand...
Click to collapse
yagyagaire.blogspot.com
1)Download boot animation
2)goto settings>cyanmobile settings>interface>in boot animation bar select choose....n choose ur boot animation
3)thats it
Sent from my GT-S5570 using xda premium
Shahid9559 said:
1)Download boot animation
2)goto settings>cyanmobile settings>interface>in boot animation bar select choose....n choose ur boot animation
3)thats it
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
No he mean the bootsplash image before the bootanimation
Sent from my GT-S5570 using Tapatalk 2
Use dsixda kitchen or do it manually using some tools
Sent from my GT-S5670 using xda premium
decompiler boot.img.
convert a PNG (bether use black and withe photo !!!) to RLE with "png to rle converter"
rename ur new rle file to TASS.rle and put in ram-disk folder where u decompiler boot image.
compiler again boot.img.
Check it HERE.
I suggest you don't mess around with boot.img The image you are talking about is bootsplash image. Its better leaving it to developers. If you don't edit it properly, your phone will end up hard bricking. You won't be able to turn on your phone. Replacing mother board will be your last choice.
seriously? hard brick? not even download mode?
-Rik(Rittik)

[Q] Integrate SU in rom

Hy people, i need someone help with superuser.
I want to integrate last version in my next rom but i fail to do that.
I know that kitchen is what i need to use, but i need help with that, i tryed and after i finish, rom failed to flash.
Dont use kitchen.
Which rom are you using and which kernel?
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
tj_droid said:
Dont use kitchen.
Which rom are you using and which kernel?
Click to expand...
Click to collapse
Vo-1 cm7 based rom.
It has outdated su app and binary.
Link to rom -> http://forum.xda-developers.com/showthread.php?t=1837056
Kernel it will be 22.07 firekernel, because it's the best in battery life (people want that, and me to)
I will try what Prawesome sayd, then will see.
Why do you need update su binary?
New su binaries are buggy.
Instead try Supersu. Download package from chainfire's original post. And place the files as mentioned by prawesome.
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
psndna88 said:
well as explained above u need to place superuser.apk in /system/app & su in /system/xbin and need to set permissions in updater-script as:
set_perm(0, 0, 04755, "/system/app/Superuser.apk");
set_perm(0, 0, 04755, "/system/xbin/su");
BUT
if older superuser.apk & its su binary is present in a kernel and it replaces it on /system at each boot, ramdisk in boot.img needs to be modified and newer files needed to be replaced !
Click to expand...
Click to collapse
I will try that.
First i will try the simple one, with updater-script, if doesn't work, i will ask for help in ramdisk replacement !
Big thanx folks !
Try goo.im for the APK.
Sent from my GT-S5830 using Tapatalk 2
Prawesome said:
Take super user.apk and put it in /system/app
Then,take su bin file
Set perms for them in updater script..
Just refer the root package..
I am a potato, problem?
Click to expand...
Click to collapse
The kernel will flash another version at installation ... Só it has to be changed on the kernel mate
Sent from my GT-S5830 using xda premium
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
Download ketut's tools
Decompile kernel
Decompile ramdisk also if needed
Replace binaries and apk
Controversies,controversies everywhere :what:
Cryss said:
Yes, i need help in that ...
Kernel is prerooted (firekernel 22.07)
Can someone please help me with integration ?
Click to expand...
Click to collapse
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
psndna88 said:
I can do that.. v simple .. just attach boot.img
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Here is it, big thanx man
Cryss said:
Here is it, big thanx man
Click to expand...
Click to collapse
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
psndna88 said:
there is no superuser.apk & su in ramdisk of boot.img.........
it might be in fire kernel aroma package somewhere... but definately not there in attached boot.img
Click to expand...
Click to collapse
Is not in the aroma package ...
What should i do ?
Cryss said:
Is not in the aroma package ...
What should i do ?
Click to expand...
Click to collapse
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
psndna88 said:
well it must be in initramfs file (kernel ramdisk )
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Can u help me with that ?
Cryss said:
Can u help me with that ?
Click to expand...
Click to collapse
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
psndna88 said:
well just an hr back I was looking into its aroma installer and yes I have some ideas... looking into it
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
I allready move kernel + files into rom and su hold me to release it ... that's nasty.
But i'll wait for you, no rush
i hope its solved..

Dsixda's android kitchen

Hi guys can someone upload the file for kitchen that gives the compatibility for our s advance with it?
Thanks in advance
Our device is compatible with DSIXDA;s kitchen... I have been using it for a long time...
Really? I don t see i9070 in the compatibility list..ok thank u!
But how can i use the stock rom (tar) on kitchen??
maurus1998 said:
Really? I don t see i9070 in the compatibility list..ok thank u!
Click to expand...
Click to collapse
maurus1998 said:
But how can i use the stock rom (tar) on kitchen??
Click to expand...
Click to collapse
Take a look at this thread dude...
As far as I know, you can't directly use a .tar file... you will have to extract or copy the files and folders from your phone and then put them on your PC.. more info are there on the thread.... :good:
Sami Kabir said:
Take a look at this thread dude...
As far as I know, you can't directly use a .tar file... you will have to extract or copy the files and folders from your phone and then put them on your PC.. more info are there on the thread.... :good:
Click to expand...
Click to collapse
CWM backup files can be used. I was using that before. System.img I think. Not sure for TWRP recovery backups.
shut_down said:
CWM backup files can be used. I was using that before. System.img I think. Not sure for TWRP recovery backups.
Click to expand...
Click to collapse
[OT] Speaking of CWM and TWRP flashable files... I have a doubt... Why CWM flashable files cannot be flashed using TWRP and vice versa?
Sami Kabir said:
[OT] Speaking of CWM and TWRP flashable files... I have a doubt... Why CWM flashable files cannot be flashed using TWRP and vice versa?
Click to expand...
Click to collapse
Flashable zips can be flashed in any recovery
Inviato dal mio GT-I9070 con Tapatalk 2
KINGbabasula said:
Flashable zips can be flashed in any recovery
Inviato dal mio GT-I9070 con Tapatalk 2
Click to expand...
Click to collapse
I tried flashing some mods but it did not work on TWRP (TWRP gave me some flashing error) but when I tried with CWM, it worked... Funny thing was that the developer of that mod clearly mentioned to use CWM not TWRP.. donno why?!
Sami Kabir said:
I tried flashing some mods but it did not work on TWRP (TWRP gave me some flashing error) but when I tried with CWM, it worked... Funny thing was that the developer of that mod clearly mentioned to use CWM not TWRP.. donno why?!
Click to expand...
Click to collapse
Tried to mount system before flashing?
shut_down said:
Tried to mount system before flashing?
Click to expand...
Click to collapse
Nope
Maybe that's why....
I've tried to add (more) support for the kitchen and dsixda has just approved the changes https://github.com/dsixda/Android-Kitchen/pull/19/files.
The main problem I have with dsixda kitchen is that it doesn't recognise hidden.img.md5 (preload partition) and I have to extract it manually and add all the apks to /system/app, which makes the ROM bigger then the partition /system :/
Edit: I forgot: it doesn't recognise kernel.bin.md5
Inviato con Tapatalk 2 dal telefono di casa

Extract boot.img

Hello to all.
Can someone say to me how to extract a kernel to modify it? I'm on windows and I've tried all the method I've found on the web..but nothin to do..
I have tried to extract cm 10.2 boot.img and i've always had ANDROID MAGIC NOT FOUND..please help me..i really wanna to learn something :angel:
hastalafiesta said:
Hello to all.
Can someone say to me how to extract a kernel to modify it? I'm on windows and I've tried all the method I've found on the web..but nothin to do..
I have tried to extract cm 10.2 boot.img and i've always had ANDROID MAGIC NOT FOUND..please help me..i really wanna to learn something :angel:
Click to expand...
Click to collapse
Use sources from Team Janice (ask them first), and learn how to use GIT HUB.
hastalafiesta said:
Hello to all.
Can someone say to me how to extract a kernel to modify it? I'm on windows and I've tried all the method I've found on the web..but nothin to do..
I have tried to extract cm 10.2 boot.img and i've always had ANDROID MAGIC NOT FOUND..please help me..i really wanna to learn something :angel:
Click to expand...
Click to collapse
Those methods only work when the compression used is gzip (boot.img should be at least 7mb) and not lzma (about 5mb)
Sent from my GT-S5367 using xda app-developers app
frapeti said:
Those methods only work when the compression used is gzip (boot.img should be at least 7mb) and not lzma (about 5mb)
Sent from my GT-S5367 using xda app-developers app
Click to expand...
Click to collapse
If it's possible, how to compress with gzip instead of lzma when compiling kernel from sources? It's just a curiosity
Tesla-MADAL93 said:
If it's possible, how to compress with gzip instead of lzma when compiling kernel from sources? It's just a curiosity
Click to expand...
Click to collapse
Search for gzip in the defconfig you arr using and put # before the string. Then copy the line of gzip and replace gzip with lzma obviously without #
Inviato dal mio GT-I9070 utilizzando Tapatalk

[Tool] Auto Porter [CM7 ROMS]

Hey Guys I have A surprise for you all Its Rom Auto Porter Tool For Our Device IT Is a Flashable Zip , It will Port any cm7(tested)-cm9(waiting) rom with same screen Resuliotion
With It You Can forget to ask people to port u why dont u do it ur self
Steps
Code:
1-Flash The rom You Want
2- MAke sure all mounts IS alright
3-Flash The Zip
4-Flash The Kernel U want Mightn't boot if u didnt do so
Credits
bieltv.3 and BroadcomCM
myaservip
Status
Testing - Continusly Updated So Please Keep Up with download link .
-last download link added( 30-march Morninig):
-Added More Libs
-New Script
Download Auto Porter
NOTE: THAT WILL REMOVE SOME TWEAKS FROM THE PORT
Oh, what a noob..
Judging by the description port can be any device, but really only suitable to a port from SGY.
If you want to make a script for port from SGY, Why replace the modules?
In build.prop portably ROM may be tweaks..
In updater-script there is a line:
mount("rfs", "EMMC", "/dev/block/stl9", "/system");
Click to expand...
Click to collapse
Why RFS, instead EXT4?
Oh, what a noob..<br />
Judging by the description port can be any device, but really only suitable to a port from SGY. <br />
If you want to make a script for port from SGY, Why replace the modules?<br />
In build.prop portably ROM may be tweaks..<br />
In updater-script there is a line: <br />
mount("rfs", "EMMC", "/dev/block/stl9", "/system");
Click to expand...
Click to collapse
<br />
Why RFS, instead EXT4?
Click to expand...
Click to collapse
Ur comment isnt accepted just give a f**** try
myaservip said:
Ur comment isnt accepted just give a f**** try
Click to expand...
Click to collapse
And simply if u dont like it just dont use it
myaservip said:
And simply if u dont like it just dont use it
Click to expand...
Click to collapse
I'm not saying that I do not like. I say that bad description.
Gisha 7 said:
I'm not saying that I do not like. I say that bad description.
Click to expand...
Click to collapse
I Havent The Talent of writing good posts
myaservip said:
I Havent The Talent of writing good posts
Click to expand...
Click to collapse
Why should talent? Calm yourself and re-read my first post.
Gisha 7 said:
Why should talent? Calm yourself and re-read my first post.
Click to expand...
Click to collapse
I say not only sgy Try Ur self i Just used to port I Mini from tass
myaservip said:
I say not only sgy Try Ur self i Just used to port I Mini from tass
Click to expand...
Click to collapse
Are you saying that your script can be ported from S5570?
Can port roms from s5570
No
You will brick your phone because it doesn't replace some files
Add egl ,hw libs
Inviato dal mio GT-S5570i con Tapatalk 2
devilyuri said:
No
You will brick your phone because it doesn't replace some files
Add egl ,hw libs
Inviato dal mio GT-S5570i con Tapatalk 2
Click to expand...
Click to collapse
Ops ididnt upload the latest sorry
myaservip said:
Ops ididnt upload the latest sorry
Click to expand...
Click to collapse
Oh, is not that easy. Read first this guide http://forum.xda-developers.com/showthread.php?t=1598713
Link updated and iam sure now it will do best
Thanx a lot can you plz give me steps to port an galaxy y rom with this tool? :thumbup:
Sent from my GT-S5570i using xda app-developers app
myaservip said:
Link updated and iam sure now it will do best
Click to expand...
Click to collapse
All the same can be ported only from SGY..
Look on post#1 for full guide
Gisha 7 said:
All the same can be ported only from SGY..
Click to expand...
Click to collapse
No I Ported from sgm
No need to replace these files To port a CM7 based roms.just copy app,font,framework,media from the rom that you want to port to our CM7.then zip it and your port is ready to be flashed
Inviato dal mio GT-S5570i con Tapatalk 2
U givn a credit

Categories

Resources