yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] N_lover27:
flash franco's kernel 11.

13 has more battery drain.

none of the script such as a2sd by DT or ungaze's data2sd can cause battery drain as they are only moving some system file to sd card.....

Hope it helps
[Optimus One, P500 Original Android Development] alfiemenace:
so it's not caused by the app2sd? franco said this is the reason. darn.it haha
[Optimus One, P500 Original Android Development] franciscofranco:
For battery drain? No, no data2ext, app2sd whatever script you want to call it, can cause battery drains. And this is data2sd not app2sd, different things.
[Optimus One, P500 Original Android Development] alfiemenace:
but you said.. nevermind haha :)
[Optimus One, P500 Original Android Development] franciscofranco:
I'm not going to flood ungaze's topic with a battery "drain" problem that is pretty comon when people don't know how to use their phone. You can read devoid.franco first page and in bold there says to wipe caches, wipe battery stats and let the phone adapt himself to the new rom/kernel for at least a day. Maybe you misunderstood something I said, or maybe I didn't explain myself because I've said this so many times :/ when I had my phone working I would flash 20 kernels a day and I never had any battery drain or extra consumption and I used wifi like everybody else, I gamed like everybody else, I texted, I did phone calls, and no drain what-so-ever. So all boils down to users not using their phone correctly ;)

/rant sorry ungaze
[Optimus One, P500 Original Android Development] no_pride:
Ungaze's D2SD+dalvik2RAM is still a little buggy but works for me so far and I'm looking forward to seeing its final "prime time" version =)

For those who want to use it here's what I did during installation (using devoid.franco) and so far it worked for me and no data loss bug so far...

The only bug left now that I'm experiencing is widgets not loading properly after reboots.

1. Install ROM devoid.franco v5. Read and follow instructions here...http://xdaforums.com/showthread.php?t=1049518

2. Install Franco.Kernel 13.3. Again read and follow instructions here...http://xdaforums.com/showthread.php?t=1049518

3. Install gapps, sapps or void sapps if you want to.

4. Install Ungaze's D2SD+Dalvik2RAM v4b5http://depositfiles.com/files/73pei7umn

5. After doing 1-4, reboot your phone 3-5 times via Terminal Emulator.

6. Start installing the other apps you want to install.

This procedure works for me and i hope it works for you too :D

Combinations that worked for me:

1. devoid.franco v5 / franco.kernel v13.3 / Ungaze's D2SD+Dalvik2RAM v4b5

2. devoid.franco v5 / franco.kernel v12m / Ungaze's D2SD+Dalvik2RAM v1.2

3.CM7 v6.5 / Ungaze's D2SD+Dalvik2RAM v4b5

