yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] jermaine151:
That's a much simpler solution than what I was thinking about doing (changing the partition sizes). I'll have to check this out and see if I can cook it into the rom.

Thank you for posting this!!
[Droid Incredible Android Development] jismail:
I will be watching this thread for an update so if you do integrate this as a feature let us know, I will be the first to upgrade!
[Droid Incredible Android Development] themusicmonkey:
Wow jermaine151, you're a beast.
[Droid Incredible Android Development] jermaine151:
I'm looking at both options now (resizing the MTD partitions or just removing the datadata mount and just using the data subfolder of the /data partition). Here's my dilemma with the latter. If we use the /data partition for both data and datadata, we will be deducting that 150MB (and more as it gets bigger) from our space for apps to be installed. I guess using the apps2sd or something like that would make it not so bad. My biggest issue would be leaving that 150MB datadata partition as empty, wasted space. That bugs me. The other option requires flashing a recovery with our custom partition sizes, taking some space from /cache and /data to put in /data/data then patching the boot.img to use those same custom partition sizes. They did this on the desire and I've been looking at the script to see how it could be adjusted for our phones having more partitions than theirs does. Decisions decisions... I'd rather not have to mess with recovery and I guess I'll have to get over my not wanting to waste that partition. That really is the safest way and all it requires is a mod to the boot image to not mount datadata. I can do it VERY quickly for a fresh install. The trickier part is doing it for an flashover so that the data from the datadata partition is copied into the data folder on the data partition, before booting.

Please ignore my rambling. LOL. This is how I think out loud sometimes... :)

Thanks Bro!
[Droid Incredible Android Development] powerhouselb:
Nice lookin' piece of work.
[Droid Incredible Android Development] jismail:
Which way would you think is the BEST way to address this?

I know I have no knowledge of this type of stuff but you obviously do so I guess the decision point will fall down to which solution will be best to move forward with once the R&D and mod time is invested. Maybe the hard work for option 2 will be leverageable for future builds - especially if it can be scripted for ease of implementation.

Either way, thanks again for you efforts!!!
[Droid Incredible Android Development] jermaine151:
Ok guys. I have it booting with /data/data being just a folder that resides on the /data partition, instead of being it's own partition. Here's the only thing I see bad. The datadata partition is YAFFS2 (really fast) and the /data partition is ext3 (not as fast). Translation: It is slower on the first boot to get everything going but now, after 10 mins or so, it seems to be about the normal speed and my /data/data limit is the size of my /data partition:

jay@jay-nix:$ adb shell df

/dev: 211280K total, 64K used, 211216K available (block size 4096)

/mnt/asec: 211280K total, 0K used, 211280K available (block size 4096)

/mnt/obb: 211280K total, 0K used, 211280K available (block size 4096)

/app-cache: 8192K total, 0K used, 8192K available (block size 4096)

/system: 253952K total, 224104K used, 29848K available (block size 4096)

/data: 765992K total, 109156K used, 656836K available (block size 4096)

/cache: 198337K total, 4131K used, 194206K available (block size 1024)

/mnt/sdcard: 3862528K total, 2925024K used, 937504K available (block size 32768)

/mnt/secure/asec: 6920512K total, 1050368K used, 5870144K available (block size 32768)

/mnt/emmc: 6920512K total, 1050368K used, 5870144K available (block size 32768)

/mnt/secure/asec: 6920512K total, 1050368K used, 5870144K available (block size 32768)

EDIT: After using this for a 1/2 hour or so, I think the lag is too much because of that partition type. I need to find a better solution for doing this. :(
[Droid Incredible Android Development] chaint:
Thanks for your efforts on this, Jermaine. I know this would be of huge help for a lot of users of this ROM, and many other Sense based ROMs, on the Incredible.
[Droid Incredible Android Development] tiny4579:
Ask intersect raven how he did it. I saw him tweet about getting it working. I didn't look into it before because of effort and not needing it myself
[Droid Incredible Android Development] jermaine151:
You're welcome!

Thanks Tiny! I have never gotten the message either, but so many folks are that I'd love to get a good solution to it. What device does intersect have? You have his twitter name?
[Droid Incredible Android Development] themusicmonkey:
I will be flashing this over .3 without a system wipe, just a dalvik and cache wipe, and I will post my results later. *crossing my finger*
[Droid Incredible Android Development] jermaine151:
It will work great. :)
[Droid Incredible Android Development] themusicmonkey:
Confirmed to be working great! Thanks jermaine151!

