[Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images - Android Software/Hacking General [Developers Only]

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!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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...

Wow!!
Was looking for this since ages
Thanks a lot
This is indeed useful
Burned from my laser torch using pencil cells

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.

Great!!!
Can u add a feature to make images directly from a flashable zip?
Thanks!!
Burned from my laser torch using pencil cells

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

varun.chitre15 said:
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
Click to expand...
Click to collapse
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.
5... maybe one day

Linux version would be cool

kangkong! said:
Linux version would be cool
Click to expand...
Click to collapse
I have built the code and got a Linux version working. When I put up the next update I'll include a Linux build!

Cant find it on Google Code.

Yaffey now on XDA Portal
http://www.xda-developers.com/android/yaffey-for-all-your-yaffs2-needs/
Congo necro_!!!
Waiting eagerly for next update!
Burned from my laser torch using pencil cells

Thanks a lot!
Helped me retrieve some files from a nandroid backup I just couldn't open.

Thankyou so much! Much needed this is

Really great work, mate!!! I hope we also can use this for our Razr. What about the signature? If you rebuild an image with your tool, will the signature persist or does this only work on phones with unlocked bootloader?

dtrail1 said:
Really great work, mate!!! I hope we also can use this for our Razr. What about the signature? If you rebuild an image with your tool, will the signature persist or does this only work on phones with unlocked bootloader?
Click to expand...
Click to collapse
It's not working to me. Any hints?
Thanks man, nice work!

SWEET!!! That'll help me pick apart the ota for WP7. Thanks, you just made my day a lot easier.

jaywillsoul said:
SWEET!!! That'll help me pick apart the ota for WP7. Thanks, you just made my day a lot easier.
Click to expand...
Click to collapse
I haven't tested it with any Windows based images. The dates created, accessed and modified are stored differently and the user and groups IDs aren't used. The app currently doesn't handle this. This won't affect exporting data from the image but if you're adding files then when the image is used the dates will be very wrong.
I'd be interested to know what you're experience of using it with Windows images is like!

dtrail1 said:
Really great work, mate!!! I hope we also can use this for our Razr. What about the signature? If you rebuild an image with your tool, will the signature persist or does this only work on phones with unlocked bootloader?
Click to expand...
Click to collapse
I'm not sure what signature you're referring to. If it's similar to Sony Ericsson's .sin files that contain extra data at the start of the file before the YAFFS2 image then currently the tool doesn't handle this, only pure YAFFS2 images.

Here's the link http://code.google.com/p/yaffey/

Very nice.
Having the ability to sort the displayed results would be useful.

Good work, thanks

Related

[Tool] Yaffs Explorer, made for Defy

Its a free Root Explorer without Ads and without network use.
When busybox and root modes are enabled, you can make dumps of your nand partitions and export Kernel and initramfs (Menu/Tools)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://market.android.com/details?id=fr.wdscript.yaffsexplorer
You can report here bug and feature requests...
Example : Dump and Rename The /cdrom partition (p17)
change dump file ext from .raw to .iso and you get your Windows drivers (MotoHelper 2.0.44 Driver 4.9.0 - 27 Jan 2011)
Version 1.9.9.8 attached
Awesome thanks, will def check this out.
useful tool
How can i dump the roofs?
can i restore it after backup?
Thank you.
This tool execute this command :
dd if=/dev/block/<partition> of=/sdcard/<partition>.raw ibs=8192 obs=8192 conv=notrunc
So you can do the reverse command (not in the tool because dangerous)
Update v1.1 : You can create yaffs images now
Epsylon3 said:
This tool execute this command :
dd if=/dev/block/<partition> of=/sdcard/<partition>.raw ibs=8192 obs=8192 conv=notrunc
So you can do the reverse command (not in the tool because dangerous)
Click to expand...
Click to collapse
Do you know, how to dump and remount the rootfs?
Thank you.
in fact, i dont know... rootfs is mounted before android (initrd on some devices)
Epsylon3 said:
in fact, i dont know... rootfs is mounted before android (initrd on some devices)
Click to expand...
Click to collapse
Ok, thank you.
Ok, been using this for a while now; couple suggestions.
1. Copy feature needs to work more like Root Explorer.
---- So when you long-press and copy a file, two buttons popup, Paste and Cancel - Maybe you could even add a third to paste quickly to a favourites folder without leaving working directory ?
2. Be able to change text size of file browser. I have big fingers heh.
3. Have a Mount/Unmount button similar to the Mount R/W in Root Explorer.
--- I find I cant copy anything to anywhere, am I just missing something ?
4. Select multiple files, and copy, delete, zip, move . . . . . to favourites ?
5. Compress files or folders and save zip to a saved favourites without leaving working directory.
6. Load apk icons maybe; easier to find things sometimes.
7. Show favourites picker on program startup. I'm always working in the same directories.
A built in text editor with line numbers would be awesome. Maybe an sqlite editor addon too ?
I like what this looks like so far; I really like that you can see symlinks, the dropdown with recent paths, nandroid dumps of any partitions (nice), and the favorites are cool. Just hoping it can take over for root explorer.
Keep up the great work so far. Will be keeping on eye on this for sure.
Thanks for your report
First, i dont want to copy Root Explorer or all these slow and "3 lines" explorers... So no image/movies preview... This tool is focused on system files exploration
Apk icons maybe but not in my prority (filter by name is nice), line size : not for the moment (maybe a zoom or something later)
The multiselect on click is almost ready (for files), to keep folder navigation
the Mount/Unmount will be in tools menu later (in mounted devices menu) i need to make a new window for that... but that need work (and could make lot of reports from unknown devices, like chinese ones)
Compression.... yea hmm v2.0
Hm. I tried this, but it is a lot slower than Root Explorer. Perhaps this is because it shows a lot more objects, or due to it having a lot of features I do not directly associate with a program to manage files. Still, I can not say that having more competition is a bad thing, so keep up the good work
its because the tool use a terminal process to list folders, and a new one on each refresh... I think i can optimize that if i keep the shell process opened.
but Root enabled, its 5x slower (220ms instead of 40ms)... i think there could be a problem with superuser tool, will try to uninstall it to check...
johnw.xda said:
Do you know, how to dump and remount the rootfs?
Thank you.
Click to expand...
Click to collapse
to remount In fact like others :
Code:
mount -o rw,remount,relatime -t rootfs rootfs /
This feature will be available in some minutes (v1.3.0)
But to dump... you need to skip /proc /tmp and /sys
Hi.
I´m using your app in a Samsung galaxy S.
I lost one file and I want to recover it from a CWM backup.
Your app lets me read the backup, but I cant save the needed file ...
Is there a possibility to extract it from the backup?
Thanks in advance
Its the next step yaffs extraction...
sorry, not for the moment (but soon)
just made an update v1.3.2 which really enhance exploration speed...
I hope you release it soon
Thanks
I can't Dump Partition. A circular thing shows up then it disapear and no text saying records in+out and that it finished (like in the screenshot). And there is no file on my SD card and yes I have plenty of space.
Tried several of the small 512k partitions and the Boot and Recovery partitions.
I'm running rooted froyo 3.4.2-155, few bloat APK's removed.
this feature uses busybox "dd" applet, try to set another busybox in setting window
you can search for them in other apps, do a search in /data/data/
Namiga said:
Hi.
I´m using your app in a Samsung galaxy S.
I lost one file and I want to recover it from a CWM backup.
Your app lets me read the backup, but I cant save the needed file ...
Is there a possibility to extract it from the backup?
Thanks in advance
Click to expand...
Click to collapse
Done... in v1.5.0 Single file or Folder for the moment... (file/folder context menu)
full extraction will be possible in next version... not linked

[WINDOWS][TOOL]Android ICS JB EXT4 ImageFile Unpacker!!!

Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!​
UNPACK folders to any place in Windows:​
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."​
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.​
DOWNLOAD HERE​​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...​
Android RFS Unpacker
HERE IS ANOTHER TOOL FROM THE SAME PERSON:
HERE
THE ANDROID RFS UNPACKER
Nice find.
Ta,
Alqi
Sent from my SCH-I535 using xda app-developers app
Nice find! Hopefully, this can help some of the Devs on here that know what they are looking at.
Sent from my SCH-I535 using xda premium
It really helps me out a lot if I am stuck in Windows and don't feel like firing up my Ubuntu Machine or having to start VMware. I mainly use it for the Odin dumps I pull off my extSdCard (if I am already in Windoze...
Sent from my SCH-I535 using Tapatalk 2
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
MinnesotaVikings1961 said:
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
Click to expand...
Click to collapse
Me too.
I can See the files, But cannot do anything else
h311sdr0id said:
Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!​
UNPACK folders to any place in Windows:​
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."​
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.​
DOWNLOAD HERE​​
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...​
Click to expand...
Click to collapse
I can view the files inside the folder. But cannot do anything. It is shown in a dialogue window. When open it says, unknown file. Can anyone help to extract an apk from the list??
Thanks! Works great.
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
sudhindrakv said:
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
Click to expand...
Click to collapse
i get unknown file formay when i try to open a system.img file. or pretty much any file .it seems
I downloaded the ext4 unapcker v. 16.10.2013 (R2) archive.
The file inside are quite old (April and August 2013) and didn't include latest changes (italian translation and tips for translation).
Please update the files in the distriibution archive.
Could add simple text file for documentation
*** README.TXT
- Info about command line parameters
- How to change GUi language
- How to create a new language
*** CHANGELOG.TXT
- Small info about changelog in different releases
If I can help you I can post a sample for two files.
Hi.
There some serious bugs in this util.
1. Didn't extract all files (compared with other similar utils)
I checked that utils didn't extract all files (compared with other utils).
I made a comparison between the file/folders extracted from saprse file iamge (ex. Android systm.img of some smartphones) by this util and Total commander Diskinternal Total Commander Plugin)
EXT4 unapcker extract a lot of file less than Total Comamnder with DiskInternal plugin (about 300 Mb elss).
2. File extracted dind't maintain original date/time
Opening a system.img file and extracting the files inside, the extracted files/folders have today date/time instead original date/time.
Please mantain original date/time for the file extracted.
3. Comamnd line use - it crashed
Using command line for EXT4 unpacker it crashed
The error is
Extracting \system\xbin\Base64
Exception EListError in module ext4_unpacker.exe at 00019E8A
List index out of bounds (0).
Is it a really living project?
No one answer.
The autho din't reply since first day of novembrer.
There are some critical issues.
The file into sourceforge repository are wrong.
Very interesting project but (probably) dead.
The idea is good, but..
From time to time i need to unpack system images for android. It happens. the latest models have HUGE images ~2Gb+
But unfortunately, the program designed to load data to RAM, wich makes problems for 32 bit applications to work with huge images.
Actully, EXT4 partitions may be unpacked in many ways (WinHex can do it easy), but we have here some-kind of compressed images wich have to be uncompressed before we can read it with any 3rd party tool.
According to the SF sources i made a small tool for this purpose.May be it will help to someone
BR
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Should be possible to make a similar command to extract all ffles/folder by system.img?
Or should be possible to use unyaffs command?
Thanks.
I believe that we can close this thread!
The program was very interesting but had some bug and from November the author didn't replay on Sourceforge.
Thanks.
bovirus said:
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Thanks.
Click to expand...
Click to collapse
Hi, source is attached, so its very easy to modify.
Updated the download URL with these fixes.
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
bovirus said:
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
Click to expand...
Click to collapse
Just open zip and you will see (delphi).

