Guest Flumpster Posted April 29, 2011 Report Posted April 29, 2011 (edited) I had a quick search and couldn't find anything so if I've missed the thread can someone just point me there instead. Basically I'm responsible for maintaining/upgrading about 9 San Frans and the TPT method would be the simplest way for me to do it. I would like to be able to take any rom and strip out certain apps and add others depending on the person it's going to and then make the system.img. Can anyone tell me how this is compressed please? I've looked at other TPT distros and I can't even extract their system.img. Sorry again if I've missed a thread with the info in. p.s. I'm not looking for how to add and remove files.. Just how the system.img works. Thx Edit.. I'm starting to do this regular, as soon as I hit post I sort of find the info I need.. It looks like I need unyaffs. Looking for windows version now. Edit2.. It appears I can get unyaffs for windows but not yaffs2 for recompiling. Could I make a nandroid of my phone when I have it first installed the way I want to distribute it and then just replace the system.img in the Gen1 to Gen2 TPT? Edited April 29, 2011 by Flumpster
Guest wbaw Posted April 29, 2011 Report Posted April 29, 2011 (edited) I had a quick search and couldn't find anything so if I've missed the thread can someone just point me there instead. Basically I'm responsible for maintaining/upgrading about 9 San Frans and the TPT method would be the simplest way for me to do it. I would like to be able to take any rom and strip out certain apps and add others depending on the person it's going to and then make the system.img. Can anyone tell me how this is compressed please? I've looked at other TPT distros and I can't even extract their system.img. Sorry again if I've missed a thread with the info in. p.s. I'm not looking for how to add and remove files.. Just how the system.img works. Thx Edit.. I'm starting to do this regular, as soon as I hit post I sort of find the info I need.. It looks like I need unyaffs. Looking for windows version now. Edit2.. It appears I can get unyaffs for windows but not yaffs2 for recompiling. Could I make a nandroid of my phone when I have it first installed the way I want to distribute it and then just replace the system.img in the Gen1 to Gen2 TPT? It's not compressed it's a yaffs2 filesystem image, you could use mkyaffs2image to create one, but it's a bit more complicated than that because all the file permissions need to be right. So the easiest way is to do a nandroid backup on your phone. You'll need to replace the system.img in the tpt with your nandroid backup & also the boot.img with the boot.img from your rom zip (it'll be a bit smaller than the nandroid backup version). Edited April 29, 2011 by wbaw
Guest Flumpster Posted April 29, 2011 Report Posted April 29, 2011 (edited) It's not compressed it's a yaffs2 filesystem image, you could use mkyaffs2image to create one, but it's a bit more complicated than that because all the file permissions need to be right. So the easiest way is to do a nandroid backup on your phone. You'll need to replace the system.img in the tpt with your nandroid backup & also the boot.img with the boot.img from your rom zip (it'll be a bit smaller than the nandroid backup version). Thanks very much for the info wbaw. I would be using the TPT structure that you created for the Gen1 to GEN2 full CM7 install. There is already a boot.img in there. Can i just leave that one alone and replace just the system.img from the nandroid backup or do I need the boot.img from the original rom? Thx once again. Edit.. I just read up on the boot.img and answered my own question. Cheers mate. Edited April 29, 2011 by Flumpster
Guest wbaw Posted April 29, 2011 Report Posted April 29, 2011 Thanks very much for the info wbaw. I would be using the TPT structure that you created for the Gen1 to GEN2 full CM7 install. There is already a boot.img in there. Can i just leave that one alone and replace just the system.img from the nandroid backup or do I need the boot.img from the original rom? Thx once again. You'll need the boot.img from your rom, they're different for each rom, either just extract it from the rom zip file or use your nandroid backup.
Guest Flumpster Posted April 29, 2011 Report Posted April 29, 2011 You'll need the boot.img from your rom, they're different for each rom, either just extract it from the rom zip file or use your nandroid backup. I was editing above as you posted.. I just found out exactly what the boot.img does and came to that conclusion.. Thanks very much for clearing things up for me
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now