yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] engr_exxi:
How can I make it work on stock GB rom 2.3.3

partitioned my sd card.

mount data/cache/ext etc etc.

flashed ungazed

checked (no addition to internal storage)..

Is there a step by step on how to install it?
[Optimus One, P500 Original Android Development] vikasb32:
It not work in stock rom but i modified my stock rom and add functionality of init.d so it work for me.:D
[Optimus One, P500 Original Android Development] engr_exxi:
How? Teach me how please :)
[Optimus One, P500 Original Android Development] voyager20021:
True, is ext 4. And it works like a charm. It`s all i wanted from an a2sd app. Practically unlimited space for apps as ungaze said in 1st post...
[Optimus One, P500 Original Android Development] cure25:
What! Really data2sd works with ext4
[Optimus One, P500 Original Android Development] Kons90:
Edit:

Mistke topic. sorry. Please delete this post :P
[Optimus One, P500 Original Android Development] mcd_legend:
no it formats it to ext2

for ext4 you would have to do it yourself

havent tried with ext4

and as far as i am aware ext3 is the slowest of them all

so its either between 4 or 2

since we arent sure of ext4 support

ext2 seems to good enough anyways
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
the better way is to use link2sd it is safe and reliable + saves a lot of phone memory

lg o1

rom: mik_os 6.5.8 (android 2.3.7)

overclocked max 806 mhz min 600 mhz
[Optimus One, P500 Original Android Development] mcd_legend:
if you think so, buts this works fine too and i dot haveto move anything

btw how is that relevant to this mod ?
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
in the contrast of moving apps+data to sd ext. and in link2sd u don't need to do manual moving of apps there is a option to put it on automatic link

lg o1

rom: mik_os 6.5.8 (android 2.3.7)

overclocked max 806 mhz min 600 mhz
[Optimus One, P500 Original Android Development] mcd_legend:
Even if

Still how is related to this mod let alone its development

That info would be better in link to SD thread or a general discussion on apps/ data to SD scripts.
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
omg.. why are u getting angry with me buddy.. ijust posted about link 2 sd because ur mod didn't worked for most of the guyz over here in lg p500 section

lg o1

rom: mik_os 6.5.8 (android 2.3.7)

overclocked max 806 mhz min 600 mhz
[Optimus One, P500 Original Android Development] dislplin01:
Well the truth is that ungaze had not updated this for almost a year and has not even been on here in almost just as long I think that using perhaps dark tremors mod (i dint like link2sd it doesn't really give you much extra space) it works better is updated and you can make a working back up while using it you can't do that with this mod I loved this mod but with no updates it's ok to suggest other mods
[Optimus One, P500 Original Android Development] alexdino89:
Reboot apps gone!

Hi all,

I have another phone, the x10 mini and I made the ext2 partition. I install ungaze data2sd to it and it works when the additional internal space. However, problem arise when I reboot the apps gone. May I know whats the problem? Can anyone help me with this?
[Optimus One, P500 Original Android Development] kyerie030:
Possibly because the script cant mount the ex partiton at bootup. Also this wasn't designed for x10. Another posibility is that your rom or kernel does not support this script, can you try link2sd from the market?
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
switch to darktremor app2sd script that may help u if that didn't help u much then u can try other scripts as alot of scripts for moving apps data to sd-ext are coming into existence..

Press thanx if i helped you.. :D

Sent from LG-P500 using xda premium
[Optimus One, P500 Original Android Development] alexdino89:
Owh I see. Emm. I tried already the Link2sd but kinda don't like it because the custom have app2sd and dc2sd for user to choose. I noticed the benefit of ungaze data2sd is the internal space added up with ext partition and speed is very satisfied.

---------- Post added at 02:30 AM ---------- Previous post was at 02:28 AM ----------

Hi, emm. do darktremor data2sd will add up the internal space with the ext partition? I noticed ungaze has added up the internal space and the effect brings very fast performance to the phone. lol.
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
ohh that's gud if u find this script useful... give thanx to the creator for this wonderful mod
[Optimus One, P500 Original Android Development] alexdino89:
Lol. Sure. I will thanks him for the great script. Thanks to u too bro!! Lol!!
[Optimus One, P500 Original Android Development] :
I installed Ungaze and system do work slower then before.
[Optimus One, P500 Original Android Development] abhinav quietly brilliant:
try wiping the dalvik cache..
[Optimus One, P500 Original Android Development] aiamuzz:
Does ungaze handle swap as well like Darktremors solution does ???
[Optimus One, P500 Original Android Development] djozaa:
anyone have problem with ungaze that cant wipe dalwik chache, phone stucks at android logo and feel low performance , afther android restore
[Optimus One, P500 Original Android Development] Paulojrc:
Hello guys maybe this is a noob question but I was using data2sd everything was ok then I've flashed a update to the rom and then all my app had disappeared... is this normal?

How can we update a rom without loosing the app's or we must make a backup first and then restore?
[Optimus One, P500 Original Android Development] mcd_legend:
you have to reflash the script

also it depends if u formatted data or not
[Optimus One, P500 Original Android Development] voyager20021:
Is there any limit on how many apps you install or how much space you use from sd ext? At some point, after installing many apps (i use max partition space of 2GB althoungh a never got to 1.5 GB used but close to that), the system gets unstable and reboots constinuosly while trying to load the apps installed. At that point nothing works except restore a previous back up or wiping data. Anyone knows what could be the cause?
[Optimus One, P500 Original Android Development] Paulojrc:
I'm using a 2gb partition and no problema. I'm using ext2.

Sent from my LG-P500
[Optimus One, P500 Original Android Development] kyerie030:
Whew... had the same problem a while ago with my girlfriend's CP... what i did was:

1. Do a nand backup immediately when it started crashing and going into bootloops.

2. After the nand backup, do a restore to factory settings.

3. restore the nand backup.

4. reflash the script.

5. boot device.

the only downside is that the widgets from your launcher would disappear. Well thats about it.
[Optimus One, P500 Original Android Development] voyager20021:
That allowes to install more apps then those already restored?
[Optimus One, P500 Original Android Development] voyager20021:
How much space from the 2Gb ext is occupied by apps?
[Optimus One, P500 Original Android Development] Paulojrc:
Well I think that's almost all... If I'm wrong please someone correct me...:rolleyes:
[Optimus One, P500 Original Android Development] kyerie030:
Remember this when using app2sd scripts or the like.

There has to be some piece of linked data from the internal memory for the system to be able to see data on the sd-ext partition.

If your internal memory links are full, therefore you can't install any more apps on your sd-ext. The procedure I provided allows you to just be able to recover from a crash.
[Optimus One, P500 Original Android Development] kenblat:
Confirm about CM 6.2 from scratch working with your script (but pls use the Ungaze_Data2SD.zip(Amend/update-script)

NOT the

(Ungaze_Data2SD.zip - Edify version)

I flash the Edify version manytime and it did not work, I/O Score stay the same don't know why, but using Ungaze origin script and it just WORK awesome.

About the "forced the ext(2nd) partition to take up the block size of 4096" u mean we can edit here in your script below:

"$makefs ${sdmntpnt}p2" RIGHT?

but how to force it as 4096 block size? sorry i'm a noob @ this kind of stuffs

may be $makefs -b 4096 ${sdmntpnt}p2 ???

TIA
[Optimus One, P500 Original Android Development] ungaze:
exactly, BUT, this won't take effect once the script has initialized for the first time. Data needs to be copied back to internal memory and the flagging folder(/system/data2sd) needs to be removed. I'm making progress with my script, but I can only work on it for 4hrs a day, so I'm kinda in a pinch.
[Optimus One, P500 Original Android Development] kly91:
I also have the problem with the default theme that keeps on being set as curent theme at reboots..I'm also running with cm7 and it's so annoying that i really cant choose the theme that i like..any workaround?
[Optimus One, P500 Original Android Development] lerkin:
Ok. I tested today my rom with 1.16 buybox... And that version of busybox didn.t help too. I had issues with Data2SD + Dalvik-cache2RAM again.

I tried ROM from another Russian guy (based on V10g 2.2.1 without app2sd), and again I had problems...

Now I'm going to try my stock 2gb sd card first, and if it won't work too, I'll try some rom based not on russian stock rom...

Any suggestions?
[Optimus One, P500 Original Android Development] franciscofranco:
Try another sd card and a 2.3.x rom.
[Optimus One, P500 Original Android Development] kenblat:
Dear fanciscofranco,

U r now using Mik 6.2, right? So do you got any problem with Titanium Backup? (TB). My case TB 3.7.5 pop-up the usb debugging error (while my phone already stick @ usb debugging) and the worst that TB hang forever while restoring apps, the first app copy to phone OK but without backup data then TB hang there... i think we change the /data value so it may cause this weird bug...

And last but not least, your "4060 block size" trick for the 2nd partition work always? even after reboot?

TIA
[Optimus One, P500 Original Android Development] ungaze:
Is the theme-chooser thing on CM7 an app or also a script? Might have to re-dpwnload CM7 to find out what's going on. Anyways, new version should fix most of the problems. But I still need more time. So any additional info would be helpful as well.
[Optimus One, P500 Original Android Development] franciscofranco:
Theme chooser is an app for CM7.
[Optimus One, P500 Original Android Development] franciscofranco:
Yes, I'm using CM7 6.2 from mik. I don't use Titatnium Backup, sorry! What I do is manually installing the .apk files everytime I reflash.
[Optimus One, P500 Original Android Development] lerkin:
Just tested another sd card, and it wasn't a problem maker.
[Optimus One, P500 Original Android Development] kenblat:
Thanks all!

CASE CLOSED!!!!

again CM 7 Mik 6.2 from scratch then Ungaze origin zip file => TB work great no USB debugging error and all the apps restore perfectly now.

SO, THE REASON?!? => last time after flash Ungaze script, i'm using francisco P500's tweak.zip + the libsqlite.so (from fancisco's thread as well) (without copy the local.prop). So maybe one of those cause the issue... i will test one by one and report back asap when done.

TIA.
[Optimus One, P500 Original Android Development] kenblat:
- backup your data @ sdcard

- re partition your sdcard, make sure using ext2 for the 2nd partition (if using Win mini partition tool pls set the FAT32 as Active and primary)

- flash Mik_OS cm7 6.2, reboot

- reboot again to recovery

- flash ungaze.zip (not the edify version, PLS!!!!)

- reboot and done (100% for sure - i'm flashing almost 50 times from last night with many trials and failures... so it's must be OK hehehe)... your I/O now at least over 1500, pls using Quadrant pro 1.1.1 or 1.1.6 only pls don't try the free version 1.1.7

Good luk!
[Optimus One, P500 Original Android Development] lerkin:
Thank you, Do I have to disable app2sd in cM7?
[Optimus One, P500 Original Android Development] kenblat:
No just as my post after first boot after flash Mik_os 6.2 i did not touch anything, just reboot recovery for ungaze.zip flashing. DONE
[Optimus One, P500 Original Android Development] lerkin:
Did you test this script with franciscofranco's scripts?
[Optimus One, P500 Original Android Development] kenblat:
Dear Franciscofranco and Ungaze,

Confirm that the libsqlite.so cause the issue with TB (i'm using Mik_os's libsqlite.so combined for 2.3 => same version @ francisco's thread, right?)

Hope that we can find out a way for this, if TB got problem so maybe another app using libsqlite may cause the same bugs as well... OMG now with 4096 blocksize for 2nd partition + the libsqlite.so mine I/O reach 53xx with only 748MHz. So i really don't wanna revert this libsqlite.so!!!!

TIA
[Optimus One, P500 Original Android Development] franciscofranco:
I'm not sure it can be the cause. The difference between stock libsqlite.so and patched one is the disabling of the fsync() call after a write or a read. Patched one doesn't sync between writes and reads making i/o way faster in apps that use .db files. I don't think it's from that, but you can test it using TB before applying libsqlite.so, there isn't a problem.
[Optimus One, P500 Original Android Development] kenblat:
not yet... now only CM 6.2 + Ungaze script (edit for 4096 block-size) + libsqlite.so update... my quadrant rise up nearly 2400 :D :))) but the updated libsqlite.so cause very bad bug with Titanium backup.

When done with this libsqlite i'll try all francisco's tweaks. Last time using Dark Tremor a2sd script, some of francisco's tweak revert my I/O back to 2xx only, but this evening without local.prop francisco's P500_tweaks.zip keep my I/O score as before... anyway need to re-check those scripts again and the local.prop as well.

Mik + francisco + ungaze = 200% P500 hehehe :D. Thanks all, guys!
[Optimus One, P500 Original Android Development] kenblat:
Before = OK with TB, no errors no hang...

reboot recovery, flash the updated libsqlite.so = issue describe above :(

P/S: my wife's Spica using YONIP kernel + "tweaked" libsqlite.so as well (all @ samdroid.net) but TB work well with it hhehehe... it's weird heh
[Optimus One, P500 Original Android Development] lerkin:
OK, I made it, those tweaks work together on CM7 flawlessly.

So I need to wait for official 2.3, to made a rom based on it, and then I will be able to use those awesome scripts.

Thank you all for your help, it was great experience for me.
[Optimus One, P500 Original Android Development] voyager20021:
Then how come the 2Gb partition? I never get to fill al that space with apps, but only below 3/4 of it when reboots start. Ungaze didn't know that? Besides, using ungaze it doesn't show any remainings on internal mem. And ppl above are saying they fill the entire partition with apps and without problems. So who is wrong? And most of all which is the wright answer? Using DT a2sd i had a max 7xxMb sd ext and could not fill that either. Now with ungaze a have much more apps, but still reboots at some point. I guess what i am trying to ask is this: is there a proportion between the used space by installing apps and the remaining space on sd ext! And i think the theory with leaving some space on internal mem is wrong because on DT a2sd a could install only few apps that left big pieces in internal mem so that was full very fast, without using too much from sd ext. And the phone was fine, no reboots. But when installing much more apps, which left very small pieces on internal mem, thus allowing to use more space from sd ext partition, the phone gets to the point where reboots. So how come, if internal mem is the same, using ungaze i can install about double, maybe more, apps than with DT? Only sd ext space is bigger.
[Optimus One, P500 Original Android Development] Paulojrc:
Have you tried with other sd? Maybe that's a sdcard problem. One time I had problems with these type of scripts and that was the sdcard.
[Optimus One, P500 Original Android Development] voyager20021:
No, i haven't. But this behaviour is constant and reported by others too. See this http://xdaforums.com/showthread.php?t=1239063

And here: http://xdaforums.com/showthread.php?p=17232233
[Optimus One, P500 Original Android Development] Paulojrc:
Tried yesterday again didn't work. Only flashed new cm7 RC1 and then the script and all my app are gone.... No data deleted or formatted...

Any idea how to upgrade rom without loosing the app?
[Optimus One, P500 Original Android Development] kyerie030:
This might be a problem with the script when you reach a certain percentage of applications on your SD card... I'm sorry but I'm no editor of this script and I've only stated the behavior I've observed. If this script moves the whole location to the sd-ext, then this means you'll need a fast sd-card. Me and my girlfriend have a Class 4 8GB Kingston SD Card (8mb/s down, 20mb/s up), after installing a lot of apps having about 100mb free space on 512mb sd-ext, the phone crashed once, but was able to recover from it after performing the previous steps I mentioned. Can't try on other sizes and different sd-cards since: 1. I don't own any other cards to test on, 2. my girlfriend won't let me touch her phone now since she's happy its stable with the occasional crash in months.

Try changing SD cards and get a faster one, maybe it has a certain amount of delay in the script which it waits for the apps to be initialized, this might be the problem. Anyone can extract the script? I'll try to read through it.
[Optimus One, P500 Original Android Development] voyager20021:
It must be a script problem. I also have a class 4 kingston sd card (16GB) and the problem occures every time i overload sd ext with apps. I just dunno which is that point and why.

---------- Post added at 02:27 PM ---------- Previous post was at 01:28 PM ----------

I understand your problem is not upgrading ROM but flashing the script. Flashing ROM keeps your apps but when you flash the script you lose all apps

I dunno if it is your case, but i noticed that flashing ungaze script and after reboot flashing another kernel (like franco #4) makes the apps go away. Flashing first the kernel and after that flashing the script keeps your apps on the phone.
[Optimus One, P500 Original Android Development] Hanny:
hey voyager, ive made my detailed answer to your bootloop question here

http://xdaforums.com/showthread.php?p=23957894#post23957894

;)
[Optimus One, P500 Original Android Development] Paulojrc:
My problem isn't flashing the kernel. It's when I flash a update to the rom and them flash script my app from the older rom disapear...
[Optimus One, P500 Original Android Development] voyager20021:
It seems to have the same effect. Probably another script issue. It seems u cannot do this without wiping data before flashing new ROM. Besides i always have one problem or another if i don't wipe data between. That's why i never encourage this. And i always reinstall apps after changing ROM then do a backup.
[Optimus One, P500 Original Android Development] voyager20021:
So i believe we need a dev to sort this out and make a stable a2sd script, if that is possible. Or maybe a script to alert us when we are at that point when the system becomes unstable if we install more apps. That at least would be handy. Otherwise Ungaze`s script is perfect.
[Optimus One, P500 Original Android Development] MaKTaiL:
It is time for an update.