This should keep me happy until I make up my mind between the latest big 3: Razr, Nexus, or Rezound

I'll still call them Prime and Vigor though...
[Droid Incredible Android Development] phaze one:
Can you add airplane mode to the quick settings on next build please?
[Droid Incredible Android Development] tiny4579:
intersectraven is his twitter name. I found it from github.com/intersectraven.

I think Nexus One which is a very similar device to this one. Check it out. I wouldn't have known about this name if it weren't for the fact that someone posted about adding Linux 3.0 features to incredikernel.
[Droid Incredible Android Development] jayochs:
i'm liking the newest version, jermaine!
[Droid Incredible Android Development] datalife321:
So I flashed my phone with this ROM and everything worked great on the first boot. I also noticed that the internal phone storage message was gone. Then I rebooted my phone after installing all of my apps from the market and the message about the phone storage is empty is back. Am I missing something?
[Droid Incredible Android Development] droidrage2010:
Can anyone comment on using Tiny's kernel on this ROM, and which settings are best for maximum battery life?

I've used his kernel on a few other roms with success, and hoping I can do the same here.

Thanks in advance!!
[Droid Incredible Android Development] caleris:
Runs great, I use the standard settings and get great battery life.
[Droid Incredible Android Development] keyslapper:
Seconded. Tiny's kernel is awesome. Default is SAv2, and I'm getting up to 24 hours of moderate to heavy use, including Google Navigation, taking pics, lots of surfing, texting, posting pics to FB, etc. Last weekend, it hit 23+ hours after an evening of moderate browsing, reading twitter, posting to FB, and around 30 minutes of navigation the next day, and a little camera work before it finally died on me. Email is a given, since I am something of an email junkie. Never go more than a couple hours without checking, reading, and sometimes responding - unless I'm sleeping.

I don't use the SAv2 as is though. I now use a few profiles on battery state and temp that will dial things down if the battery gets too low or too hot.

Cheers!
[Droid Incredible Android Development] themusicmonkey:
You have to cut what you don't use. For now, there's no way around it. There's a certain data threshold that you can't go over. Facebook is one of the main data hogs, as well as Maps, Flash, and Internet.
[Droid Incredible Android Development] keyslapper:
Unfortunately, this is true. You can mitigate some of this in a few other ways though - at least in my experience. I *think* everything here affects this, but some may be placebo, so Jermaine, et al, please feel free to correct me on any of this.

Anything I don't feel like I have to have and cannot be moved to the SD card, goes. Anything I do use, but not regularly, or is not critical in some way (Netflix, for instance is my worst offender) goes to the SD card. I don't use anything like apps2sd, just the Manage Apps interface in settings. Note that some apps don't work well from the SD, even if you can move them from here, so beware.

A lot of folks have issues with apps on the SD disappearing after mounting to their PC or if they try to access them too soon after startup. Often this can only be fixed by restarting the phone. It is what it is. This is why I only move things I want to have but don't really *need* on a regular basis. I've found that using the SD speed option in RootToolbox (in the market) helps things recover a little quicker. Sometimes I just have to cycle the phone or re-install apps, and sometimes I still have to shuffle them back and forth between the card and phone storage to get them ironed out.

Another thing I've found helps is to trim MMS threads now and again. Some folks back them up and have texts of their spouse asking them to pick up milk on the way home going back 2 years or more. I don't need that. I get pics of the nieces and nephews, and even my own kids, etc.. I save those to the SD card when they're significant and delete them from Handcent. I don't really need to keep texts about what beer my brother-in-law was drinking 2 months ago or what my wife wanted me to pick up on the way home. SMS and MMS appears to count against that space, so get rid of it if you don't need it, and if you do, back it up elsewhere - regularly.

