[HOWTO] Speed Fix! (variant of mimocan fix) - Captivate Android Development

This is a quick walkthrough of how to apply my variant of "Mimicans speedfix" using my kernels on the Captivate. The speedfix essentially consists of making an ext3 or ext4 filesystem on an sdcard, and using that as our /data directory. This method is different from the original method in many of the details, but the underlying basis is that the stock /data partition is slow as molasses so we replace it.
This method should be pretty safe. As you will notice we dont copy around stuff and create a symlink mess. We just mount a partition over the current one. Yes we still mount the old one as well, even though it wont be used unless you take your card out. If that happens the phone will mount your old /data (that will probably be very out of date at the time) but itll get you up and running right away.
Right now there are two kernels, these mount the default partition, ext3 or ext4 on the second sdcard partition, the two options are:
Stock clock speed and Overclocked.
The overclocked kernel will clock from 100 to 800 Mhz as stock, then skippinig 1Ghz going to 1.2 Ghz.
Also, before we begin make sure you have this version of Odin. I used Samsung windows drivers that I found here.
You'll also want to read this thread about download mode. here you'll learn that you will have to try real hard to actually brick these phones, and even then it may still boot.
Ofcourse you also want to have root on your captivate.
You'll also need the android sdk.
If you are on Windows or Mac you will need some software to partition and format the sdcard, this live cd will work. You could also just get an ubuntu live cd or similar.
So, now we have the necessary tools and our new kernels and can get started.
Partition the disk:
There were reports from the modaco forums when mimocan first released his fix that ext3/4 partitions larger than 2gb were a problem, so keep your 2nd partition 2gb or smaller.
Use your favorite partitioning sofware to create 2 partitions on your sdcard. the first one will be formated FAT32 (vfat), and the second one ext3 or ext4. Make sure both are 'primary partitions'. You may want to make the second partition have partition type 83 (linux native).
Copy data files to sdcard:
If you are coming from stock, (eg without an existing a2sd /data partition on your sdcard) boot the phone without your formatted card and hotplug it before starting this process.
Using the sdk you need to connect the phone and use 'adb shell' to get a prompt on the phone.
Then follow these steps:
Code:
$
$ su -
# mkdir /sdcard/mnt
# mount -t ext4 /dev/block/mmcblk1p2 /sdcard/mnt
# busybox cp -a /data/* /sdcard/mnt
# umount /sdcard/mnt
# exit
$ exit
Flashing the kernel
1) Disconnect USB cable.
2) Open up odin.
3) Put your phone into download mode.
4) Connect USB cable, wait a second Odin should detect your phone, if not fiddle about with your drivers and reboot windows or something. This can be a real PITA.
5) In Odin load the kernel tarfile as "CSC"
6) Click "Start" in Odin, flashing should only take a few seconds.
You may run into issues here randomly and have a phone with the phone-!-computer image (I did!). Just go read up on the 'download mode' thread linked above it tells you how to proceed.
7) When you have booted your new kernel and /data partition you may have some issues with a few widgets/apps. Reinstalling or waiting/fiddeling with them seems to solve the issue. Maps was slow to open the first time after a new /data partition was mounted for me a few times, but subsequent launches were snappy.
If you want you may donate to my beer fund. It is not necessary but much appreciated

Didn't work for me. I partitioned my external SD card, flashed the speedup2 kernel, then ran the commands you posted, replacing 'ext3' with 'ext4'. My quadrant score is still in the low 900's.
Can you explain exactly what those commands do? The mimocan fix makes a lot more sense to me. Why did you decide to take a different approach?
Thanks for your help and effort!

I get 1716 scores in quadrant, but with real world running tests Touchdown and Dolphin HD browser still lag like holy hell.
I originally had the "method 2" hack (moving apps to the NAND) and that worked wonders, especially with these apps.
Can anyone test these two applications and see if there is lag for you?
Dolphin - try opening a new tab, closing it, and goto a large page and scroll with the volume buttons - it should all be smooth and quick
Touchdown - It should be very quick going between emails, I get a 5+ second delay before showing the email
Also in Quadrant, even though I get 1700 scores, do you guys get stuck at I/O Database writes for a good 3+ minutes?

The captivate speedup kernel link is dead. Can soneone please post a mirror? Thanks

Worked great for me using ext4 partition/kernel. It brought my quadrant to 1817! Thats with a poor little 4gig, class 2 micro sd card. Im also running the i9000 JM2 firmware with Samset 1.6.
Thank you for all your hard work!!!! My phone is now complete (for now lol).

andy2na said:
I get 1716 scores in quadrant, but with real world running tests Touchdown and Dolphin HD browser still lag like holy hell.
I originally had the "method 2" hack (moving apps to the NAND) and that worked wonders, especially with these apps.
Can anyone test these two applications and see if there is lag for you?
Dolphin - try opening a new tab, closing it, and goto a large page and scroll with the volume buttons - it should all be smooth and quick
Touchdown - It should be very quick going between emails, I get a 5+ second delay before showing the email
Also in Quadrant, even though I get 1700 scores, do you guys get stuck at I/O Database writes for a good 3+ minutes?
Click to expand...
Click to collapse
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.

_Opiate_ said:
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.
Click to expand...
Click to collapse
Its a brand new Kingston 8gb class 4 card, havent used it before applying this hack

Postal76 said:
Didn't work for me. I partitioned my external SD card, flashed the speedup2 kernel, then ran the commands you posted, replacing 'ext3' with 'ext4'. My quadrant score is still in the low 900's.
Can you explain exactly what those commands do? The mimocan fix makes a lot more sense to me. Why did you decide to take a different approach?
Thanks for your help and effort!
Click to expand...
Click to collapse
All you do is copy the files from your original /data partition onto the root of your ext{3|4} partition on the sdcard. Then that is mounted on reboot ontop of /data so you can use the new data partition from your card.
I feel this is a MUCH cleaner method than the original Mimocan fix, that copis a full copy of data into the root of the device (unnecessary backup since you still have your original /data partition as well), then it mounts your sdcard on /disk and symlinks that to /data.
I just don't see the need for the symlinks and stuff and honestly I thought this was a simpler method, no symlinks or anything.
If you arent seeing any speedups I'm betting something didn't go right, you are probably still running of the old /data partition. Are you sure you are running the speedup2 kernel and not the ext4 only kernel?

spyz88 said:
The captivate speedup kernel link is dead. Can soneone please post a mirror? Thanks
Click to expand...
Click to collapse
It seems to work from here...

