yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] ungaze:
This could only mean that the 2nd time you booted, your /data partition was empty. Hmmmn, is your phone still running? I'm sure it will still run even with /data totally empty(although apps installed would give a FC msg every now and then). Could you check if the folder/directory "/system/data2sd" exists?(this is a flagging folder to let the script know that data2sd has already been initialized before and reformatting the ext/2nd partition is no longer necessary)
[Optimus One, P500 Original Android Development] aursta:
give me suggestions!;D
[Optimus One, P500 Original Android Development] franciscofranco:
I'll be honest with you, I have no clue, sorry.
[Optimus One, P500 Original Android Development] aursta:
damn damn, whatever i will for updates.

so can i flash darktremors a2sd, when i have ungaze zip flashed?
[Optimus One, P500 Original Android Development] lerkin:
Already restored

I already restored nand backup, now I'm going to test new rom with busybox 1.16,

if it will not be successful I will check...

ungaze, what rom do you use and what busybox do you use?
[Optimus One, P500 Original Android Development] ungaze:
busybox 1.18.1

Basically, its a refurbished optimusXrom. I really love that ROM, and too bad domenic lost all his work when his PC broke(or something like that). I have plans to share the ROM, but still tinkering with stuff, specially on battery side.

---------------------------------------

The additional performance update will probably take a little bit longer. Cause it would basically require you to reformat you ext partition /data once again(due to the lack of rollback options). I'm making a script to make all of these possible so please bear with me. Again.
[Optimus One, P500 Original Android Development] :
I guess you should go and look up what "convert" means in some dictionary. Convert = non-destructive, data kept. Format/delete partition - destructive, data gone. :rolleyes:
[Optimus One, P500 Original Android Development] N_lover27:
hey dude..

of ur here to help then do that do not pick fight here like you do with neojin....

the main point was to change ext4 to ext2 ...

and This is not a English grammar class. so cool down. try to put ice bag on your head and do not spam the thread.....
[Optimus One, P500 Original Android Development] :
You are NOT really helping. When people ask how they can convert, they already have apps installed on ext4. So, following your advise about "conversion", all their apps will be gone. For sure they will be "happy". Worse yet, with data2sd, even their data will be gone!

:mad:
[Optimus One, P500 Original Android Development] N_lover27:
try to read what was asked

he is not telling he has apps installed in ext4 partition , he just wants ext2 partition. as he is asking whether he need to go for any other recovery to change ext4 to ext2.

if the person knows what am i saying they know that their apps will be gone. and they need to install the apps from the scratch after they have new ext partition . SOME person does know how to follow the advice. ;)

I don't see you helping rather then arguing about everything. so here I am ending the discussion. I don't like spamming the thread..... wish you a wonderful day.
[Optimus One, P500 Original Android Development] :
See, dude. Do not tell people that you can convert ext4 to ext3/ext2. The fact being, you cannot. Period. None of the poor excuse attempts you are presenting here will change that fact.

Deleting and formatting partitions is destructive and is completely different from filesystem conversion. The proper terminology is important here. You cannot assume people know what the stuff is about, nor can you assume they will read the entire thread to dig what was the original question. Especially you should better prevent such "advice" in thread which is about a script that moves entire /data to SD card. Apps can be reinstalled, not that much of fatal harm done, but data without any backup are just gone forever.

Stop presenting completely false statements here. If someone asks how to fix their car's engine and you tell them to throw the car away and buy a new one, guess what they will thing about such "advice".

:rolleyes:
[Optimus One, P500 Original Android Development] mutia:
[again]
[Optimus One, P500 Original Android Development] arczangel:
I made myself the 100th Thanks to Ungaze! Where are you man!?!
[Optimus One, P500 Original Android Development] istoner:
Apologies for the OT, but I must point out that in my native tongue mutia means one who urinates LOL.

Moved to void #f and it works, thanks. DT was a pain.
[Optimus One, P500 Original Android Development] mihir287:
What order did you follow? I'm getting errors of the kind

An error has occurred while removing duplicate files!
Unable to proceed with data2sd
Logging mount status:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)
/dev/block/mtdblock9 on /mnt/asec/d2sd/data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mmcblk0p2 on /data type ext2 (rw,nosuid,nodev,noatime,nodiratime,errors=continue)