That said, I'm not especially good at the "getting rid of apps" part. I almost never get the low space warning, and I currently have 98 installed off the market plus 2 or 3 "external" apps. This doesn't count system apps, except those updated through the market like Google Search, etc.. Also, if you have TB, you can integrate updated system apps into the ROM, which also helps - those update files are moved from your app storage to the system partition if I'm not mistaken - I'm sure Jermaine, Incubus, and several others here know better than I do how that works, so while I may continue what may be placebos for now, I will defer to their superior knowledge here.

Hope this helps.
[Droid Incredible Android Development] JoeyBert:
Do I have to do a full wipe if i'm coming from the previous version?

also, is anyone else having trouble with 720p recording? It's very choppy, delayed.
[Droid Incredible Android Development] jermaine151:
It's not so much the apps, but more the apps that need to access their data fast and therefore take up a lot of space in the /data/data partition (facebook, contacts, etc). Most of the people getting this message have plenty of space left on /data (apps) but are low on the high speed storage in /data/data. That's why I'm trying to take some space from /cache and give it to /data/data. That said, being diligent on your apps always helps. If you have terminal emulator, you can see what is taking up the most space on this partition by doing this:

cd /data/data
du

It will list each folder and the size of the contents. Then you will see what your biggest culprits are.

Yes, you may flashover and it should work fine. Just wipe dalvik. 720p works fine for me.
[Droid Incredible Android Development] General Crespin:
Thanks man; very much appreciated.

Anyone else have problems with SU crashing when it remembers permissions for an app?

Edit: I use NotEnoughSpace to move the data hogs out of data/data. I'm sure it slows it down some but I need the apps I need. :)
[Droid Incredible Android Development] 318sugarhill:
I found that deleting text message threads that are very long and deleting the cache in the facebook app usually clear up the annoying message. Facebook seems to be the prime culprit.
[Droid Incredible Android Development] zoomy942:
Is it possible to make that rosie look into a flashable zip for the rooted ota?
[Droid Incredible Android Development] DustinBooyah:
I have, but I usually go into SU and update the binaries and it works fine afterward
[Droid Incredible Android Development] themusicmonkey:
I had problems with superuser update, so I uninstalled the update and stuck with the original. That seemed to fix it.
[Droid Incredible Android Development] jermaine151:
Sending you a PM music.
[Droid Incredible Android Development] themusicmonkey:
I'm in.
[Droid Incredible Android Development] jermaine151:
PM Sent......
[Droid Incredible Android Development] masully1984:
Same problems with SU after updating it. Minus that Solid ROM, great speed

CM7 nightly
[Droid Incredible Android Development] WookieFan:
I think the latest su update fixed things for me. And a restart, of course.
[Droid Incredible Android Development] jayochs:
for the first time ever with this phone, i actually got the low space warning on the first version of this rom...then i moved google plus to the sd card and it went away lol then i flashed the new version, and nothing yet!
[Droid Incredible Android Development] tiny4579:
Yeah that low space in datadata is annoying. hadn't had it happen to me yet. Hopefully a good solution will be available soon.
[Droid Incredible Android Development] jermaine151:
Yes, we're testing what will hopefully be a good solution. ;)
[Droid Incredible Android Development] jamala00:
This might be a stupid question. I just flashed V2 of this ROM. The button to the right of the Phone button. With 4 squares on it... What is that suppose to launch? Currently I press it and it is not doing anything.
[Droid Incredible Android Development] keyslapper:
You should have the launchkey app installed - if not, you need to flash the Rosie Remap mod in the OP. You can assign a behavior for that button, including a popup menu of special apps.

Cheers!
[Droid Incredible Android Development] jermaine151:
Version 2.1 is posted. No more Low Space Warnings!! :) If you don't get the low space warning and don't want to do a full wipe then you can skip it. It uses the Ext4 filesystem and is the first rom for the Incredible using this. Thanks to Tiny for his help with this.

Enjoy!
[Droid Incredible Android Development] tiny4579:
Gotta mention you can't flash the stock kernel or it won't boot due to lack of ext4 support on stock.
[Droid Incredible Android Development] jermaine151:
Yeah, what he said!! :)
[Droid Incredible Android Development] hgoldner:
Wow, Jermaine, this looks like the ultimate solution to my longstanding issues, for which I have been running cyansmoker's Notenoughspace since rooting Froyo.

Can I assume I should move everything back from where NES hid it and move apps back from ext3 *before* wiping and flashing, or is that redundant?

