yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Proz0r:
@buzzboy

Whoops, sorry about that, try now. Thanks, and best of wishes for the new year to you too as well. :)
[Desire Android Development] Droidzone:
Yup..normally you have around 147 MB in mtd5 for apps and dk.. So that gives you around 15-30 apps. When you shift the entire mount to sdext, you can go up to 2GB (limit when Market starts becoming buggy). Dexes being the main java classes of an app, have around 1:1 size correspondence.. 100 MB of system+data apps fill around 88MB of DK.. So you can imagine that even before filling around 500MB+ of apps on sd-ext, the space on mtd5 where you keep DK will be gone.. :)

Actually Sibere thought of this solution a year ago, and StarBurst used this then, for around 2 months. Gradually we started getting complaints about inability to install apps even though the user had more than 1.5 Gb free.. So we shifted DK to sdext too.. Slower performance, but you can install enough apps. :) The thingy now called XD2XSD was also used before discarding... :)
[Desire Android Development] Proz0r:
Ah, I see why it's a bad idea then, thanks :)

Didn't realise Dalvik cache can grow that much, but then again, if you have a gigabyte worth of apps, it's no surprise <150 MB for DC won't cut it, hehe

Thanks man, I'll just upload a mandatory patch. The reuploading is killing my slow connection :P

Have a good one, thanks again!
[Desire Android Development] Droidzone:
Btw...do your wifi on/off setting get preserved across reboots? ;)

And could you upload one of your init.rc and updater-script? I'd like to take a look..I imagine that's where your code goes in? If I had to hazard a guess, I'd say you're removing the mount MTD in init.rc, and replacing it with an ext mount?
[Desire Android Development] Droidzone:
And if you want an idea to make it flashable, use the kernel flashable zips to extract zimage and ramdisk, run grep/sed on init.rc and repack it into boot.img..that way you dont need to manually add it to roms/kernels. :D
[Desire Android Development] Proz0r:
I believe they do, must check.

Yes, that's exactly what I'm doing, plus a few other things thrown in, but that's basically it. I'll put it ASAP, just a moment while I make that zip :)

Woah, wasn't aware that could be done, thanks man, I'll look into that! :)

EDIT: Here's a modified init.rc for Cyanogenmod, the updater script only has 3 lines to 777 the 3 scripts that are needed by INT2SD, and GingerVillain's updater script is modified so that it extracts the contents of the zip's data folder to the ext partition instead of md5.
[Desire Android Development] Alex-V:
yep...also melethron (data2w) and amarullz put dalvik to data..melethron have made also a version with sd-ext which was better (i had this in the past...users reported cant install apps but free mem on sd-ext.....because data was full with dalvik) in amarullz thread i posted a changed script with dalvik to ext...so would be nice you can also do this :)

edit: also last version of data2ext use dalvik - sd-ext

with kind regards
[Desire Android Development] Proz0r:
Yup, got it, thanks mate, the update I just uploaded does that, puts Dalvik to sd-ext, where /data is. /realdata is back to being unused, as it was in v1.0. :)
[Desire Android Development] Alex-V:
nice :) data partition can be resized so system or cache partition can be bigger more or complete system to nand :)

edit : and with odex system apps and framework...dalvik (odex) is in system again :)
[Desire Android Development] pavel54:
Can someone make flash zip to rom that was created by teppic74 ?
[Desire Android Development] Proz0r:
Indeed, right after I tidy up with the AOSP ROMs (I have one more ROM request to take care of), I will open up a Sense dev collaboration thread to create a zero-data HBOOT because the userdata partition doesn't need to exist (although it will probably be a good idea to leave it at a few megabytes in size), so basically all of the Desire's internal memory can go towards /system since INT2SD is completely independant regarding the mtd5 partition.

Right after I'm done with this, I'll start the new thread, either tonight or tomorrow. Stay tuned! :)
[Desire Android Development] Droidzone:
Prozor, have you tested what happens when there is no ext partition on the card?..In our script there is a check for this and a failsafe mount to mtd..
[Desire Android Development] snxxxxx:
How to make this work with cm7?
[Desire Android Development] Kalashnikitty:
maybe read the first post? - there is already a modded cm7.1 to download.
[Desire Android Development] snxxxxx:
Omg, yes yes, sorry..

But i cant download it, just click and nothings happen..
[Desire Android Development] Kalashnikitty:
no problems with the download here. http://ompldr.org/vYzBpaA for fullrom