in the d2sd folder on the sdcard and my internal memory remains unchanged.
[Optimus One, P500 Original Android Development] N_lover27:
Which ROM are you Using?
[Optimus One, P500 Original Android Development] mihir287:
Void #forever. But I checked a few posts back and deleted the 02mountsd from init.d and flashed it again and got it working. Thanks.
[Optimus One, P500 Original Android Development] N_lover27:
Ya thats the answer.

but you wont be able to do it in Nessy #JINCE as the ROM is kind of strange.

there is no init.d folder to begin with.
[Optimus One, P500 Original Android Development] mvgadagi:
Please any one help me how to move files using this data 2sd... I've already flash the zip then what to do

Mahesh
[Optimus One, P500 Original Android Development] dark-k:
You don't have to do anything except flashing the zip that you've already flashed. You just have to enjoy this mod !
[Optimus One, P500 Original Android Development] mvgadagi:
Then will files automatically go into the ext partition?
[Optimus One, P500 Original Android Development] dark-k:
Yes : when you flash the zip, all the data folder is moved to your ext partition. You don't have to do anything else. You just have to look in settings if the mod worked and if your free space increased.
[Optimus One, P500 Original Android Development] mvgadagi:
K thanks its increased and then wr shall I move the application now to SD card or phone memory

Mahesh
[Optimus One, P500 Original Android Development] dark-k:
It's up to you. You can either let all your apps in data on your ext partition (considered as phone memory now with data2sd) or move your apps to your sd fat partition with the app2sd natively included in android.
[Optimus One, P500 Original Android Development] iSiktir:
Once u have d2SD installed, u should not do anything with your apps!

Do not move them to SD manually, 'cuz they won't be placed on your ext partition, but on the SD root! Native app2SD in Android does exactly this!
[Optimus One, P500 Original Android Development] dark-k:
I've already done that and i had not any problem
[Optimus One, P500 Original Android Development] iSiktir:
I’m not trying to say that u'll have problems when u do this. U probably won’t.

Just don’t make any sense to move manually apps to SD, when the script does it automatically, once u installed it.

And if there’s an option in app menu – move to SD, just don’t use it, ‘cuz it will move some parts of the app to the

SD card root, but NOT to ext partition!
[Optimus One, P500 Original Android Development] ssanthosh:
Hi

are you using ext 2 or ext 4.

in init.d i have 05mountsd and not 02mountsd, any idea about this, should i delete this to work the d2sd.
[Optimus One, P500 Original Android Development] mihir287:
I have ext2. And deleting 05mountsd *should* work.
[Optimus One, P500 Original Android Development] N_lover27:
Delete it and reflash the script
[Optimus One, P500 Original Android Development] arczangel:
I think it matters, moving big apps like plant and zombies frees some space on your ext2 extension! Moving data to the sd root helps a lot as this is the one which eats a lot of space.
[Optimus One, P500 Original Android Development] heiszakee:
I'm sorry if this is a stupid question, but what it the recommended ext partition size so as to be able to flash this mod?
[Optimus One, P500 Original Android Development] Raghav_K:
i have the same doubt....

and another one too :D

i created a 2gb ext2 partition (too much i know), and flashed drvoid forever rom, deleted 05mountsd, and then this script, and rebooted...

my sd-ext is still empty.... i think nothing has moved...

what am i doing wrong??

thanks :)
[Optimus One, P500 Original Android Development] dark-k:
I think you can flash it with the size you want but I recommend 512 MB to have enough space for your apps