Enviado do meu LG-P500 usando o Tapatalk
[Optimus One, P500 Original Android Development] Bec de Xorbin:
Generally, moving the whole data directory to SD is a really really bad idea. Tried and observed. The number one reason behind the most unstableness I have experienced. S2E can do it too but only through a special option and a noticement that it is highly NOT recommended.
[Optimus One, P500 Original Android Development] voyager20021:
I used ungaze for some time and no issues except the one reported, which seems to be common at least to dark tremmor's script. The system is perfectly stable and sd card has no problems at all. That sudden instability is the only thing that should be addressed in my opinion. I had over 100 apps installed with ungaze and it's just awsome for our low and hardware.
[Optimus One, P500 Original Android Development] recreation012:
If this script would only support ext4. It would be the best.
[Optimus One, P500 Original Android Development] voyager20021:
It does work on ext4
[Optimus One, P500 Original Android Development] dmayurx:
help

I'm new to this thing.

i'm on stock 2.3.3 rom with 8 gb (7.4) sd card.

utility that I used for partition is MiniTool Partition Wizard Home Edition using this tutorial http://xdaforums.com/wiki/SD_card_partitioning

this are my partitions

6.38 GB FAT32 primary partition.

1 GB ext2 primary partition.

then i installed this zip "Ungaze_Data2sd_v4b5" using clockworkmod recovery 5.0.2.7

still my phone memory is same as it was

please help me and tell me what to do.
[Optimus One, P500 Original Android Development] kyerie030:
That just means this doesn't work on stock 2.3.3?
[Optimus One, P500 Original Android Development] joneidy:
It means that the kernel in this case stock kernel, does not support ext partitions.

Try using a different kernel and then flashing Data2sd.
[Optimus One, P500 Original Android Development] ThePresence:
Nonono it's not kernel fault you have to switch on custom rom,you can't use it in stock Roms..
[Optimus One, P500 Original Android Development] Kanad:
Stock 2.3. 3 does not have init.d support which is required for data2sd :-) you can use rom from cyber_avijit which stock rom with init.d support.
[Optimus One, P500 Original Android Development] joneidy:
Yes it can be used on stock rom, it just needs the init.d support as Kanad said.
[Optimus One, P500 Original Android Development] dmayurx:
Is there any way to make my current stock ROM init.d support

Please share

...
[Optimus One, P500 Original Android Development] mihir287:
Well it involves extracting and editing the init.rc from the boot.img, so it is not recommended for a newcomer.
[Optimus One, P500 Original Android Development] Kanad:
You can use rom kitchen to enable the same :-)
[Optimus One, P500 Original Android Development] dmayurx:
will this Data2sd will work on open optimus ROM 2.3.3 http://xdaforums.com/showthread.php?t=1208215
[Optimus One, P500 Original Android Development] dmayurx:
Will this work on oxygen rom
[Optimus One, P500 Original Android Development] KushHacKinGz:
Root # All Data2SD

If you want to move data to your sd, I recommend using Root # All Data2SD.

There is no formatting required, because it makes a virtual hdd on your sd card for the data.

Works great and it freed me up like 50 Magesbytes of space.
[Optimus One, P500 Original Android Development] rishabh22:
Is this not compatible with CM9 kang?

I got an error(attached) in system/d2sd & sd/d2sd folder after flashing
[Optimus One, P500 Original Android Development] voyager20021:
Please, read this:

http://xdaforums.com/showthread.php?p=25198376#post25198376
[Optimus One, P500 Original Android Development] Jbazt_katuforzs:
very interesting kabayan!!! will this work on AOSP 2.3.5 fully rooted with busybox installed? planning to include this together with your other tweaks on the rom that im going to release... thanks!!
[Optimus One, P500 Original Android Development] kyerie030:
This should work, but i don't suggest including any data2sd or app2sd on your rom igan. :) I suggest you just point them to the thread and have them try out for themselves.
[Optimus One, P500 Original Android Development] Jbazt_katuforzs:
so are you saying to be safe it is much better to implement this to a custom rom based on stocked/shipped rom that has no any kind of apps2sd/data2sd bundled in? dont worry Im the one merging this in... and ofcourse reference will be posted. thanks a lot kabayan!! :D