and the update http://ompldr.org/vYzBqYQ ( flash this after the rom flash )
[Desire Android Development] Proz0r:
Yes, I should add a failsafe like this, but the problem is, what would happen if there is no ext partition? A "stock" boot.img should then be flashed and the phone rebooted, that might be impractical to pull off. Although, it's certainly better than nothing, I'll add it for 2.1.
[Desire Android Development] Alex-V:
can you give us the things that would be add to boot.img (ramdisk) and files i need for get it working..want to try a bit
[Desire Android Development] Droidzone:
Depends on what you have moved. If the dks of bootclasspath files (frameworks mostly) can be found on MTD, system will boot. If not, you will get a bootloop.
[Desire Android Development] Proz0r:
I tend not to simply give instructions for devs, but implement and test INT2SD myself since devs putting it in themselves would increase the likelihood of potential problems and make troubleshooting much more difficult since being the one that devised the method, I can solve problems easier because I know what to look out for.

Ah, I'm moving the entire Dcache to ext.
[Desire Android Development] Alex-V:
thats true...so we are waiting :) anyway..i like the idea of direct mount sd-ext to data :)
[Desire Android Development] Proz0r:
Thanks for the support :) I'll post the thread for Sense devs ASAP, my brother just returned from his vacation and all, plus I have to get my yearly tram ticket :P It'll be up soon.
[Desire Android Development] Proz0r:
Thread posted for Sense developers!

http://xdaforums.com/showthread.php?t=1424202
[Desire Android Development] Proz0r:
Minor update to 2.0.1, just a small bug fix.
[Desire Android Development] stankyou:
Congratulations for making it into the front page. :)
[Desire Android Development] zaher.bahouth:
could u plz look into this ROM?

this could really help..

INT2SD is really essential for ICS if it preserves the speed
[Desire Android Development] Proz0r:
Which one?
[Desire Android Development] zaher.bahouth:
this one http://xdaforums.com/showthread.php?t=1403113
[Desire Android Development] fatimarvin_15:
hope you can port this to xperia neo or any 2011 xperia phones, stock firmware .42.

just want to ask, what are the requirements for this mod?
[Desire Android Development] Proz0r:
Sure, but first I'm out to get Desire ROMs, since putting it in devices I don't have would be a bit complicated.

The requirements are one ext2/3/4 partition on your SD, like withother methods, and at least the size of your current partition.

As for BCM, sure, I'll ask him.
[Desire Android Development] fatimarvin_15:
Thanks for the response, I will b waiting for future development of this mod. :-D
[Desire Android Development] zaher.bahouth:
we are waiting :-) Lot's of us..

coz ICS cannot be installed on small Hboots like CM7.. so we need to find a solution that do not harm the speed
[Desire Android Development] Yannn:
Does it exist a version for froyo aosp rom like aospdesire or could I use one of 1.2.7 directly on my fresh installed froyo rom?
[Desire Android Development] ARieS_:
How about Nexus One?
[Desire Android Development] marzinho:
Is it possible to make it work on HTC HD2? With this ROM for example?

http://xdaforums.com/showthread.php?t=933951

I can test your build if you want to, or don't have proper hardware... And since Desire and HD2 are quite similar, shouldn't it be quite easy?
[Desire Android Development] wildcardspv:
ROM request

This looks very interesting, how about a version of Cibernodo Mod2Bravo v3.5 with INT2SD included?

ROM link:

http://xdaforums.com/showthread.php?t=1459760

Thank you for your time :)
[Desire Android Development] Proz0r:
Okay, I have added all of your requests to my ROM to-do list. I have also updated the first post, so you might wish to check that too (the FAQ), regarding cross-device implementations.
[Desire Android Development] gie62001:
@ Proz0r,

good news for ICS lovers :) here's the response from Sandvold regarding his ICS implementaton with INT2SD. here's his responce:

"

Yesterday, 05:17 PM

#

Re: Green light for proz0r

Originally Posted by gie62001

Hi Sandvold,

I know you're busy but just wanted to ask whether you could find a minute and respond to Proz0rs request to allow him to use his new INT2D script for your ICS from? Not sure how much modification is involved but would be good to test your rom in this format. Thank you and hope you will allow him to make certain modifications to your from.

Oh I was sure I had responded. BUt sure go ahead"

here's link to his thread:

http://xdaforums.com/showthread.php?t=1355660

cant wait to try this combination :) thank you Proz0r for your efforts.

EDIT:

Proz0r - do you have any news or intention of using you new script on Sandvold's ICS rom? as he granted the permission to modify his rom. thank you
[Desire Android Development] Thermaltake868:
Hope to see this for Runnymede Rom my friend, great job! :)
[Desire Android Development] jukyO:
MIUI XJ users are eager to start testing! Thanks for taking this ROM :)
[Desire Android Development] Proz0r:
Sandvold's vanilla ICS has been added. Be aware that my test builds of it are pretty slow and buggy, with no apparent reason, so don't expect first releases to be stable enough for daily use.