(CM7 v6.5 link... http://www.multiupload.com/3EV2UWKF7A )
[Optimus One, P500 Original Android Development] geoemm:
I am using this patch and it is working like charm...though the battery drain is high,which is understandable I guess....

cyanogen 7.1rc0 Mik 6.5. ungaze data2sd..2300 quadrant
[Optimus One, P500 Original Android Development] dislplin01:
What bugs are you having I am using all the same MODS besides dalvik2ram????? And mine runs clean just curious

Sent from XDA Premium App running milks CM7, ungazes data2sd over clocked at 787, quadrant score 2100
[Optimus One, P500 Original Android Development] no_pride:
after reboot, my widgets don't load. I have to trash them all and place them again on my home screen
[Optimus One, P500 Original Android Development] ungaze:
High battery consumption is not normal. I'm suspecting that something might have gone wrong on the installation(non-user induced) of the ROM or something.

Still I might be wrong, but I suggest reinstalling everything from scratch and see if the same problem persists.(If you're using amonra to make a nand+sdext backup, use v2.2.1 // untested nand+sdext backup with CMW so please leave feedbacks if it works)

Nice score BTW, I only get up to 2200(with modified 2.2 ROM)

dalvik2ram is only active in v1.2 on the first post, I will implement an interactive script on later versions to give users control over where to store "dalvik-cache" files.

Does this issue persist through all the setups you have mentioned above? I'm quite sure this is no longer an issue with versions 4b++ and above.
[Optimus One, P500 Original Android Development] no_pride:
I haven't tested it again on other setup except on Devoid.Franco v5 + Franco.Kernel v13.3 + your v4b5 and it always happen everytime I reboot
[Optimus One, P500 Original Android Development] kenblat:
This is only 600KB not the 1,67MB as usual. Pls kindly support for another multiupload V4B5 version.

TIA
[Optimus One, P500 Original Android Development] ungaze:
Providing mirrors for other members who needs it is really great and helpful(especially when mods are not around to fix stuff and all), but I would really appreciate it if everyone gets to download from the link(deposit files) that I have provided as I can monitor the number of downloads(and other stuffs as well) from it. Although I'm not prohibiting anyone from providing mirror links, but I'm just asking the users to download from my link if it doesn't present any problems to you. Other than that, downloading from mirrors is ok with me(additionally I can also provide direct dropbox links via PM).

;)
[Optimus One, P500 Original Android Development] landeiro:
How do I remove the extended partition of 512mb? I just want to leave space on the card(no partition). Its possible? I have void echo rom.
[Optimus One, P500 Original Android Development] ungaze:
on settings, go to:

SD card & phonse storage settings > Unmount SD card

then the option "Format SD card" will now be available. Just proceed in formatting and it should combine all your SDs partition and format it as well.

NOTE: you will lose all data from your SD card so proceed with caution.
[Optimus One, P500 Original Android Development] N_lover27:
Hi ungaze,

AS I told you before I have ordered class 10 kingston 8gb microsd card.

so Can you tell me if i will be able to notice any difference ????

and BTW any new update
[Optimus One, P500 Original Android Development] dark-k:
I have a little question about this tweak : I am on cyanogen 6.5 and I want to flash 6.5.1. I'm wondering if I can do it without wiping or reflashing this tweak. And can we flash a new version of data2sd over an older one ? Thank you for your answers.
[Optimus One, P500 Original Android Development] N_lover27:
Wipe everything and install as fresh as it can be
[Optimus One, P500 Original Android Development] landeiro:
I have some archives in ext partition. How I do backup this? In this moment I use link2sd.
[Optimus One, P500 Original Android Development] dislplin01:
is anyone else having problems where after a few days when you restart your phone you get all kinds of force closes and the phone wont work ?????
[Optimus One, P500 Original Android Development] N_lover27:
in my case the phone got stuck on boot screen for 20 min thn I re flashed it....well the script is in beta so we need to wait for final.

well for ungaze

the script is good. but it doesn't last long as dislplin01 and i told you before
[Optimus One, P500 Original Android Development] dislplin01:
Yea I know its beta but I just want to know if I am the only one getting this error cause if I am the only one then it is probably something I am doing and can find the problem
[Optimus One, P500 Original Android Development] ungaze:
Well FYI, there's only 3 of you (out of 50 who downloaded v4b5 and 40 from v4b3) who has been reporting these kinds of problems. I'm not saying that only 3 of you are experiencing it though(as others might not feel the need to report since you guys already reported it, but I still urge them to make a feedback anyway.). I might not have a solution for you guys right now, but I assure you that I am investigating the issue(as well as collaborating with other data2sd/data2ext developers) with every time that I can spare. Anyways, better SD class doesn't equate to better data2sd performance, although a better manufacturer could result to a better data2sd compatibility. So If you're having problems before(with another SD card), a new card from a different manufacturer might provide better results(compatibility) with data2sd.

@landeiro

If the files in question are so important to back-up that you are willing to follow long lines of instructions using terminal emulator then I can help you out(just PM me). Then again, you can probably just back it up using titanium backup.

Update coming up in a few days.
[Optimus One, P500 Original Android Development] will8578:
hello ungaze i have tried your latest beta on my wildfire, sorry for a complete noob question, how do i know if it works, ie i rem on a2sd if you looked into the sdext it would have apps and delvick cache in their, when i look there's nothing there, i installed and it booted no problems. just not sure if its worked or not, thanks for your help.

just seen ungaze init in the init'd folder and in the system d2sd folder but its empty, is this supposed to be?

thanks
[Optimus One, P500 Original Android Development] ungaze:
Well, one thing's for sure. It didn't work. Everything's working correctly until making files in the /system/d2sd folder. Work or didn't work, it should leave at least one file inside the said folder. Well the good thing is it can stay on your system without doing anything negative to it. I'll PM you for more details on making it work.
[Optimus One, P500 Original Android Development] RevengeFNF:
Ungaze, its possible to install your Data2sd without the Dalvik2Ram?

I don't like da idea of taking to looonge to inicitate the Phone, every time i need to reboot it.
[Optimus One, P500 Original Android Development] will8578:
Ungaze, yes please, iv sent you a pm, i think lol, thanks.
[Optimus One, P500 Original Android Development] no_pride:
Just finished installing v4b5 on devoid.franco v13.5. I did a clean install and so far everything went smoothly. The only widget now I'm loosing every time I reboot is switch pro widget which I can easily replace since I only use it for its flash light control =)

Sir Ungaze, a few pages back you posted that dalvik2RAM is disabled on v4b5, when will the version with enabled Dalvik2RAM be released?
[Optimus One, P500 Original Android Development] N_lover27:
Ungaze got an error while flashing v4b5 on fresh [ROM] Gingerbread-2.3.4-rc2

An error has occurred while formatting SD ext partition!
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 /data type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)
/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,nosuid,nodev,noatime,nodiratime,barrier=1,data=writeback)