I think you should wipe everything, flash devoid forever, reboot and then flash d2sd.
[Optimus One, P500 Original Android Development] heiszakee:
How about swap size?
[Optimus One, P500 Original Android Development] :
Useless...
[Optimus One, P500 Original Android Development] heiszakee:
So i guess it'll be swap size 0, ext 512 ? Haha, thnx! :)
[Optimus One, P500 Original Android Development] arczangel:
yeah swap 0, i recommend ext 1024. you will have a 959mb of internal memory after booting.
[Optimus One, P500 Original Android Development] heiszakee:
I see... Thnx!
[Optimus One, P500 Original Android Development] shhbz:
man really waiting for your update ungaze where have u vanished .really wish to get your update now when great kernel and roms are poring in. It will be a blast :D
[Optimus One, P500 Original Android Development] shhbz:
oomp............. 2 days still no updates :(
[Optimus One, P500 Original Android Development] Bytecode:
Ungaze's latest forum visit is 26 june.
[Optimus One, P500 Original Android Development] Ghostface22:
Can I use this on stock 2.2 froyo?
[Optimus One, P500 Original Android Development] Lawful123:
yes

Yes so long as it is rooted.
[Optimus One, P500 Original Android Development] :
For CM7 users, I recommend having a look @ simple2ext. Can move data as well. At least the dev seems alive. :p

http://xdaforums.com/showthread.php?t=917377
[Optimus One, P500 Original Android Development] DesigningOne:
Is there any chance if this working with a different phone on Froyo?

My daughters phone is running out of memory, and this appears to be the best option. It's the cheap metro android, but it does well on CM6. Any advise?
[Optimus One, P500 Original Android Development] nikoltu:
Waiting for any improvement or new release
[Optimus One, P500 Original Android Development] metalboy94:
Nope, it won't work. I tried with mine - no errors, but no d2sd either. :rolleyes:
[Optimus One, P500 Original Android Development] :
Well, you can provided that you make it run at boot (e.g. by install-recovery.sh script).
[Optimus One, P500 Original Android Development] metalboy94:
Ah, I understand. I didn't use ext4, but also didn't know that you have to make a script for it to run at boot.
[Optimus One, P500 Original Android Development] N_lover27:
you don't need ext4 you need ext2. and your rom needs to have init.d support . In other word your ROM needs to be cooked to support init.d.
[Optimus One, P500 Original Android Development] ungaze:
Hi guys, sorry for the really long idle time ;) . Well I have good news and bad news.

Bad news:

-Shortly after the break, my phone was showing some problems(screen sometimes unresponsive, sometimes wont wake the screen) but was still able to do some tests. Recently though, the screen gave up on me(NO DISPLAY, but buttons still light up) so although I can do more some modifications, I can't perform tests.(brought it to the service center and sadly warranty was void - they said that they detected that water got in or something like that. Anyways, I'm on my way to the service center to settle some stuff: whether to send it for repairs or not).

Good news:

-I have more free time now to work on this project again.

-New version already finished(actually about 1 week from my last post) and has already gone initial testings.

-I heard there was issues with "void forever" compatibility so I'm looking into it.

-If it'll cost me much I might not get the phone fixed but my wife does have an X10 mini pro which I can probably root and do tests on(basiacally has almost same architecture as p500).

So what I need now are new volunteers to test the new script out. Just present yourselves and I'll contact you through PM.
[Optimus One, P500 Original Android Development] ungaze:
What phone is it exactly? If you have it rooted and is willing to do some tests then maybe we can work it out!
[Optimus One, P500 Original Android Development] ungaze:
WOW, this community is really great. Good job everyone on helping each other out. Will continue back-reading when I get back.
[Optimus One, P500 Original Android Development] DesigningOne:
Count me in! I actually need this badly!
[Optimus One, P500 Original Android Development] dark-k:
If you need testers, I'm there too until the 13th July (and then holidays ! :D )
[Optimus One, P500 Original Android Development] DesigningOne:
Hawaii Ascend with Official CM6 ported rom found on prepaid mobile forum. It's a Metro PCS phone.

About to try installing the CM7 rom, so that is two versions to work with.
[Optimus One, P500 Original Android Development] SwimmerBoy:
I have the ROM in the signature but i cant use data2sd...

:(
[Optimus One, P500 Original Android Development] untitledmangxg:
Im on.this is the greatest app ever and if you would like i want tn be tester.thanks for u.re great work.!and welcome back!
[Optimus One, P500 Original Android Development] DesigningOne:
Success!

With:

Devoid.Franco.v5

Franco.Kernel.v18

ZRam

Ungaze_Data2sd_v4b5 (Test Version)

SuperBlue Theme v5

Complete wipe of sd ext, sd card, format sd card, format ext at swap=0, ext=512, data, cache, (advanced) davalik cache, battery stats.

Format data, cache, and system. Fix Permissions.

Then mount USB storage (bottom of mounts menu) and add all zip files and backup files.

Flashed each item from above in the exact order listed. Rebooted in between each install. The only glitch was the reboot after the theme. Battery pull and start up worked with no problems.

I run every ROM through the DSI-HTC kitchen and add my own apps to the system and data app folders as I want (Search & Learn!). When my ROM loads the internal memory is down to only 44Mb free. After data2sd, internal memory is around 390 MB.

This evening I will put all of the files from data2sd inside the ROM in the kitchen and see if it will load. Testing on the Hawaii Ascend with CM6 tonight.

Brian - Georgia - Tmobile-P509-Custom
[Optimus One, P500 Original Android Development] DesigningOne:
Hell yeah! Quadrant score jumped from 695 to 1725 with 787/245 smoothass on no frills cpu!

Stagefright is completely disabled. Only JIT and hw acceleration. LOL!
[Optimus One, P500 Original Android Development] ungaze:
Already started sending the scripts/zips to testers.

Best way to do the tests:

1. Fresh installed ROM(be it by flashing a new ROM or NAND backup-ing a fresh ROM) - meaning nothing changed/installed etc.

2. Download terminal emulator from market.

3. Install a root-file enabled file-explorer(root explorer works best)

4. Reboot into recovery and install the zip(the one I sent through PM)

--by this point anything goes, so you can start making notes on your observations--

5. If everything goes well, your phone should boot normally without anything being changed to the partitioning, this is because d2sd has already initialized but still inactive. You could check the status by using root explorer and looking for a folder named "/data/local/d2sd_db". If such a folder exist the your good to go.

6. Now to activate d2sd, open terminal emulator and enter the command:

d2sd

now this should show you an error that SU permission has not been granted yet. Try again but this time, do it like this:

su
d2sd

7. Now there should be a bunch of options/combinations on mounting your /data and /dalvik-cache partitions. Just mix and play and take note of itty bitty things that you notice along the way.

8. If something goes wrong, try to reboot. Then reboot one more time. This fixes(or reverts) everything back to normal in most cases, but if it doesnt work, reboot without the SD card and you should boot back up with d2sd disabled.

9. Remember, error logs should be found on the /data/local/d2sd_db folder.

Thanks again for testing
[Optimus One, P500 Original Android Development] ungaze:
for serious testers(meaning people who can play with their phone more freely. As flashing/nand-bakcuping takes quite a lot of time) please PM me.

for those asking/requesting support for other phones, PM me as well.

Still reading through those Gingerbread threads, will take me a while to digest everything up.

BTW, still torn between sending my phone for repairs or not. Their asking me for approx 6k Php for parts/repairs wherein I got the phone for only 10k. I think it's quite outragreous. If they'd ask me for just below 50% of my purchase I would have sent agreed pronto. Oh well, will discuss it with my wife when she returns ;)
[Optimus One, P500 Original Android Development] ungaze:
I'll try to download the ROM and see what I can do.

Anyone else having problems with this mod and a specific ROM?
[Optimus One, P500 Original Android Development] no_pride:
Whoah! the return of the great Ungaze hehehe. Lot's of peole here misses you a lot. Welcome back =)

It was a kernel/d2sd,a2sd problem.

The issue only happens when you flash void#forever only which is using franco.kernel v16.1. If you update the kernel to franco.kernel v18 (which looks like the final version), everything is OK. Same thing with Miks CM7 v6.5.4. You will need to install franco.kernel v18.

P.S. Waiting for the for the link to your test version on my PM... =)
[Optimus One, P500 Original Android Development] raylgo:
Is there a minimum class requirement for the microshdc before I can use this?
[Optimus One, P500 Original Android Development] ot3pch4n:
Memory

I think class 4 or higher cards are recommended :)
[Optimus One, P500 Original Android Development] :
Just played a bit with this. Class 4 - absolutely a no go, would not even boot, everything crashing (adb logcat). Class 6 - one of two cards worked. Class 10 - do not have any ATM.

Otherwise, the script (v5b1) looks fine now. :cool:
[Optimus One, P500 Original Android Development] SwimmerBoy:
When installing, had a screen with error. store it but don't know where it is.

Sent from my LG-P500
[Optimus One, P500 Original Android Development] untitledmangxg:
WRONG answer! i have class 4 and its working flawless!
[Optimus One, P500 Original Android Development] N_lover27:
@ungaze

