Go Back   Android Forums > Android Development > ROM Development
ROM Development Dev lounge for our ROM developers.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old April 1st, 2012, 04:42 AM   #1 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2011
Location: Cupertino, CA
Posts: 167
 
Device(s): LG Spirit
Carrier: Ghetto POS

Thanks: 43
Thanked 30 Times in 23 Posts
Default Little help with boot.img repack...

I've been at this for days learning to unpack my boot.img,, now I'm trying to repack it and for some reason it always comes out too small, a little more than half the original. I'm using cygdrive on windows. I've got a samsung admire using the stock kernel. Judging from the size I'd say it isn't re adding the kernel but I'm not sure.. Any help is much appreciated

exile1975 is offline  
Reply With Quote
sponsored links
Old April 4th, 2012, 04:03 PM   #2 (permalink)
Senior Member
 
Join Date: Feb 2011
Posts: 2,924
 
Device(s):
Carrier: Not Provided

Thanks: 486
Thanked 1,868 Times in 1,300 Posts
Default

unpack it again .
if you have zimage and ramdisk then it was packed properly .

Usually stock ROM are/have boot.img dumps which are larger in size .
Dont be shocked if the packed kernel comes 50 p.c of size .
Tresezk is offline  
Reply With Quote
The Following User Says Thank You to Tresezk For This Useful Post:
exile1975 (April 8th, 2012)
Old April 8th, 2012, 02:18 AM   #3 (permalink)
Member
Thread Author (OP)
 
Join Date: Nov 2011
Location: Cupertino, CA
Posts: 167
 
Device(s): LG Spirit
Carrier: Ghetto POS

Thanks: 43
Thanked 30 Times in 23 Posts
Default

Its unpacking fine, and repacking fine, but when I mkbootfs it comes out half the size of the original. I'm using the correct page size and base. Next doing a usb linux install. F.ck windows

Edit:
Wait, are you saying to use it? That its normal?

Edit 2:
Holy crap. I was afraid to try because of the size difference, but it works. Thank you so much for taking the time to answer
exile1975 is offline  
Last edited by exile1975; April 8th, 2012 at 05:02 PM.
Reply With Quote
Old April 13th, 2012, 09:22 AM   #4 (permalink)
Senior Member
 
Join Date: Feb 2011
Posts: 2,924
 
Device(s):
Carrier: Not Provided

Thanks: 486
Thanked 1,868 Times in 1,300 Posts
Default

It's perfectly normal.
I have seen "10 MB" boot.img compressed to roughly 2-3 MB and they worked fine .
Tresezk is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > ROM Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:43 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.