:(Īt one point I did mean to get round to it, but I've always had other things that need to be done first, unfortunately.Īt the moment, I don't plan to or have time to write some proper documentation, but in itself, the GUI should (hopefully!) be fairly simple to use: at various points, it offers advice if needed to try and help you get started, and help you avoid problems. You should probably read the blog entry I made about hacking the Nexus7 image as it covers most of this and the script it references may be useful.Sorry, at the moment there are no tutorials or help pages. Once you've unpacked it and hacked it, you rebuild it using make_ext4fs. Mount: sudo mount -o loop rootfs.ext4 tmpmnt/ You can download it as part of ext4_utils which I have posted on here for when I used it on the Nexus7 images. It's a sparse filesystem, I think you'll need to unsparsify it first using simg2img. 40 = sizeof(struct sparse_header) + sizeof(struct chunk_header) this maybe ext4 sparse image blkid -pO 40 system.img After Android 2.3, the file system became ext4.įrom 1. When I tried it, the resulting image booted successfully in the Android emulator.Īndroid originally used YAFFS2 as the file system. Open your image, make your desired changes, and save (it refuses to overwrite you have to select a different filename).In the file yaffey/yaffs2/yaffs_guts.h, change the line typedef unsigned loff_t Install dependencies: sudo apt-get install qt-sdk.While the home page says it's Windows-only, with a trivial change it compiles on Ubuntu Precise. I found a program, Yaffey, that lets you edit a YAFFS2 image using a GUI: Theoretically you can also rebuild the image using mkyaffs2, but I couldn't get it to work (the result wasn't bootable). yaffs2utils/unyaffs2 -yaffs-ecclayout system.img tempdir So to extract, try something like git clone Note that due to a bug, you must specify the -yaffs-ecclayout option or it will silently fail. Extract and rebuildĪlternatively, try using yaffs2utils to extract and rebuild the image. The Ubuntu wiki also has general information on compiling your own kernel. The YAFFS website has instructions for compiling a Linux kernel with YAFFS support (using Precise 32-bit): Thus, currently, if you need mount support you will have to compile it yourself. There is a feature request to package the YAFFS2 kernel module, which would provide mount support for the filesystem: yaffs2. Ubuntu currently does not support YAFFS2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |