yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] moebius83:
As written on the OP, market won't work with external partitions bigger than 2GB, you'll need to shrink it

(via Tapatalk)
[Desire Android Development] Kashban:
Now you mention it... thanks!

Being not familiar with linux tools... how do I change partition sizes without reformatting?

EDIT: Found the answer by myself: GParted Live CD.
[Desire Android Development] Kashban:
Here's something worth mentioning in the 1st post, I presume:

Be aware that a factory reset / data wipe from recovery does not work anymore with data2whatever active. Recovery mode (at least 2.5.0.1) expects /data and /cache to be at certain mount points and will not be aware of the changes you made to the android installation, thus NOT wiping your data and apps at all.

-> Multiple FCs on boot.

To get a clean shot at this you need to install root explorer or the like and delete the content of /data/data and /data/app manually. Or connect the sd card to a PC and delete from there.
[Desire Android Development] K900:
Can confirm working on CM7 from #crackflashers. Flash through CWM2 fake-flash if on CWM3 already

Sent from a piece of ginger bread
[Desire Android Development] melethron:
Thought that is obvious.... On app2sd "factory wipe" also doesnt wipe the apps as it is intended. If you want to do a "factory reset" you have to wipe sd-ext also .... same applies for app2sd.
[Desire Android Development] hendry:
melethron,

can u make an update zip for data2ext on desire z rom by robocik ?