Also, I plan on releasing a ROM every weekend, though I might skip one from time to time, or be late with a release a few days. We'll see how this plan works with my busy schedule as I have little time to do anything during the week. I'm pretty busy with real life so please don't mind the possible delays!
[Desire Android Development] Sage:
great news Proz0r cant wait to see this running on Sandvold's ICS :)
[Desire Android Development] shankly1985:
Nice mate thanks for this :)
[Desire Android Development] pedrocel85:
Hey Prozor,

Great work! im using your version os sense Alex rom.

No lag at all.

Can you put the eforts in int2sdfy sandvolt ics? i cant see links anywhere!

I think everyone should be egger to test this with your magic script!

Best from brazil!
[Desire Android Development] juanitomigraña:
ManU kernel 2.1 AXI-BFS version?
[Desire Android Development] Sage:
Any chance of adding this to MildWild's Oxygen ROM?

http://xdaforums.com/showthread.php?t=1353861

Thanks for your efforts mate

:)
[Desire Android Development] silid:
The download server seems dead to me - can't do ns lookups for it.

Can you put the CM7 somewhere else?

Thanks

Si.
[Desire Android Development] Proz0r:
Sure, I'll reupload them as soon as possible. All requests have been noted.
[Desire Android Development] aeoveu:
I see the CM7 version is up, but is it possible for us to use this on nightlies as well? I was hoping we could use this with the Euroskank builds.

Cheers.
[Desire Android Development] Sage:
i should add i run a Thalamus 2.6.35.14 mod8 kernal on my MildWild (oxygen 2.3.2) ROM.

Will i be able to flash that again or would that break the INT2SD?

Can be found here: http://xdaforums.com/showthread.php?t=1268198
[Desire Android Development] ckpv5:
Flashing a new kernel on top of existing INT2SD ROM will not break it.
[Desire Android Development] Proz0r:
I have recieved requests, and it's on my list, although I have no idea when I will get to it due to real life stuff, plus it's difficult to test these ROMs (which they require) before releasing them since the Desire is my only phone (feel free to send me a new one so I can release ROMs with INT2SD faster :P ) and before flashing every ROM I have to make a Nandroid, TB etc., flash the ROM, play around with it to see if it works and restore everything. Heck, testing takes more than it took me to make the damn thing :)

Ahem, there isn't INT2SD for MildWild (the request has been noted though), especially not for Mildwild + various kernel combos. And, as stated in my original post, flashing ANYTHING that includes a boot.img (such as kernels) with a ramdisk not modified for INT2SD purposes, will result in a broken ROM:
[Desire Android Development] ckpv5:
My bad and you're right... just tested it. Flashing a new kernel DO break the INT2SD. Thanks for highlighting this (again).

Wait..wait.. for my case... it boots fine, it just take longer time to boot. What I understand when flashing kernel, the boot.img will be unpack and repack with new zImage and there is no change of init.rc so it should not break the INT2SD. But I just try this on sense ROM. Not so sure about AOSP. Second reboot it is normal.

Flashing a new boot.img without INT2SD implementation in init.rc , yes it will break it.
[Desire Android Development] Droidzone:
Flashing a new kernel shouldn't break your script (Sense or aosp, a kernel is a kernel), unless the kernel zip contains ramdisk (which no kernel developer in his right mind would include), or modifies ramdisk. As a corollary, it would be possible for you to release a zip which contains a boot.img or scripts which do the modification required for boot.img without a need to upload the whole ROM, which seems a waste of your bandwidth. ;)
[Desire Android Development] Proz0r:
Ah, yeah, then kernels indeed shouldn't break INT2SD. It did puzzle me as to why a kernel would need its own ramdisk, but I just assumed since it flashes a boot.img, it would, stupid me never bothered to even check, I apologize for spreading false information! Thanks Droidzone!

As for making small zips with only vital files, I have that planned too, but it's a hell of a lot easier releasing the entire modded ROM instead, so that's why I've opted for that. I hope to switch to small post-flash zips as soon as possible, it is a lot more efficient.
[Desire Android Development] Undesirable:
Looks like amazing work you're doing, but as far as I can tell, the download links are down again unless there's something I'm missing?
[Desire Android Development] pedrocel85:
links down

Hey prozor.