So I tried v4b2 but then phone didn't boot
[Optimus One, P500 Original Android Development] Bytecode:
Ungaze do I love your mod? Yes I do.
[Optimus One, P500 Original Android Development] ungaze:
I love you too man ;) .

about dalvik2ram, I'll make things clear again. Only v1 and v1.2 has dalvik2ram enabled by default. All succeeding versions has it either turned off or just switched off. So v4b5(which is currently the lasta stable build) has dalvik2ram disabled.

Updating first post for clarification.

I don't want to make any deadlines on the next version(which will have an option for mounting dalvik-cache almost anywhere possible) but you can rest assured that I'm working on it.

Here's some proposed changelog for the new version.

-script cleaning(again)

-strip off the logging functionality(or maybe not)

-data2sd options all controlled on a script that can be run on terminal emulator(so terminal emulator most likely is a must for this mod)

-data2sd option to turn it on and off(move data to SD or move it back to nand if possible)

-ability to move dalvik-cache to SD, nand, RAM or even /cache.

@cyber_avijit

It seems that Andy's(I'm assuming you're using andy's GB) readies your SD ext partition for app2sd use. Can you look into your /system/etc/init.d directory and tell me what it contains:

su
ls /system/etc/init.d > /sdcard/initd.txt
[Optimus One, P500 Original Android Development] N_lover27:
Sry ungaze im back to hypnos2 with DT a2sd script.
[Optimus One, P500 Original Android Development] geoemm:
Is there any method to uninstall the ungaze data2sd patch..

cyanogen 7.1rc0 Mik 6.5. ungaze data2sd..2300 quadrant
[Optimus One, P500 Original Android Development] GonDr:
same question
[Optimus One, P500 Original Android Development] ungaze:
If you just want to remove data2sd(which will also bring you back to the point right before installing data2sd) you can simply delete /system/etc/init.d/02ungaze_init.

On the other hand, if you want to retain you newly installed apps(and settings), I can make you a script but probably on the next few days as I'm quite busy right now(even for the new data2sd version).

Cheers.
[Optimus One, P500 Original Android Development] geoemm:
Yea please develop a script to properly uninstall the patch..

cyanogen 7.1rc0 Mik 6.5. ungaze data2sd..2300 quadrant
[Optimus One, P500 Original Android Development] metalboy94:
I succesfully instaled v4b5 (stock ROM), had no problems on boot or after, but neither can I see any changes! Where exactly should I look for differences after installing data2sd? ^^;
[Optimus One, P500 Original Android Development] dark-k:
Look in settings-> applications you should see that you have more Free space than before (depends of your ext partition)
[Optimus One, P500 Original Android Development] N_lover27:
You can goto settings and select storage.
[Optimus One, P500 Original Android Development] s0v3r3ign69:
almost doomed my phone! congratulation! you still have to work on it! Many thanks!
[Optimus One, P500 Original Android Development] Bytecode:
Don't bug us man. If i understood correctly,your phone was almost bricked by this script?

And could you give some infos please? Did you correctly uninstall a2sd? What rom were you using? Ungaze did a nice job that can't brick anything if used correctly. Just think before posting something.
[Optimus One, P500 Original Android Development] N_lover27:
all of the script version works well on 2.3 based croms like andy and mik's rom.

