Tema: [ TUTORIAL ] [DEV]Modificar rom LiveSuit
Ver Mensaje Individual
  #4  
Viejo 08/05/12, 00:33:18
Array

[xs_avatar]
ElHormiGa ElHormiGa no está en línea
Miembro del foro
ˇ Votos compra/venta: (9)
 
Fecha de registro: ene 2012
Localización: Palma de Mallorca
Mensajes: 269
Tu operador: Movistar

segundo post : extiendo.-

yo empecé leyendo este post , me dió las pautas de como se hacia ..

http://www.techknow.t0xic.nl/forum/i...p?topic=1679.0

it somewhere else and rename it to system.img. For the Aurora 4.03 firmware it is called RFSFAT16_SYSTEM_000000000.fex. Just search for the biggest file and you will find it.
5 - This file is using ext4 sparse file img. You won't be able to mount it immediately. You need to grab the ext4_utils and compile it and use a program called simg2img to transform it to a proper ext4 img. For windows users, just grab the python script that I posted and it should work properly. (it did here)
6 - Just mount the image and modify it. (Or just use Ext2Explore like me if you're in windows to have some fun)

-------------------------------------------------------------------------------------------------------------------------------------

ademas

http://andwise.net/?p=403

This is for all who wants to unpack and modify the original system.img that you can flash using recovery.
system.img (what you get from the google factory images for example) represents a sparsed ext4 loop mounted file system.
It is mounted into /system of your device. Note that this tutorial is for ext4 file system, you may have system image which is yaffs2 for example.
the way it is mounted on Galaxy Nexus:
“/dev/block/platform/omap/omap_hsmmc.0/by-name/system /system ext4 ro,relatime,barrier=1,data=ordered 0 0″
Prerequisites:

  1. Linux box or virtual machine
  2. simg2img, make_ext4fs binaries which can be downloaded from here http://andwise.net/?attachment_id=406
Procedure:

place you system.img and the 2 binaries in one directory, and make sure the binaries have exec permission.
Part 1 – mount the filesystem

  1. mkdir sys
  2. ./simg2img system.img sys.raw
  3. sudo mount -t ext4 -o loop sys.raw sys
Then you have all your system partition mouned in ‘sys’ and you can modify whatever you want in ‘sys’. For example de-odex apks and framework jars.
Part 2 – create a new flashable system image.

  1. sudo ./make_ext4fs -s -l 512M -a system new.img sys
  2. sudo umount sys
  3. rm -fr sys
Now you can simply type:
fastboot flash system new.img
enjoy

si no te manejas bien con el inglés , puedo traducirlo al castellano entendible (no del google) y yá está ! :P

saludos

Última edición por ElHormiGa Día 08/05/12 a las 00:46:09.
Responder Con Cita