I've loaded and installed this rom and am on version 5.1.6 currently. I see that there is an update to 5.1.7 and that due to the new file format you have to format your card with the new file system. If I do this will I have to redo all of my current settings? I know I can back up my contacts, pictures etc and load those, but i'd rather not have to re-install all my apps and load all my passwords and emails again. Also, I'm currently very happy with how 5.1.6 is running. Is it worth it to go through all of this for this current update?
Android Revolution HD / 4G 5.1.7 [18.05.2011]
- System partition formatted as EXT4 - Data partition formatted as EXT4 (optionally) - Cache partition formatted as EXT4 - Speed tweak for Sense app drawer and 3rd party launchers - Overall system performance improvement - HTC Feedback removed - Google Talk 1.3 updated to new version - Small changes for better compatibility with new filesystem - Fixes in one of the init.d script - Other minor changes
Please read this before flashing new ROM!
1. No need to full wipe if you have 5.1.x already!
2. For best performance it's recommended to format data partition as EXT4 as well. Special script for formatting data partition before flashing ROM is in the download section.
3. Do not use any kind of wiping tools 1.3, 1.4 or any else. ROM will do all for you.
4. Please re-download ALL mods from the second post + no-Sense patch.
5. Your SDcard will remain untouched FAT32 and it's recommended to leave it like that.
Sent from my HTC Desire HD using XDA Premium App
Right from the OP
Sent from my HTC Desire HD using XDA Premium App
I see that. But it also says:
For best performance it's recommended to format data partition using EXT4 filesystem. Do it before flashing EXT4 version of my ROM.
This script will format your data partition using EXT4 filesystem.
Do not use any kind of wiping tools 1.3, 1.4 or any else. ROM will do all for you.
Formatting data partition will delete all your stored data. Please make sure you have a backup of your contacts, callendar, etc..
Your SDcard will remain untouched FAT32 and it's recommended to leave it like that.
You can restore your data partition content using Titanium Backup but don't restore it using NANDROID backup.
Click to expand...
Click to collapse
So again, i'm sorry that I'm not as technologically advanced as others on here, but will I have to set up my phone again if I do this method? It sounds like I will, which I would rather not do.
Also, is it worth it to upgrade over 5.1.6?
Monkeydias said:
I see that. But it also says:
So again, i'm sorry that I'm not as technologically advanced as others on here, but will I have to set up my phone again if I do this method? It sounds like I will, which I would rather not do.
Also, is it worth it to upgrade over 5.1.6?
Click to expand...
Click to collapse
Yes if you wipe data all your apps will be gone.
Sent from my HTC Desire HD using XDA Premium App
Well if your looking for an opinion here mine. Its very very smooth like buttah and there's lots of addons you can add to make it to your likeings. Imagine you starting off with optimize stock rooted and added the things you want to it. Insted of downloading a certain rom which only give you so many choices. my opinion.
Sent from my Inspire 4G using XDA Premium App
Related
Yup, another data2sd script
Dalvik-cache is left internal on mtdblock5 (formerly /data)
/cache linked to mtdblock5 (so you can use cMTD to shrink the original cache partition down to 2MB leaving 302MB to be shared by cache and dalvik-cache)
I've only tested with a clean install but in theory it should be automated to add to your existing ROM in the /system/etc/init.d/ scripts (presuming your ROM is already setup to run scripts from that directory on boot). Also, this does NOT play well with existing apps2sd solutions or data2sd solutions. If you are already running one of those you would probably want to use Titanium Backup then do a clean install.
Here it is pre-installed into the 12/4 nightly of The Ultimate Droid for CDMA Desire. If don't know how to implement it manually in your existing ROM or you are having problems getting it implemented you can always use this instead.
Edit: Updated script with a bug-fix for the dalvik-cache on reboots
Thank you for sharing!
I have only to insert the file in the init.d folder and flash rom?
Can i try with any rom?
tnx bro ... for the script
testing it ...
If i'm on auraxTsense do i have to delete stuff2sd file and paste yours ? After that just reboot and i'll have data2ext? I have 512 ext2 and the rest is fat32
Sent from my HTC Desire using Tapatalk
script works, but i cant install any apps from market
RobakRatz said:
If i'm on auraxTsense do i have to delete stuff2sd file and paste yours ? After that just reboot and i'll have data2ext? I have 512 ext2 and the rest is fat32
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Yes, you would need to remove any apps2sd scripts. This is only been tested by me using two fat32 partitions (not an ext2 partition) and I'm not sure how nice this will play if you already used an apps2sd solution.
Can someone explain to me how to add this to a preexisting rom? I currently am running firerat's cmtd.. do I need to disable that, or are they compatible?
Additionally, if needed, how do I reverse it?
Am currently running LeeDrOid 2.2f, so what if I want to run this script? I've done a clockwork backup with ROM manager and Titanium backups on my SD card so what steps do I now need to take?
Sent from my HTC Desire using XDA App
live_0978 said:
Am currently running LeeDrOid 2.2f, so what if I want to run this script? I've done a clockwork backup with ROM manager and Titanium backups on my SD card so what steps do I now need to take?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Hi I'm interested too to know what i need to do for apply your script please ?
Regards.
Well the way it should theoretically work is partitioning your card and copying the file to /system/etc/init.d . When I did that I had to force the script to start from terminal emulator and after about 10 minutes the phone showed a lot more space, but everything was FCing, so I rebooted, got stuck in a boot loop, pulled battery after 15 min or so and it booted fine, although all of my settings/apps/widgets were gone. I also saw no performance increase in quadrant, running a class 6 16gb card. It might need to be integrated or something for it to work.
I think on existing rom with a2sd+ it should work like this:
Make a backup on your apps and settings (MyBackup, Titanium, etc)
Boot in recovery.
Make a nandroid backup.
Via adb or QtAdb (easier) delete a2sd script from init.d
Copy script from first post to init.d.
Optional, but could be essential, do it if other way don't work: wipe sd-ext, dalvik-cache.
Reboot.
The first boot will take some minutes until loop is created and data is being moved.
Restore MyBackup or Titanium backup if you done wipes.
If FC's occur try to solve them with RomManager.
Akilldema said:
Well the way it should theoretically work is partitioning your card and copying the file to /system/etc/init.d . When I did that I had to force the script to start from terminal emulator and after about 10 minutes the phone showed a lot more space, but everything was FCing, so I rebooted, got stuck in a boot loop, pulled battery after 15 min or so and it booted fine, although all of my settings/apps/widgets were gone. I also saw no performance increase in quadrant, running a class 6 16gb card. It might need to be integrated or something for it to work.
Click to expand...
Click to collapse
You should put the script when in recovery.
Then reboot and it should do the work.
bg_man said:
You should put the script when in recovery.
Then reboot and it should do the work.
Click to expand...
Click to collapse
?? From ADB? I essentially did the same thing from terminal emulator.. I got the extra space, etc. Just no performance boost.
No, what you did was NOT essentially the same. you were doing it from within the OS. doing it from recovery the system is not booted and files are not being modified as your trying to move them.
I haven't tried using the script with another rom, but i was scoring over 2100 in quadrant using Navalynt's ultimate droid rom he posted with the script integrated.
I'm using a class 6 sd card.
Akilldema said:
?? From ADB? I essentially did the same thing from terminal emulator.. I got the extra space, etc. Just no performance boost.
Click to expand...
Click to collapse
ipfreelytech said:
No, what you did was NOT essentially the same. you were doing it from within the OS. doing it from recovery the system is not booted and files are not being modified as your trying to move them.
I haven't tried using the script with another rom, but i was scoring over 2100 in quadrant using Navalynt's ultimate droid rom he posted with the script integrated.
I'm using a class 6 sd card.
Click to expand...
Click to collapse
In that case I'd suggest trying what you're suggesting before recommending it.
Edit: Sorry for the attitude, I know you were trying to help. I ended up deciding against it because I don't want the stress on my card doubt I'd notice any difference.
Hi navalynt,
Great script and very well written/commented. Switched to this script this morning, but like a previous poster, now apps won't install from market - starts to download then just stops. Thought it might have something to do with the market cache section at the end, so I removed it but no dice - still can't install apps.
Any ideas?
Jay.
Thanks for your great work !
I removed app2sd from init.d and copied 30data2sd to there.
I changed busybox to new one.
All process looks fine work on my MIUI 0.12.3. ;D
I'm using EXT4 partition, so quad score is 2000+- but I'm fully satisfied.
Thanks !
iroironz said:
Hi navalynt,
Great script and very well written/commented. Switched to this script this morning, but like a previous poster, now apps won't install from market - starts to download then just stops. Thought it might have something to do with the market cache section at the end, so I removed it but no dice - still can't install apps.
Any ideas?
Jay.
Click to expand...
Click to collapse
Apparently you don't have enough space in cache.
Reboot in recovery.
Restore the original script in init.d.
Wipe cache partition.
Reboot.
bg_man said:
Apparently you don't have enough space in cache.
Reboot in recovery.
Restore the original script in init.d.
Wipe cache partition.
Reboot.
Click to expand...
Click to collapse
Hi bg_man,
Good suggestion, unfortunately doesn't work. Rebooted into recovery and cleared cache but still no go. In Quick system info it shows system cache as "Total:148MB, Free:106MB", so don't think it's the cache.
Jay.
UPDATE: Not sure what the problem was but I decided to start fresh (after a titanium backup) and wiped everything and then ran this script - working awesome (including installing from market now).
UPDATE2: scrap that - half way through the titanium backup restore everything start fc'ing. Now titanium backup won't start. Will give it another go tonight.
Just flash in clockwork and it will format your system and data partitions back to ext3. Faster than dealing with nandroid restores.
Useful for reverting from installs using Dragon or Trinity kernels that convert you to ext4.
NOTE: This FORMATS your partitions, you WILL lose all data held on them. Your phone will NOT boot until you install a ROM ZIP file or restore a nandroid backup. YOU HAVE BEEN WARNED.
CREDIT: @paulobrien from Modaco wrote this for the O2x. I just changed the partition names to match our setup. I left his original banner in there as a result. My change amounts to about 4 bytes. If you have issues, please don't bother him, post here.
This is great...I always hesitate trying out updated or experimental kernels because of the amount of time it takes to nandroid....the cm7 kernel has been really good as of late so I've been sticking with that
Sent from my LG-P999 using XDA App
Hmmm Let the confusing questions begin in 5,4,3,2....
Thanks man!
Sent From My Stock G2x
Reminder: NONE of my kernels and ROMs require the use of this utility. All of my kernels and ROMs are ALL NATIVE EXT3 only mounted as ext4.
faux123 said:
Reminder: NONE of my kernels and ROMs require the use of this utility. All of my kernels and ROMs are ALL NATIVE EXT3 only mounted as ext4.
Click to expand...
Click to collapse
wow, i never knew that. so if we are using one of your cm7 ext4 kernels and then flash a new nightly/kang we could go back to using the stock cm kernel and wouldn't have to necessarily flash your kernel again?
mattyg151 said:
wow, i never knew that. so if we are using one of your cm7 ext4 kernels and then flash a new nightly/kang we could go back to using the stock cm kernel and wouldn't have to necessarily flash your kernel again?
Click to expand...
Click to collapse
Yeap... should be no issues.
Is there a difference between this and just wiping, formating system and data, in cwm?
Sent from my LG-P999 using Tapatalk
billydroid said:
Is there a difference between this and just wiping, formating system and data, in cwm?
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
cwm is set up to keep whatever format you have at the time you run it, so if you are on ext4, the format command will format to ext4. It makes sense, you wouldn't want to write an ext4 fs onto a partition with vfat on it, for example. Not automatically anyway. And most users wouldn't know what to tell it to use if it were to give you the option. The forum would be full of "What file system do I use?!?!?"... The usual method is to restore a nandroid backup from stock or a stock file system. This is significantly faster.
It is of somewhat limited usefulness as many kernels/roms don't change the filesystem. However, as I switch around a lot with running tests for the cm guys, my own stuff, etc., it's nice to have a fast way to deal with it.
ttabbal said:
cwm is set up to keep whatever format you have at the time you run it, so if you are on ext4, the format command will format to ext4. It makes sense, you wouldn't want to write an ext4 fs onto a partition with vfat on it, for example. Not automatically anyway. And most users wouldn't know what to tell it to use if it were to give you the option. The forum would be full of "What file system do I use?!?!?"... The usual method is to restore a nandroid backup from stock or a stock file system. This is significantly faster.
It is of somewhat limited usefulness as many kernels/roms don't change the filesystem. However, as I switch around a lot with running tests for the cm guys, my own stuff, etc., it's nice to have a fast way to deal with it.
Click to expand...
Click to collapse
Thanks
Sent from my LG-P999 using Tapatalk
EDIT: nvm. looked over the files and got my answer.
Works great thanks for putting this together. Will come in handy.
Sent from my LG-P999 using XDA App
is this utility gonna wipe out all my data (meaning I will have to install all the apps again, setting up my phone again, signing in to google again and stuff) ?
te_quiero_forever_girl said:
is this utility gonna wipe out all my data (meaning I will have to install all the apps again, setting up my phone again, signing in to google again and stuff) ?
Click to expand...
Click to collapse
Yes it will wipe.
Upgrading EXT3 to EXT4 will preserve data but downgrading from EXT4 to EXT3 won't.
With cm going ext4 this is priceless.
Sent from my LG-P999 using xda premium
xsteven77x said:
With cm going ext4 this is priceless.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
A nandroid of ext3 is the same thing also I have installed an ext3 rom over ext4 works great
Sent from my LG-P999 using XDA App
Why do we people want to go back to ext3 when ext4 is much faster and stable than all the other filesystems.
Sent from my LG-P999 using xda premium
Hi all,
I have searched for an answer to this question for a couple days now and cannot seem to find an answer anywhere; at least one that relates to this device.
What I would like to know is if it is possible to resize the partitions on the my phone. I am looking to mod the size of the rom, cache, and data.
For instance I have cyanogenmod 7 installed (with latest tiamat kernel if that matters) and CM7 is only taking up about 152MB out of the system roms size of 575MB. I do not know how big my cache partition is but would be curios as to what tool could show me that too.
What i want to do then is shrink the amount of rom availible to CM7 to something closer to 170MB which would free up a fair amount of rom for cache and data.
Any ideas?
Thanks
You would have to make some major changes to the ROM and kernel. The easier way would be to get a large SD card and create SD ext partitions and use an apps2sd ROM. There is plenty of space though on our phones for apps and storage. The data partition is 1.1 GB and most roms will let you move apps to SD without extra partitions on card. Creating those partitions on SD will allow the phone to treat them like /data though.
Sent from my Inspire 4G using xda premium
Using Titanium Backup, you could also convert some user apps to system apps. This would move them to the rom storage.
Sent from my HTC Inspire 4G using Tapatalk
Android Version: 2.3.5 Gingerbread
Software Number: 1.57.862.2
Anyone else have this model that can tell me what to do about freeing up internal space on the Stock ROM?
I've tried several of the things in this forum on the stock ROM with no success: Factory Data Reset (the apps don't re-populate for me), Link2SD...says it "can't mount" and gives me an error...Titanium Back-up works as far as moving some apps that I couldn't before to SD, but most of there .dex and temporary files still are posted to the internal memory. I do have a Root Explorer where I can go in and delete unnecessary files, but I don't know which ones are unneccessary...does ANYONE have ANY tips on how to save on memory. There's got to be some EXPERTS around here that have had this phone long enough to give some MUCH NEEDED advice. I've heard not syncing the contacts with Google and Facebook save on space? But how do I do that if they're already synced? What do I delete. What apps are out there or what can I install on a root, stock ROM that will benefit in COMPLETELY moving apps and there cache/data to my SD card?
I had 10MB free last night...I wake up this morning and I have 0MB...what is up with that? Where is my space going! Are there any apps that can read where my biggest files are?
Side note: I'd really like to keep this thing on the Stock ROM and not mess with the radios, etc...as it's supposedly a network unlocked phone. If I do flash ROMS will it mess with my default radios? Also where can I find the Stock ROM to flash back to if I do NEED to flash right now in order to save on internal space. I really don't want to lose features like the Facebook button, front-facing camera, etc.
ANY HELP IS EXTREMELY APPRECIATED.
Thanks fellas!
Hi
Have you allready tried darktremor script?
Sent from my HTC ChaCha A810e using xda premium
psicop said:
Hi
Have you allready tried darktremor script?
Sent from my HTC ChaCha A810e using xda premium
Click to expand...
Click to collapse
Yea, it didnt work for me..I think it's cause I'm on Stock ROM. Has anyone gotten Darktremor to work on Stock? If so, how?
The only issue that i can remember, is that your rom isnt mounting the ext particion
Im using a stock rom with the darktremor script, but in order to use the script i have to do this
Install the script in recovery
Particion the sd card( fat32 / ext4)
Boot the phone
I have to format the ext particion using a pc software to ext2
Reboot the phone
Use the terminal emulator or a2sdgui in order to use the script
Try this way and tell if it works for you
Sent from my HTC ChaCha A810e using xda premium
Stock boot.img doesn't have init.d support and therefore dta2sd will not work. You need to edit boot image to add init.d or google how to do it without editing. There is a nice tutorial on xda on how to add init.d support on stock rom without editing the boot.img
WARNING: This is far from complete, read carefully to know whether it is safe!
I created a tiny mod that automatically moves dalvik-cache to your /system partition in order to gain space on /data. The idea to do it came from here: http://petermolnar.eu/linux-tech-coding/how-to-move-dalvik-cache-to-system-partition-in-android/
Fiddling with the bootimage seemed to cumbersome and on a ROM supporting init.d-scripts, it should be possible to fix all from there (remount /system rw and check whether symlink is damaged from a dalvik-cache wipe attempt). This is my first working-for-me zip to automate the process in a flashable zip.
The installer contains an option to revert the mod -- works for me.
Prerequisites
For this to work, you need:
A ROM that supports init.d scripts
busybox installed (of course)
A custom recovery with all busybox links in place (should work on most)
Enough free space on /system for dalvik-cache
Limitations
Untested -- so far tested only on my Sensation with SuperXE 4.2.1 ROM
Prerequisites unchecked -- this includes busybox and space requirements on /system. Check yourself for now before flashing
Dalvik cache wipe non-functional -- at least for me on 4EXT Touch recovery. But it doesn't do any harm, at least.
Benefits
More space on /data -- around 150 MB for me
Downsides
/system must be kept rw
TODOs
Check some prerequisites to make it safer to flash
Analyze why dalvik-cache wiping does not work, maybe provide own wiping-option in AROMA
Check whether this works on ROMs with dalvik-cache on /cache; it already looks there after /data, so it SHOULD work
dalvik-syscache_0.2a_ALPHA.zip - use at your own risk.Nandroid keeps you safe, so please test after backup !
Older versions
dalvik-syscache_0.1a_ALPHA.zip
Changelog
* 0.2a:
Added dalvik-cache wipe option in AROMA
Minor cosmetic changes
Very nice idea!
On a related note - is there no safe way to repartition our device and just shrink the /system partition, giving it to /data instead?
manuelkuhs said:
Very nice idea!
Click to expand...
Click to collapse
Thanks, although the idea is old, just tried to automate it.
On a related note - is there no safe way to repartition our device and just shrink the /system partition, giving it to /data instead?
Click to expand...
Click to collapse
I don't think so. No idea what kind of partition table is used, but given the fact it's all on the same internal mmc block device, even the recovery partition, I assume it would be quite risky. But maybe someone around knows better?
wipe dalvike-cache option added in aroma ...
great job!
but i want to know if there any harm to our phone when system partition been read and write much more frequently than before?
AW: [MOD][ALPHA][2013-02-14] Save internal memory: dalvik-cache on /system AROMA
theggs said:
great job!
but i want to know if there any harm to our phone when system partition been read and write much more frequently than before?
Click to expand...
Click to collapse
No worries there, it's the same underlying block device. The only "issue" with having /system rw is it's maybe easier to accidently mess with your Rom at the command prompt. But wear on the flash is the same, no matter what partition is used for dalvik-cache.
Sent from my HTC Sensation XE using xda app-developers app
trying it out
trying it on cm10.1..it works!save 200+mb in /data. now more apps can be installed. now i can install much more apps thx for your great job!
just for one thing, this mod just move dalvik-cache in /data to /system, and dalvik-cache in /cache is still there. so still can only creat 50mb swap partition in /cache with the turbo boost.
Sent from my HTC Sensation using Tapatalk 2
theggs said:
trying it on cm10.1..it works!save 200+mb in /data. now more apps can be installed. now i can install much more apps thx for your great job!
just for one thing, this mod just move dalvik-cache in /data to /system, and dalvik-cache in /cache is still there. so still can only creat 50mb swap partition in /cache with the turbo boost.
Click to expand...
Click to collapse
Hi, thanks for testing!
For your issue: I think there should be only one dalvik-cache (either in /data or in /cache), the other one probably being a leftover of another rom. could you try wiping dalvik-cache & cache and see which one is re-created at boot? [If really both, I'll gonna have a look at CM 10.1 myself...]
edit: uninstall the mod before wiping please ...
tired and still get dalvik-cache in both /date and /cache without this mod. and with this mode, dalvik-cache in both /cache(67.73mb) and /system(238.32mb).
theggs said:
tired and still get dalvik-cache in both /date and /cache without this mod. and with this mode, dalvik-cache in both /cache(67.73mb) and /system(238.32mb).
Click to expand...
Click to collapse
Ok thanks ... I just researched a little on this and probably your ROM splits dalvik-cache in two parts, for system apps (on /cache) and user apps (on /data).
Of course I could make this mod move both of them to /system, but I think I'll first try to implement some checks for available space in order to make this a safe operation. I'll think about solutions ...
edit: for stripped-down / AOSP roms, this should always be safe, having around 450 to 500 MB free space on /system -- but in order to make this mod safe for all, I think I'll have to work a little on it
Looking forward to the next vision. thx for your work again!
Nice idea!
Just wondering since most of us have s-Off, isn't there a way to repartition the band, so I can make more space on data instead of system? I always use aosp roms, so there isn't needed much space on system for me
Sent from my HTC Sensation using xda premium
Caspertje19 said:
Just wondering since most of us have s-Off, isn't there a way to repartition the band, so I can make more space on data instead of system? I always use aosp roms, so there isn't needed much space on system for me
Click to expand...
Click to collapse
Yep, I had that idea, too. Especially using AOSP, the space on /system is wasted.
I'm still not sure whether repartitioning is possible, but now I think I wouldn't dare to, given the fact that recovery resides on the same block device -- I'd worry to brick my phone fiddling with the partition table.
So, for me, moving dalvik-cache to system and installing apps I constantly use to /system/app seemed to be the "next-best" solution.
I'll update this mod probably this weekend, adding some logic checking space-requirements should make it safe to flash.
Caspertje19 said:
Nice idea!
Just wondering since most of us have s-Off, isn't there a way to repartition the band, so I can make more space on data instead of system? I always use aosp roms, so there isn't needed much space on system for me
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Only people I know who can create custom hboots are alpharev and thalmus_
Sent from my HTC Sensation using xda app-developers app
It's an old thread, but has anyone a working link to download this ?
I think this is relevant for today.