can you send me the new script by PM....I am using your script with my ROM(check the signature...) and would like to test the new version....

@doktornotor can you tell me how much speed you got with your class 10 card and wich benchmark tool you use as I have kingston 8gb class 10 card and get only 8.5 write speed no matter how many time I format it. and even I have got a replacement....but still no luck. I am using transcend TS-RDP8K card reader to test it...
[Optimus One, P500 Original Android Development] ccdreadcc:
yeah!!! same here... She is a Botch!! :D aint she??? :rolleyes:

Edit: everyone should donate and help ungaze repair his phone!
[Optimus One, P500 Original Android Development] :
Sir, it may work for you with your SD card. It certainly did not work for me with Kingston class 4 card at all. So, there is no wrong answer. This will cause heavy problems if your SD card sucks.
[Optimus One, P500 Original Android Development] no_pride:
tried v5b1 on stock cm7 v6.5.5 by mik, class 6 microsdhc.

tried first with just d2sd activated.

*boots fine but got fc every time i tried to open any apps.

*home button function disappeared.

after activating davlik to ram. same effect.

will test again later
[Optimus One, P500 Original Android Development] geoemm:
Same here, class 4 sandisk, no problem whatsoever..
[Optimus One, P500 Original Android Development] ungaze:
So, what setup did you use? Data to SD + Dalvik-cache to ?????

What about succeeding reboots? Any hitches?

See, last time I tested this, 1st boot-up after flashing(initializing stage) presents no problem. After the terminal session(wherein you get to choose your setup) then reboot, everything still works fine. But succeeding reboots had problems and resulted into bootloops. I had made a very minor modification since then(removed the SU checking on bootup) and would relly like to hear from you guys.
[Optimus One, P500 Original Android Development] ungaze:
Another thing(for "new version" testers), to minimize confusions can I request that you guys make sure that v4b5 already works for the ROM your testing in? Just an example:

I'm using "dgr8S ROM 2.3.4" fresh flash/instal.

Then install data2sd v4b5, and hopefully it works.

If it indeed works, I then reflash the ROM and then proceed into testing.

This could be a little bit of (ok, greatly) time consuming, but 50% of the problems can be isolated by this move. As newer ROMs could result in incompatibility issues with v4b5 which is also the base script for the new version. Thanks ;)
[Optimus One, P500 Original Android Development] no_pride:
I was about to ask the same thing. I wasn't able to make any combinations work last night. Even with just the D2SD set up, I got lots of FCs
[Optimus One, P500 Original Android Development] ungaze:
Well, I'm not forcing anyone to donate and stuff, but if indeed someone does it would be a big help for me(specially in making up my mind). As I'm still torn between sending my phone for repairs(they said that the LCD/screen and board should get replaced) or saving up for another phone. I could send my phone for repairs even right now no problemo, but I(and my wife) really find it impractical to dish out almost the same amount of money I bought it with just to get it repaired.

Anyways, theres nothing to worry about support. As long as theres some willing testers(and improvements to be done), updates will continue. Besides, once this version is done/stable, I'm planning implementation/support for other devices(including my prospect replacement obviously) as well.

BTW, has anyone had a screen replacement done by non LG personnel? I visited a local cellphone repair shop and he says he can replace the LCD but wont be exactly the same as the one I had. Plus, he's not sure if the problem will go once he's done because the mother-board(?) might still have some issues in it as well. So I'm really hesitant on this cheap-o repair fall-back! ;)
[Optimus One, P500 Original Android Development] ungaze:
you mean the very first boot-up(aka initialization stage)? That's odd as there's nothing done there but create a new directory/folder in /data/local!!!!! Hmmmn!
[Optimus One, P500 Original Android Development] no_pride:
so far the following ROMS works perfectly with v4b5:

devoid#froyo.final by noejn

void#forever by noejn

CM7 v6.5.4 and v6.5.5 by Mik_OS
[Optimus One, P500 Original Android Development] no_pride:
ahw sorry, i mean after setting up date 2 ext via terminal. first boot up after flashing v5.1 was ok.
[Optimus One, P500 Original Android Development] agzorig:
WB!

Welcome back, Ungaze!

So what's new? Been waiting for your update/s... Currently enjoying Data2sd_v4b5. Finally got it working a few days ago when I switched to a class 10 micro sd.

:D