[TOOL][BETA][LINUX][AROMA][v1.6]Flash-Font - A Font installation creator!

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ever tried to completely customize your droid? Where comes customizing, there comes fonts. "Most" of the users change their fonts using android applications such as FontChanger or so...
This tool will help you make flashable zips for those fonts. So, you can just drag them into your SD Card, and keep them there like, forever. You don't need any, nor do you need to pay anything to download those apps which will help you "change" the fonts. All you need is 4 *.ttf files, for the four styles of a font. If you do, you're ready to go!
What's NEW!!! Its AROMA! Flash-Font now automatically creates an AROMA included flashable zip for your fonts!
Also, you now have the possibility of naming your font installation package!
Features:
Aroma Installer
update-binary from your own ROM. [Accomplished]
More efficient cleaning method for the /fonts folder. [Accomplished by adding a place_holder]
Automated Renaming [Sort of accomplished]
Expected Changelog:
GUI interface.
Reverting to stock fonts
Defined Fonts (example: normal.ttf, bold.ttf, bolditalic.ttf, clock.ttf, etc...)
Your requests
Code:
#include
/*
* You are on your own.
*
* I am not responsible for any sort of damage to your
* phone/computer, as a result of usage of this tool.
*
*/
Do not pass this off as your work! Give appropriate credits even if you make modifications to the script.
Click to expand...
Click to collapse
This is to simplyfy the work of making a flashable fonts zip for a ROM. I have noticed that there are many apps, which do the same thing, but, sometimes, they don't work. Using this simple tool, you can make a flashable zip for your fonts. Also, this contains the fonts from CM10, so, it will NOT cause problems with previous versions of CM. AOKP has the same fonts too, so it wouldn't be a problem. Doubtful about PAC, and PA.
Note:
This will work only on Custom ROMs like CM, AOKP, etc. Have tried on CM, MiniCM, AOKP... Haven't tried on other ROMs... But, as long as the names of the fonts are same/similar, it is bound to work. Also note that, This method uses "symlinking" of fonts, so that you get some extra free space in your /system folder. As only four styles (Regular, Bold, BoldItalic, Italic) are used almost universally, one has to just have all these four font styles of a font. Also note that only *.ttf type fonts work with Android, so... And, talking of symlinks... You will get two files in the output_zip folder, namely, fonts_system.zip and fonts_data.zip. "fonts_system.zip" extracts the fonts, as-is, to the /system folder, whereas, "fonts_data.zip" clears the fonts in /system/fonts, creates a folder named "fonts" in the /data partition, extracts the fonts to the /data partition, and symlinks those to the /system/fonts folder. Thus, if you are running short of space on your /system partition, and don't think you will have enough space to flash the fonts, you can use the fonts_data.zip.
Requirements: You need 4 font styles of a single font for this, namely:
1. *font_name*.ttf (Regular)
2. *font_name*-Bold.ttf (Bold)
3. *font_name*-BoldItalic.ttf (BoldItalic)
4. *font_name*-Italic.ttf (Italic)
Instructions:
Place the four *font_name* files into orig_update/. Rename them into:
Code:
normal.ttf
bold.ttf
bolditalic.ttf
italic.ttf
At times, you may have only one *.ttf file. In such a case, just make four copies of it, and name each copy as "normal.ttf", "bold.ttf" etc.
Now, run the following commands.
First,
Code:
cd mkfontzip
Then,
Code:
chmod +x ./mkfontzip.sh
Now, to start making the flashable zip:
Code:
./mkfontzip.sh
How to use:
First, you will need to decide which partition to use, to install the fonts. If you have less space in the /system partition, and, feel that the fonts are too big to fit into the /system partition, then, you need to flash the "font_data.zip".
If you feel you have enough space in your /system partition required to flash the fonts, then, you can gladly flash the "font_system.zip" file.
NOTE: If you are having any "int2ext" script installed, then, please flash the font_sd-ext.zip! You can even flash font_sd-ext.zip, if you have reversed mount enabled in Mounts2SD. Not tested with S2E.
One way to find out whether you have enough space in your /system partition:
FreeSpace: https://play.google.com/store/apps/details?id=ru.krikun.freespace
Click to expand...
Click to collapse
If you want to use this tool for any other device, then, please replace the update-binary in stock_files/update-binary/ folder with a working update-binary of your device.
Credits
@amarullz (For his awesome AROMA installer!)
Me and my computer :silly:
Downloads in next post :silly:
Downloads
Downloads:
NOTE: Users who have memory increasing scripts installed.... You can flash this addon ONLY IF:
You have int2ext or int2ext+ script installed.
You have Mounts2SD with "Reversed Mount" enabled.
mkfont.zip(version 1.6) (7.5MB): http://github.com/vineethraj49/flashfont
Click to expand...
Click to collapse
Do a "git clone". This version generates the font_sd-ext.zip
mkfont.zip(version 1.5) (6MB): http://www.mediafire.com/?dfbz8d4l04tyg5j
Click to expand...
Click to collapse
Github: https://github.com/vineethraj49/flashfont
Click to expand...
Click to collapse
Reserved
For later updates, or, if I want to add anything I forgot
Hi, thread moved...
This was first in the Android "General" section, but then, I thought that it would be better to have it in our section
P.S. Expect Automated Renaming arriving soon...
Some changes will be made in the method of making the zip
Working on Aroma installer!
And, obtained permission from @amarullz too :silly:
amarullz said:
vineethraj49 said:
Hi,
I am making a tool Flash-Font-A font installation creator! (http://forum.xda-developers.com/showthread.php?t=2255045) and am planning to add aroma installer to it... Do I have your permission to do so?
Appropriate credits will be given, because, I don't like "stealing" other people's works
Click to expand...
Click to collapse
Dont need any permission it was a honor for me if someone use my works
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse

[Multitool][WINDOWS] ROMTools v3 *exclusive*

Hi guys,
Here is third version of my ROM Tools PC Version (Automatic decompile classes.dex file to edit smali content) exclusively for Galaxy Y and Galaxy Ace I
Why it is here now? Because it may be the case that this version only works on Gingerbread, or only on Galaxy Devices or maybe only on Ace and Y. So, I decided to release it here first.
Totally tested for every feature and bug free, it is now loaded with new awesome features.
Screenshot:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog :
Code:
Version 3
8 May 2013
-Added many new features
-Option to reboot
-Option to recovery
-Option to Hot Reboot
-Option to view and save logcat with nice integration of verbose and long command
-Option to fix permissions
-Option to RESET PASSWORD of pattern lock or passwork or pin
-Added a small Easter egg
Version 2
18 April 2013
- Changed it from a script to multi tool
- Added folders for convenience
- Made eye candy
- Made it noob proof
- It's like changing Baichung Bhutiya to Lionel Messi
Version 1
- Just one smali.bat file and one baksmali.bat file with one one line each of commands to Baksmaling and Smaling (duh!)
PHP:
I am not responsible for your device being dead,
you flashing stock ROM,
you using your device as a brick,
or the decrease in love of your Girlfriend because you use your mobile so much
What does it do?
As you are aware, there are smali files in jar files and apks you need to edit for adding 4-way boot into power menu, extending Power options, changing clock colour, adding CRT effect, changing the pop up that comes up when you touch the easter egg image, adding brightness slidebar, adding lidroid toggles, etc and so manyyyy things
In order to edit them, you need to decompile apk and classes.dex
It is not a problem in editing smali files of apk as they are decompiled itself by APK-Multitool(I use it)
But, it does not work for jar files
I know that there is smali.jar and baksmali.jar for it but I don't like repeatedly commading same operations when I can do it with one click
This program decompiles and recompiles classes.dex from any jar or apk in one click(very useful when you only need to decompile dex file only)
However, it's main objective is to recompile and decompile classes.dex only, but I added few more option to make it really a full fledged ROM Tool
Expect a few more features in upcoming releases
Pre-Requisites:-
*PC
*My Tool
*Java JDK(or JRE) (If you are running Windows 7 64 bit, you may need to add Java in environment variable)
*7-Zip (For in zip operations[pull out classes.dex])
*classes.dex file(on which you will operate)
*Android Phone to be connected to PC with USB Debugging on to use features other than decompiling and recompiling
Guide:-
Main Options
1. Download my Tool.
2. Extract it in any folder.
3. Place classes.dex in the input folder. DO NOT RENAME IT.
4. Run script.bat. Choose Option 1, Decompile classes.dex . In a few seconds, there will be a prompt that it is "Done. Press anykey to continue" (Note:- If you have UAC [User Account Control] on, you may run it as administrator or it might not be able to create folder if you have extracted it in System Drive)
5. Go to decompiled folder. There will BE classout folder. Make any changes in smali in classout folder(ALWAYS USE NOTEPAD++). DO NOT RENAME CLASSOUT FOLDER.
6. Again open script.bat if you had closed it or if not, then return to the window.
7. Choose 2 option "Compile classes.dex" . A new classes.dex will be formed in output folder.
8. Enjoy
Note:- Once you change things in classout folder, and you decompile another classes.dex, previous version in decompiled folder will be deleted. So if you want backup of it, move it somewhere else
Same thing will happen to classes.dex on output folder when you compile another one.
Other options
1. Connect you phone to PC with USB Debugging on and not on USB Tethering. Make sure you aren't using adb before using the tool. If so, Go to Alt+Ctrl+Del and to Task Manager and close adb.exe process
2. Choose the option what you want.
a) Logcat, either view or save it
If you view it, a window will appear with logcat in it. If you are done, just close that window
If you save it, it will be saved in the same folder where Script.bat is present. To stop saving it, Press Ctrl+C and type Y and press Enter
b) Reboot, may take some time in rebboting and rebooting in recovery.
c) Fix permissions and Reset password
3. Try to find Easter Egg
Download:-
ROMToolsPCv3.zip
Woah !
Good Job !
btw Easter egg in app ?
---
Instead of ctrl + alt + del combo
you can use ctrl + shift + esc
it brings up only the task manager
Thanks OP. Can you add an option to go to download (odin) mode . I really need that coz my vol- button got broken. Anyway this tool is really great.
Awesome tool
Doesn't it require ADB support? I mean, I haven't heard of another way of rebooting a phone or putting it into recovery mode via terminal.
Or does this have ADB and related tools included?
Good job! Thanks for the great work! :good:
Yes
All adb and other required items are included
And sure thing, will add download mode in next release. I don't know why I didn't add it in this release?
Please report any bugs
And please do suggest what should be added in next release
Here too!
Kudos broda :good: :thumbup::thumbup:
Thanks,
TheDemiGod
Future RD
@j_habeeb
Thanking everyone here?
Woah! :0
checkin the source of all apk's
Awesome man! :thumbup:
BTW i had seen this in some other forum also
anubhavrev said:
Woah! :0
checkin the source of all apk's
Awesome man! :thumbup:
BTW i had seen this in some other forum also
Click to expand...
Click to collapse
apks?
And yes, it was published in Android General Software and hacking from where it was published on portal, but this version is not yet published there as it may only work for these phones
Looking forward to reports if you guys can check this with other devices with other android versions :good:
iamareebjamal said:
apks?
And yes, it was published in Android General Software and hacking from where it was published on portal, but this version is not yet published there as it may only work for these phones
Looking forward to reports if you guys can check this with other devices with other android versions :good:
Click to expand...
Click to collapse
classes.dex stores the source code ..
search dex2jar and classes.dex on google
anubhavrev said:
classes.dex stores the source code ..
search dex2jar and classes.dex on google
Click to expand...
Click to collapse
lol
You think I don't know that sherlock. Who released this tool?
I was just confused that what you meant by your previous post
lol ...i hope u didn't XD
P.S.- u're a themer right ? check pm...
anubhavrev said:
lol ...i hope u didn't XD
P.S.- u're a themer right ? check pm...
Click to expand...
Click to collapse
I did it man :/
See that OP tag written to Senior Member?
And replied
iamareebjamal said:
I did it man :/
See that OP tag written to Senior Member?
And replied
Click to expand...
Click to collapse
Sent from my GT-S5360 using xda app-developers app can't see a thing ! Sorry but had to ask..
@iamareebjamal: Now you're on my credit list when I release my rom! This tool helped me a lot
"Its not your fault if you are born poor, But it's your fault if you die poor!" - Bill Gates