but it has a problem with 2.2 based roms

after installing the script on 2.2 based rom you will end up with freeze boot screen after sometime.

I have tasted this with devoid , hypnos2 etc which doesn't have a2sd. but no matter how many time I reinstall the problem remains.

Now I m on miks 6.5.1 with ungaze's v4b5 script. and everything works fine. rebooted several time bot no problem.

I should say this script is fine for 2.3 for now.;);););)
[Optimus One, P500 Original Android Development] no_pride:
I've always used ungaze's script with devoid.franco (which is 2.2) but never had problems during boot up.
[Optimus One, P500 Original Android Development] ungaze:
What do you mean?!?!? Well, a simple boot without the SD on, would automatically halt everything my script does, hence - will boot up just like you never remembered anything that happened(ala jedi master). Well if you're here to rant, then please post after you actually doomed your phone, and I will do to my phone exactly the steps you did to your phone. But if you're simply reporting a failed attempt to make the script work, then please add more details. I am eager to hear from you and thanks.

Thanks for the positive feedbacks, and for those having troubles, I'll get back to you ASAP(but as I have suggested, please try other SD cards and see if it'll work).

PS. still working on next version, didn't get to work for 2 days as I was on vacation(somewhere where electricity is somewhat harsh).
[Optimus One, P500 Original Android Development] metalboy94:
Nope, I have just as much (or as little) internal space as before. Did I also have to install app2sd? I should also mention that I don't have a d2sd folder in /system.

TIA.
[Optimus One, P500 Original Android Development] agzorig:
that just means that ungaze's Data2sd isn't working on your phone.

darned thing worked fine for me. thanks ungaze!
[Optimus One, P500 Original Android Development] N_lover27:
which rom are you using? and did you make an ext2 partition?
[Optimus One, P500 Original Android Development] metalboy94:
Stock ROM v2.2, and yes, a 1 GB ext2 partition.
[Optimus One, P500 Original Android Development] N_lover27:
now thats the problem. you cannot use any script with stock whether its ungaze's script or DT's app2sd.

try installing custom rom that doesn't have app2sd like franko's devoid and mik's rom
[Optimus One, P500 Original Android Development] metalboy94:
Aw, great. Nah, I'm a bit too cozy with stock to give it up. :) Thanks.
[Optimus One, P500 Original Android Development] shhbz:
waiting for ur updated dat2sd and will it support ext4 partition as using it wth darktremor a2sd ,will remove it to install yours as u hve e great changelog hope it gel well with cm7 6.5.1 smoothly
[Optimus One, P500 Original Android Development] dislplin01:
Did it install correctly in recovery and more important did you partition your sd card??? I know I once tried to flash this script without a partition and out said out installed and didn't install anything it was a nube mistake but it could be what happened
[Optimus One, P500 Original Android Development] dislplin01:
yes dude what everyone else said is right you shouldn't bad mouth cause you didn't install right alot of people use this and love it including my self and I know that if there is a flaw our bug ungaze will work on it with you personally so yea just had to say that
[Optimus One, P500 Original Android Development] metalboy94:
Yes, it returned absolutely no errors in recovery. And yes, I partitioned it twice actually: first time I accidentally converted the partition to ext3, then I partitioned again to ext2 (and I suppose the card got formatted before that, so there can't be the problem of both partitions still on the card, right?), then flashed the script.

At the moment I was thinking whether "Interactive data2sd" actually means that data gets sent as the phone needs more internal space. Because indeed, total space has remained the same, but free space sort of fluctuates. :confused:
[Optimus One, P500 Original Android Development] N_lover27:
I told you before it dosn't work on stock rom
[Optimus One, P500 Original Android Development] shhbz:
edited:got my ans
[Optimus One, P500 Original Android Development] Kira.Lawliet:
Some noob questions here..

1.) What should I do if I want to switch to a new SD card? Should I just partition the new card to ext2 then copy all files from the old SD card to the new one?

2.) What if I want to remove the data2sd? Should I first do a titanium batch backup then delete the file needed for data2sd to be removed? If I use titanium backup after the next boot then will it restore those apps and settings to normal?

Or do I need to reflash everything from the start, just without the data2sd?