i tried data2sd script, but it ended with boot looping.. :(
[Desire Android Development] noky76:
I have a question: I'd like to flash the baadnwz rom, but I'd like to use data2ext instead of a2sd script.which version have I to flash? I read there are several version of data2ext and dont'know what is the best for the rom
[Desire Android Development] Ninolina:
I try this zip file twice on LeeDroid v2.2f A2SD version and both times my phone could not bootup..:( It shows lock screen only for a second and then I get a white HTC screen and there is no way I can use my phone... I have S-OFF, EXT 3 - 2 GB... So, are there any suggestions?

Thanks in advance...:)
[Desire Android Development] hwminnebruiker:
+1 Can you please make a compatibel one for the z rom
[Desire Android Development] mattiadj:
I have this problem too!
[Desire Android Development] melethron:
This may be a space issue. /sytem is almost full. It worked fine for me....

Provide me with "adb logcat" of the boot and "adb df" and i my help.

Also i think you all should wait. I found a really nice solution with another filesystem. Also ownhere made some nice changes.

I may cook a own HD ROM if "data2nilfs2" works. But i cant code the kernel for this .... coutts said he may try.
[Desire Android Development] mattiadj:
All Logcat after reboot from recovery?
[Desire Android Development] ghiki:
This should work, i tried this morning (data2extV3) and i have taken 10-15 minutes of my time, now is working at 100%. If you need a bit of help, follow this "tutorial"
[Desire Android Development] abyss1888:
Worked fine for me on LeeDroid 2.2F, but i used EXT4 instead of 3

i have 2GB partition. on 8gb class 4 card
[Desire Android Development] allen.e2:
can this be use on this ???

[ROM] [10/12] Pre-rooted Stock Froyo (2.29.405.2) [Optional mods]

http://xdaforums.com/showthread.php?t=773997
[Desire Android Development] mattiadj:
Same problem with

[ROM] Pays-ROM HD v1.0 [Dalvik2SD+A2SD] [OC] [08/DEC/10]
[Desire Android Development] Flashmaniac:
not disrespecting, its not working for me. did not change anything same speed as the old fashion no oc/uc
[Desire Android Development] melethron:
If you would have read op right then you should now that this will actually slow down. To see if it's working check internal: should be ~145 MB free apart from how many apps you installed. If you want speed then use ext2. This will cause corruption though.
[Desire Android Development] melethron:
Ext 3 or 4 recommended for safety. It's fine this way.

Do what i said here:

http://xdaforums.com/showpost.php?p=9699867&postcount=2

If this isn't case then NO. Don't use it then there will be better solution soon.
[Desire Android Development] mattiadj:
Why I can't use this with baandwz?

sent from the future
[Desire Android Development] Flashmaniac:
yeah I had the thought that it should do what I thought it is doing...

I am sorry again, not disrespecting your work buddy

still got a lot of respect for it.
[Desire Android Development] Sh0X31:
Hello I have a problem I use the baadnwz ROM and I have full wipt the desire and flashed the Rom and flash the data2ext.zip and I rebooted my phone. But if I give my pin and the phone depened on the green HTC screen -.-.

I habe an 2gb ext2 Partition
[Desire Android Development] mattiadj:
This problem is reported.we are waiting for a fix!

sent from the future
[Desire Android Development] melethron:
Hey, im sorry about this but i won't make any changes to the script. There are several reasons for this:

-It's based on cyanogens script witch does only simlink to sd card. Since the second partition isn't unmounted safely its not a good sulotion. (thx sibere for sorting this out)

-I made this since i wasn't happy with ownhere's work. He is doing a damn good work and as the version numbers of his script grow its getting better and better. He will be most likely release a new ROM when he is also happy with it. (thx ownhere).

-If data2ext will be lagfree then i think many ROM cookers will give it a second changes and try it again. So if the space isn't traded for speed then many ROM cookers won't be as sceptical as they are now and integrate it.

-Also this script is compatible with many ROMS there me still be issues. I don't wanna download many ROMS and check were the issues lies. Supporting a cross ROM flash wasn't a good idea in the first place. If you REALLY want this ask the dev of your ROM to implement the script. If he won't then use another ROM.

-I myself am eager to get data2nilfs2 working. This has top priority for me. Im pretty sure i will never make a zip of it but if it turns out to be as good as i think ROM cookers may use it. If it's not then there is still several testing going on. If the best solution what filesystem to use. One example about some nice ideas is this. The whole developement of a data2sd/data2ext/data2whatever is at a testing state.

With all that said one additional remark: App2sd already provides great space. Until better solutions are made and you are really constantly low on space just get rid of some apps that you dont really need and wait 2-3 weeks.
[Desire Android Development] bbk:
Can i ? :

-Backup Nandroid

-Update .zip (data2ext.zip)

-Restore Nandroid
[Desire Android Development] danarama:
If you factory reset / wipe data via clockwork, for apps2sd or data2sd, it should format data and sd-ext as part of the process

At least on my version it does. Can't comment on data2whatever as havent used it yet
[Desire Android Development] melethron:
CWM changelog:

http://xdaforums.com/showthread.php?t=839640
[Desire Android Development] danarama:
Yeah just saw that but when did the problem originally manifest? On 2.5.0.7 I have no problem
[Desire Android Development] moebius83:
this is probably off topic but in the current discussion, but how would you perform a manual factory reset then? Never tried one on my stock phone, are we supposed to completely wipe both the internal data and the sd-ext data? or just some directories?
[Desire Android Development] melethron:
On stock there is only the data partition used. Factory reset is wipe of /data and /sdcard/androidsecure (froyo app2sd) then. App2sd or data2sd needs a wipe of sd-ext in addition.
[Desire Android Development] moebius83:
ok so a manual factory reset for people using data2whatever will be in recovery mode:

mount and wipe the whole /data (mtdblock5)

mount and wipe the whole /sd-ext (mmcblk0p2)

optionally, if any app was still installed with the standard froyo and not moved to internal memory: mount /sdcard and remove .android_secure

correct? so everything on the data partitions is going to be wiped, nothing left, not even "misc", "system", "property", etc?
[Desire Android Development] melethron:
Yes. And thats what recovery should do when you select a

full wipe

(and amon ra's recovery does that).

misc,system, and property are all in mtdblock5 and they are mounted to /data in recovery (and if android is running internal is mounted /system/data_internal/).

The rest of the userdata is mounted to sd-ext while in recovery (and when android is running its on /data).
[Desire Android Development] bsmotorsport:
Im running leedroid 2.3c and got a bucket load of apps already installed using a 512mb ext3 partition via A2SD. Whats the best way to go about backing up them apps and my phone settings i.e. background, widget locker, msgs, contacts etc, then repartitioning that 512mb ext3 to 1 or 2gb (im on 16gb card)?

I did a full backup and installed as per post#1 and I came out with 412mb internal memory but no way of getting my phone settings and apps back. In fairness Id be happy having that much "internal memory" but 2gb sounds better. Ive since restored to where I was before i.e. leedroid 2.3c and just A2SD.

Any help very much appreciated
[Desire Android Development] melethron:
I use "titanium backup". Thats an app really worth its price. And i really like the upload to dropbox. This way i always have 2 backups. 1 on sd and 1 on dropbox.
[Desire Android Development] skeptic1007:
There have been some tests around comparing the r/w speed of the internal memory to the sd card r/w speed. While the reading speed is comparable across classes, the finding is that the writing speed to internal memory is less than that to a class 2 card. In such a case, data2sd to class 2 card should fly. Which does not happen. Why is that? Because most of the written files are small files, with smaller writing speed on card than the 1 MB - 10 MB files used for testing?
[Desire Android Development] sibere:
They don't use the same File system and the same way to access to memory blocks. On big files, the SD can be way faster. On small tho, it can easily be the opposite. NAND and SD don't use the same controler too.
[Desire Android Development] Alex-V:
i have talked with melethron...and the class is not the only thing...its also the controller of the sd card...kingston should work good :)

with kind regards...Alex

edit: and i test now reiserfs instead of ext3...for me its much faster
[Desire Android Development] iinga:
Edit: Working now with latest vorkkernel. Don't know why it wasn't.
[Desire Android Development] sibere:
I'm not surprised. ext3 is the slowest of the ext family ;)

try ext2 or ext4 without journaling. Even disabling journaling on ext3 will speed things up.
[Desire Android Development] melethron:
Disabling journal on ext3 = ext2. Ext3 is nothing more than ext2 with a journal.

And apart from that is ext3 in some cases faster than ext4. Search the net for sqlite benches (well but ext4 can be tweaked to be faster then ... but this doesnt apply to our sd-cards). Considering sqlite on sdcards (and thus lags) the speed of ext3 is the same as ext4. The advantage of ext4 is on larger files than 4kb this doesnt help in smoothness.
[Desire Android Development] hendry:
hi...

i tried to modify Z rom v.6 third modded by coolexe using data2extv4. what i did is to delete apps2sd file in /etc/init.d and put data2extv4 in there. also copy some important file such as mkfs.ext4, tune2fs, etc..

and start booting it, but why it's ended with bootloop ? i did success converting reflex sense hd rom to data2extv4.

i check the rom zip file for update-script file is really differnt than reflex sense hd. even i already tried to remove

run_program PACKAGE:data/dtinstall.launch
delete DATA:dtinstall.launch
run_program PACKAGE:move_cache_sd

but still no luck..

any idea ?
[Desire Android Development] melethron:
No idea what the rom does there. But it isn't a good idea to use that ROM with data2whatever. The reason for compression is too few space on internal. But on data2sd you have enough space because you have 147 mb of internal data in addition then. So there is no need for compression then. All compression will do then is to make things slower because when you open an app more cpu (and time) is needed to uncompress the files.

Compression is a good idea for a app2sd ROM but it isn't for data2sd....

You can modify a HD rom with the script of Avaritia ROM. That script installs system apps on internal data. This way the 400mb of system fits on NAND (without repartition but spliting up between 250mb of system and 150 of data)
[Desire Android Development] Orka82:
I'm getting random reboots now.. got one just now. :/
[Desire Android Development] melethron:
Life on the edge?
[Desire Android Development] eezergeezer:
I have the same issue.. flashed leedroid 2.3d, full wipe, gparted 16gb class 4 into 14gb fat32 1gb ext4(by the way how do I disable journaling?) using life on edge, phone randomly reboots.. e2fscklog shows rebuild too.. any ideas?
[Desire Android Development] melethron:
The issue is life-on-the-edge (i just updated the op). Loopmount can cause reboots. Ill update the script soon and recommend to use it without life on the edge. e2fsck shows error because those reboots doesnt proberly unmount. Journal will be enabled if LOTE is not installed and disabled if it is. So no way to use unjournaled ext4 without LOTE as long as you dont change the script.

Ownhere has a much better alternative to "loopmount":

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

If this is more tested i add this as life-on-the-edge. I will upgrade this script in future but atm i focus on my ROM so this may take some time. As for the ROM the script will get a config file on the sd-card so that stuff like journal can be set. But update will take time.
[Desire Android Development] Mastermarks:
Sorry for this noob question: Will the Data2Whatever work with my Verbatim Class 6 8Gb SD?
[Desire Android Development] PilgrimToHyperion:
I've decided to try this again, but no luck yet? Advise please!

Used Gparted to create 2x partitions on my 32GB Class 4 MicroSD. 1x FAT32 30GB and 1x EXT3 (and later an EXT4) 2GB.

I did a full wipe and then I installed Leedroid 2.3d and before rebooting, I immediately flashed 0.4d and the 2nd time round 0.2e.

The phone boots fine, but it eventually gives me a "Process system has stopped responding" message with the options to wait or force close. I choose wait and then get the white HTC screen again, after about 30secs I get Leedroid lockscreen, but cannot unlock the phone. I tried leaving it like that for 15 minutes, but it won't allow me to unlock. I then rebooted the phone and this time round I got the pin code screen. I enter my pin and the message "unlocking your sim and configuring phone" appears (can't remember exactly what it says). It gets stuck on this screen and never goes on, even after 30 minutes.