[TOOL][WIN]Convert folder to EXT4 format using Windows! Lollipop Supported(No Cygwin)

INTRODUCTION
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
*/WARNING
This tool is in [B]BETA[/B] phase and is not for noobs. If you use this, you are choosing to play with your device on your own.
I will not be responsible for any damage to your device or your belongings in your home.
If you blame me for anything that goes wrong I'll die laughing at you/*
Hello all!
Today I present you F2I converter. This tool can convert system folder back to ext4 image format suitable for flashtools without cygwin.
Basically, this tool was made in keeping mind the format used by lollipop structure where dat files were converted to ext4 format and then unpacked, repacking them was kind of hard (or lazy to do so in my case) as it required linux or Cygwin [Based on Xpirt's Guide. Now I've always preferred a way to avoid linux and cygwin
I managed to put together a set of tools that can easily convert the extracted system folder back to img for flashing and in lollipop can be converted back to dat format on windows.
So this is what this tool is capable of! If you on lollipop and want @xpirt guide to do so then here it is - [HOW TO] Lollipop DAT files | Compression and Decompression
FEATURES
• Supports all Android Versions
• Works without Linux or cygwin
• Generates Log that help to troubleshoot the issues
• No extra software required (Except Git for Windows)
• Supports both way conversion
• Suggest more features
• Much more to come!
HOW TO USE
You need GIT for windows to run this tool. Kindly download and install GIT from HERE
Now install GIT and when you're done download F2I converter and extract it in core C: directory. There will be a folder names as "IMG_WIN" kindly make sure it is extracted in C:
Recommended GIT is v 1.9.4 or newer.
Mostly everything is self-explanatory in the tool but when you will convert "SYSTEM" folder back to "EXT4 img" format you will be asked to enter size in bytes.
Here is what you are asked to do..
1) Open the system.img inside the respective folder you're working on and then right click on it and click Properties
2) In General tab you'll see something like this
Now copy the highlighted part and paste in the box shown below in image
Now you can continue. Ahead
DOWNLOADS
MAJOR LINK
MIRROR
BUGS
This tool is in BETA phase so you are likely to face some bugs. Though I have paid a lot of attention while creating this tool but you may encounter some small code errors (like path not found etc) I request you to kindly see for yourself and correct it.
You are likely to face this error mostly though
Code:
error in bla bla bla ..... failed to allocate block [NUMBERS] out of space?
If you encounter something like this then it will not work with your files. This will occur mostly in Android 2.3.x-4.4.x and in some cases with 5.0 and 5.1
I am trying to fix this issue. Please co-operate
Rest no major bug.
CREDITS
 @xpirt for his awesome guide on lollipop compression and decompression of dat files
