[DALVIK MOD][XXLPH] dalvik-cache --> /preload. For pure ICS - Galaxy S II Android Development

This mod will move dalvik-cache from /data to /preload freeing up some space and utilizing the otherwise unused /preload partition when running a pure ICS ROM.
Based on the SGS2-CF-ROOT-XXLPH kernel.
The kernel is untouched but the init.rc script on initramdisk is modded to mount /preload with same prefs as /data normaly has.
It does not wipe or format anything, exept the dalvik-cache.
After installation, wiping dalvik-cache from CWM actually works just fine.
Flash it with CWM.
/Cheers

Can you explain better the benefits of using this? It's unclear for noobs like me.

bodhisattva99 said:
This mod will move dalvik-cache from /data to /preload freeing up some space and utilizing the otherwise unused /preload partition when running a pure ICS ROM.
Based on the SGS2-CF-ROOT-XXLPH kernel.
The kernel is untouched but the init.rc script on initramdisk is modded to mount /preload with same prefs as /data normaly has.
It does not wipe or format anything, exept the dalvik-cache.
After installation, wiping dalvik-cache from CWM actually works just fine.
Flash it with CWM.
/Cheers
Click to expand...
Click to collapse
but if u do that, all files under the dalvik-cache dir have to be rebuilt every time the phone is booted

ykk_five said:
but if u do that, all files under the dalvik-cache dir have to be rebuilt every time the phone is booted
Click to expand...
Click to collapse
I haven't looked at the mod yet, but if the dalvik cache is sym linked to the other partition, then it wouldn't have to rebuilt.

Trumpex said:
I haven't looked at the mod yet, but if the dalvik cache is sym linked to the other partition, then it wouldn't have to rebuilt.
Click to expand...
Click to collapse
i've not looked at it neither, but i have used sym links before, and the files in dalvik were duplicated, one for the old dalvik-cache, plus one for the symlink
eg
[email protected]@[email protected] and [email protected]@[email protected]
PS pls correct me if i am wrong coz i tried it couple of mths b4

Thanks all for the interest.
OBSERVE! Only for XXLPH kernel.
Answers to your questions:
* Benefit: you move away 100-300Mb of data to /preload and can use more on /data to use your favorite apps.
* No, there is no duplication of files. And YES the dalvik is rebuilt, but only on the fist boot, not each time, unless you tamper with the new paths, but the script takes care of that, so dont worry.
* kernel mounts /preload with same prefs as /data, and also in RW mode.
* the script takes care of all your worries (/system/etc/init.d/S99dalvik2preload). It is written so you can remove any directory/link (/data/dalvik-cache or /preload/dalvik-cache) and your phone still boots up and rebuilds the dalvik on /preload/dalvik-cache. A symlink is created to /preload/dalvik-cache from /data/dalvik-cache and all works just as before.
Works aslo with CWM Recovery "Wipe dalvki cache" since CMW seems to mount all filesystems and respects lymlinks.
Tested and works.
No worries.
Flash it and let me know what you think.

Installed, seems to work just fine, many thanks!

Atomix86 said:
Installed, seems to work just fine, many thanks!
Click to expand...
Click to collapse
Nice. Thanks for the feedback! Keep it coming.
Can you post your /data and /preload usage?

Hi guys, hope you like it.
though....
I would really like to have some input/feedback on this mod.
Feel free to comment, anytime, anywhere and anyhow.

ykk_five said:
but if u do that, all files under the dalvik-cache dir have to be rebuilt every time the phone is booted
Click to expand...
Click to collapse
No, not every time, just on the first execution.
I fixed the rest in my script.
Or did I missunderstand you mate?

thank you bodhisattva99 you are the best ...

is this the same with "Integrate sys Dalvik into ROM" option from Titanium Back-Up Pro?

So how long does first boot take? I'm stuck on boot logo no matter what. Once I got to the boot animation and it kept going for a good 5 minutes. Reflashing it didn't help.

bodhisattva99 said:
No, not every time, just on the first execution.
I fixed the rest in my script.
Or did I missunderstand you mate?
Click to expand...
Click to collapse
hi, if i remember correctly, since the path in init.rc points to /system/framework, so the files there will be processed to dex files. i then symlinked it to /data/framework and i found files like [email protected]@[email protected] and [email protected]@[email protected]
i cant remember what else i have changed at that time but, perhaps i was not satisfied with the final result and hence stopped testing it.
anyway, i am happy to see ppl tries to find out these kind of tweaks/tricks again
good luck and carry on

KukurikU said:
is this the same with "Integrate sys Dalvik into ROM" option from Titanium Back-Up Pro?
Click to expand...
Click to collapse
No, it is not.
That option moves the dalvik cache files for /system applications into /system

Hi, great work! I have taken the liberty of rewriting your script from scratch to a new and what I believe to be a more efficient one. There is a requirement of having Busybox installed in /system/xbin. I haven't tested it myself since I do not own an SGS2, but AColwill has tested it for me and says it appears to boot faster.
Link in my signature.

Does this work on all ICS stock rooted and custom roms like XXLPQ ans LP7? Thanks

sniperwolf64 said:
Does this work on all ICS stock rooted and custom roms like XXLPQ ans LP7? Thanks
Click to expand...
Click to collapse
May work, version 1.5 uses the SGS2-CF-ROOT-XXLPH kernel. I'm not sure which kernel LPQ/LP7 use. Have not had time to check it out.
I will make a new one for LP7 this weekend if i can find the time.