I'm on void#echo + franco's kernel14.1 + data2sd BTW

TIA
[Optimus One, P500 Original Android Development] dislplin01:
if you get a new sd card i believe you will have to partition the card then reinstall it and then transfer your data

if you want to uninstall ---->"If you just want to remove data2sd(which will also bring you back to the point right before installing data2sd) you can simply delete /system/etc/init.d/02ungaze_init."
[Optimus One, P500 Original Android Development] dislplin01:
hey ungaze so i think i have a update from testing (incase you dont remember my issues after a few days i would restart and get constant force closes on multiple programs and system apps, anyways i noticed a pattern when i usually started getting the problem it was cause i made a major change to my phone like flashing a new kernal or flashing the new charging bug fix in CM7 so i re flashed and then made sure that i flashed yours last and my phone has been working beautiful since without the issues i was having before so i think it might have something to do with flashing different patches after data to sd anyway hope that helps.

PS anyone with info on that problem or ideas please chime in
[Optimus One, P500 Original Android Development] Abhiroxx:
does this work on ext 4 using amonra recovery 512ext
[Optimus One, P500 Original Android Development] ViTAMiNCHEG:
With ext3 and ex4 it is still untested. Can't confirm that it is working, I think you better stay away of those two ext and use only ext2. Ungaze is still doing his job to test and confirm that it works with ext3 and ext4.
[Optimus One, P500 Original Android Development] Abhiroxx:
how to get back to ext2 without loosing data???
[Optimus One, P500 Original Android Development] Vip_blast:
Working flawlessly on devoid.franco (ext4). Thank you :)
[Optimus One, P500 Original Android Development] Abhiroxx:
Can I flash it on cm7 6.5.2 with ext4 amonra
[Optimus One, P500 Original Android Development] Vip_blast:
I haven't tried, but I used AmonRa when I flashed it on devoid.franco. Just make a nandroid backup and try it yourself :)
[Optimus One, P500 Original Android Development] Abhiroxx:
It worked ;)
[Optimus One, P500 Original Android Development] Ghostface22:
can this work on stock froyo 2.2?
[Optimus One, P500 Original Android Development] N_lover27:
no try hypnos2
[Optimus One, P500 Original Android Development] Ghostface22:
I just need a rom that has wifi calling and data2sd support
[Optimus One, P500 Original Android Development] cmangalos:
it seems that my phone is not accepting d2sd, im on franco's rom and kernel, btw here is he error log,

An error has occurred while copying data contents!

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)

/dev/block/mtdblock1 on /system type yaffs2 (rw,relatime)

/dev/block/mtdblock9 on /data type yaffs2 (rw,nosuid,nodev,relatime)

/dev/block/mtdblock3 on /lgdrm type yaffs2 (rw,nosuid,nodev,relatime)

tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)

/dev/block/mtdblock8 on /cache type yaffs2 (rw,nosuid,nodev,relatime)

/dev/block/mmcblk0p2 on /mnt/asec/d2sd/sdext type ext2 (rw,nosuid,nodev,noatime,nodiratime,errors=continue)

will try to redownload and apply zip

what ive made is not a clean install, i have 55mb internal memory, ext2
[Optimus One, P500 Original Android Development] agzorig:
a clean install will most probably do the trick.
[Optimus One, P500 Original Android Development] kovacsgellert:
I had the same problem at first. You will have to reinstall the ROM and the kernel, and before downloading any applications try to reflash a2sd on your newly installed ROM.

It works for me now on devoid.franco.v5 with franco's kernel v14.1.

Thank you ungaze. :D
[Optimus One, P500 Original Android Development] cmangalos:
i just reinstall the d2sd,

it worked, but unlocking is kinda slow, also contacts are slow,

a2sd should not be installed when applying this, ithink my sd card sucks
[Optimus One, P500 Original Android Development] abufairuz:
Does it work with LOL 1.4.2? :confused:
[Optimus One, P500 Original Android Development] N_lover27:
No it won't. As it has dt a2sd. Though there are instruction to disable the a2sd script but that won't work. You need cimpletely remove the a2sd script fron the lol rom before installing it.

I don't know how to do this. But if u dnt remove it frm the rom thn d2sd script won't work no matter what you do.

Hope smone here can help you with this.