Google for being so hepful :angel:
XDA for it's awesomeness
XDA:DevDB Information
[F2I Converter] Convert System folder into EXT4 Image without cygwin on Windows!, Tool/Utility for all devices (see above for details)
Contributors
Tech N You
Version Information
Status: Beta
Current Beta Version: v1.0
Beta Release Date: 2015-05-03
Created 2015-05-03
Last Updated 2015-05-03
Reserved.
Reserved Again.
Nice Dude ! extracted xolo one files using this ... hoping to port it for q700s
Great tool mate!
Enviado desde mi OnePlus One
Tech N You said:
.....This tool is in BETA phase so you are likely to face some bugs.....I request you to kindly see for yourself and correct it......
Click to expand...
Click to collapse
i've tried this. see the screenshot. i find only 2 files to copy back to my rom zip.
what about "file_contexts"? can/should the original be retained?
large size difference between original "system.transfer.list" and modified one ok?
Doesn't work for me. I'm unable to find system.img. So I downloaded "sda2img.exe" and I made system.img with it. Then, when I try to recompress system folder in DAT format, there is this problem ( see the screenshot ).
Then I noted that after using it, in "Working_Do_Not_Touch", system.transfer.list and system.new.dat get losts.
m0han said:
i've tried this. see the screenshot. i find only 2 files to copy back to my rom zip.
what about "file_contexts"? can/should the original be retained?
large size difference between original "system.transfer.list" and modified one ok?
Click to expand...
Click to collapse
AlessandroXCV said:
Doesn't work for me. I'm unable to find system.img. So I downloaded "sda2img.exe" and I made system.img with it. Then, when I try to recompress system folder in DAT format, there is this problem ( see the screenshot ).
Then I noted that after using it, in "Working_Do_Not_Touch", system.transfer.list and system.new.dat get losts.
Click to expand...
Click to collapse
Thanks for trying out the tool. You must use same file_contexts
As per your issue sir thing is the output is cleaned up and no file is left back. I request you to try the size from xpirts post on this. Kindly check that and reply back.
[system_new.img?]
Any ideas on how to fix this:
When I try repacking [system folder] back to [system.new.dat] the program throws an error : File not found -- system_new.img
MeTaL-01 said:
Any ideas on how to fix this:
When I try repacking [system folder] back to [system.new.dat] the program throws an error : File not found -- system_new.img
Click to expand...
Click to collapse
Option 4 is the correct one for Lollipop i see u chose option 3
Tech N You said:
....You must use same file_contexts.....
Click to expand...
Click to collapse
did so. upon trying to flash rom zip file, "error executing binary in zip....."
Tech N You said:
Option 4 is the correct one for Lollipop i see u chose option 3
Click to expand...
Click to collapse
I've tried both, none work
MeTaL-01 said:
I've tried both, none work
Click to expand...
Click to collapse
Okay then let me recheck whole thing and I'll revert back to you
ahh boy, you never cease to amaze me. Thanks for this
kirito9 said:
ahh boy, you never cease to amaze me. Thanks for this
Click to expand...
Click to collapse
Glad to know you liked this tool :good:
I keep getting a Permission denied error when using option 4. Any ideas why??
LupusGrande said:
I keep getting a Permission denied error when using option 4. Any ideas why??
Click to expand...
Click to collapse
Tool is not getting administrative privilege.
Kindly make your Windows user prompt to lowest
Tech N You said:
Tool is not getting administrative privilege.
Kindly make your Windows user prompt to lowest
Click to expand...
Click to collapse
after conversion there is nothing in system folder
well done bro ......................though small glitches bt overall grt tool (Y)
I can't convert the system folder back to dat files.
I use option 4 but nothing works.
Where I have to put the system.transfer.list and the system.new.dat?
What I have to do?

Categories

Resources