Elisha said:
So how long does first boot take? I'm stuck on boot logo no matter what. Once I got to the boot animation and it kept going for a good 5 minutes. Reflashing it didn't help.
Click to expand...
Click to collapse
That suckzzz...
Should just take a few seconds longer, not counting the dalvik rebuild.
What ROM are you on?

Proz0r said:
Hi, great work! I have taken the liberty of rewriting your script from scratch to a new and what I believe to be a more efficient one. There is a requirement of having Busybox installed in /system/xbin. I haven't tested it myself since I do not own an SGS2, but AColwill has tested it for me and says it appears to boot faster.
Link in my signature.
Click to expand...
Click to collapse
Checked out your script. Nice work.
Will try it out. This is a better solution than incorporating kernel changes, obviously...
EDIT: Flashed it and phone does not boot... stuck in bootanimation...

Related

ClockWorkMod Recovery With a2sd Partition & Root Package

This is koush ClockWorkMod Recovery with a Few Edit's
This will Work on any Phone That currently can Use this Recovery, but was edited for the MyTouch 3g Slide
Download here > http://www.4shared.com/file/KzYHr4U_/update.html
You at your own Risk!!
- Contains Auto Root ( Su / Superuser.apk ) If already Root, this will not effect Root & Safe to use!
See how-to Root the Slide Thread for more info.
-Contains Dusty51 script for Partitioning the a2sd & Swap
-fstab so swap will work
-Default partition table's are:
-Linux Swap @ 32mb
-ext2 a2sd partition @ 512mb
-Fat32 Partition is based on the size after the 2 above
How-to Use:
Once You load the Recovery via update.zip, Unplug & Plug the USB to make sure the Device is Seen..
- Open Command Prompt from Computer
- Adb shell
- sdparted
- Next Follow the Command, y = Y to confirm..
Note: Backup your SDCARD first, only thing should be on it is the update.zip then Follow the above to Format for a2sd support!
Thanks man.1 question tho. How do I choose which size I want the partion I have the stock 8gb card and only want to use 500mb for the swap since I watch mostly videos on my phone and don't store to many apps
richierich118 said:
Thanks man.1 question tho. How do I choose which size I want the partion I have the stock 8gb card and only want to use 500mb for the swap since I watch mostly videos on my phone and don't store to many apps
Click to expand...
Click to collapse
500mb for Swap!!
There is never a reason to have that Much Swap.. Honestly Swap isn't needed & the Current Settings are honestly perfect for the Phone.. Even with an 8GB Sdcard
Eugene, thanks for the work on this.
I ran through the steps and formatted the SDcard, but then all my apps were gone (market too!). I'm wondering if I should have wiped first?
So I wiped, re-flashed SlideMeRoot5r1.zip, and it never comes out of the black screen/script. I waited 10 minutes (timed it) and then tried again. Still nothing.
Thoughts? Am I missing something?
eugene373 said:
500mb for Swap!!
There is never a reason to have that Much Swap.. Honestly Swap isn't needed & the Current Settings are honestly perfect for the Phone.. Even with an 8GB Sdcard
Click to expand...
Click to collapse
Ok I didn't know I thought the format was for 3 parts. Regular storage,ext,and swap. Cool tho thanks
bournefusion said:
Eugene, thanks for the work on this.
I ran through the steps and formatted the SDcard, but then all my apps were gone (market too!). I'm wondering if I should have wiped first?
So I wiped, re-flashed SlideMeRoot5r1.zip, and it never comes out of the black screen/script. I waited 10 minutes (timed it) and then tried again. Still nothing.
Thoughts? Am I missing something?
Click to expand...
Click to collapse
Okay Do this!
Boot the Rom until you get a Black Screen & follow like so..
adb shell
cd /system/sd/dalvik-cache
rm -r *
cd /system/sd/app-private
rm -r *
exit
Click to expand...
Click to collapse
with the cmd prompt still open, type:
adb reboot recovery
Click to expand...
Click to collapse
From stock Recovery.. Do a Factory Reset
next,
Run the Update.zip to enter into ClockworkMod recovery..
Choose to install the Rom you wish... slide5 w/ a2sd Correct?
Once Install is complete
Do the Following from cmd prompt once more
adb reboot recovery
Click to expand...
Click to collapse
Boot back into Clockwork, Then using cmd prompt type:
sdpart
Just Hit Y until install Complete
Next Reboot normally.....
I hate to drag that out for you, but that is 100% going to get you to boot
More information from when I try to wipe:
-- Wiping data...
Formatting Data:...
Formatting Cache:...
Formatting SDEXT:...
E:Can't mount /dev/block/mmcblk0p2
(no such device)
Error mounting /sd-ext/!
Data wipe complete.
bournefusion said:
More information from when I try to wipe:
-- Wiping data...
Formatting Data:...
Formatting Cache:...
Formatting SDEXT:...
E:Can't mount /dev/block/mmcblk0p2
(no such device)
Error mounting /sd-ext/!
Data wipe complete.
Click to expand...
Click to collapse
ignore Error mounting /sd-ext/!
Ok one more question I am on slidemeroot2 should I do this before updating to slidemeroot5 or after.
I just ran this in prep to upgrade to slideme5, I'm on 2 now.
it was painless (I'm currently restoring my sdcard contents).
I'm going to try a slide5 update without wiping to see if it works, if it doesnt then i'll just wipe but I wanteed to see first without losing my settings and stuff
The whole Reason I removed 5 & replaced with 5r1 was due to issue & error's.
If you don't wipe you will still have those same error's & issue's.
eugene373 said:
The whole Reason I removed 5 & replaced with 5r1 was due to issue & error's.
If you don't wipe you will still have those same error's & issue's.
Click to expand...
Click to collapse
I didn't install 5 yet.
I'm on *2* still -> going to 5r1.
Anwyays I wiped first.
eugene373 said:
The whole Reason I removed 5 & replaced with 5r1 was due to issue & error's.
If you don't wipe you will still have those same error's & issue's.
Click to expand...
Click to collapse
you think the fix permissions script could work on the slide? I know i went from cupcake to donut to eclair with out ever wiping the g1 with the latest fix permissions
WORKED like a charm..now have 115mb free
turboyo said:
you think the fix permissions script could work on the slide? I know i went from cupcake to donut to eclair with out ever wiping the g1 with the latest fix permissions
Click to expand...
Click to collapse
or you can just download Koush Rom Manager app that has that included.
sorry for the noob question, but what is this for exactly?
Hot diggity, now everything is being installed to SD by default. I like that.
I am going to guess that for those apps that dont play well with apps2sd, we manually move them to /data/apps/ ?
Does your latest support ext4?
Maybe that is the problem with black screen.
Clay
sheek360 said:
sorry for the noob question, but what is this for exactly?
Click to expand...
Click to collapse
To help out internal phone storage.
htcclay said:
Does your latest support ext4?
Maybe that is the problem with black screen.
Clay
Click to expand...
Click to collapse
No it don't support ext4.

[9/30] RW access on /system

THIS WILL NO LONGER BE MAINTAINED and is officially killed
go here if you want rw access and get the version without a kernel.(assuming you have a kernel installed that has aufs support)
IF YOU FLASHED THE UPDATE.ZIP THAT WAS ON THIS PAGE...PLEASE DO THE FOLLOWING:
You need to remove the init script and static busybox that were installed on your device. You have to do this in recovery mode since your rw access is not real.
Download the version linked to above and place it at the root of your sdcard.
open rom manager
select boot to recovery
boot to recovery while plugged in to computer
then from computer:
Code:
adb shell
mount /system
mount /data
rm /system/etc/init.d/99sysrw
rm /data/bin/busybox
umount /system
umount /data
exit
and from the phone:
flash BlaY0's update.zip you put on the sdcard
Really cool for your contributions.
I have no clue what you said, though. Will I be able to uninstall system apps with this? I'm guessin not as you were mostly speaking of partitions.
Lemme guess, brings ext2/3 etc together for something?
wow, best news that I have heard all day.
Ah! Thank you so much. I was just asking about this a couple weeks ago.
Sent from my T-Mobile myTouch 3G Slide using XDA App
does this mean that we can use metamorph now?
sorry if its a stupid question
Hayzie said:
Really cool for your contributions.
I have no clue what you said, though. Will I be able to uninstall system apps with this? I'm guessin not as you were mostly speaking of partitions.
Lemme guess, brings ext2/3 etc together for something?
Click to expand...
Click to collapse
No, You will not be able to uninstall apps with this (at least I don't think). It doesn't actually let you write to the /system partition, it just creates an overlay.
And No it does not even look for an ext partition, it just uses the data partition.
rodriguez27 said:
does this mean that we can use metamorph now?
sorry if its a stupid question
Click to expand...
Click to collapse
Don't really know, I haven't tried. Bear in mind however since it is on your data partition, space could be an issue. Any files changed would then be stored in /data/sysrw.
thanks for the quick info
I'm gonna try this out with Android Commander. With this I should be able to remove apps and delete files without restarting into recovery and mounting everything. Right?
dumfuq said:
No, You will not be able to uninstall apps with this (at least I don't think). It doesn't actually let you write to the /system partition, it just creates an overlay.
Click to expand...
Click to collapse
apparently I was wrong.
as a test I did...
Code:
rm system/app/com.amazon.mp3.apk
while the phone was booted and it worked!
Even after a reboot I do not have com.amazon.mp3.apk installed
It worked for me too, I used android commander booted and running and removed out of /system/apps android.tether.apk, mytouchmusic-signed.apk, and twitter.apk. I had a force close when I removed one thing (I am sure it was running in the background)
They all were gone after a reboot too, I was also able to update adfree just fine.
Any way this can be built into roms?
Thanks for the hard work!
dumfuq said:
No, You will not be able to uninstall apps with this (at least I don't think). It doesn't actually let you write to the /system partition, it just creates an overlay.
And No it does not even look for an ext partition, it just uses the data partition.
Don't really know, I haven't tried. Bear in mind however since it is on your data partition, space could be an issue. Any files changed would then be stored in /data/sysrw.
Click to expand...
Click to collapse
Hey dumfuq, thanks for this! Great idea on porting this badboy! One question though... from what I understood from the source thread is that will use the EXT. Partition for data if you have it right? So it won't break a2sd? I think I understood that correctly. Plus you need your kernel and that should make it work on any rom. I assume it won't overwite the OC kernel either. I'm excited to try this one out but I'm in the middle of rebuilding my rom so I can make a new backup (my old corrupted finally). I will test out as much as I can and let you know if different roms work. I should be done reinstalling by tomorrow (i have like 200 apps, lol!). This might turn out to be a good way to skip nandroiding and wiping all together if it turns out to work properly with a2sd/a2fat32... don't ya think?
sino8r said:
Hey dumfuq, thanks for this! Great idea on porting this badboy! One question though... from what I understood from the source thread is that will use the EXT. Partition for data if you have it right? So it won't break a2sd? I think I understood that correctly. Plus you need your kernel and that should make it work on any rom. I assume it won't overwite the OC kernel either. I'm excited to try this one out but I'm in the middle of rebuilding my rom so I can make a new backup (my old corrupted finally). I will test out as much as I can and let you know if different roms work. I should be done reinstalling by tomorrow (i have like 200 apps, lol!). This might turn out to be a good way to skip nandroiding and wiping all together if it turns out to work properly with a2sd/a2fat32... don't ya think?
Click to expand...
Click to collapse
This version is not the same as blayo's for the legend. It is closer to the desire one (although I used info from both).
Mine will not even try to detect an ext partition at this point, it just uses the data partition regardless of what is available.
Also nothing at all will get overwritten with this unless you happen to have an /system/etc/init.d/99sysrw file. It doesn't copy the kernel or modules, instead it just assumes you have a supported version . The only thing this update.zip does is add the script into init.d.
dumfuq said:
This version is not the same as blayo's for the legend. It is closer to the desire one (although I used info from both).
Mine will not even try to detect an ext partition at this point, it just uses the data partition regardless of what is available.
Also nothing at all will get overwritten with this unless you happen to have an /system/etc/init.d/99sysrw file. It doesn't copy the kernel or modules, instead it just assumes you have a supported version . The only thing this update.zip does is add the script into init.d.
Click to expand...
Click to collapse
I see... so basically, only cm based roms will work. Well, eventually, most us will move to cm based roms once bluetooth and a few minor bugs are worked out. Well, thanks for the info!
sino8r said:
I see... so basically, only cm based roms will work. Well, eventually, most us will move to cm based roms once bluetooth and a few minor bugs are worked out. Well, thanks for the info!
Click to expand...
Click to collapse
I haven't used them, but I think the newer sense roms support init.d scripts so you should be all good.
Working great on Fenix 2.0 with one of dumfuqs OC kernals...thank you much for this.
V2 is posted. It is essentially BlaY0's script for legend. I've only tested with no ext partition, but hopefully if you have one it will use it to store sysrw.
dumfuq said:
V2 is posted. It is essentially BlaY0's script for legend. I've only tested with no ext partition, but hopefully if you have one it will use it to store sysrw.
Click to expand...
Click to collapse
just so you guys now, v2 probably doesn't work for people with who want it on the ext. Blay0 fixed his though (to support non ext users), so I'll give it a look here soon.
Both versions do not work on stock kernel. Am I missing something? Should I use dumfuq kernel or cyanogenmod kernel in order to use this?
Sent from my T-Mobile myTouch 3G Slide using Tapatalk
WHAT!!?? My slide has finally lost it's parasite, com.amazon.mp3 you are toast now. You and your friends kickback, talkback, soundback, twitter... not sure what else I erased, oh genie widget. Thanks dumfuq!! You are the man
Everyone that does this, make sure to check cyanogen's wiki on making a barebones rom so you don't delete something you actually need (of course you did make a nandroid before doing this so no need to worry if you do).
You won't actually delete anything... overlay just makes you (and system) think it is deleted.

[UTILITY]EXT4 Formatter (CWM3 recovery package) UPDATED EC09 Gingerbread

THIS UTILITY IS FOR FASCINATE TOUCHWIZ FROYO/GINGERBREAD ONLY
UPDATED FOR EC09 GINGERBREAD
I have created a format utility that can be used from within CWM3 recovery. Just select the ZIP in CWM3 recovery, and the package will do ALL of the work for you.
These utilities come in two independent packages which will completely format your device with EXT4. As a bonus, it will create all directories and setup all ownership and permissions in accordance to the Fascinate.
Voodoo recovery does not currently allow you an option to select a format style, and furthermore does not truly format any partition unless it runs through the Voodoo "lagfix" transition upon booting the device.
There is one caveat in order to use EXT4: you need a kernel that supports it, and this would be using a "Voodoo" style kernel that has built in support. Luckily, most of the "good" kernels available have this ready to go.
Understand that this package will completely wipe your system, data, datadata (dbdata), and cache. This is a "full" wipe of the device. If you already have a ROM installed on your device and want to keep your device the way it is, and also want EXT4, then use the Voodoo method to switch to EXT4. The reason for this is because it backs up your data before it formats.
After you use this package, you can install any ROM of your choosing, as the package will already self-manage Voodoo's methods for "enabling" or "disabling" the "lagfix".
--------
Please report if the package is not working.
A good indicator of this is if you try to install the package and it only takes 1 second to work, then says it is finished. This means it is probably not working, however, if you are formatting the same type of file system over itself with no pre-existing data on the device, it will take the aforementioned 1 second to work.
To see if it worked: mount each partition in CWM3 recovery, then adb shell into your device and type the mount command, in the listing you should see what file system your partitions are using. If the big four all say EXT4, then the package install has been successful.
In order to assure that it will work correctly, use the latest version of a CWM3 recovery that you can find. I can personally vouch for nemesis2all's OTB CWM3 Recovery v3.0.2.8x.OTBv2. Unfortunately not all CWM3 recoveries are the same, and yours may not work with these utilities. If you find a recovery that works fine, post it here and I will update this.
--------
Packages updated: 6/28/2011 - 12:57PM EST
EXT4 Format ALL (formats everything): http://www.mediafire.com/?6hx7f8g7c8vv6xz
EXT4 Format CACHE: http://www.mediafire.com/?2621a888ydv41mg
EXT4 Format DATA: http://www.mediafire.com/?ck2bb340yybpe4z
EXT4 Format DBDATA: http://www.mediafire.com/?ahxzs8xsyyvemed
EXT4 Format FOTA: http://www.mediafire.com/?42ijpi67grdb6mm
EXT4 Format PREINSTALL: http://www.mediafire.com/?d42as1l3pdbhr2t
EXT4 Format SYSTEM: http://www.mediafire.com/?rgs46hhq8qd951t
--------------------
If you like my work, consider donating, or thanking me by clicking the thanks button
thanks for this
navenedrob said:
I have created two format utilities that can be used from within CWM3 recovery. Just select the type of file system you want to use, select it in CWM3 recovery, and the package will do ALL of the work for you.
These utilities come in two independent packages which will completely format your device with either RFS or EXT4. As a bonus, it will create all directories and setup all ownership and permissions in accordance to the Fascinate.
Voodoo recovery does not currently allow you an option to select a format style, and furthermore does not truly format any partition unless it runs through the Voodoo "lagfix" transition upon booting the device.
There is one caveat in order to use EXT4: you need a kernel that supports it, and this would be using a "Voodoo" style kernel that has built in support. Luckily, most of the "good" kernels available have this ready to go.
Understand that this package will completely wipe your system, data, datadata (dbdata), and cache. This is a "full" wipe of the device. If you already have a ROM installed on your device and want to keep your device the way it is, and also want EXT4, then use the Voodoo method to switch to EXT4. The reason for this is because it backs up your data before it formats.
After you use this package, you can install any ROM of your choosing, as the package will already self-manage Voodoo's methods for "enabling" or "disabling" the "lagfix".
Please report if the package is not working.
A good indicator of this is if you try to install the package and it only takes 1 second to work, then says it is finished. This means it is probably not working, however, if you are formatting the same type of file system over itself with no pre-existing data on the device, it will take the aforementioned 1 second to work.
To see if it worked: mount each partition in CWM3 recovery, then adb shell into your device and type the mount command, in the listing you should see what file system your partitions are using. If the big four all say EXT4 or RFS (depending on script used), then the package install has been successful.
In order to assure that it will work correctly, use the latest version of a CWM3 recovery that you can find. I can personally vouch for nemesis2all's OTB CWM3 Recovery v3.0.2.8x.OTBv2. Unfortunately not all CWM3 recoveries are the same, and yours may not work with these utilities. If you find a recovery that works fine, post it here and I will update this.
Click to expand...
Click to collapse
Ok, I think I'm having a complete idiot moment here so please be patient with me. What would be the benefits of me running this on my device that is currently running jt's CM7 with OTB 1.5 kernel and EXT4 (voodoo for those who don't know) already converted? Thanks in advance.
It would be of no use. Unless you need to format your entire device.
So this would be a good thing to flash in place of wiping between rom flashes? Does it have any benefits compared to a regular data and cache wipe when you are already converted to ext4?
It would be a good idea to flash it in that scenario, yes. Currently no ROM will do the job that this package will for you, which is why a lot of ROM's say not to wipe your device, because you'll run into major issues if you do. When you do your "wipes" through recovery it doesn't really do anything besides a recursive delete of files, so it doesn't really format anything (even though it says "format" in the menu system). The only time it actually does any formatting is during the Voodoo transition. When you do wipe those areas, it does not leave the file structure intact and also does not leave the ownership and permissions intact. These packages completely solve that problem. Also, these packages are focused on performance so everything is done that is possible to make sure that your file system is as fast as possible.
navenedrob said:
It would be a good idea to flash it in that scenario, yes. Currently no ROM will do the job that this package will for you, which is why a lot of ROM's say not to wipe your device, because you'll run into major issues if you do. When you do your "wipes" through recovery it doesn't really do anything besides a recursive delete of files, so it doesn't really format anything (even though it says "format" in the menu system). The only time it actually does any formatting is during the Voodoo transition. When you do wipe those areas, it does not leave the file structure intact and also does not leave the ownership and permissions intact. These packages completely solve that problem. Also, these packages are focused on performance so everything is done that is possible to make sure that your file system is as fast as possible.
Click to expand...
Click to collapse
Ok, so basically what you are saying is this would be ideal to use instead of data/cache/dalvik wipe for rfs to rfs and ext4 to ext4, correct? Thanks in advance.
That's correct.
I've teamed up with nemesis2all and we are thinking about adding all of these abilities to the OTB kernel, so you'll be able to choose different kinds of file systems and format options through CWM3 recovery instead of having to use these packages here. That will come when it comes, but for now this is the ideal solution.
EXT2/EXT3/EXT4/XFS/RFS etc...
Also, I've updated the attachments in the post.
navenedrob said:
That's correct.
I've teamed up with nemesis2all and we are thinking about adding all of these abilities to the OTB kernel, so you'll be able to choose different kinds of file systems and format options through CWM3 recovery instead of having to use these packages here. That will come when it comes, but for now this is the ideal solution.
EXT2/EXT3/EXT4/XFS/RFS etc...
Also, I've updated the attachments in the post.
Click to expand...
Click to collapse
Just to let you know, I ran the ext4 package and I got some serious lag issues after I installed my rom and it actually starting going into a soft boot loop. It began to act very weird and unstable. I booted back into recovery and I wiped everything the way I usually do and formatted the system/data/dbdata/cache manually in mounts and storage and reinstalled. It's better than it was but it still seems like it is kinda slower and more laggier than it was before I ran the package. Any ideas? Thanks man.
You'll need to give me more information than that to determine your problem.
What kernel are you using? What recovery are you using? What ROM are you running? What are the results of running the mount command with all partitions mounted?
navenedrob said:
You'll need to give me more information than that to determine your problem.
What kernel are you using? What recovery are you using? What ROM are you running? What are the results of running the mount command with all partitions mounted?
Click to expand...
Click to collapse
OTB 1.5, CM7. It's kinda weird. When I ran your package and then flashed cm7 and booted it, it was laggier than I have ever seen my phone and when I would try to do certain operations it would soft boot. At one point I couldn't even turn wifi on. So, I booted back into recovery and wiped and manually formatted everything and reinstalled everything. After that it was still kind of laggy but much better. I restored all of my apps and got my phone back to all my custom settings. Then I began to notice that it wasn't really lagging anymore, in fact it seemed pretty snappy. I ran quadrant to see if the numbers were the same as before to determine if I was in fact ext4 converted. Surprisingly the numbers were higher than normal. And I even noticed in titanium backup that some of my internal memory had been freed up. I can't explain it but everything seems to be running really good right now. It's almost like after running your package the phone had to be conditioned, and once it was conditioned it ran real good. But, that doesn't explain why it was soft booting and wifi wouldn't work. Who knows.
Not really sure exactly, it actually could have been a few different things causing the "issues". I'm going to try your exact scenario and see what happens.
kidserious said:
OTB 1.5, CM7. It's kinda weird. When I ran your package and then flashed cm7 and booted it, it was laggier than I have ever seen my phone and when I would try to do certain operations it would soft boot. At one point I couldn't even turn wifi on. So, I booted back into recovery and wiped and manually formatted everything and reinstalled everything. After that it was still kind of laggy but much better. I restored all of my apps and got my phone back to all my custom settings. Then I began to notice that it wasn't really lagging anymore, in fact it seemed pretty snappy. I ran quadrant to see if the numbers were the same as before to determine if I was in fact ext4 converted. Surprisingly the numbers were higher than normal. And I even noticed in titanium backup that some of my internal memory had been freed up. I can't explain it but everything seems to be running really good right now. It's almost like after running your package the phone had to be conditioned, and once it was conditioned it ran real good. But, that doesn't explain why it was soft booting and wifi wouldn't work. Who knows.
Click to expand...
Click to collapse
It's possible that since you wiped your market was trying to restore all your apps in the back ground which was taking all your memory up and making your phone lag. But after you restored all your apps it was all set
Coreyc1123 said:
It's possible that since you wiped your market was trying to restore all your apps in the back ground which was taking all your memory up and making your phone lag. But after you restored all your apps it was all set
Click to expand...
Click to collapse
What I meant was as soon as it booted (during setup wizard) it was super laggy. I download TB from the market by itself and it took forever to register. I was doing the GPS fix and it soft booted. I couldn't turn wifi on and it soft booted. All before I did a batch restore in TB. And I know that the market begins to sync automatically as it always does but this was much much different.
Sent from my SCH-I500 using Tapatalk
kidserious said:
What I meant was as soon as it booted (during setup wizard) it was super laggy. I download TB from the market by itself and it took forever to register. I was doing the GPS fix and it soft booted. I couldn't turn wifi on and it soft booted. All before I did a batch restore in TB. And I know that the market begins to sync automatically as it always does but this was much much different.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
I had these same symptoms one time that I installed kasonate v7, but after reflashing, the next time it didnt.
I know you're not talking about the same cm version, but they might be related and not related to the format utility.
Ok, I ran this package again to make sure that I didn't do something wrong and to see if I would get the same results. I ran the package, flashed cm7 then gapps then OTB GB 1.5. all from the recommended recovery in your post. Again I ended up in a soft boot loop and wifi was acting up again and was causing a boot loop. So once again I booted into recovery and wiped data/cache/dalvik normally and formatted manually via mounts and storage and reinstalled again and she's running like a dream. Very weird but I must say I am very happy with the results I ended up with, regardless of how I got them. So obviously, this was not your intention for it to be done this way but I do see an improvement in responsiveness, speed and memory being freed up. Before, my free internal memory was 1.49 and now it is 1.52. Thank you sir, I appreciate this.
Thanks for this utility! Works great. Went from Jt's cm7 to the miui/touchwiz rom and ran the utility in between. My phone is running faster than ever and no issues. Thanks again!
Sent from my SCH-I500 using XDA App
Yeah running this on mesmerize with heinz 57 best my phone has ever run quadrant of 2250s @ 1.5 ghz
Sent from my SCH-I500 using XDA App
stephenj37826 said:
Yeah running this on mesmerize with heinz 57 best my phone has ever run quadrant of 2250s @ 1.5 ghz
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
You're welcome, the utility enables a few nice options as far as file system performance is concerned, that Voodoo doesn't at this time.
Do tell oh and thanks a million
Sent from my SCH-I500 using XDA App

[RECOVERY][MOD][N1][02-Nov-2011] Clockwork 5.0.2.7.111102

First of all, this is not my work. I only compiled it.
This is the usual ClockworkMod recovery, compiled from the CM7 sources with additions/modifications by j_r0dd. What I've done is only to compile it for the Nexus One. For details, check out the link to j_r0dd's original thread for the Nexus S.
The credits go to Koush for the recovery itself and to j_r0dd for the modifications. I've only tested it quickly on my Nexus One, and it seems to work.
j_r0dd said:
This is based on the latest CM7 source which I modified for myself. I take no credit for the recovery whatsoever, but I will take all the blame for my mods . We all know this is Koush's hard work. Just some things were driving me crazy personally. First was the confirmation menu. I really got sick of scrolling through all those "No"s just to flash something, so i changed it for me personally and just thought I would share. I also created a proper wipe menu. I got sick of some wipes in the main menu and the rest in the "advanced" menu. I made this more Amon_RA like. See the attached screenshot for my changes. That change has led to a few others by me. flash with fastboot or flash_image. THESE ARE NOT IN ROM MANAGER. Also if you have an issue with this take it up with me NOT Koush.
Click to expand...
Click to collapse
Original Nexus S thread with changelog here.
Download:
recovery-clockwork-5.0.2.7.111102-j_r0dd_mod-passion.zip
(old) recovery-clockwork-5.0.2.7.111027-j_r0dd_mod-passion.zip
Change log:
02-Nov-2011 (v5.0.2.7):
Merged 5.0.2.7 sources from CM7 repo again (some bugfixes)
Added option to wipe cache partition and dalvik cache at the same time
27-Oct-2011 (v5.0.2.7):
Merged 5.0.2.7 sources from CM7 repo (support for internal/external sdcard in backup/restore)
07-Oct-2011 (v5.0.2.6):
Rearranged wipe menu to avoid accidental factory wipes
Added "Reboot Bootloader"
Moved SD Card partitioning into a function of its own for both int/ext SD card
Merged 5.0.2.6 sources from CM7 repo
Added a menu choice of ext2/ext3/ext4 when partitioning SD card
25-Sep-2011 (v5.0.2.3):
Updated to j_r0dd's 5.0.2.3 version. Currently no changes made by myself.
17-Jun-2011 (v4.0.0.5):
Moved the "Wipe data/factory reset" to the bottom of the wipe menu to reduce the risk of accidental factory wipes.
19-Jun-2011 (v4.0.0.5):
Added "Reboot bootloader" option in advanced menu.
Added the ext4 modifications kindly supplied by roalex. Needs testing. Please make a proper nandroid backup with a proven working recovery version before trying this.
20-Jun-2011 (v4.0.0.5):
Added "Show log" in the advanced menu. This can help when reporting errors here. Use it.
21-Jun-2011 (v4.0.0.5.z110621):
Reverted and correctly added roalex's ext4 additions.
Modified recovery.fstab for ext4 support on some devices.
23-Jun-2011 (v4.0.0.5.z110623):
Removed NULL ext3 in recovery.fstab to hopefully get ext4 working properly.
06-Jul-2011 (v4.0.0.5.z110706):
Added "Advanced backup". Now you can backup/restore individual partitions.
Some other commits from other devs in github
Changed file limit from 10000 to 50000 in unyaffs. Should help when restoring large data partitions fails.
17-Jul-2011 (v4.0.1.0.110717):
Rebased completely on j_r0dd's 4.0.1.0 source and removed roalex's ext4 additions, as it wasn't working for everyone. Now trying with the original ext4 support which is included in CWM.
20-Jul-2011 (v4.0.1.4.110720):
Bug fixes
Disclaimer
These recoveries are compiled using the latest commits from koush, j_r0dd and others. That means they haven't been thoroughly tested and might have minor/major issues. I take no responsibility for any damages this thing might cause, but most things should work as intended. If you want something guaranteed to work, I think you should stick with one of the older versions.
Source code available here.
Thanks for compiling and posting this update here. I hope it works better than 3.0.0.5
If you're testing it, let me know if it works.
Sent from my Nexus S using Tapatalk
did anyone test this, does it resolve the damaged sd-ext partition in 3.0.0.5 one ??
gwassef said:
did anyone test this, does it resolve the damaged sd-ext partition in 3.0.0.5 one ??
Click to expand...
Click to collapse
Not using sd-ext on my N1, so I don't know. But 3.0.0.5 never damaged it back when I was using sd-ext.
Sent from my Nexus S using Tapatalk
I got it damaged 2 times, I thought it was my S2E app, but when i sent them they told me remove the 3.0.0.5 as it is known with this issue, install an older version. Since i installed the release before this one, i have no problems at all.
zyonee said:
Not using sd-ext on my N1, so I don't know. But 3.0.0.5 never damaged it back when I was using sd-ext.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
zyonee said:
If you're testing it, let me know if it works.
Click to expand...
Click to collapse
So far I tested backing up, restoring, wiping and flashing all seemed to work fine.
Can't tell anything about compatibility to SD-ext, but a compiled version of CWM 3.0.24 from the Blandroid ROM showed no problems with SD-ext. I guess this one won't make problems either.
Need to test if ROMManager is still fully functional with this version.
Kelvino9 said:
So far I tested backing up, restoring, wiping and flashing all seemed to work fine.
Can't tell anything about compatibility to SD-ext, but a compiled version of CWM 3.0.24 from the Blandroid ROM showed no problems with SD-ext. I guess this one won't make problems either.
Need to test if ROMManager is still fully functional with this version.
Click to expand...
Click to collapse
Should work, but you'll need to try it.
For some reason, ROM manager doesn't work for me. It downloads the rom, asks me if i want gapps, wipe /etc, then it reboots but NOT in recovery, and if i select Recovery, doesn't work. (goes back to original screen)... any ideas..?
joesatri said:
For some reason, ROM manager doesn't work for me. It downloads the rom, asks me if i want gapps, wipe /etc, then it reboots but NOT in recovery, and if i select Recovery, doesn't work. (goes back to original screen)... any ideas..?
Click to expand...
Click to collapse
Is the recovery properly flashed? Works well on my NS
Sent from my Nexus S using Tapatalk
sorry, blonde moment :L
Installed this recovery in my N1, works great. Maybe stupid question...Is there any way to make recoverys font bigger....There is so many space, but the font is so small...
Spakainz said:
Installed this recovery in my N1, works great. Maybe stupid question...Is there any way to make recoverys font bigger....There is so many space, but the font is so small...
Click to expand...
Click to collapse
You'll have to ask koush or the other devs about that. I only compiled from source. I'm not that skilled at modding this kind of code...
Sent from my Nexus S using Tapatalk
This recovery works well for me. Flashed using fastboot.
I also used this recovery to reformat the sd-ext partition and now my nandroid backups complete without freezing (they would freeze on the sd-ext backups last time requiring a battery pull).
Thanks for compiling and sharing this!
-D
Kelvino9 said:
So far I tested backing up, restoring, wiping and flashing all seemed to work fine.
Can't tell anything about compatibility to SD-ext, but a compiled version of CWM 3.0.24 from the Blandroid ROM showed no problems with SD-ext. I guess this one won't make problems either.
Need to test if ROMManager is still fully functional with this version.
Click to expand...
Click to collapse
restoring doesn't work with sd-ext (1GB ext4 in my case): it's always aborting during restoring data! no cache and sd-ext restoring and no "restore completed" CWM message but jumping back to the CWM main menu.
it's the same with the other CWM3.2.0.1 for Nexus One.
:-(
This Corrupts EXT partition!
This recovery corrupts EXT partition while the 2.4.0.1 doesn't restore!!! I'm staying away from clockwork recoveries from now on! I'm sick and tried of restoring corrupt ext partitions!
sir*mez said:
This recovery corrupts EXT partition while the 2.4.0.1 doesn't restore!!! I'm staying away from clockwork recoveries from now on! I'm sick and tried of restoring corrupt ext partitions!
Click to expand...
Click to collapse
So it's safe if not using sd-ext. Sorry I can't help solve the problems...
Sent from my Nexus S using Tapatalk
accuphase said:
restoring doesn't work with sd-ext (1GB ext4 in my case): it's always aborting during restoring data! no cache and sd-ext restoring and no "restore completed" CWM message but jumping back to the CWM main menu.
it's the same with the other CWM3.2.0.1 for Nexus One.
:-(
Click to expand...
Click to collapse
Yes, now having the same problem with sd-ext backups too.
zyonee said:
Only available in standard orange, I actually can't be bothered to find out how to make different color variants.
Click to expand...
Click to collapse
Aww
But still, thanks for bringing it over to the N1.
Updated OP to version 4.0.0.0.

[Q] Boot Manager

Hey guys,
Is it possible to use one of the roms and dual boot it with another rom with the boot manager? It says Galaxy S2 isn't supported.
Boot Manager Market Link: https://market.android.com/details?id=com.drx2.bootmanager
It says Galaxy S2 isn't supported.
Yes of course it is the developer is lying to you don't you think .
Quote Mr T .
jje
JJEgan said:
It says Galaxy S2 isn't supported.
Yes of course it is the developer is lying to you don't you think .
Quote Mr T .
jje
Click to expand...
Click to collapse
Haha good point! I know I started the application and it asked for so many things like what the sdcard block was and the system, data and cache size in mb was. So I thought might as well wait for someone else to try but where's the heroism in that
I am currently trying to get two independant, different ROMs to dualboot, but I am currently stuck at the 2nd OS not being able to fully initialize /data when booting up so the 2nd OS ends up in a loop at the bootanimation.
HellcatDroid said:
I am currently trying to get two independant, different ROMs to dualboot, but I am currently stuck at the 2nd OS not being able to fully initialize /data when booting up so the 2nd OS ends up in a loop at the bootanimation.
Click to expand...
Click to collapse
Ah! How much did you give for system, data and cache?
I "highjacked" the mostly unused partition 12 for the system, so it has 512MB, just like on the original system partition.
For /data I tried several things, one was a symlink into a subdir of the real data partition (that I mounted to another mountpoint) and the other was 100MB when I gave it the cache partition (mounted a tmpfs for /cache, so cache was still present and working).
Most files and folders in /data are created when the system boots up, but there is one point where it hangs....
It boots fine when I give it the original /data of the 1st system, but that defeats dualbooting IMO as I'd want to have a seperate set of data - and some ROMs need it as they are incompatible with the data of the other system....
Any progress on this?
ThaiM said:
Any progress on this?
Click to expand...
Click to collapse
Kinda.
Check the LolBoot link in my sig.
I worked around the /data init issue by not having it initialised at all, firstboot "native" and then copy the /data contents to it's new place.
That way the second OS is able to boot properly.
It's not perfect now, but works to a certain extend - of course I'm still looking for ways to make the compatibility better or other ways of dual-/multibooting....
But time's short ATM.
Also working on a small app that will aid in the process of setting up the dualboot as it is so far, i.e. no more need to mess around on shells, just tab some buttons and have it running eventually....

Categories

Resources