Saturday, 23 April 2016

How to unpack&repack boot and edit boot class path

Materials and equipment needed :
  1. Pc
  2. Java jdk  had been installed on pc, if you didn't have yet Visit This
  3. Android Image Kitchen, Click Here
 Information :
  1. AIK = Android image kitchen 
  2. B = boot.img base
  3. P = boot. img PORT 
Step :
  • unpack boot.img port
  • unpack boot.img base
  • edit boot class path
  • repack
Let's begin ^_^

First, Extract AIK, now you find :
  • unpackimg,
  • repackimg,
  • cleanup 
1. Unpack boot.img port 
  • Take P then to AIK folder 
  • Go to the folder AIK 
  • Drag P to unpackimg
  • Cmd same will be out there ramdisk folder & split_img
  • Create folders within folders AIK called " ports ", ramdisk & split_img move the folder to folder " port " just now you make
2. Unpack boot.img base
  • Grab and move to folder AIK
  • Go to the folder AIK
  • Drag B to unpackimg
  • Cmd same will be out there ramdisk folder & split_img
3. Edit bootclasspath

we replace bootclasspathnya to kitkat each jelly bean difference here , if it is already separated kitkat bootclashpath same " init.rc " he makes a new file name " init.environ.rc " jellybean boot class path if it is still in init.rc.

For kitkat
Go to the folder port / ramdisk copy init.environ.rc
"Paste " in the folder in its base ramdisk

For jellybean
Since fused together init.rc we open init.rc base & init.rc port with notepad ++
Open init.rc find export port bootclasspath blah blah blah until the end copy open init.rc base
Bootclasspath export search again until the end 
Remove the dressing keeps the same port ( paste )



4. Repack 
Double-click repackimg and later you will find file with the image name - new.img, image- new.img is boot.img result, move it to your rom folder and rename it the same boot.img

Finished ^_^

Credit :


P.A.S

Source : https://www.facebook.com/notes/smartfren-andromax-c2-new-ad688g/cara-bongkar-bootimg-dan-edit-boot-class-path/1000376666695122











No comments:

Post a Comment

About Us

Recent

Random