The combinations I've tried was 0.4d with ext4 and ext3 and 0.2e with ext3.

Am I missing something?
[Desire Android Development] anderl78:
Hi! Use 0.4d with Leedroid 2.3d, works really good!

My setup:

8GB class6 SD, 1,5GB Ext4, 6,5GB fat32 with gparted, no LOTE

rare minimal lags on app-starting, absolutely acceptable. SD-readspeed ~13MB! the phone itself is fast and responsible as usual, quadrant with 1Ghz...

Thanks for this!
[Desire Android Development] eezergeezer:
of course.. partition correctly and it will work...

7gb fat32 and 1gbExt4 or other..
[Desire Android Development] Dynanik:
Tried 4d @ MIUI 1.1.7 and noticed heavy laggs :-(

For example, changing the MIUI theme takes over 5 minutes...anything works correctly but laggy, too.

I do full wipe and flash the script directly after installing the rom!

No idea what to do now :confused:

8GB SD - 1024MB ext4
[Desire Android Development] Orka82:
I see. My phone lags without life-on-the-edge. ~1100 in quadrant without and 1700 with lote enabled.. this with a class 6 card.
[Desire Android Development] xavierjohn22:
i remember trying this with 12.30, i use LOTE but the problem is reboot, no lags but will wait for fixes then retry in the future.
[Desire Android Development] anderl78:
Hmmm, have read a bit in this thread... Sounds good! I'v read there, sibere did something to the sense ROM V 2.29.405.5... dont know if it could be used with your work. would be nice, if you could look at this...
[Desire Android Development] AssassinSvK:
hi,

i am using oxygen rc6 right now on my device, already created ext3 partition before installing rc6 ver. but i cant see the ext3 partition and apps are still stored in int.phone memory :(

if i follow this procedure mentioned on 1 page, can i do this like--

ROM manager --- backup existing rom

copy all from sd to my PC (guessing the backup from rom manager are included cuz i dont figure where exactly is stored the backup in sd card)

then repartitioning my sd card via gpart ubuntu (2.6 GB fat32 and 1024 MB ext3)

reboot in recovery and -

1.Full wipe

2.Flash the app2sd Version of the ROM of your choice (in my case oxygen RC6) or after full wipe i can restore my previously rom backup? is this eaven possible?

---

3. DONT REBOOT

5. flash the attached "data2whatever.zip"

6.reboot

restore all back to sd card and via rom manager restore rom backup

can this work correctly and i be able to fully use ext3 partition?

and my sd card is sandisk stock that i buy with desire, 4gb class2 should a run ext2 or i need to buy a better card such as class 6?

i am noob so be patient with me pls :)

regards and thx for advice
[Desire Android Development] SoftWord:
I have created ext4 partition with 4gb of space.........but when I try to install an app, android tell me that there isn't space free on internal memory.

on information tab, I see that I have 4gb of space free.

So.....there are limits to "data" folder size ?
[Desire Android Development] moebius83:
how about reading the original post?

:)
[Desire Android Development] SoftWord:
very sorry......I'have search now........and i see now that limit but:

