Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Neotelos_com
Old
#1  
Senior Member - OP
Thanks Meter 60
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Default Editing system.img/YAFFS2 (custom ROM creation)

Basically I just want a stock ROM base with the sprint crap taken out and unrevoked added in with some other app mods.

I've grabbed all the sources for YAFFS2/yaffs2Utils and compiled them using cygwin.

Now when I go to extract the system.img all I get is a fonts folder.

I'm setting up a virtual linux machine to try to mount the image instead, but in the meantime anyone care to assist me?
 
stroths
Old
#2  
stroths's Avatar
Senior Member
Thanks Meter 5
Posts: 235
Join Date: Dec 2006
Default Re: Editing system.img/YAFFS2 (custom ROM creation)

Do a search for android basic kitchen .53. Made myself a custom rom off the .6 release

Sent from my Evo 4g using Tapatalk
Treo 600-> Treo 650->Treo 700p-> Treo 700wx-> Mogul-> Touch Pro-> Touch Pro 2-> Evo 4G-> Evo 3D-> Galaxy S2-> Galaxy Nexus
 
Neotelos_com
Old
#3  
Senior Member - OP
Thanks Meter 60
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by stroths View Post
Do a search for android basic kitchen .53. Made myself a custom rom off the .6 release

Sent from my Evo 4g using Tapatalk
Awesome!!!
Since you claim it works, I'll take your word for it and say I can't thank you enough!

(even if it doesn't do what I need, it should one step forward nonetheless)
 
Neotelos_com
Old
#4  
Senior Member - OP
Thanks Meter 60
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by Neotelos_com View Post
Awesome!!!
Since you claim it works, I'll take your word for it and say I can't thank you enough!

(even if it doesn't do what I need, it should one step forward nonetheless)
It seems to be worthless for EVO, only generates update files...I can't even use it to extract the filesystem from system.img
 
joeykrim
Old
#5  
Recognized Developer
Thanks Meter 1080
Posts: 1,852
Join Date: Jan 2009
my experience has been working with rfs and not yaffs2 so far.
i think you'll be needing yaffs2 tools, like unyaffs2, etc.

i googled, android system.img mount. seems like a great place to start:
http://wiki.xda-developers.com/index...0Customization

let us know what works or doesnt work?
 
stroths
Old
#6  
stroths's Avatar
Senior Member
Thanks Meter 5
Posts: 235
Join Date: Dec 2006
Default Re: Editing system.img/YAFFS2 (custom ROM creation)

If you are rooted with toast, you can flash the custom roms made with that kitchen. you can add or remove apk files before recompiling to the update zip format. I am typing this from my customized rom I made with that kitchen. The kitchen can root the rom for you, add apps2sd (havent tested that) and add wifi tether. I mainly went this routw as io wanted a rooted .6 rom to use after rooting with the Toast method. I am an Android newbie but managed to do this

Sent from my Evo 4g using Tapatalk
Treo 600-> Treo 650->Treo 700p-> Treo 700wx-> Mogul-> Touch Pro-> Touch Pro 2-> Evo 4G-> Evo 3D-> Galaxy S2-> Galaxy Nexus
 
Neotelos_com
Old
#7  
Senior Member - OP
Thanks Meter 60
Posts: 317
Join Date: Jul 2008
Location: Seattle

 
DONATE TO ME
Quote:
Originally Posted by joeykrim View Post
i googled, android system.img mount. seems like a great place to start:
http://wiki.xda-developers.com/index...0Customization

let us know what works or doesnt work?
Awesome, I figured I would need linux (why I installed it)

Quote:
Originally Posted by stroths View Post
If you are rooted with toast, you can flash the custom roms made with that kitchen. you can add or remove apk files before recompiling to the update zip format.
I already said it's useless and I said why, it generates update files...
I need to actually extract/mount the original system, that is precisely what the thread title is about.
 
mytharak
Old
(Last edited by mytharak; 9th June 2010 at 01:54 AM.)
#8  
Member
Thanks Meter 0
Posts: 60
Join Date: Dec 2009
Location: Boise
From the command line you can create a system dump using the following command

tar -cvf /sdcard/system.tgz /system

assuming both /sdcard and /system are mounted. you may have to use "busybox tar" instead.

You can run it from recovery mode.

To mount the filesystems while in adb shell use

"mount /dev/block/mtdblock4 /system" to mount system

and

"mount /dev/block/mmcblk0p1 /sdcard" to mount sdcard

if needed


As for making an update.zip you can take an existing one and replace the system directory inside it with your own custom one. Rezip it, no need to resign it for the EVO recovery, and flash away. Oh, and you'll have to delete any symlinks from the /system/bin directory inside the zip before flashing.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Side-Swiping Multitasking with Kakudo

Recovering iPad users may still remember the multitasking function where you can swipe left or right to … more

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more