Thanks in advance; really looking forward to taking this for a spin.

Dumped down the innertubes from my Arnova 10 G2
[Droid Incredible Android Development] jermaine151:
I think you can skip that and just wipe and flash. :)
[Droid Incredible Android Development] godsmacked4653:
I think this is probably the biggest breakthrough for our phone since it got root. :P
[Droid Incredible Android Development] 00McD00:
Agreed, only a straight up boss could figure this out lol great work to you Jermaine and everyone who helped you with it.
[Droid Incredible Android Development] jayochs:
nice jermaine! i'll install it later tonight. lately on version 2 i've been running into a lot of sense refreshes...like, i back out of an app and see the white htc screen and sense has to reload
[Droid Incredible Android Development] jermaine151:
Thanks guys! The implications of this are going to be a big deal. This first upload was just for the folks that get the low space warnings. The performance will be about the same as it was. The other versions that I'll be putting out, for folks that don't worry about the datadata limit, will be high performance builds and run really smooth. I did it to Newt's HD rom and that bad boy was running GOOD during my day of testing yesterday.
[Droid Incredible Android Development] swaggerwocky:
This is amazing news, any possibility for this to work with AOSP roms as well? Perhaps a universal patch script?
[Droid Incredible Android Development] jermaine151:
Yes, that's definitely the goal. :)
[Droid Incredible Android Development] jprow507:
So you are going to be putting out additional versions soon? I'm just wondering if I should go through wiping and setting up 2.1 if 2.1+ is right around the corner.
[Droid Incredible Android Development] jermaine151:
If you're not having data space issues I'd say hold off. I want to get it to the point of not needing to wipe and safely converting your current data.

***I'm mobile
[Droid Incredible Android Development] aweaver33:
Jermaine, it looks like something is wrong. I wiped and installed v2.1 and then started installing apps. Some from market and some via Titanium Backup. Using DiskUsage, I see that /data/data is still 150 MB and is still filling up. Eventually, it is full and I get the low space warning following by failure to install apps.
[Droid Incredible Android Development] jermaine151:
Please run this from adb or terminal emulator (free from market):

mount >/sdcard/mount.txt

and then paste the contents of the mount.txt file on your sdcard here or just attach the file.

Thanks!
[Droid Incredible Android Development] jermaine151:
UGGGGHH!!! LOL. It was late last night and I was sleepy. :) I see the problem. I'll fix it. I don't think I can save your current set up, though, since now the datadata partition has the data and it won't exist afterwards. Thank you very much for posting that.
[Droid Incredible Android Development] aweaver33:
It okay, I've got a nandroid backup from before flashing this. I'll revert and wait for your next upload :)
[Droid Incredible Android Development] jermaine151:
It's uploading now! One little "#" missing caused what you had. :)
[Droid Incredible Android Development] jermaine151:
The link is back up. I'm sorry if you downloaded the version with my oversight in it.

EDIT: No need to redownload. I have a small flashable zip that should fix the issue without you having to wipe or anything. :D Give me a little bit.
[Droid Incredible Android Development] MicroMod777:
What did you edit in the ROM to remove the 150MB /data/data limit? Seems pretty interesting. :)
[Droid Incredible Android Development] jermaine151:
I stopped the 150MB partition from being mounted and instead am using the subfolder of /data and ext4 to improve the performance on writes to it.
[Droid Incredible Android Development] Tag798:
This is awesome Jermaine... I can't wait for the high performance version...
[Droid Incredible Android Development] aweaver33:
Working well so far, although I've now managed to fill up /data while batch restoring 95 apps. I guess I should have move a few of the behemoths (Peggle, Plants vs. Zombies) to SD first :)
[Droid Incredible Android Development] jermaine151:
Wow! LOL. Yeah, you still might need to put some stuff on the sdcard. Tiny and I are testing the Universal script now. :)
[Droid Incredible Android Development] baboonsRus:
Just......got......v2.....set up....:(
[Droid Incredible Android Development] jermaine151:
No worries.. Just watch the forum for a bit. :)