Can you fix links plz?
[Desire Android Development] Zammo76:
Opps posted in the wrong thread.
[Desire Android Development] Droidzone:
Prozor, can you upload any of your init.rcs modified for this script? I want to take a look at the mount syntax for something I'm working on.. Any modified init.rc will do.
[Desire Android Development] Proz0r:
I'm reuploading everything to Ante0's server at the moment. Links will be up soon.

EDIT: Reuploaded, links are up.

Droidzone, sure, here's the CM7 one.
[Desire Android Development] servabat:
Hi,

Does your script work with Cyanogen Mod on a manU kernel ? And do i need to install your script on a fresh install ?

Thanks for your work :).
[Desire Android Development] Proz0r:
It should, try it. No, my script is implemented in the ROM, when you download CM7, you're actually downloading the entire ROM with the script embedded in it. Flashes like regular CM7, but has INT2SD.
[Desire Android Development] Haldy:
wipe

Hi Proz0r,

thx for your great work. I just bought new microSD card SanDisk 32GB Mobile Ultra (class 6) and I'm planning to try your solution. I'm currently running latest nightly build (262) of CM7.1 with S2E (simple2ext). So i guess its necessary to make full wipe first. Am I right ?
[Desire Android Development] Proz0r:
Exactly. Download, backup, wipe, flash, restore.
[Desire Android Development] Haldy:
Thank you, seems its working well and fast, even if I have about 200 apps. I will see after some time...

I was thinking which app2SD method will be the best for my Desire with CM 7.1 and I finally choose yours ;-).

BTW: what is the advantage of your solution (no symlinks), compared to simple2EXT / AMARULLZ / DarkTremmor / sibere's Data2SD ?
[Desire Android Development] fersy:
Any chance of adding this to MildWild's CM-3.3

http://xdaforums.com/showthread.php?t=1453287&page=104

That would be great
[Desire Android Development] servabat:
Hi,

I've installed CyanogenMod with Int2sd but now my phone is stucked on htc logo when trying to boot cyanogen and on "Preparing boot... 0" when trying to boot recovery :/

What need i do ?

Thanks in advance
[Desire Android Development] Proz0r:
Yes, it's already on the list.

That's pretty weird, try booting into fastboot and wipe the partitions, maybe reflash the recovery too. Do you have an ext2/3/4 partition on your SD? How big is it? What HBOOT are you using?
[Desire Android Development] servabat:
Hi,

I finally succeeded booting into recovery. I have on my SD a 1024 mo EXT4 partition. Booting into cyanogen still not working.

Thanks :)
[Desire Android Development] Proz0r:
Did you do a full wipe before you flashed?

If you didn't, do it.

If you did, do a logcat and a dmesg and pastebin it for me.
[Desire Android Development] servabat:
Hummmm... How to do that ? (logcat & dmesg)

Edit: Bug with logcat :
[Desire Android Development] Proz0r:
Are you familiar with ADB? If not, set up Android SDK, according to this guide, and once you know how to use ADB, just connect your device and type in (assuming you're running Windows):

adb logcat > C:\logcat.txt

Then press Ctrl+C after about 30 seconds.

Then, type in:

adb shell dmesg > C:\dmesg.txt

And after it's done, navigate to C:\ and Pastebin logcat.txt and dmesg.txt files.

EDIT: Do this when your phone is stuck on the HTC screen. Just plug it in and do the steps I've described above.
[Desire Android Development] servabat:
I get the sames errors with both ones :

- exec '/system/bin/sh' failed: No such file or directory (2) -

Ps: i'm not stucked in bootloop but on htc bootlogo
[Desire Android Development] Proz0r:
What HBOOT are you using? Reboot into recovery, wipe, flash, and before you reboot, connect the phone (while still in recovery) to your PC and run these commands:

adb shell
mount system
ls /system/

And paste the output here.

Oh, Pastebin your recovery.log too.
[Desire Android Development] Proz0r:
Okay, paste your recovery.log then.
[Desire Android Development] servabat:
My recovery.log : http://pastebin.com/5YtmBy6k
[Desire Android Development] Proz0r:
Well that's strange. Try wiping, unmounting /system in the recovery menu, flashing the ROM (without flashing gapps) and then doing that 'ls /system' thing again (without rebooting in between), paste the output here and send me the recovery.log again.
[Desire Android Development] servabat:
After rebooting (when i pasted my recovery.log at 12:48 PM) it finally worked !

I don't understand why... but it work.

Thanks :)
[Desire Android Development] Proz0r:
That's pretty strange... I guess it didn't flash properly the last time, glad it works now!
[Desire Android Development] Haldy:
Hi again, it would be nice to add your script also to Cibernodo Mod2Bravo v6.0 i you will have a time.