there is a way like Galaxy S, to have max memory >2048 ?

The problem in in Android subsystem, or in Market ?
[Desire Android Development] moebius83:
as far as i know, it's just the market
[Desire Android Development] SoftWord:
Ok, and......there is any fix or alternative "market" that can be used with normal google repository ?
[Desire Android Development] moebius83:
I don't know of any workaround/fix, but maybe it's possible to manually install apk files using adb install instead of the Market...I know it's not a real solution...maybe someone else has a clue here :)
[Desire Android Development] SoftWord:
ok tnx :)

but........galaxy s.......have same problem too ?
[Desire Android Development] DesireFreak:
I have the same problem, but my partition is a 1gb reiserfs, so it's not too much I think? What can I do?

Swyped from my HTC Desire. :-)
[Desire Android Development] DesireFreak:
No one got an idea?

Swyped from my HTC Desire. :-)
[Desire Android Development] melethron:
AFAIK there are 2 issues with market:

1.) Partition is larger than 2GB

2.) An extended Partition instead of a primary....

So i guess you may made an extended partition.
[Desire Android Development] DesireFreak:
Thanks for your help, I will check this out tomorrow :-)

Could be the problem, as I simply converted my old ext partition to the new one...

Swyped from my HTC Desire. :-)
[Desire Android Development] xavierjohn22:
Try flashing the cenkaan MIUI 1.1.7 with data2whatever already. No LOTE.