Download link removed! Why make one rom with Ext4 that requires people to wipe to use it? Why not be able to make any AOSP Gingerbread or GingerSense rom use high performance Ext4 and keep the data in tact? Why not also have a separate flashable zip that will do the same thing but also take the 150MB datadata limit away (not as high performance but more room for apps without low data warnings) and STILL keep the current data in tact?

Why not do that Jermaine and Tiny???? ;)

Coming soon!
[Droid Incredible Android Development] hgoldner:
If you gentleman solve a problem that HTC'S engineers never even bothered to tackle.... something that has plagued Incredible (and, I've heard) some Evo owners since the units first came out, you should get free phones for life.

Just sayin'.
[Droid Incredible Android Development] evilstewie23:
Amen to that one. Thanks for your efforts guys.
[Droid Incredible Android Development] Lopan12:
Wooo! That sounds awesome! But how soon is soon? I'm still running version 1.x anyway, so I was going to do a wipe and flash to up V2, and now I've got 2.1. Should I wait a little while longer for bigger and better things (a bigger /data partition?! ;) ) or just go ahead and use the v2.1 file I litterally JUST downloaded?
[Droid Incredible Android Development] jermaine151:
I'm going to create the thread in a second. I took down 2.1 so people won't have to wipe. You can flash 2.0 over your current build and then go to the new thread to convert your file system after nandroiding of course. :)
[Droid Incredible Android Development] Lopan12:
:eek: I can flash v2 over v1.x? You got me REALLY excited there...if that's what you said, I wish I could thank this rom 100 times over! I've been running it for awhile and love it!

Quick non-related question, can I use one of those quick-setting mods floating around to add more buttons/options? I can't remember if I've seen a generic one (and my work computer is too slow to look for it) for stock or not....:rolleyes:

I loaded v1 and with it actually running, smooth, stable, forever (in ROM terms atleast) I haven't been on the forums in a few weeks! :D
[Droid Incredible Android Development] jermaine151:
I don't think there are any quicksetting mods that will add other stuff in there.

The Ext4 4 ALL thread has been created!

http://xdaforums.com/showthread.php?t=1315372
[Droid Incredible Android Development] themusicmonkey:
What does this mean for me, since I'm part of 2.1 alpha ;-)
[Droid Incredible Android Development] ooofest:
Hi jermaine151,

I'm late to this game, but as an early AMOLED Incredible owner, I was ready to continue waiting patiently for a (stable) Gingerbread OTA release. Two apparently sketchy attempts later, it seems Verizon and/or HTC have put this off indefinitely.

So, after much research I decided on your Stock Plus ROM after first rooting my phone yesterday - after making NANDROID and Titanium backups, I wiped everything per your instructions and manually flashed your latest ROM, with the Black Dialer and Auto-Rotate item updates.

Except for Google Voice configuration sort of hanging a bit (easy to deal with, and it nonetheless worked properly), for a first ROM this has been hours of a satisfying experience for me: the system is quick and smooth, I like the little Sense updates it contains and can see running this as my base ROM for a long while if it turns out to be at least as stable as Froyo.

I'm obviously quite green in this realm but wanted to say "Nice job" and thanks for making this available in such a helpful way.

- ooofest
[Droid Incredible Android Development] jermaine151:
It means that if you want to restore you 2.0 backup, with everything configured, and then flash the mod to convert to ext4, you may. :) It's totally up to you and I thank you very much for testing and giving me great feedback!
[Droid Incredible Android Development] aweaver33:
init.d support?

I'm loving this ROM. The only request I have for the next release is init.d support. If I understand correctly, all you have to do is add the following line to the end of bootcomplete.inc.rc:

/system/xbin/busybox run-parts /system/etc/init.d
[Droid Incredible Android Development] jermaine151:
Init.d support is included. You just need to create the /system/etc/init.d folder and add whatever scripts you would like to run. :)

You can verify this while booted by typing in adb shell or terminal emulator:

cat /init.inc.rc |grep init.d

If init.d is not enabled, nothing will be returned. If it is enabled you'll see the busybox stuff.
[Droid Incredible Android Development] aweaver33:
Oh, I see it in /init.rc now. I'm just used to seeing it in bootcomlete.inc.rc and I didn't see it listed in your list of changes, so I falsely assumed it wasn't there. I guess I should have just tried making the dir and dropping a script in it.