Regards
[Desire Android Development] Proz0r:
Added to the list!
[Desire Android Development] Akkeresu:
We need some CDMA love here! I'm officially requesting support for:

Cyanogenmod 7.1.0 for BravoC/HTC Desire

Oxygen 2.3.2 for BravoC/HTC Desire

Thanks in advance, and let me know if you need a tester! :D
[Desire Android Development] Proz0r:
Sure! My priority is still the GSM Desire, and I will try to mod the BravoC's ROMs as soon as I get done with some of the more popular GSM ROMs. The problem is I can't test the ROMs myself, which will slow down the (already slow) process of releasing modified ROMs, so as soon as I get done with the GSM Desire, I'll start adding INT2SD to CDMA Desire's ROMs, starting with CM7. I will definitely need a tester, I'll let you know as soon as there's something to try out!
[Desire Android Development] Yannn:
is there a to install it for oxygen rom ???
[Desire Android Development] Proz0r:
Not yet, I'll port it as soon as possible.
[Desire Android Development] Akkeresu:
Wicked. As much as I like using cMTD, this looks to be an amazing option for those of us who will be using stuff like CM7 or Oxygen as the final ROM for our phone (seeing as things like the BravoC may not get ICS). I'll be watching!
[Desire Android Development] pedrocel85:
I volunteer to test

Hey prozor,

I volunteer to test some new int2sdroms.
[Desire Android Development] Sage:
any update on Mildwild? (Oxygen 2.3.2).

I am happy to do some testing too. Just PM me a link.
[Desire Android Development] Haldy:
Hi Proz0r,

after few days of using your moded ROM Cyanogenmod 7.1.0 Stable, I was facing FCs (force closes of many applications). Reboot helped just on short time and FCs came again :(.
[Desire Android Development] ante0:
Switched server, so sorry for any downtime if you tried to download while it was down. :P
[Desire Android Development] aeoveu:
I have a (rather silly) question: if we install the CM rom on the first page, and then install an updated nightly, will the INT2SD method break?

Because that's the only thing holding me off these ROMs.

Cheers.
[Desire Android Development] Proz0r:
Yeah, that would break it. You could try improvising though, flash the nightly and flash the boot.img, system/etc/dalchk, system/etc/fsck and system/etc/sleep from the CM7 stable build. It might work, depending on what changes were made to the ramdisk of the nightlies.
[Desire Android Development] aeoveu:
Ramdisk, you say? Now that's a monster I have no clue about. :s

Perhaps you could make a mod for the latest CM7 nightly, and let the users use it at their own risk or something? :)

Totally up to you, and thanks for your response.
[Desire Android Development] theGanymedes:
Man, I've never thought it'd give such a speed to the device! Thanks man, I applied your ideas myself and wow! my phone is flying! :D
[Desire Android Development] Proz0r:
Sure, I'll post it here soon as an add-on zip that will need to be flashed right after flashing the nightly, no rebooting. I'll use the latest bravo nightly as a base for it, and it should be pretty small. However, I won't test it myself. If it doesn't work or if it stops working with one of the later nightlies, let me know and I'll release another one, but my priority will be the stable ROMs and this will be a side-project. Expect unstability, though I'll do my best to make it work as good as the stable thing :)

Thanks man, I'm always happy when INT2SD works beautifully for someone :)
[Desire Android Development] aeoveu:
Okay, I copied the file from your CM stable to the CM nightly (not the Euroskank ones - the last CM one), full wipe etc, and the phone hung on the boot screen (no splash animation etc - the stage before the bootup animation takes place) for quite a few minutes.

Not sure what I did wrong - either copy them wrong (I drag-and-dropped the individual files from your edited ROM to the last nightly, from one ZIP file to another ZIP - without extracting, using WinRAR).

Is that the right way to copy/paste the files? Cause if it is, then... it's not working on my end.

I shall wait for your help :)

Edit: another question - when I've booted my phone, how do I know whether i'm using your INT2SD method or not? Would there be a difference in the reported storage space, or would it be something else?

Cheers.

EDIT 2: extracted, replaced and compressed ("store", not "compress?...) and it still hung.

:s
[Desire Android Development] topgeardave:
Could you apply Int2sd to the latest Mildwild 3.7 on the CM7r2 HBoot? I loved the speed on Seb15's ROM so I thought if I could try it on CM as it is much faster than sense?
[Desire Android Development] Proz0r:
@aeoveu

Yeah, I'll mod it after I sort out Runnymede then.

@topgeardave

Sure, added to the list.

Just a note, all ROMs here (old versions of int2sd) are using what is now known as INT2SD-S.