Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images

OP necro_

10th May 2012, 12:49 AM   |  #1  
necro_'s Avatar
OP Junior Member
Flag London
Thanks Meter: 141
 
14 posts
Join Date:Joined: May 2012
More
I've created a GUI utility for reading, editing and creating YAFFS2 images that hopefully people will find useful. You can read Android system and data partitions and modify them how you like. Import and export files to and from the images. The tool is up on Google Code with source, written in Qt 4.8.1.

http://code.google.com/p/yaffey

Features
- Create new YAFFS2 image
- Open existing image
- Export files/directories from image
- Import files into image (permissions inherited from parent directory, dates created/modified/accessed set to current date & time)
- Delete files
- Edit filenames
- Edit permissions
- Edit user and group ids
- Edit symbolic link aliases
- ECC (Error Checking & Correction) support

New in v0.2
Added import dialog to choose to import file(s) or a directory
Added support to import multiple files
Added support to import 1 directory at a time (using dialog)
Added drag & drop importing (which supports multiple directories & files!)
Added support to delete more than one item at a time
Added summary dialog after saving an image
Added text below icons in toolbar at the request of varun.chitre15!



I've been using it to modify the stock system image for my Xperia Play. You can easily add/remove APKs etc. It's a nice alternative to the unyaffs/mkyaffs command line tools.

It has limitations but am happy to extend the functionailty if it's found to be useful...
Last edited by necro_; 24th May 2012 at 12:06 AM. Reason: Added v0.2 info, screenshot and links
The Following 124 Users Say Thank You to necro_ For This Useful Post: [ View ]
10th May 2012, 12:10 PM   |  #2  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Flag Sangli
Thanks Meter: 12,266
 
2,949 posts
Join Date:Joined: Oct 2011
More
Wow!!
Was looking for this since ages
Thanks a lot
This is indeed useful

Burned from my laser torch using pencil cells
The Following 2 Users Say Thank You to varun.chitre15 For This Useful Post: [ View ]
11th May 2012, 02:45 PM   |  #3  
necro_'s Avatar
OP Junior Member
Flag London
Thanks Meter: 141
 
14 posts
Join Date:Joined: May 2012
More
Hi varun, that's good news. Spread the word! I've been wanting to reply to some threads about YAFFS images and tools etc but can't post in most forums yet... Need to spend some time on here to get my post count up I guess.

I'm planning on adding more features to the app like adding su, superuser.apk & busybox with a few clicks for easy rooting and a GUI for fastboot for easy flashing to make the whole image editing and rooting process as easy as possible.
The Following 4 Users Say Thank You to necro_ For This Useful Post: [ View ]
11th May 2012, 04:26 PM   |  #4  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Flag Sangli
Thanks Meter: 12,266
 
2,949 posts
Join Date:Joined: Oct 2011
More
Great!!!
Can u add a feature to make images directly from a flashable zip?
Thanks!!

Burned from my laser torch using pencil cells
12th May 2012, 05:11 PM   |  #5  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Flag Sangli
Thanks Meter: 12,266
 
2,949 posts
Join Date:Joined: Oct 2011
More
Here is the suggestion list
1. Add support for adding multiple files at once while creating image file
2. Add support to add folders inside image fle
3. Add Drag and drop if possible
4. In the tool bar of the tool, can u add the text below the icons as it is somewhat difficult to identify which option does what and to see its function I had to move mouse over the buttons
5. Add support for EXT2, EXT4 images too
Your tool is very great
14th May 2012, 01:11 AM   |  #6  
necro_'s Avatar
OP Junior Member
Flag London
Thanks Meter: 141
 
14 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by varun.chitre15

Here is the suggestion list
1. Add support for adding multiple files at once while creating image file
2. Add support to add folders inside image fle
3. Add Drag and drop if possible
4. In the tool bar of the tool, can u add the text below the icons as it is somewhat difficult to identify which option does what and to see its function I had to move mouse over the buttons
5. Add support for EXT2, EXT4 images too
Your tool is very great

Never thought about converting a zip to YAFFS2 image, that's a good idea.
On your suggestion list:
1, 2 & 3 are definites and will do those next.
4. I could add the text to the toolbar but will look ugly so not sure about that one yet. :P
5... maybe one day
The Following 3 Users Say Thank You to necro_ For This Useful Post: [ View ]
14th May 2012, 01:21 AM   |  #7  
kangkong!'s Avatar
Senior Member
Thanks Meter: 135
 
133 posts
Join Date:Joined: May 2012
Donate to Me
Linux version would be cool
14th May 2012, 01:40 AM   |  #8  
necro_'s Avatar
OP Junior Member
Flag London
Thanks Meter: 141
 
14 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by kangkong!

Linux version would be cool

I have built the code and got a Linux version working. When I put up the next update I'll include a Linux build!
The Following User Says Thank You to necro_ For This Useful Post: [ View ]
20th May 2012, 12:08 AM   |  #9  
TheUnkn0wn's Avatar
Senior Member
Thanks Meter: 881
 
251 posts
Join Date:Joined: Nov 2011
Cant find it on Google Code.
20th May 2012, 02:21 PM   |  #10  
varun.chitre15's Avatar
Recognized Contributor / Recognized Developer
Flag Sangli
Thanks Meter: 12,266
 
2,949 posts
Join Date:Joined: Oct 2011
More
Yaffey now on XDA Portal
http://www.xda-developers.com/androi...-yaffs2-needs/


Congo necro_!!!
Waiting eagerly for next update!

Burned from my laser torch using pencil cells

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes