How to get themes and mods to work on mtd - Epic 4G Themes

In CWM choose mounts and storage, then mount system, then flash then unmount system.
Modders and themers, I will upload dual mtd and bml update scripts after the holiday.

Thank you sir Marcus! Merry Christmas to you!

marcusant said:
In CWM choose mounts and storage, then mount system, then flash then unmount system.
Modders and themers, I will upload dual mtd and bml update scripts after the holiday.
Click to expand...
Click to collapse
I am using your MTD Revival ROM - I am not particularly fond of red personally - so I followed your steps and flashed the ICS theme - worked well - now I go back and forth between CM7 and your Revival Theme quite easily - Thanks - I appreciate the tip on how to flash a "non MTD" theme over an MTD rom -

Related

[Recovery] [19-Mar-2010] RA-Tattoo-v1.6.2

This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
This recovery is for the HTC Tattoo only, if you have a :
- HTC Dream/G1 you should go here.
- HTC Magic/MT3G you should go here.
- HTC Hero you should go here.
- HTC Sprint Hero you should go here.
- HTC Nexus One you should go here.
- HTC Eris you should go here.
Use the DPAD (up+down) to navigate through the menu, press the DPAD to select items. Use the Volume-down key to go back to a previous menu.
Always check recovery.log before posting your issues!
Please make sure that your ROM supports apps2sd if you plan to use the ext-features! (/system/sd MUST be available in the ROM)
Ext4 is currently NOT supported (will add it as soon as I get an .29 Tattoo kernel compiled)
Features
full ADB access in recovery mode
Awesome Care-Bear version! (Blame packetlss for talking me into it )
Busybox v1.15.3
Kernel with ext3 support (NO Ext4 support)
HW-Key navigation (DPAD + Volume-key) option
Extended menu :
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore
Nand backup :: Make a Nand backup, the following partitions are NOT included :
Recovery (to avoid restoring old version)
Cache (no need to backup imo)
Misc (no need to backup imo + restore issues on some phones)
Splash1+2 (no need to backup imo + restore issues on some phones)
Nand + ext backup :: Make a Nand + ext backup
Nand restore :: Restore a Nand backup
BART backup :: Make a BART backup (Nand + ext)
BART restore :: Restore latest BART backup
Flash zip from sdcard :: Flash a zip update file from your sdcard
Wipe
Wipe data/factory reset :: Wipe /data and /cache
Wipe Dalvik-cache :: Wipe Dalvik-cache both on /data and ext
Wipe SD:ext partition : Wipe the ext partition on your sdcard
Wipe battery stats : Wipe the battery stats in /data
Wipe rotate settings : Wipe the sensor settings in /data
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
Other
Fix apk uid mismatches :: Does extacly that
Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Power off :: Powers off your phone
Scripts available via adb :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
BART v1.0.1 (Backup and Restore Tool) : enter "utility" to start.
switchrom.sh V1.1 : enter "switchrom" or "u" to start.
sdparted v0.6 : enter "sdparted" to start.
Download
ALWAYS check the md5sum to make sure the zip isn't corrupted.
Click on the Mirror-link if you don't like rapidshare
Latest :
recovery-RA-tattoo-v1.6.2.img (Click here to download from a Mirror) - MD5Sum: 2d5de7a560ff6ae8db83042be87028cd
Special thanks to :
eyegor for testing and providing the needed info to make this recovery, Thanks!!
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for the unyaffs binary code fix and help ^^
Cyanogen for his dedicated work! , buy him a beer!
JesusFreke for his awesome JFv1.43's recovery , donate
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
rikupw for the ideas and toggle_ums script.
http://www.androidspin.com for hosting ^^
Amon_RA said:
This is a custom recovery based on Cyanogen's recovery source with a lot of things added by me. The purpose of this recovery is to avoid using adb by accessing all features directly from the menu.
This recovery is for the HTC Tattoo only, if you have a :
- HTC Dream/G1 you should go here.
- HTC Magic/MT3G you should go here.
- HTC Hero you should go here.
- HTC Sprint Hero you should go here.
- HTC Nexus One you should go here.
- HTC Eris you should go here.
Use the DPAD (up+down) to navigate through the menu, press the DPAD to select items. Use the Volume-down key to go back to a previous menu.
Always check recovery.log before posting your issues!
Please make sure that your ROM supports apps2sd if you plan to use the ext-features! (/system/sd MUST be available in the ROM)
Ext4 is currently NOT supported (will add it as soon as I get an .29 Tattoo kernel compiled)
Features
full ADB access in recovery mode
Awesome Care-Bear version! (Blame packetlss for talking me into it )
Busybox v1.15.3
Kernel with ext3 support (NO Ext4 support)
HW-Key navigation (DPAD + Volume-key) option
Extended menu :
Reboot system now :: reboot your phone
USB-MS Toggle :: enable/disable USB mass storage (use when the phone is connected to your PC)
Backup/Restore
Nand backup :: Make a Nand backup, the following partitions are NOT included :
Recovery (to avoid restoring old version)
Cache (no need to backup imo)
Misc (no need to backup imo + restore issues on some phones)
Splash1+2 (no need to backup imo + restore issues on some phones)
Nand + ext backup :: Make a Nand + ext backup
Nand restore :: Restore a Nand backup
BART backup :: Make a BART backup (Nand + ext)
BART restore :: Restore latest BART backup
Flash zip from sdcard :: Flash a zip update file from your sdcard
Wipe
Wipe data/factory reset :: Wipe /data and /cache
Wipe Dalvik-cache :: Wipe Dalvik-cache both on /data and ext
Wipe SD:ext partition : Wipe the ext partition on your sdcard
Wipe battery stats : Wipe the battery stats in /data
Wipe rotate settings : Wipe the sensor settings in /data
Partition sdcard
Partition SD :: Interactive SD partitioning
Repair SD:ext :: Repair the ext partition
SD:ext2 to ext3 :: Convert ext2 to ext3
Other
Fix apk uid mismatches :: Does extacly that
Move apps+dalv to SD :: Moves all apps and Dalvik-cache to sdcard (This will NOT enable apps2sd!)
Move recovery.log to SD :: Moves the recovery log file to your sdcard. (Use when you want more detailed recovery log information)
Power off :: Powers off your phone
Scripts available via adb :
Nandroid v2.2.1 : enter "nandroid-mobile.sh" to start.
BART v1.0.1 (Backup and Restore Tool) : enter "utility" to start.
switchrom.sh V1.1 : enter "switchrom" or "u" to start.
sdparted v0.6 : enter "sdparted" to start.
Download
ALWAYS check the md5sum to make sure the zip isn't corrupted.
Click on the Mirror-link if you don't like rapidshare
Latest :
recovery-RA-tattoo-v1.6.2.img (Click here to download from a Mirror) - MD5Sum: 2d5de7a560ff6ae8db83042be87028cd
Special thanks to :
packetlss for all the hours of support and awesome coding skills, THANKS man ^^, donate to Haiti
Koushik Dutta for the unyaffs binary code fix and help ^^
Cyanogen for his dedicated work! , buy him a beer!
JesusFreke for his awesome JFv1.43's recovery , donate
pensive for adding awesome features to Nandroid
Bkmo for his utility script!
Devsk for his switchrom script!
51dusty for his sdparted script!
k4str0 for his fix_permissions v2.03 update.
Devsk, Dumfuq, Overground for creating BART
rikupw for the ideas and toggle_ums script.
http://www.androidspin.com for hosting ^^
Click to expand...
Click to collapse
Amon, thank you for this. i use your roms on my magic and was hoping you will develop for the tattoo sometime soon
thanks
Thank You Amon_RA
Thanks. It works great.
But I did get this message while flasshing:
Code:
# /data/local/bin/flash_image recovery /sdcard/recovery.img
/data/local/bin/flash_image recovery /sdcard/recovery.img
mtd: read error at 0x00000000 (Cannot allocate memory)
mtd: read error at 0x00020000 (Cannot allocate memory)
mtd: read error at 0x00040000 (Cannot allocate memory)
mtd: read error at 0x00060000 (Cannot allocate memory)
flashing recovery from /sdcard/recovery.img
#
Big thanks!!!
As always, you are the best.
Thanks again for your hard work.
Thanks...you are the man
Thank you very very much!!
Nice work!
It works like a charm...Amon-RA...take care of us please
respect.. it works
thank you Amon_Ra
Marsdroid
Thanks Man.
Nice Work.
Amon_RA! I thought I'd never see you in the Tattoo Development Community!
All we need now is a CyanogenMOD port...
Will download and flash that recovery in a sec.
EDIT: Flashed and currently playing around in it. Nice HTC Logo!
all done it works fine!!!
just a question: I've done a nandroid backup with the previous recovery by maverix and now I did another one with this new recovery...did the last overwrite the first? or do I need to remove the first someway? thank you
okok I found the nandroid directory into the sd and removed the previous backup ordering them by date
Nandroid backup+ext in adb mode only?
Coburn64 said:
Amon_RA! I thought I'd never see you in the Tattoo Development Community!
All we need now is a CyanogenMOD port...
Will download and flash that recovery in a sec.
EDIT: Flashed and currently playing around in it. Nice HTC Logo!
Click to expand...
Click to collapse
Well, you can thank me for that!
I thought that we needed a proper recovery for our beloved tattoo, and decided to contact the recovery master - Amon_RA.. To my surprise he was very eager to help, and without hesitation jumped to making a recovery!
I gave him all the info he asked for, tested a few versions and finally he made a version that you can use now
I hope you guys like it!
Thank you Amon_RA!
Thank you eyegor too
Maybe a custom 2.1 rom is not too far
Well, if Amon_RA was so helpful, maybe other devs would be too, and we just need to ask them...
You're welcome HTCDevil
cheers
Amon_RA
thanks loads, when i posted that mock up screenshot on twitter and you said 'shouldnt be too difficult' i thought that would be it..
but here we are and its done, what a result .. thanks indeed.. ( now what about version 1.7 for the g1 like myself and manup encouraged? . lol lol...)
..
i love you
what's partitioning for ?
with latest roms we don't need it to have roms on sdcard

Amon_RA style Recovery for Incredible Fully Working & New Features

Everything Should Be Functioning Properly & Some Extra Features Have Been Added.
I love Amon_RA's recovery images and decided to make one using his source code for the Incredible to give us another option other than clockwork. This is my 2nd recovery I've made since switching to android from windows mobile about two weeks ago. Lg ally was the other Link here . This one I built with an ext-4 kernel I compiled so you can partition apps2sd with ext4 in recovery but remember your rom's kernel must support ext-4 too.
Link to Amon_RA's nexus one recovery thread as it has a good description of what all the features are Link here
To use if you have s-off download the PB31IMG_RA-inc-v1.7.0.6_GNM.zip and unzip it to get the PB31IMG.zip and copy that to the root of your sdcard. Boot phone holding down vol down and select yes to update.
To use with unrevoked recovery reflasher download the recovery-RA-v1.7.0.5.img and in recovery reflasher select file and custom recovery and navigate to where you downloaded the file.
Special Thanks:
Amon_RA for his source code Buy him a redbull
Team Unrevoked for the Recovery Reflasher and the S-off Link
Koush source code
worstenbrood source code for modded desire recovery
changelog v1.7.0.2 :
fixed data wiping and cache wiping as they are ext3 partitions not yaffs2
currently wiping cache can only be done with wipe cache not wipe data/factory reset
Thanks koush for the help
fixed flashing update.zips
changelog V1.7.0.3:
fixed small error in sd partitioning script
changelog V1.7.0.4 see attached pics
Added usb mount of phone's internal storage
Added toggle of signature verification on update.zips
Added gui mount umount menu
changelog V1.7.0.5
Changed nandroid-mobile.sh script to correctly backup and restore /data/data and backup and restore .android_secure on /emmc if selected.
Changelog V1.7.0.6
Fixed typo that caused nandroid to always restore most current backup.
Changes v1.8.1
Supports both Amoled and SLCD
Now supports Flashing from Emmc or Sdcard!!!
Has zip directory browsing from clockwork so zips are no longer needed in root of sdcard (thanks Koush & Amon-Ra)
Wipe Menu no longer uses scripts
Fix error in script for sd-ext upgrading
Fixed The sd-ext issues??
Updated the PB31IMG to be compatible with 3.26.605.1 and prior
Also in rom manager too!!!
Changes 2.2.1
Updated UI
Fixed zip progress menu in flashing
Fixed .android_secure backup back to sdcard from /emmc (was changed in the 11/10 htc update)
Expanded the UI for fuller listing of sdcard zips & dirs. (Thanks Amon_RA)
Still recommend making a folder called Custom_Roms on sd and placing update.zip's there
Selectable nandroid partitons gui for backup (Thanks Amon_Ra)
Now backs up sd-ext partiton as a whole if that option is selected in nandroid.
Downloadable from rom manager!!!
Fully working with gingerbread/cm7 and wipes all partitons correctly.
Added menu option to format /data partiton to ext4 and is able to reformat back to ext3 too. (See notes below)
Above option for ext4 requires a kernel with ext4 support and changing the mount line in init.inc.rc in boot.img/ramdisk from ext3 to ext4. This will enable mounting of the ext4 /data as ext4 instead of having the ext4 partition mounted as ext3. This formatting will persist through rom flashing and /data wiping but can be reverted via ext3 reformat option. Warning a non ext4 enabled kernel will not be able to mount an ext4 /data partition. If a ext3 data nandroid is restored to an ext4 formatted data partiton all the old files will work as ext3 and anything newly added will be in ext4 (best to start /data fresh to get full benefit of ext4 fs).
Example for changing init.inc.rc line in boot.img for cm7 (similar for stock rom on froyo too)
Code:
mount ext3 /dev/block/mmcblk0p1 /data wait nosuid noatime nodiratime
change to
Code:
mount ext4 /dev/block/mmcblk0p1 /data wait nosuid noatime nodiratime
Then repack boot.img and reflash.
Change log 3.02:
Nandroid now has the option to backup & restore .android_secure on /sdcard or /emmc (stock GB has .android_secure on /emmc)
Added busybox symlinks for mount & umount (now sense 3.0 roms that use busybox to mount in updater script work)
Added script to (re)format /emmc as ext3, ext4 or fat32 (run "partemmc help" from adb shell for use)
Added options in wipe menu to wipe /sdcard & /emmc
Wiping all or wipe .android_secure wipes it on both /sdcard and /emmc
Changed ui back to cyan colors.
Updated /data as ext4 to wipe /datadata also.
Nandroid now suppressed backup of /datadata also when selecting to not backup /data partition
File system type for /cache, /data, /sd-ext and /emmc are auto detected so you can use alternate filesystems (rom kernel & boot.img permitting)
As always properly wipes and you can use update-script or updater-script (amend or edify)
Added flash_eraseall binary this can be used to fix a corrupted nand mtd(not emmc) by erasing it then you can reflash it. Use is "adb shell flash_eraseall /dev/mtd/mtdX" where X is the number of the mtd you wish to erase.
Changelog: 3.06
Added ability to restore CWM backups.
Compiled for armv7a-neon so its faster.
Rewrote the ext3|4 menu to use C not scripts
Added a developer menu:
Developer menu:
Make and flash boot from zimage : This makes a mkboot folder on sdcard and mounts sdcard as mass storage then you copy a zImage and kernel modules into this folder and it will create a new boot like anykernel and flash it.
Toggle full ext wipe : This toggles between doing a quick wipe (default) of ext partitions or a full wipe which reformats them.
Install su & superuser: Installs or fixes su & superuser install (removes old if exists)
Install eng (unguarded) su: Installs engineering su that doesn't use superuser (removes old su & superuser if exists)
Reboot to bootloader: reboots to bootloader/hboot
Reboot recovery : reboots phone back into recovery
Downloads:
Source
recovery-ra-dinc-3.06-gnm.img
MD5 : c280fc5cfacf1018211f9ed4ffd42d87 recovery-ra-dinc-3.06-gnm.img
Old PB31IMG_RA-inc-v1.7.0.3_GNM.zip
MD5= d8aae2598c6f7b3f441bbea2ba35beb1
Old PB31IMG_RA-inc-v1.7.0.4_GNM.zip
MD5= 92d187e7b4bc6553e6daa369af8e55ce
Old PB31IMG_RA-inc-v1.7.0.5_GNM.zip
MD5= 832a1980c30a7dd7dd7751020bf2fb45
Old recovery-RA-v1.7.0.5_GNM.img for recovery reflasher
MD5=30a78ffca87de656a6a77246af6ff6e8
Old PB31IMG_RA_inc_1.7.0.6.zip
MD5= 2f0210ee1ede2bfd0f80af5f07c6da5c
Old PB31IMG_RA_inc_1.8.1_GNM.zip
MD5 9d6da2a06219651eb9be82872570b510
Old PB31IMG_RA_inc_v2.2.1_GNM.zip
MD5 84b5bae5c5adc4936e3a48c742cc03e4
PB31IMG-RA-3.02-GNM.zip
MD5 3efae04dc59bdaf4ea7bb18aea5b208d PB31IMG-RA-3.02-GNM.zip
Buy me a energy drink Follow me on twitter @getitnowmarket
Has anyone tested??
• Sent from my Droid Incredible running Sky Raider 2.5.2 •
thatdudebutch said:
Has anyone tested??
• Sent from my Droid Incredible running Sky Raider 2.5.2 •
Click to expand...
Click to collapse
I just tired it and it works perfectly, i just flashed the img via 3.1
Amazing work! Finally! I hate clockwork but love amon ra. Nice work!
what's the difference between this and clockwork? i'm not trying to instigate anything. clockwork is the only recovery that i've used but from reading that linked thread it looks like maybe it has a few more features? i'm not sure. the UI between the two seem somewhat similar too.
Awesome. If Clockwork ever fails me, I have another option. Thank you.
Dude, this is awesome. Finally! Source?
Haven't tried it, but it's always nice to have options. Thanks for taking the time to put this together!
update keeps failing for me and a couple other in the IRC.
borgey420 said:
update keeps failing for me and a couple other in the IRC.
Click to expand...
Click to collapse
same here. tried to flash using reflash, pb31img, and flash_image. all fail.
scuccia said:
same here. tried to flash using reflash, pb31img, and flash_image. all fail.
Click to expand...
Click to collapse
I was able to download, but md5sum didn't match
Looking into it think I uploaded the wrong binary version. Fixed and am going to re-upload
Is there a way to go back to clockwork if we don't like this.
Sent from my Incredible using XDA App
Ruben1123 said:
Is there a way to go back to clockwork if we don't like this.
Sent from my Incredible using XDA App
Click to expand...
Click to collapse
http://unrevoked.com/rootwiki/doku.php/public/forever
under the reinstall factory recovery there is a link to the clockwork pb31img... almost at the bottom of the page... its there so you can do it after you load an official update with s-off
Thanks for this. You helped me with my Ally already (which works great now), and now the Incredible. Thanks again!
Very well done, sir! I was missing my Amon_RA from my G1 days and this has hit the spot. I checked the md5 sums, applied your image file with flash_image... then powered off and manually booted into recovery from bootloader/hboot, to avoid boot mode 3, a little lesson also learned from my G1 days
Now all that's left is to put in a nice blue care bear for a background and remove the plug for your company and we'll be all set!
Sent from my Incredible using XDA App
am I stupid, or is the link not up?
Im having trouble with the wipe data command as "userdata" mtd on this phone is called "datadata" and is not wiping. Will re-release once fixed. Other than that its fully functional.
is the zip up??? If not can someone provide a mirror
As far a features go, what's the difference between this and clockwork?
-Sent from your mom's phone.

[MOD] Back to ext 4 / ext 3

This script will convert your system & data partition to ext 4 filesystem
only use it when your ROM / KERNEL supports ext4 filesystem ! Read description carefully !
example for use :
use it when you try out MCR ROM FR19 (you have to convert to ext3 before) or CM (will auto convert to ext3 when installing) and want to revert back to your older backup (FR18 for example)
restoring your backup in CWM recovery will restore your data but will not convert your filesystem back to ext4, that´s why i made this zip.
so, if you plan reverting to your backup (which supports ext4), simply apply this zip in recovery & restore your backup afterwards ;
back_to_ext4
------------------------------------------------------
This script will convert your system & data partition to ext 3 filesystem
(courtesy of Paul / MoDaCo)
If you have been using a EXT4 ROM and you want to restore a stock ROM that only has EXT3 support, it's a bit of a faff. Introducing BackToEXT3.
This ClockworkMod update zip simply converts your /system and /data partitions back to EXT3. It wipes them both in the process, so you need to have an existing backup / ROM to restore to.
Click to expand...
Click to collapse
example for use :
use it if you are running an ext4 ROM at the moment and want to revert to your stock ROM or CM backup. (which both only support ext3 at the moment)
r1-backtoext3-2x-unsigned
Niceee, just what a lot of people need.
How do I tell if I´m running Ext 3 or 4 ?
Filgaliel said:
How do I tell if I´m running Ext 3 or 4 ?
Click to expand...
Click to collapse
quick on phone :
open "terminal emulator" (free in market) on phone
type in command : "mount"
check output
example (sys+data : ext4) :
Anyone know if the CM7 (offical) kernel has support for EXT4? Then we could use this to convert from EXT3 to EXT4, right?
sibbor said:
Anyone know if the CM7 (offical) kernel has support for EXT4? Then we could use this to convert from EXT3 to EXT4, right?
Click to expand...
Click to collapse
you could use, but ...
CM system partition still running ext 3 ...
Code:
format("ext3", "EMMC", "/dev/block/mmcblk0p1");
mount("ext3", "EMMC", "/dev/block/mmcblk0p1", "/system");
Can we ext4 on cm7 with a custom kernel?
ermacwins said:
Can we ext4 on cm7 with a custom kernel?
Click to expand...
Click to collapse
afaik, no custom CM kernel supports ext4 atm ...
added backtoext3 script from paul in 1.st post ...
75markus said:
added backtoext3 script from paul in 1.st post ...
Click to expand...
Click to collapse
I used this backtoext3 in order to return to my nandroid stock rom v10d backup.
Restore completed, but then on boot, it stucks on the 2nd LG logo (one with blue statusbar underneath it).
Am I missing a step here?
75markus said:
afaik, no custom CM kernel supports ext4 atm ...
added backtoext3 script from paul in 1.st post ...
Click to expand...
Click to collapse
I'm working on a universalEXT4converter. It will convert your filesystem to ext4 and edit your ramdisk (works on every rom). Currently not working and I can't bugfix it (because erm something went wrong hehe ).
But will be ready soon and p999 support will follow too
viluve said:
I used this backtoext3 in order to return to my nandroid stock rom v10d backup.
Restore completed, but then on boot, it stucks on the 2nd LG logo (one with blue statusbar underneath it).
Am I missing a step here?
Click to expand...
Click to collapse
strange ...
it should work for that case ...
you have also changed baseband to newer version , perhaps that´s the reason ?
Benee said:
I'm working on a universalEXT4converter. It will convert your filesystem to ext4 and edit your ramdisk (works on every rom). Currently not working and I can't bugfix it (because erm something went wrong hehe ).
But will be ready soon and p999 support will follow too
Click to expand...
Click to collapse
sounds good
75markus said:
sounds good
Click to expand...
Click to collapse
hehe But first need to fix up my device so I can test this zip. First only data convertion. Strange stuff happend last time : /
Well I'm running the latest Slick2x-G which is CM7 and I've tried a new kernel (Morfic's EXT4 Trinity Test Kernel) from OP of this topic http://forum.xda-developers.com/showthread.php?t=1067939
Converted to EXT4 with CM7 and it seems to be running ok, not having any problems, battery life not too bad either.
One thing I was wondering though was I was to wipe and put a different CM7 based rom on without the above kernel would it automatically convert back to EXT3?
[vertigo] said:
Well I'm running the latest Slick2x-G which is CM7 and I've tried a new kernel (Morfic's EXT4 Trinity Test Kernel) from OP of this topic http://forum.xda-developers.com/showthread.php?t=1067939
Converted to EXT4 with CM7 and it seems to be running ok, not having any problems, battery life not too bad either.
One thing I was wondering though was I was to wipe and put a different CM7 based rom on without the above kernel would it automatically convert back to EXT3?
Click to expand...
Click to collapse
Cm update Script formats system ext3 when installing...
Sent from my LG-P990 using Tapatalk

[KERNEL] Gingerbread with EXT4 support and FS converter

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
As many people where demanding a Ext4 Kernel I created one and added a Filesystem conversion script.
This does only work on Gingerbread ROMs cause the bootloader is different!
On Froyo it will cause the device not to boot into the normal android system. Don't flash it if you are not on a Gingerbread ROM.
I have tested it with KPH but it should work on all Gingbread ROMs that have a updated bootloader.
FS converter? WTF???
This converts (formats) all your internal partitions (system, data, cache) with Ext4.
This way you don't have to use RFS which performance is pretty poor.
How to install?
Install CWM (there some threads here how to do this)
Make a Nandroid backup of your system (this is essential otherwise all your data will be lost!!!)
Install the ext4-update.zip (this will format your partition into EXT4 and flash a new Kernel)
Go into "mounts and storage" -> unmount cache (if it is mounted)
Go to "backup and restore" -> "advanced restore"
Choose the backup you made before -> Restore System & Data (cache is not needed it is rebuild on the next reboot)
Reboot
Don't panic (it will take some time to rebuild the dalvik cache,
just like the first boot after you flashed a new rom with ODIN)
Follow those instructions otherwise all your data will be lost and i make fun of you!
This will install a Kernel that has EXT4 support and a modified init.rc to mount both ext4 and rfs partitions.
Ok enough talked, where can I get this ****? Here MD5: 369808990ff8d45065f0cdd8fbb3f8b8
WTH you bricked my Phone
This is impossible. Except your CWM is buggy. You phone doesn't boot up, you are stucked at the samsung logo?
Ok then we need some information from you. Did you hear the start-up sound the the samsung logo player?
How long did you wait?
Try to adb to the phone and give me the output from "mount" and "logcat" on pastebin.com pls.
Please tell us witch rom you were running. I am not sure if this will work with any custom rom cause i only tested stock
You can fully revert by flashing a Full ROM with ODIN. Then install cwm and restore the backup you created before.
How did you create this?
I simply build the kernel source added Ext4 support. Kernel source is on github
Then I created a new initramfs by dumping the stock one doing the modifications and repacking it. The Initramfs is also on github. This should help anyone of you trying to the some on your custom kernel.
Cool dude ....
Is this a OC kernel ?>???
Nice work dude for this 1 ....
Appreciate ur work
Great work...
Getting ext4 support means it will format the sd card fully or just creates a partition with the free memory left in the sd card?
Sent from my GT-S5830 using XDA App
Aadigoku13 said:
Cool dude ....
Is this a OC kernel ?>???
Nice work dude for this 1 ....
Appreciate ur work
Click to expand...
Click to collapse
nope nothing touched except FS support. I think i won't add anything like that cause it want to save my time to work on CyanogenMod. But everyone feel free to modify the source and do it
adiles said:
Great work...
Getting ext4 support means it will format the sd card fully or just creates a partition with the free memory left in the sd card?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
it does not touch your sd card. it simply formats the internal partitions to ext4.
hot bro just waited for this......
waiting to see your other work....
and what is FS converter????sry for noob question..
coolya said:
nope nothing touched except FS support. I think i won't add anything like that cause it want to save my time to work on CyanogenMod. But everyone feel free to modify the source and do it
Click to expand...
Click to collapse
Are you working on CM for ACE? Thx for kernel, nice work. )
There is no RFS filesystem's source in your source, how do you compile a kernel supporting RFS?
fzn0268 said:
There is no RFS filesystem's source in your source, how do you compile a kernel supporting RFS?
Click to expand...
Click to collapse
samsung just give we modules for rfs support.
it included in boot.img
what are the advantages of using EXT4 as filesystem?
downloadonlyaccount said:
what are the advantages of using EXT4 as filesystem?
Click to expand...
Click to collapse
Its a journaled file system, meaning it keeps track of all changes made to the file system in a journal making it much faster than samsung's rfs file system.
@coolya
Thanks for this!
Does this Kernel only support SD card EXT4 partitions or does it convert the phone memory to EXT4 as well(thats what i understand by the FS coverter script).
kills999 said:
Its a journaled file system, meaning it keeps track of all changes made to the file system in a journal making it much faster than samsung's rfs file system.
@coolya
Thanks for this!
Does this Kernel only support SD card EXT4 partitions or does it convert the phone memory to EXT4 as well(thats what i understand by the FS coverter script).
Click to expand...
Click to collapse
it converts all internal partitions into Ext4, /system, /data and /cache
But how to use them? I want to build a Froyo kernel supporting ext4 and RFS.
coolya said:
it converts all internal partitions into Ext4, /system, /data and /cache
Click to expand...
Click to collapse
thanks!!
that means it will also support SD card EXT4 APPS2SD partitions right??
kills999 said:
thanks!!
that means it will also support SD card EXT4 APPS2SD partitions right??
Click to expand...
Click to collapse
the kernel is Ext4 enabled you can use where ever you want, you just have to mount the partition right.
is there any way to revert changes made? just in case we may want to claim warranty..
thank you for this awesome work!
guyz i am having a problem...
i just installed this file and after that my phone just got stuck on the samsung logo after reboot...
i followed all the steps but dnt know what happ..
tj_style said:
samsung just give we modules for rfs support.
it included in boot.img
Click to expand...
Click to collapse
How to use these modules?
digkong said:
guyz i am having a problem...
i just installed this file and after that my phone just got stuck on the samsung logo after reboot...
i followed all the steps but dnt know what happ..
Click to expand...
Click to collapse
i had the same problem , just restore cache too and it will be working again
mundixx said:
is there any way to revert changes made? just in case we may want to claim warranty..
thank you for this awesome work!
Click to expand...
Click to collapse
Flash stock kph with odin...

[Q] EXT4 PARTITION script needed

i installed this rom
http://forum.xda-developers.com/showthread.php?t=2174614
but i cant get any script to work to let me make my ext4 partition my internal storage, does anyone know any script that will work
This rom based on Android 4.2.2 by Cyanogenmod 10.1 (Beta 7) by Walande_Ace and has the Samsung Galaxy SIII’s interface.
Hartik said:
i installed this rom
http://forum.xda-developers.com/showthread.php?t=2174614
but i cant get any script to work to let me make my ext4 partition my internal storage, does anyone know any script that will work
This rom based on Android 4.2.2 by Cyanogenmod 10.1 (Beta 7) by Walande_Ace and has the Samsung Galaxy SIII’s interface.
Click to expand...
Click to collapse
int2ext works fine...and link2sd too
http://forum.xda-developers.com/showthread.php?t=1716124
Next time try to search before ask please
Related thread (really useful):
http://forum.xda-developers.com/showthread.php?t=2313327
Viper The Ripper said:
int2ext works fine...and link2sd too
http://forum.xda-developers.com/showthread.php?t=1716124
Next time try to search before ask please
Related thread (really useful):
http://forum.xda-developers.com/showthread.php?t=2313327
Click to expand...
Click to collapse
the only reason im asking is cause i have tried those, and it didnt work
Hartik said:
the only reason im asking is cause i have tried those, and it didnt work
Click to expand...
Click to collapse
how did you install it¿?
Viper The Ripper said:
how did you install it¿?
Click to expand...
Click to collapse
i just flashed it though cwm
and i have 50mb of internal storage remaining, and i asked the developer of the rom, and he said he has temporarily discontinued the rom
Hartik said:
i just flashed it though cwm
and i have 50mb of internal storage remaining, and i asked the developer of the rom, and he said he has temporarily discontinued the rom
Click to expand...
Click to collapse
Well, let's start!
You should be root and you should have CWM 5.0.2.6 Fixed flashed
Code:
1. You'll need a coustom rom or a stock with a custom kernel (to get init.d support folder)
2. Your sdcard should be partitioned, use partition magictools to do it.
3. When you'll get It ready, download int2script in the link I posted avobe
4. Boot into recovery
5. Mount and system >>> mount /system
5. Mount and system >>> mount /data
6. Mount and system >>> mount /sd-ext
7. Mount and system >>> format sd-ext
8. Go back and install the zip
9. Reboot
10. Done!
BE CAREFUL FORMATING THE SD-EXT AND NOT YOUR SD CARD!!!
Viper The Ripper said:
Well, let's start!
You should be root and you should have CWM 5.0.2.6 Fixed flashed
1.You'll need a coustom rom or a stock with a custom kernel (to get init.d support folder)
2.Your sdcard should be partitioned, use partition magictools tod to It.
3. When you'll get It ready, download int2script in the link I posted avobe
4. Boot into recovery
5. mount and system >>> mount /system
6. go back and install the zip
7. mount and system >>> mount /sd-ext
8. mount and system >>> format sd-ext
9. Reboot
10. Done!
BE CAREFUL WITH FORMAT SD-EXT AND NOT YOUR SD CARD COMPLETLY!!!
Click to expand...
Click to collapse
just did that exact same thing like 6 hrs ago, lol, finally found a working tutorial to let me which actually worked

Categories

Resources