FYI : it has sqlite speedup package already. I am asking for a separate install pkg

http://xdaforums.com/showthread.php?t=907705&page=3

Release 2 is also in that thread.
[Desire Android Development] xcesco89:
hi!

the script works perfectly on gingervillain 0.5 and 0.6 but in 0.7 this not work!

i tryed with 0.2e version!:rolleyes:
[Desire Android Development] DesireFreak:
Today I tried to solve the problem by setting the partition as primary in gparted, but it didn't work. I also tried both - ext4 and reiserfs - as recommended. I still have a swap partition on the sd card created once by rom manager. Can that be the problem? Gonna try to delete it and try again...
[Desire Android Development] iinga:
It depends if your swap partition has decided to be labelled as mmcblk0p2 or not
[Desire Android Development] melethron:
@all: sorry for not giving much support atm and updating. Im focused on my ROM atm. Downloading and testing every kind of ROM and change the script is to time intensive for me atm.

Rommanager uses CWM recovery to partition and that makes swap mmcblk0p3. I tested the script with partitioning of CWM and RA recovery and it works fine.
[Desire Android Development] DesireFreak:
Hm deleted the swap partition and it still doen't work to install apps, after I installed nearly most of them...

Can pls someone tell me, what partitions do I exactly need?

I got a 16GB microSD card with 1GB ext4, set as primary and the rest filled with fat32.
[Desire Android Development] woti23:
the rest filled with fat32 - you know the first partition must be fat32? and then the second ext/reiser ....

1 partition primary fat32

2 partition primary ext4

3 partition primary swap
[Desire Android Development] DesireFreak:
Yes that is how i had it. First partition a fat32, then 1GB reiserfs set as primary and about 50MB swap.

So seems as I'm still doing something wrong :(
[Desire Android Development] melethron:
Oh! .... you mean you can install most of the apps and THEN you can't install any more apps?

If this is the case i know where this issue lies then. Its because dalvik-cache is on internal and there is no space left for the extraction of the *.dex file.

If you that is the case and you use 0.4 you should use a 0.2 version. Dalvik is on sd then and it should work. I wanted to fix that already but i don't have much time for this script.
[Desire Android Development] DesireFreak:
Thanks for your reply, I will try this =)
[Desire Android Development] woti23:
LOTTE, life on the top edge

261 dbwrites with jfs integrity/loopfile

someone has the jfs arm binaries?

jfs_fsck jfs_fscklog jfs_logdump jfs_mkfs jfs_tune

(reiserfs 232, ext4 206)
[Desire Android Development] melethron:
Why did you move to ext by the way if your jfs results were so good?

I had about 60 db writes (no loop, no fsync hack - also integrity from "default" options) with it and it was even faster than unjournaled ext4 (54) but my partition was completly "f**ked up" after a reboot and i dont know why. Thats why i wont use it for now (but im eager to do some more tests).
[Desire Android Development] woti23:
because i tried it now first after i recompiled the coutts kernel with various filesystems in to test all with same kernel

ext4 is stable/fast enough for me (and easy to open/mount on every linux installation), i dont trust the jfs as much as you, even without crash with reboots, until i can test with jfs_fsck etc
[Desire Android Development] ownhere:
http://www.multiupload.com/P5UMBLNHKI

enjoy them.
[Desire Android Development] melethron:
Thanks :)

By the way what issues did you have. I tried JFS and the partition was messed up after a reboot. Do you know why it is unstable?
[Desire Android Development] woti23:
thank you very much
[Desire Android Development] iinga:
I am trying to run ReiserFS with coutts' AOSP kernels and currently it isn't working. It just boot loops.

A logcat states:

"I//system/xbin/run-parts( 78): mount: mounting /dev/block/mmcblk0p2 on /data failed: Invalid argument" pretty early on and then tells me lots of things couldn't be chown/chmod etc, then it gets a lot of exceptions. Full logcat is attached.

Just wondering if anyone knows any reason why this is happening. Coutts' kernel supports ReiserFS.
[Desire Android Development] melethron:
Not sure if

AOSP

kernel has support.
[Desire Android Development] ownhere:
I don't know why. Maybe JFS on IBM machine use external journal device for best data safety.