_Opiate_ said:
Might be tome for you to pick up a new SD card. I have used both fix's and find this fix to be way better. I get no lag in Dolphin HD.
Click to expand...
Click to collapse
Except the Quadrant scores do you notice any real speed boost?

andy2na said:
.....
Also in Quadrant, even though I get 1700 scores, do you guys get stuck at I/O Database writes for a good 3+ minutes?
Click to expand...
Click to collapse
yeah database I/O takes forever still.
Like I said in the other thread, try to reinstall the apps, Dolphin is very very fast here (thanks for getting me a new browser btw.)

I'm still a complete failure and now i get stuck at the galaxy s boot screen

Nuke, after doing the ext4 only method, I only get quadrant scores of 900.
Am I doing something wrong? I go through all the steps fine and everything seems like it went well but it seems like I'm doing something wrong down the line.
one thing I do notice is that I have A LOT MORE AVAILABLE MEMORY in advanced task killer. I use to only have 100 now I have 180MB.
Is it crucial to have to flash the Speedfix2?

after i put in
busybox cp -a /data/*
nothing happens it just sits there

igm503 said:
after i put in
busybox cp -a /data/*
nothing happens it just sits there
Click to expand...
Click to collapse
that part took like 15 min for me since I have a lot of application and app data

but there is no trailing dot it just repeats what i typed and then leaves a blank space

same thing it just repeats it

igm503 said:
but there is no trailing dot it just repeats what i typed and then leaves a blank space
Click to expand...
Click to collapse
What do you mean by "there is no trailing dot" ? Did you type it in? You need to include the trailing dot in your command; based on what you posted it appears you did not do that.

WOW! Okay... So now I'm getting 1756...
You just have to leave Quadrant on for like 15 minutes sometimes! This is very strange!

Notice the period after the asterisk. In the old forum, someone had a problem with that.
I did this fix last night after countless times of my messing up and figuring out how to partition with my phone still being able to read the card, flash problems with Odin, etc etc. I'm using an 8gb Classic 6 and just got an 1805 in Quadrant, and the phone is incredibly, noticeably faster. Did have some weird app problems when it was first applied, but some reinstalls fixed it. Thanks again Nuka!
Sent from my SAMSUNG-SGH-I897 using XDA App

Related

lucid Rem mod jf adp 1.5 or the dude cupcake 1.1?

I now have jf adp 1.5, but I want an apps2sd firmware, but I can't decide which one is the best! probably both are the best, I know!
which are the difference between Lucid Rem and the Dude?
JF's firmware comes already supporting Apps2SD. In fact you can do it all right from the terminal on your phone. And where did you d/l from again? Because I know for a fact JF not only states this fact on his blog (the page you probably got it from) but also links to a page of concise and easy to follow instructions. Personally I think you should try all 3 (be sure to READ everything TWICE when using any firmware w/ unionfs).
Also it dosen't hurt to search as I know EVERY freaking bit of this info is w/in the first 2 pages of this forum or on JF's site....RTFM
yes I know JF is compatible to app2sd, but the process to have apps2sd is not so concise and easy: lucid Rem and the Dudes seem to be more easy!
I'm sorry if I asked: I actually red the first 3 pages, not only 2, but it is not so easy to summarize tons of information!
i went through about 8 hours worth of wiping upgrading and testing the builds.
first thing i did was wipe the ext2 partition onthe card using gparted on linux. (i actually removed the partition and repartitioned it to do so. for more stability in case of bad partitioning from before] and then i wiped the phone. before upgrading.
- original JF 1.5 stable. but apps2sd was a bit complicated.
rewipe. repartition.
- thedude's rom is stable, but i found that i could not for the life of me install games. at all. it kept coming up as con.[game].whatever and i couldn't run any of them. [tested with jewellust and tangram pro]. also, the apps2sd is in collaboration with marcusmaximus and while i love the way he did the apps2sd, there wasn't much in instructions on how to make upgrading to thedude's build + marcus' app2sd work perfectly. [i got it to work, but it was w/o it's share of problems]
another rewipe. repartition.
- using Lucidrem's modded 1.5 + apps2sd steps laid out by mailman. simple perfect. 73mb free. apps2sd and stable as hell. i would recommend this.
but most of all, just wipe the ext2 partition for stability reasons. the move from rc33 to 1.5 was not a simple upgrade with apps2sd involved.
Exegence said:
i went through about 8 hours worth of wiping upgrading and testing the builds.
first thing i did was wipe the ext2 partition onthe card using gparted on linux. (i actually removed the partition and repartitioned it to do so. for more stability in case of bad partitioning from before] and then i wiped the phone. before upgrading.
- original JF 1.5 stable. but apps2sd was a bit complicated.
rewipe. repartition.
- thedude's rom is stable, but i found that i could not for the life of me install games. at all. it kept coming up as con.[game].whatever and i couldn't run any of them. [tested with jewellust and tangram pro]. also, the apps2sd is in collaboration with marcusmaximus and while i love the way he did the apps2sd, there wasn't much in instructions on how to make upgrading to thedude's build + marcus' app2sd work perfectly. [i got it to work, but it was w/o it's share of problems]
another rewipe. repartition.
- using Lucidrem's modded 1.5 + apps2sd steps laid out by mailman. simple perfect. 73mb free. apps2sd and stable as hell. i would recommend this.
but most of all, just wipe the ext2 partition for stability reasons. the move from rc33 to 1.5 was not a simple upgrade with apps2sd involved.
Click to expand...
Click to collapse
really thanks a lot! it answers to my question!
just a dubt: my G1 is from uk, so originally it had the RC9, and after few change I came up to adp jf 1.5., the sd card (a trascendent 8gb class 6) is brand new, I just partitioned it for making ext2 partition and I didn't write anything on it. Should I wipe it as well? if yes how I should do?
if lucid rem is rteally smooth I'll go for it!
Hey there, I have the same card, if you already partitioned it but havent written anything to EXT2 you should be good. As for Lucidrem I have been using the modded JFRC33 since day one and props to all the other methods and designers of apps to sd but lucid's was the easiest for me since I dont have a home CPU. I was able to use terminal emulator to run the commands and it was extremely quick & simple. If you're unsure or not able to run adb shell on a cpu like me I would definately go with his modded version
Just to add to this mess
I am using Dude's build (mainly because I had it since .05) and once you update the script in 1.1 your games and protected apps should be fine.
MarcusMaximus states that unionfs method is much more stable an powerfull but I am yet to be convinced in that. It has a HUGE potential (move individual apps back and forth, boot up without sd, etc) and I see why everybody seems to jump on that boat but the question is... do we need it? If you're putting your apps on SD you probably don't want them back on your phone, and, honestly, why do you need to boot your phone without SD? I also think (and this only MY opinion as noone else stated this) that unionfs slows down you system slightly, I could be wrong. At this point, I find it more of the hassle to use it so I'm going back to JF firmware and doing sym-links.
Re-inforcing Exegence's statement, I've used sym-links (Lucid's way) since December with absolutely no problems (app, app-private, dalvik-cache, and caches for market, browser, maps and streetview).
I may see where unionfs goes in few months but at this I'll stick with true and tried.
Good luck to everyone
borodin1 said:
Just to add to this mess
I am using Dude's build (mainly because I had it since .05) and once you update the script in 1.1 your games and protected apps should be fine.
MarcusMaximus states that unionfs method is much more stable an powerfull but I am yet to be convinced in that. It has a HUGE potential (move individual apps back and forth, boot up without sd, etc) and I see why everybody seems to jump on that boat but the question is... do we need it? If you're putting your apps on SD you probably don't want them back on your phone, and, honestly, why do you need to boot your phone without SD? I also think (and this only MY opinion as noone else stated this) that unionfs slows down you system slightly, I could be wrong. At this point, I find it more of the hassle to use it so I'm going back to JF firmware and doing sym-links.
Re-inforcing Exegence's statement, I've used sym-links (Lucid's way) since December with absolutely no problems (app, app-private, dalvik-cache, and caches for market, browser, maps and streetview).
I may see where unionfs goes in few months but at this I'll stick with true and tried.
Good luck to everyone
Click to expand...
Click to collapse
I do agree that the dudes build is awsome but is it faster at first it was fast but now that i have almost 100 apps on my class 6 sd card I see the phone almost pausing when I oper certian apps. emample it I go to bettercut and try to change an icon and click on use icon pack if i have one or two icon packs its fine but if I have 6 or 8 it has a hard time opening the pop up window with the different icon packs... I have no tryed JF with apps to sd only without apps to sd and it was fine maybe i need to give it a shot and see which one is faster!!!!
borodin1 said:
Just to add to this mess
I am using Dude's build (mainly because I had it since .05) and once you update the script in 1.1 your games and protected apps should be fine.
MarcusMaximus states that unionfs method is much more stable an powerfull but I am yet to be convinced in that. It has a HUGE potential (move individual apps back and forth, boot up without sd, etc) and I see why everybody seems to jump on that boat but the question is... do we need it? If you're putting your apps on SD you probably don't want them back on your phone, and, honestly, why do you need to boot your phone without SD? I also think (and this only MY opinion as noone else stated this) that unionfs slows down you system slightly, I could be wrong. At this point, I find it more of the hassle to use it so I'm going back to JF firmware and doing sym-links.
Re-inforcing Exegence's statement, I've used sym-links (Lucid's way) since December with absolutely no problems (app, app-private, dalvik-cache, and caches for market, browser, maps and streetview).
I may see where unionfs goes in few months but at this I'll stick with true and tried.
Good luck to everyone
Click to expand...
Click to collapse
A slight oversimplification of my reasoning in using unionfs, so I'll try to explain my motivations here. My primary motivation was to make the process of moving apps to the sd card more stable. Unfortunately, I think many have misunderstood what I mean by that. I don't actually mean that it will have fewer problems, it pretty much has an equal amount from what I've seen.
What I mean by it is that in the case of a problem, the phone will still start. With the symlink method I was seeing constant problems of boot looping for no clear reason. It seemed to work *most* of the time but when it didn't the system crashed... hard. With unionfs it's extremely rare that I get any reports of problems causing the phone to not start, and when I do it's always a corrupted file system on the sd card. By far the most common problems have been certain specific apps not working(at this point togglesettings is the only one I know of that just straight doesn't work with this method... and it actually works, it just force closes on boot) and some apps having to be re-downloaded when the method is applied. There's no more than a handful of more serious problems(such as apps showing up perfectly in their correct locations on the filesystem but not showing up in the launcher... wtf) which I definitely couldn't say for the symlink method. Actually even problems with a corrupted file system are massively down from the symlink method now that mine won't let you move the app caches(responsible for every single freakin' report of stale nfs handles).
Aside from that was the ability to have some apps/storage on the sd card. This is primarily for stability reasons, just in case there's any apps that freak out(or go really slow) from being on the sd card, they can be moved to the internal memory without having to undo the whole process.
At any rate, I'm not mad at anyone(just in case anyone thought I'm upset about anything said about the unionfs method), just explaining my motivations behind making it a reality.
Maybe I'm missing something, but I really don't understand why there's umpteen different threads about moving apps to the SD card, why there are *paid* apps to do this, etc.
Is it really that hard to type:
cp -a /data/app /system/sd
cp -a /data/app-private /system/sd
rm -r /data/app
rm -r /data/app-private
ln -s /system/sd/app /data/app
ln -s /system/sd/app-private /data/app-private
Why do people make this complicated?
As for instability with the symlink method, I haven't experienced any, and I think it's specifically because I did NOT move the dalvik cache, and there are a number of good reasons for leaving it in place regardless of the method used.
ok, now everything is more... clear but complicate
another question (remember I'm a noob): what is the dalvik cache? why I shouldn't move it? is it huge?
anbd the last (for now ) which is the difference between unionsf and symlink methods?
iso67 said:
ok, now everything is more... clear but complicate
another question (remember I'm a noob): what is the dalvik cache? why I shouldn't move it? is it huge?
anbd the last (for now ) which is the difference between unionsf and symlink methods?
Click to expand...
Click to collapse
Dalvik is the name of the Java VM on Android. It's what's used to run all of the Java programs.
Dalvik-cache is a directory on the filesystem that stores optimized versions of the dex files that are contained within an application's apk archive (think of the dex file as the executable and the apk as a zip file that contains the dex file and other files).
The reason moving it can cause problems is that if dalvik-cache is not accessible, no Java programs (including system programs) can run.
I have tried every combo of build and SD card mods and must say.........they all work, and I think 90% of problems are user error, I know 9 out of 10 of my mistakes were.
My biggest advice, if you dont understand what is happening you will always make dumb mistakes and be "that guy". Try to understand what you are doing before you do it and it you may be able to understand how to fix your own problem.
brandenk said:
I have tried every combo of build and SD card mods and must say.........they all work, and I think 90% of problems are user error, I know 9 out of 10 of my mistakes were.
My biggest advice, if you dont understand what is happening you will always make dumb mistakes and be "that guy". Try to understand what you are doing before you do it and it you may be able to understand how to fix your own problem.
Click to expand...
Click to collapse
While I completely agree with you, I still think that this community needs to agree on whichever way is better and stick with it. This would make it better for developers and users.
I thinks that a pro (hint: MarcusMaximuss) needs to do some bench testing and see if both ways are equal in speed and reliability. If we prove that unionfs method is as fast as symlink onem and stays that way after few weeks of use we can conclude that it is ready for prime time and gear all efforts towards using only that method.
I am in the process of doing a so called "user test". Dude's 1.1a with unionfs apps2sd felt slow to me. At this point I switched to JF1.50 and did symlinks and it's blazing fast!!! Give me couple of days and I'll convert JFs build to unionfs and see if that stays that fast or slows down. I'll do the same thing on Dude's build once 1.2 comes out. But these will be just my impressions, no solid data to back them up.
As always, thank god for Nandroid and good luck to everyone.
I think MarcusMaximus does enough. He doesn't need more work, especially since he's not being paid (only donations).
I think another group interested in advancing these methods should come together and do a test that is more "third-party", so we can have clear and unbiased results.
Having said that, I feel that this method (unionfs) will continue to stabilize as he works on it. Especially since he has commissioned the guidance of the 3 top ROM devs. Very promising in its infancy and just needs to be refined.
cal3thousand said:
I think MarcusMaximus does enough. He doesn't need more work, especially since he's not being paid (only donations).
.
Click to expand...
Click to collapse
Agreed !!!
cal3thousand said:
I think MarcusMaximus does enough. He doesn't need more work, especially since he's not being paid (only donations).
I think another group interested in advancing these methods should come together and do a test that is more "third-party", so we can have clear and unbiased results.
Having said that, I feel that this method (unionfs) will continue to stabilize as he works on it. Especially since he has commissioned the guidance of the 3 top ROM devs. Very promising in its infancy and just needs to be refined.
Click to expand...
Click to collapse
Well... I haven't quite gotten Haykuro on board yet.

[Q] Motorola Flipout rooted. How to apps2sd?

The Motorola Flipout is fairly easy to root, at least now. Universal Androot (get it here) works.
I am thinking about moving apps to the sd card. However, since I haven't reflashed the phone, and I don't have a ROM for it, I'd like to do it without reflashing. Is that possible?
If I partition an SD card correctly (ext3), copy all of /data onto that partition, and then mount that partition over /data, will that work? Or do I have to mount the card before the phone boots?
Or is it better to just copy /data/data, and mount the partition over /data/data?
It seems to me that mounting over a directory, as opposed to creating a link is least invasive, because on reboot the phone is as it was before. Is this right?
If I have to mount the sdcard before the phone boots, can I just edit one of the init scripts, or is that more complicated? I read about editing init.rc and repacking boot.img
Oh, HOWTO unpack edit and repack boot images seems to give good instructions. On the Flipout, boot is mtd4, and recovery is mtd5.
If I only modify boot, I can't brick my phone too badly? Since I haven't changed recovery, I should be able to recover (?). Can I create an update.zip that flashes the old boot.img and undoes my changes in case something goes wrong?
I just got the flipout from rogers.. Is there anyplace that has a development forum for it? And does it have the efuse ? If it does, is it possible to do what was done with the droid X to it?
How did go so far ghostwheel? I'm eager to hear what else you have figured out.
You use App2Card.apk at below for app2sd without flash:
http://www.tinhte.vn/f280/app2card-2-4-4-20-9-cai-dat-ung-dung-len-nho-phan-vung-456586/
Requires: just a rooted phone
Steps:
- install app
- click Menu / Partition button then use slide bars to create ext2 for your sd card if it hasn't been splited yet
- click Install App2card button
- phone will be rebooted and you just taste app on sd after then
Note: above page has further instruction but it is vietnamese, you must use google translate to get it. This app runs perfectly on my Milestone.
Sent from my Milestone using XDA App
ghostwheel said:
The Motorola Flipout is fairly easy to root, at least now. Universal Androot (get it here) works.
I am thinking about moving apps to the sd card. However, since I haven't reflashed the phone, and I don't have a ROM for it, I'd like to do it without reflashing. Is that possible?
If I partition an SD card correctly (ext3), copy all of /data onto that partition, and then mount that partition over /data, will that work? Or do I have to mount the card before the phone boots?
Or is it better to just copy /data/data, and mount the partition over /data/data?
It seems to me that mounting over a directory, as opposed to creating a link is least invasive, because on reboot the phone is as it was before. Is this right?
If I have to mount the sdcard before the phone boots, can I just edit one of the init scripts, or is that more complicated? I read about editing init.rc and repacking boot.img
Oh, HOWTO unpack edit and repack boot images seems to give good instructions. On the Flipout, boot is mtd4, and recovery is mtd5.
If I only modify boot, I can't brick my phone too badly? Since I haven't changed recovery, I should be able to recover (?). Can I create an update.zip that flashes the old boot.img and undoes my changes in case something goes wrong?
Click to expand...
Click to collapse
Hi,
I'd really like to help with that (I'm a confirm dev. for Cliq and CliqXT phones).
Hopefully we can do great things like we did for Cliq and CLiqXT (upgrade to 2.1!). (check my work at http://bit.ly/adlxmod).
First thing would be to generate a system dump (a dump of all the files in the /system partition). Hopefully we then could generate a custom recovery to flash on the phone, and then custom roms, either base on the dump you provide or other roms from other files. Contact me on twitter @adumont (say it's for Flipout) and I'll guide you to generate the dump!
Looking forward to do great things for that litle phone!
I'm in touch with adlxdum to give him my dump but I think we should start a separated thread like "Custom rom, modding (work in progress)" so that we can follow adlxdum work.
And...thx in advance ;-)
flusshd said:
You use App2Card.apk at below for app2sd without flash:
http://www.tinhte.vn/f280/app2card-2-4-4-20-9-cai-dat-ung-dung-len-nho-phan-vung-456586/
Requires: just a rooted phone
Steps:
- install app
- click Menu / Partition button then use slide bars to create ext2 for your sd card if it hasn't been splited yet
- click Install App2card button
- phone will be rebooted and you just taste app on sd after then
Note: above page has further instruction but it is vietnamese, you must use google translate to get it. This app runs perfectly on my Milestone.
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
Worked!
I couldn't repartition the SD card with the program, so I had to partition it myself. But once that was done, thing seem to work well. A bit slower...
I'm not totally sure how to use the app. Internal seems to still be full, but ext2 on the SD is quite empty. I can't seem to be able to tell if an app is installed to internal or external.
I have to try and install some more apps to see if I run out of memory.
Thanks!!
I'm guessing the flipout and charm are almost identical phones?
My wife has a charm and i'm one of those "i'm not a developer, but I'd like to help" guys.
MrShides said:
I'm guessing the flipout and charm are almost identical phones?
My wife has a charm and i'm one of those "i'm not a developer, but I'd like to help" guys.
Click to expand...
Click to collapse
Yes, I think they are very similar.
One thing that I'm interested in is the accelerometer. On the Flipout, most apps that use it are twisted - for example wikitude, and many games (labyrinth lite works!) I wonder if things work on the charm...
the charm has the same issue.
MrShides said:
the charm has the same issue.
Click to expand...
Click to collapse
thanks! Too bad....
Hi ghostwheel
I've tried installing app2card, but I'm having some problems. I got the new version 2.7.2.
As you said, the partition doesnt work. For me it says sd card is full but its empty...
How did you manually partition it?
I've found some tutorials but it was for other phones and they required a custom rom...
I partitioned the card using a linux computer, with the program fdisk.
I allocated 2GB to a partition of type ext2. But, I think there are many alternatives for partitioning a disk, see this page:
http://androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
Wow great link! Many different options! Will try this as soon as I get a micro sd card adapter. Thanks!
You mentioned in your old post that you were having problems using app2card, That you weren't sure if it was working. Have you been able to use it since? Is it working well? and if not have you found an alternative?
I just started using this phone and I'm almost running out of memory... this is quite annoying!
longlife_01 said:
You mentioned in your old post that you were having problems using app2card, That you weren't sure if it was working. Have you been able to use it since? Is it working well? and if not have you found an alternative?
!
Click to expand...
Click to collapse
Yes, I was having problems. Mainly when restarting the phone, sometimes oodles of apps don't work, including launcher pro, and app2card. You have to remember that when the phone reboots and seems to have FC problems, don't chose any home screen as the default, in case it crashes, and keep a spare app2card to reinstall on the sdcard. I think "severe" problems I had only twice, or so.
So, I have almost no problems. Most of the time it works really well. So well, in fact, that I'm a bit afraid to upgrade it, in case something breaks. And, I totally forgot what it is like to have to delete apps to install another one.
I have more of the opposite problem - finding an app among all those installed takes a realllly long time if you forgot its name. Apps organizer helps.
hello, i am new and i have flipout to test in poland orange network, i just root him using 1st post in this forum, great job! thanks
OK, I am having some problems with the current version of app2card. As I said, sometimes when I turn the device off and back on, app2card fails, and many apps give a FC which starting. Then one needs to fix the apps from app2card. It seems that once that is done, some apps lose some of their data. So, for example, droidwall (excellent program!!), lost all firewall data. I'll have to check if newer versions of app2card don't have this problem. It doesn't happen very often.
Instructions to root Flipout
Hi - I'd consider myself a newbie regarding rooting. I just got the AT&T Flipout - I really like the form factor. I just tried running the Universal Androot from my phone but got the security warning message about only being able to install from trusted sources.
Can someone point me in the right direction please?
Many thanks!
it says that with a lot of apps installed like that, including gmote that I downloaded from the developers site. Just look at what you're downloading like you would on any machine
go to settings > Application and tick on unknown sources to be able to install it.

[app2sd] Installing applications on a flash card

App2sd from 4PDA
Fundamentally new script!
Harder! Better! Faster! Stronger! (c)
!!!Only for LG GT540 Optimus!!!
!!!Only for Android 2.1 version!!!
Applications are installed on a memory card full! Internal memory is when you install the application does not decrease!​
Hi All!
I am glad to introduce you to a completely new script to install applications on your memory card.
Installation manual​Mandatory conditions:
1. To create two partitions on the card. First - fat32, second - ext2.
If you already have a partition ext2, it MUST re-create!
2. Place on sdcard into your fat32 partition two folders from archive - gsript and app2sd. Path must by: sdcard/gscript and sdcard/app2sd.
3. Reflash your phone using the formula: Hard reset -> Firmware -> Hard reset.
4. Make root.
Do not use z4root software
5. Install GScript Lite software from Market.
6. Use GScript Lite for run script.
During installation, you should see only two messages: "ext2 partition mounted, copying applications" and "Done! You can restart". If you see other messages - nothing happened.
7. Wait the bottom will be "Close" button to count down, click on it and then - reboot (not the phone itself will reboot and you need torestart the the phone !). Reloaded by phone (with knock drop call ... press and hold and select "Disable Phone" ... No script to reboot DO NOT USE!
Recommendations:​1. Script may work fine with a memory card that is supplied when you buy the phone. But I recommend you use a memory card from a class 6 and above.
2. If you notice that when you unlock the device gave reports of mounting a memory card, these cards can not be used!
3. Do not remove sdcard! Did it, if your phone is power off.
4. You may turn on your device without sdcard, but programms installed after apply script will not work yet.
Liryc: When testing the script was installed applications totaling more than 600 megabytes, and the unit at the same time felt great! Naturally we must understand that the cold boot the phone itself slightly increased, but at the time of the machine is behaving very well, fast and stable.
Reference to the original post: http://4pda.ru/forum/index.php?s=&showtopic=187486&view=findpost&p=6426539
RaiBinger said:
leaving parts of the program into your phone.
Click to expand...
Click to collapse
Im assuming you ment to type 'WITHOUT leaving parts of the program in your phone'?
So you are saying that nothing at all will be taking from the phones internal memory no matter how many apps you install to the SD? Well if thats the case then you have solved my problem. I think I may give this one a shot... Thanks!
skribbler86 said:
Im assuming you ment to type 'WITHOUT leaving parts of the program in your phone'?
So you are saying that nothing at all will be taking from the phones internal memory no matter how many apps you install to the SD? Well if thats the case then you have solved my problem. I think I may give this one a shot... Thanks!
Click to expand...
Click to collapse
Yes, after using this script - the application will be placed on a flash card memory is full and will not diminish.
skribbler86 said:
Im assuming you ment to type 'WITHOUT leaving parts of the program in your phone'?
Click to expand...
Click to collapse
Yes, that's what I meant
Once again I apologize for my English
Thanks for the information
We are all waiting for that app.
So all my programs will be instaled on memory card and i will have more room for games
We are talking about android 1.6 ??
plutonxp said:
We are all waiting for that app.
So all my programs will be instaled on memory card and i will have more room for games
We are talking about android 1.6 ??
Click to expand...
Click to collapse
No! Only for Android 2.1!
If You need, i will place here rar pack for Android 1.6.
If you use this method, don't ever remove the SDcard. If you remove, your phone will not work.
This method also move /data/data to SDcard. That means data of stock apps was moved to SDcard, and stock apps can't run without it.
Don't ever do a factory reset too. App2sd will gone after factory reset, that means there's no data for stock apps too.
The old method is safer than this one.
Could also find yourself in a big problem if you had an sdcard failure
doubletakeit said:
If you use this method, don't ever remove the SDcard. If you remove, your phone will not work.
This method also move /data/data to SDcard. That means data of stock apps was moved to SDcard, and stock apps can't run without it.
Don't ever do a factory reset too. App2sd will gone after factory reset, that means there's no data for stock apps too.
The old method is safer than this one.
Click to expand...
Click to collapse
Not exactly. Memory card can pull out your phone and boot the phone without the memory card is also possible, only you will not run any application installed from the Market or by appinstaller. However, all applications that are installed in the firmware the phone will function normally. If you think that I'm wrong, then ask yourself .... why did my phone after many tests still work? About resetting to factory ... it should be done after you remove the memory card from your phone. It's simple ... need only think of his head However, use this script or not - you decide!
RaiBinger said:
Not exactly. Memory card can pull out your phone and boot the phone without the memory card is also possible, only you will not run any application installed from the Market or by appinstaller. However, all applications that are installed in the firmware the phone will function normally. If you think that I'm wrong, then ask yourself .... why did my phone after many tests still work? About resetting to factory ... it should be done after you remove the memory card from your phone. It's simple ... need only think of his head However, use this script or not - you decide!
Click to expand...
Click to collapse
Sorry, I didn't read the script carefully, it will just copy data to SDcard and will not move anything so data of stock apps is still on the phone memory.
busybox cp -r -p /data/app /system/sdcard ;
busybox cp -r -p /data/dalvik-cache /system/sdcard ;
busybox cp -r -p /data/data /system/sdcard ;
busybox cp -r -p /system/media /system/sdcard ;
Click to expand...
Click to collapse
Quick question.. how did the gt540 jump that high on the benchmark?
I'm sure putting and using apps on the sdcard can't surely increase its performance that drastically. Or can it?
skribbler86 said:
Quick question.. how did the gt540 jump that high on the benchmark?
I'm sure putting and using apps on the sdcard can't surely increase its performance that drastically. Or can it?
Click to expand...
Click to collapse
Only green bar was increased.
Look at the bottom of the images, you will see the I/O was increased from 352 to 3512
doubletakeit said:
Only green bar was increased.
Look at the bottom of the images, you will see the I/O was increased from 352 to 3512
Click to expand...
Click to collapse
Exactly! such a result from the use of an ext2 file system on your sdcard.
Last edited by RaiBinger; 16th October 2010 at 04:33 PM. Reason: Update is coming soon!
^^
What will change with the update?
As for the high benchmark points in I/O. Does the phone overall feel faster or can you just see it in benchmarks?
Thx in Advance
Skip
Skkip said:
Last edited by RaiBinger; 16th October 2010 at 04:33 PM. Reason: Update is coming soon!
^^
What will change with the update?
As for the high benchmark points in I/O. Does the phone overall feel faster or can you just see it in benchmarks?
Thx in Advance
Skip
Click to expand...
Click to collapse
Please Wait. Update coming soon again. Speed will be felt not only in the test.
RaiBinger said:
On your phone, you need to Hard Reset and install appinstaller and GScript Lite (as well as to use a script to install a third-party Launchers and keyboard and other system applications, replacing the default application).
Click to expand...
Click to collapse
Does this mean i can not simply install a keybord like "swift keybord" or "swipe",
or at least normaly over the market like without the App2SD modification?
OxKing said:
Does this mean i can not simply install a keybord like "swift keybord" or "swipe",
or at least normaly over the market like without the App2SD modification?
Click to expand...
Click to collapse
This warning is no longer relevant! You can use the script immediately after a hard reset and install any application in any desired order.
But please wait!
Follows the date of updating the first post.
In your first post you have mentioned that ext2 filesystem should be first. But later on you say fat32 should be first?
RaiBinger said:
No! Only for Android 2.1!
If You need, i will place here rar pack for Android 1.6.
Click to expand...
Click to collapse
I would like to know, how can i install applications in SD card. I am using LG Optimus (GT540), Android 1.6. And i am not an expert in installation and write scripts
my phone does a funny thing where every time i unlock it it takes a few minuites to find teh memory card, could this be a problem if i were to install this script?

unCoRrUpTeD Dual Boot

After some thinking about how I wanted to pursue this project and the recent release of an app that has made this possible, I decided to start working on an app of my own. While I have no experience in making an app, I have already begun working on it. Boot Manager is an awesome app for those that like flashing and running different ROMS frequently, however I have found some things that I do not like about it and features that could be added. My short term goal is to create an app with support for either 2 or 3 Roms and would be free. I'll then release a paid one that will support 5 or more roms and add some other features.
As I said, I have already begun working on it and although it won't utilize the method I wanted to use, I will implement some of it in the future. Right now I have parts of it setup and can already use certain features, but for anyone that has created an app, you know there is a lot of scripting that needs to be done.
Thanks to Conap for the motivation to get my a** back on track.
Partition your sdcard
PARTITION YOUR SDCARD
​I have made this really easy to partition your sdcard while preserving all data on the fat32 partition.
You have the option of specifying the size of the ext partitions in /sdcard/dualbootmap.txt
Code:
adb shell
echo 150 200 0 > /sdcard/dualbootmap.txt
The 1st number is cache partition for both rom2 in Mb. For right now I would not do anything less than 125 until I incorporate settings for dalvik-cache on data.
The 2nd number is ROM2 data partition in Mb. Pick whatever size you want.
The 3rd number which isn't used yet will be for a2sd on ROM1. For now this should be kept at 0.
If there is no dualbootmap.txt file the partitions will be automatically set to
cache=150
data=200
a2sd=0
Make sure you have enough free space on the card to accommodate the extra partitions plus an extra 200. If you only have a fat32 partition and use the default values above you would need 550mb of free space. After setting up the roms you will get the extra 200mb back. Its just used as temporary storage.
INSTRUCTIONS:
1. Download sdpart.zip
2. Reboot into recovery
Code:
adb shell reboot recovery
3. Unzip the contents of sdpart.zip and push the files inside sdpart folder to /tmp/
Code:
adb push c:\xxxxxx\sdpart /tmp/
4. run /tmp/sdpart.sh in adb shell
Code:
adb shell /tmp/sdpart.sh
If sdpart.sh doesn't run then you will have to chmod it before running it, but it should already have permission to run.
Code:
adb shell chmod 777 /tmp/sdpart.sh
HELP
Reserved until release day
Can't wait to try it out.
Is it going to support the aria?
12c00000-257fffff : System RAM
THANKS
Sent from my HTC Liberty using XDA App
FFXTDS said:
Can't wait to try it out.
Is it going to support the aria?
12c00000-257fffff : System RAM
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
Updated OP. Thats it for today. I'll post others in the morning
Can I restore a nandroid and then flash the dualboot.zip to make that Rom store to SD instead of wiping everything and flashing the roms?
jblazea50 said:
Can I restore a nandroid and then flash the dualboot.zip to make that Rom store to SD instead of wiping everything and flashing the roms?
Click to expand...
Click to collapse
You should be able to as long as there is a boot.img in the nandroid which I think there is
I really like this idea. Is there any way that you could modify a recovery to incorporate a bootloader? I believe clockwork is open source and should allow for this to be possible.
I don't know any c programming, but am looking at alternatives. Maybe an app or 1 script that does everything.
Sent from my HERO200 using XDA App
This is F'in epic dude. Thank you!
got this working on my evo,
1. what if i want to flash a new nightly or a update, do i go through the process again? and does it matter if it's on the SD or Phone?
2. how do you nandroid the rom on the SD?
basically should i keep CM6.1 on the Phone or the SD for easy updating
EDIT: i lied it works then when i tried to boot to SD it just sat at the white screen. going to play around with this some tonight
Wow man. This is freaking amazing. I'm definitely going to give this a try. Run CM as my daily rom, but this will help when I am traveling to 4G areas, and I can just flip over to a Sense rom.
Awesome, awesome work.
so if i wanted to put cyanogenmod nightlys on and then update them to a newer nightly version how would i do that without redoing everything?
edit: been messing with this and had my question sitting without hitting submit for like 15 min and apperently in that time someone else asked same question
I can't figure out how to get my base address... Can someone please explain more... I'd love to use this on my incredible
Sent from my Incredible using XDA App
Booting into the rom on the SD doesn't seem to be working. The phone just stays at the initial boot screen. This happens whether I have CM6 or a Sense rom on the SD.
sd card
So how is the speed when running on a class two SD card or a Class 4
Does the rom bog down?
Tried it and when I tried to boot into the rom on sd it got stuck on splash screen. Running miui on phone and had ava 10 on sd.
Sent from my PC36100 using XDA App
PikkonX said:
Booting into the rom on the SD doesn't seem to be working. The phone just stays at the initial boot screen. This happens whether I have CM6 or a Sense rom on the SD.
Click to expand...
Click to collapse
What recovery and phone do you have. Run this from command or terminal and post inside code tags
Code:
adb shell cat /sdcard/dualboot/recovery.log
or attach /sdcard/dualboot/recovery.log so I can look at it. It sounds like I may have the wrong base address. I'm going to sleep now. but will check and update this in the morning
kevinniven said:
So how is the speed when running on a class two SD card or a Class 4
Does the rom bog down?
Click to expand...
Click to collapse
im no expert to android, linux, sd cards (lol)... but i think it doesnt matter, once the ROM is loaded it runs off the phone's memory, so the speed shouldnt be affected.
somebody correct me if im wrong
PikkonX said:
Booting into the rom on the SD doesn't seem to be working. The phone just stays at the initial boot screen. This happens whether I have CM6 or a Sense rom on the SD.
Click to expand...
Click to collapse
yeah i'm getting the same thing wont get past initial bootscreen
Phone = HTC EVO rev 0003
recovery = psfMod 0.7.2 (aka clockwork)
sdcard = 8gb (w/2.2gb free)
and i checked my adress base before hand so i know i got correct one
i will try again tomorrow as i gotta get some sleep now

LolBoot xD SGS2 dualboot - NEW 12.12.11: Easy-Setup App v2.51

(I wasn't really sure if this might fit into "Development", so I put it here, maybe a mod will move it, if it's a dev topic )
Anyways, here we go, I DUALBOOTED two different, independant ROMs on the S2
Video of dualboot in action: http://www.youtube.com/watch?v=l9-V_6Ua_D0
** THIS IS NOT (YET) COMPATIBLE **
** WITH ICS (ANDROID 4.0.x) ROMS! **
-- this goes for custom ROMs as well as stock ROMs --
Icey Sammich compatibility will be added once Sammy released their ICS kernel sources.​
!!! There now is an app for more convinient and easy setup of the dualboot !!!
(04.11.2011) DualBoot setup app v2.00: http://forum.xda-developers.com/showpost.php?p=19049047&postcount=94
(12.12.2011) App has been updated to 2.51, lot's of good new stuff! >> Free Version -- Donate Version <<
Click to expand...
Click to collapse
First off:
This is only a little experiment I did like "c'mon, has to be possible" - this is NOT (at least yet) tweaked for usability and anything the like, just a humble experiment.
That said, don't flame me if things are rather complexicated to do this ATM.
Maybe I'll come up with a more userfriendly way of setting this up, maybe someone else does, maybe no one does.
Also now that I found a base on what to do, there might be different ways (more easy ones maybe) to set this up, I'll keep toying around with it.
But let's cut to the chase, shall we
So, how was this set up? I'll give a brief rundown of what I did:
I edited a few .rc files in the initramfs of the kernel to make it actually perform a full boot when recovery mode was triggered and to fire up recovery mode when in battery-charging mode.
I also edited a few mounts in the boot .rc for the 2nd OS (in "recovery" mode) to use different partitions for /system and /data, so that we'd end up with really independant installs.
What partitions did I missuse for that:
partition 12 (mostly unused, only when installing a stock ROM AFAIK) for /system - that's a neat choice IMO as p12 is 512MB in size, just as p9 where /system usually sits on
partition 7 (which is usually /cache) for /data
gives us only 100MB of user data space, but for now that's OK, as said, it's only an experiment on how such a thing could be done.
with the original partition for /cache "gone", I mounted a tmpfs for it.
So the OS still has a usable /cache
Then I set up the two OSes:
(dualboot kernel not yet flashed)
Launchprep part 1:
I made a CWM backup of my normal installation I was running (stock XXKG6 at the time).
I installed DevNull-Test AOSP as to it's instructions
Some su'ed voodoo via a terminal while having the 2nd OS (the DevNull AOSP one, in this case) installed - best done in recovery mode via ADB:
rm -Rf /cache/*
cp -Rp /data/* /cache/
dd if=/dev/block/mmcblk0p9 of=/dev/block/mmcblk0p12 bs=4096
That did "set up" the 2nd OS to where it's supposed to go.
Launchprep part 2:
Then, "advanced restore" of the backup made a few minutes earlier:
- boot
- system
- data
Reboot
At this point OS #1 is running again and OS #2 is sitting in hiding, prepared to roll - so, let's roll:
Flashed the modified "dualboot kernel" (via an App or Odin or magic, doesn't matter).
---> DONE <---
reached the point to where everything works as shown in the video.
As said above already, yes it needs some manual work to set it up, yes there's a lot of things that might not work, yes there are other/better ways to set it up.
It's only a humble experiment - lot's of space for improvement.
Maybe you like it - for those who do, I wanted to share this
Attached to this post you find the modified kernel I used, it's based on my v1.20 custom kernel (see sig) but with the above mentioned changes.
I've seen the video m8, this is totally different approach, ur giving this device a new dimension. love u "in a straight way" hahaa
there currently an app called Bootmanager which also handle up to quadruple booting. But sadly currently only support HTC phones.
http://www.appbrain.com/app/bootmanager/com.drx2.bootmanager
well, one can hope!
Thanks OP this is an awesome concept! Very happy to see you posted it with a video! and nice boot animation!
sunwee said:
there currently an app called Bootmanager which also handle up to quadruple booting. But sadly currently only support HTC phones.
Click to expand...
Click to collapse
Yeah, that's the thing.... that app is HTC only.... but we have Samsung S-II and want dualboot as well.
I'm already brainstorming on how to enhance the actual usability of this, i.e. flashing a 2nd OS directely to it's place instead of first installing it to the main system partition. But there is problems when /data is not mounted to the original partition, at least stock doesn't like it on initial boot.... well, well....
That is great. Going to use this for sure. This should be in development for sure.
Congratulations already.
Sent from my GT-I9100 using Tapatalk
This is impressive bro sure will use it
but i want to ask one thing
SD card needed for this or not ?
That would be really cool (and definitely should goes to original development). Does it work with CM7/MIUI + custom rom?
vikas776 said:
SD card needed for this or not ?
Click to expand...
Click to collapse
No, so far this completely works with all internal storage.
But I have a few ideas I have yet to try to get mounted from other places - like images in /sdcard for example (I *so* hope that'll work.... )
Hi
Does this kernel include any of the Hellcat kernel tweaks or are they work in progress.
Sent from my GT-I9100 using Tapatalk
Tricky103 said:
Does this kernel include any of the Hellcat kernel tweaks or are they work in progress.
Click to expand...
Click to collapse
I made this build based on my v1.20 custom kernel, so it has everthing that one has - plus the touchfix already
exactly what i was hoping for.
great job - pls continue your work
Hi i tried this with instanity rom last night. When I use the three buttons to boot it just sits there not booting. My guess is the kernel is not compatible. Unless I made a mistake somewhere.
Sent from my GT-I9100 using Tapatalk
Hm, yah, might be that the kernel isn't fully compatible with that ROM, what kernel does the ROM usually use?
Did you boot it up fully at least once before copying /data to /cache ?
Yes I did fully boot up. But his kernel didn't have advanced activated in recovery so I flashed your kernel and moved the cache okay. But it said /data not found when I ran the 2nd command line.
I will flash aosp later. I like that rom.
I am not sure what kernel nitr8 uses. I think it is his own, Insane.tar would you like it to see if they can work together.
Sent from my GT-I9100 using Tapatalk
Tricky103 said:
But it said /data not found when I ran the 2nd command line.
Click to expand...
Click to collapse
Hm, yeah, that sounds like something didn't work.... make sure you run those commands as root, i.e. "su" as very first command (I'll add that to the first post).
Give me a direct link to the ROM and I'll try it.
Make take a few days though as I'm away from my computer a lot because of work the next two days, but I'll try once time permits.
Well yeah, and this still is in highly experimental stage, if I (or someone else) should ever get this to more stable and reliable state, I'll make an easy to use installer/setup tool
But I got a few other ideas on setting it up I have to try first....
http://goo.gl/2uZCh
This is the complete rom. Only 47mb. I thought you would like the whole rom
Tricky103 said:
Hi
Does this kernel include any of the Hellcat kernel tweaks or are they work in progress.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
May be someday WINDOWS Mo 7 and Android on our sweet beast
Hi
I tried again with Aosp Dev-null. I still get this error "cp: can't stat '/data/*': No such file or directory "
after running this command line " cp -Rp /data/* /cache/ "
Any Ideas ?
It still doesn't boot if I press 3 button it brings up the boot logo and then black screens until it boots to the 1st partition.
Thanks for the link, will download and try as soon as time permits.
Also, try this command sequence, I got an idea what the issue maybe might be, give it a shot:
Code:
su
rm -Rf /cache/*
busybox cp -Rp /data/* /cache/
dd if=/dev/block/mmcblk0p9 of=/dev/block/mmcblk0p12 bs=4096
(use "busybox cp" instead of plain "cp", maybe it helps)
And some update on my ongoing thoughts for those interested:
- got an idea on how to make a more easy to use App for prepping and setting up the dualboot environment
- managed to do a neat thing I didn't really think it would work: issued a "mount" command and the OS thought it was mounting a partition of the internal flash (/dev/block/mmcblk0p12 in this test, but was testing for later on actually doing it with p9 - you might see where I'm headed here ) but instead of the partition it actually mounted from an .img file! (loopback)
i.e. "mount /dev/block/mmcblk0p12 /somedir" actually mounted "/somepath/someimage.img" to "/somedir" instead of the partition from /dev/block/... (you just gotta love Linux and it's flexible way of handling things....)
NOW, imagine /dev/block/mmcblk0p9 (the partition carrying the system) and p10 (data) being (kinda) transparently mounted from an IMAGE FILE
I "only" have to find a way to sneak this in before init starts mounting stuff.
If there's a way to do THAT.... unlimited multiboot from OS images, anyone?
(so far this is kinda dreaming, but would be cool to get it working )

Categories

Resources