ResurrectionRemix / android_build

83 stars 152 forks source link

Add SPCON tool which lets you not to compile Sprout8 ROM #7

Closed saikrishna279 closed 8 years ago

saikrishna279 commented 8 years ago

This tools lets you make Sprout8 ROM instead converts the Sprout4 ROM to Sprout8 ROM which lets you not to waste time on Sprout8 builds...

Commands: spcon cleansp

akhilnarang commented 8 years ago

Just flash a sprout8 boot.img, no need of all this :v @Bun-Bun69 anyway has no issue with compiling both.

Shreeesha commented 8 years ago

Well, no issue making builds for two variants

saikrishna279 commented 8 years ago

But, different ROM's use diferent boot.img, so an universal boot.img wont work Akhil

akhilnarang commented 8 years ago

@saikrishna279 which roms use a different one

saikrishna279 commented 8 years ago

@akhilnarang For example, AICP has a rc file called init.aicp.rc, tesla has init.tesla.rc and they change by ROM, just copying a single boot.img will give you boot loop and I've tried that.

akhilnarang commented 8 years ago

Make an anykernel zip to swap out just teh needed parts of teh ramdisk then

saikrishna279 commented 8 years ago

I would if i could execute a pearl script on recovery! XD

akhilnarang commented 8 years ago

why do you need pearl :| take thunderzap zip just change the replacing zImage part to replace init and fstab instead

saikrishna279 commented 8 years ago

Wut wut wut wut wut wut wut!!!! boot.img has two parts when you extract it--- 1)zImage 2)ramdisk.gz The init.sprout.rc and fstab.sprout are in ramsdik.gz and you have to extract it for conversion prupose... You cannot extract it on recovery like a zip, AND THAT'S WHY THE PEARL SCRIPT IS FOR! You also need the alloc size for recompression which is what you cant do in a Recovery...

akhilnarang commented 8 years ago

Ohk The boot.img extractor I used directly unpacked the whole boot.img On May 5, 2016 4:31 PM, "abinsur279" notifications@github.com wrote:

Wut wut wut wut wut wut wut!!!! boot.img has two parts when you extract it--- 1)zImage 2)ramdisk.gz The init.sprout.rc and fstab.sprout are in ramsdik.gz and you have to extract it for conversion prupose... You cannot extract it on recovery like a zip, AND THAT'S WHY THE PEARL SCRIPT IS FOR! You also need the alloc size for recompression which is what you cant do in a Recovery...

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ResurrectionRemix/android_build/pull/7#issuecomment-217125422

saikrishna279 commented 8 years ago

In recovery?

akhilnarang commented 8 years ago

Nop Cmd On May 5, 2016 4:36 PM, "abinsur279" notifications@github.com wrote:

In recovery?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/ResurrectionRemix/android_build/pull/7#issuecomment-217126034

saikrishna279 commented 8 years ago

Well, that's what it is for, you directly convert it instead of CMD or another build