yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] lerkin:
Hi, I finally flash a rom with init.d enabled. Now I have franciscofranco scripts. But something went wrong when I flashed Data2SD + Dalvik-cache2RAM...
[Optimus One, P500 Original Android Development] kite86:
It's written in capital letters

Do you have A2SD script? You need a non-a2sd rom
[Optimus One, P500 Original Android Development] lerkin:
Yes I have rom without it.

I installed franciscofranco first, and everything was fine.

After it I flashed that script, android was starting for 5 minutes and after that it hanged up, I removed battery, started again and there were constant force closes of titanium backup, launcherpro and some android processes.

I tried to install only that Data2SD + Dalvik-cache2RAM script on fresh rom. It started, when it hanged on "preparing SD", after restart everything was fine, there was about 400 mb of free rom.

Interesting... Are those two scripts compatible?
[Optimus One, P500 Original Android Development] aursta:
if im using darktremors a2sd i need to reflash my rom? do everything from beggining?:D
[Optimus One, P500 Original Android Development] ivaaN:
i´ve got a FC in market after installing data2sd in devoid.franco #2
[Optimus One, P500 Original Android Development] homecanibal:
Any news?

After installing the first boot, ok, second boot, alot's of FC, right?
[Optimus One, P500 Original Android Development] franciscofranco:
I'll be honest with you, we're using exactly the same build. Currently we're both using it with a different kernel from the one I'm offering to download (version with this new kernel later today, still testing), but I had everything working fine since the first devoid.franco version. We really don't know why it isn't working for everyone else. We're working hard though, we're almost no sleeping trying to fix it for you guys ;)
[Optimus One, P500 Original Android Development] homecanibal:
Its working in 2.2 roms, ok! and gb? Ungaze says that was downloading miks rom. You can download too and testing. Because 2.2 its different from 2.3...
[Optimus One, P500 Original Android Development] franciscofranco:
It works for every rom I tested, 2.2, 2.3.2, 2.3.3 everything, I've been testing his scripts even before he thought about releasing them for the public ;)
[Optimus One, P500 Original Android Development] Ruwin:
@Ungaze: I installed the ROM and set CPU at 678 max and 480 min. Then i did a Quadrant test, and got 590 pts. It has data2sd as i read. Should i use Franco's tweaks?

Besides that, it seems pretty neat. I will post more on battery and stability in the morning, after some tests.

Boot time is shorter than i expected (i know that data2sd slows down boot time).

Aaaand, it looks awesome! :P

Cheers!
[Optimus One, P500 Original Android Development] ungaze:
Open terminal emulator and type:

d2sd

Then you'll find more answers. ;) Trust me!
[Optimus One, P500 Original Android Development] ungaze:
Guys, I have installed CM7 b6.2. I'm running my v3 script without any problems. Only modification I did, was to remove "05mountsd" in /system/etc/init.d. I'm not even sure if this did the trick as I deleted it before applying data2sd script.

Although there's something weird happening. I can't seem to get a signal(with or without the mod), not even a sim toolkit. Will do another re-flash.
[Optimus One, P500 Original Android Development] franciscofranco:
Don't install my tweaks, they are already natively incorporated into devoid ;) But this thread is about d2sd anyway, was just answering you.
[Optimus One, P500 Original Android Development] Ruwin:
I can see what sleepless nights can do... i TOTALLY forgot about the command in terminal... like my signature says... roms are faster than my brain :P
[Optimus One, P500 Original Android Development] Ruwin:
I am testing other ROM tonight, your devoid is safe in nand bkp :) Just want to try data2sd and see the real life user experience improvement.
[Optimus One, P500 Original Android Development] homecanibal:
Ungaze, you scare the script, and the script work with you. How you do that to do the same? Lolol

You pass /data to sdcard and dalvik-cache to sdcard or ram? You did a reboot between? Have FC's?
[Optimus One, P500 Original Android Development] R_J:
ungaze,

can i upgrade ext2 to ext3 and flash your zip?
[Optimus One, P500 Original Android Development] franciscofranco:
It will format it back to ext2 don't bother.
[Optimus One, P500 Original Android Development] R_J:
thanks

obrigado ;)
[Optimus One, P500 Original Android Development] XLR8_2K:
Hum CM7b6.3 isn't working with this mod, tried v1, v2 & v3 and always stuck at logo :P
[Optimus One, P500 Original Android Development] kenblat:
Waiting for result with beta 6.2 :) where is your V3 script? :D can't find it @ first post anymore...

TIA
[Optimus One, P500 Original Android Development] Ruwin:
@Ungaze: After i run the command in terminal and follow the steps -> reboot, i get stuck at the LG logo. I tried several times, i reflashed the rom, retried, but nothing. Always get stuck at the boot logo. Maybe i am missing something...
[Optimus One, P500 Original Android Development] ungaze:
Reflashed CM7 and the language thing does happen to me as well, BUT no FCs or antything else. Tried modifying some stuff but to no avail. All is not lost though, still have a few things up my sleeve, although it may take some time but there's still hope. Stay tuned.
[Optimus One, P500 Original Android Development] jawz101:
dumb question

I used ClockworkMod Recovery to partition my sd card, I checked it in Easus Partition Manager and ClockworkMod Recovery partitioned it as ext3 so I changed it to be ext2 in Easus PM and then applied Ungaze's zip file.

I guess my question is did I even need to partition at all or does your tool require a 2nd partition prior to running the zip file? If yours takes care of all of the partitioning I would've skipped prepping it first but, either way, the instructions should say you need an sdcard with at least one partition in ext format if it is a prerequisite.
[Optimus One, P500 Original Android Development] ungaze:
Sorry man, i thought this:

and this:

explains it fairly enough for any joe out there but I'm afraid I was wrong.

I take everyone's suggestions seriously and will comply with your request/suggestion.

Thank's for pointing it out, don't hesitate to bring forth suggestions, feedbacks, request, corrections or qualms of any sorts. So thanks again.

:confused:<===== me researching!
[Optimus One, P500 Original Android Development] jawz101:
Thanks. I do feel like a schmuck but I didn't know if it meant the partition needs to be created beforehand. I did anyways as I've done in the past but didn't know if I'm adding steps.

btw,

running aospcmod 4/15 on an LG Optimus V

with franciscofranco's tweaks and ungaze's data2sd I've got about 1800-1900 as my highest Quadrant score if I over clock in the 784-800 range.

I don't know what gives with FranciscoFranco's scores but I guess his Optimus phone's specs must be better than the V
[Optimus One, P500 Original Android Development] ungaze:
stagefright on or off?
[Optimus One, P500 Original Android Development] compwhiz2k5:
I was successful installing the tweak from the recovery but then the phone's performance became too slow. :(
[Optimus One, P500 Original Android Development] kly91:
Works fine with me..I have CM7 Beta 6.3 and used the v1.2..I flashed it over after a newly flashed rom and i was not stuck at the lg logo..now i have a total of 495mb of internal storage..

One thing i noticed..after installing titanium backup, i tried to open it but an error occured telling me it failed to acquire root priveleges but after 3 tries i finally got the root request.. I think there's a delay in the response of the super user app?..

I will now try changing a theme in the theme chooser and see id it goes back to system
[Optimus One, P500 Original Android Development] pwntigo:
are you also using franco tweaks?

coz there he have high read_ahead value which reduces UI responsiveness

as a side note, having data to sd is not a good idea because of the above unless you have class 10 card
[Optimus One, P500 Original Android Development] thenenea:
@Ungaze

Thanks for your hard work. There seems to be an incompatibility with Franco's version of void. After a few reboots some installed applications disappear and others start to FC. I'll try to get a logcat later on.
[Optimus One, P500 Original Android Development] terrywong:
Thanks for your nice tweak， I've flashed it on MIK's 6.3 & added "persist.sys.timezone=Asia/Hong_Kong" to build.prop, so it can have proper "timezone" & cool preformance after reboot!

Thanks for Ungaze & franciscofranco again & again..^^
[Optimus One, P500 Original Android Development] ungaze:
nice workaround, btw i have found some info that could fix the language and time issues. i would need you guys to test it for different setups.
[Optimus One, P500 Original Android Development] franciscofranco:
That's all wrong. Cards classes cards have nothing to do system speed. Classes mean the read & write speed sequencially, and our phones randomly access it so it doesn't matter actually having a class 10 or 2 for ext2 using for example. Of course if you're sending a file to your card it's transfer speed will be greater if it's a class 10.
[Optimus One, P500 Original Android Development] Komod5910:
Hi guys!

I've CM7 Beta 6.3 and used the v1.2. I've flashed all on "clear" with all wipes and SD card formating.

3 times i've tried to flashe on EXT 4, and it does'nt work! (stuck at the lg logo). Only with EXT 2.

Than i've flashed franciscofranco tweeks(thanks for him). Scrlling and speed are very good! Now i'm going to test all with programms.

Thanks for your nice work!
[Optimus One, P500 Original Android Development] ungaze:
thanks very much, will add that info on the first page.
[Optimus One, P500 Original Android Development] pwntigo:
thats the point, normally it wont affect at all , but when data stored on sd card, it does.
[Optimus One, P500 Original Android Development] franciscofranco:
If it's normal storage the read/write yeah, but /data stored on ext2 no because it's randomly accessed.
[Optimus One, P500 Original Android Development] ungaze:
OK GUYS, I THINK I'VE CRACKED IT.

I've spent so many nights trying to figure this out, so once again I'm asking your help to test it with different setups.

To reduce confusion causing variable, I advice you guys to try it on a fresh installed ROM. Or at least one without any partition migrations mod(eg; data2sd, data2ext, app2sd etc.).

(For testing purposes only, If you depend heavily on your phone then don't try yet until verified to be working)

1. Download: Ungaze_Data2sd_v4b1.zip

2. Reboot to recovery

3. Flash and reboot.

-- additionally, don't flash directly after flashing your new ROM. boot-up first then reboot to recovery, only then can you flash the zip --

Tested it with:

modified stock 2.2 ROM

SD card with 2 partitions(1st part. FAT32 2nd part. EXT2)

moves dalvik-cache back to intenal /data partition(which leaves the whole 190mb partition almost all for dalvik-cache to chew on)

quadrant I/O score 3k above

multiple reboots with different languages retains previously selected langauges

no FC on any app
[Optimus One, P500 Original Android Development] Bytecode:
Yo ungaze you should give me instructions on how to move only data 2 ext and not touching dalvik-cache. Remember? Txh dude
[Optimus One, P500 Original Android Development] ungaze:
yep, i didnt forget. but if you want a bugless script, you could start testing this one, ;) . lol

seriously, previous versions has bugs in it. been workin my ass out here to clear them off.
[Optimus One, P500 Original Android Development] Bytecode:
I need a script that moves /data partition to ext filesystem,and do not touches dalvik-cache.
[Optimus One, P500 Original Android Development] kly91:
Yup i was using his tweaks when i tried it and a class 6 sd card...BTW i got unending FC's after reboot..LOL:D

@Ungaze..kababayan, do you think you're SD tweaks works better with this data 2sd than that of franco's?

I think i'll try again using ungaze's beta..

EDIT: oh men! i still got the fc's at reboot..BTW i had a2sd removed before flashing this data 2sd..anyway i will try again but this time a freshly flashed rom on an ext2 partition..
[Optimus One, P500 Original Android Development] franciscofranco:
Err the sd tweaks via system files are the same everywhere, just changing the values of it.
[Optimus One, P500 Original Android Development] kly91:
hehe..sorry for that franco..yeah i've just read it's the same..

BTW i tried flashing it with a newly flashed rcm7 beta 6.3 and i got stuck at the cyanogen mod7 bott screen..my boot logo just hanged up on me..tried to reboot again and still it hanged..It just stopped..:confused:

EDIT: I've given up on it..tried to reflash but nothing happened..I got a feeling it won't work on CM7 beta 6.3 with 2 part.(1st fat32 and 2nd EXT2)..hhmmpf...I can't really pass by the cyanogen boot after falshing the rom with these ungaze..hope you could find an answer..thanks kababayan..
[Optimus One, P500 Original Android Development] franciscofranco:
Did you fully wiped? Not full wiping is one of the first causes of something not working.
[Optimus One, P500 Original Android Development] kly91:
yep..i did a full wipe of all user data and dalvick cache..
[Optimus One, P500 Original Android Development] Grievous23:
I can report its working on CM7 6.3, at first I tried flashing it just after flashing the rom, (without booting), and got stuck on cm logo, reflashed CM7, let it boot, then rebooted in recovery, flashed data2sd, and now I have 447 Mb available :D

I used amonra recovery to repartition my sd in ext2

Still to test tweaks, etc...

EDIT: Got 1338 in Quadrant, without any tweak
[Optimus One, P500 Original Android Development] kly91:
good thing for you..i've already tried that way but still the same so anyway i'd just wait for it to be tested even more then when v4 is out of beta then i'll try again
[Optimus One, P500 Original Android Development] franciscofranco:
That's so strange to me, same phones, same configuration, works for other user and doesn't work for you :/

Anyway I'm gonna test it with my devoid, I'm pretty confident with this new testing version.
[Optimus One, P500 Original Android Development] ungaze:
What card are you using?

@Grevious23 (star wars?)

Thanks for the report. Can I fish more info from you? What language did you use?
[Optimus One, P500 Original Android Development] franciscofranco:
You can fish from me in 10 minutes, I'm about to push the script to a newly flashed devoid xD

And obviously Grevious is a Star Wars connection :p
[Optimus One, P500 Original Android Development] kly91:
i'm using a 4gb class 6 card..if i'm not mistaken it's an adata one..
[Optimus One, P500 Original Android Development] Grievous23:
Sure thing Ungaze, Im using english, but I can switch and see what happens.

Im not much into devving, so I can only help you guys by testing, btw I installed Franco's tweaks and libsqlite patch and now have 1929 in quadrant with 729 MHz CPU on performance governor

As a side note, after applying the tweaks and libsql I got stuck on CM logo, took out the battery and retried, now its working

And yeah, Star Wars FTW :)
[Optimus One, P500 Original Android Development] ungaze:
Do you still have the original one? You can test on that one instead just to eliminate the sd-card the variables.

@Grevious23

Thanks, would like to know if languages other from English stays with succeeding reboots. BTW, Gen. Grevious rocks. Four hands each with light sabers FTW!!!!!<==== Contagious, Deadly waves of geekyness, do not come close!!!!!

@Franco

As always. Thanks man.
[Optimus One, P500 Original Android Development] franciscofranco:
Sorry mate, this time it doens't work correctly on my devoid, first reboot after flashing LGSetupWizard fc's and it's a pain in the ass. I reboot and everything seems good. Now, but I'll keep testing.

EDIT: It seems pretty fast now, but I haven't rebooted again, I gotta see how it turns after rebooting one more time. I'm scoring 5300 i/o points in Quadrant, it's pretty decent :p
[Optimus One, P500 Original Android Development] kly91:
The first one works fine for me but not after a reboot..all goes heywire and every app FC's..i can't even do a thing with it after a reboot..all i see is the notification bar and full black screen for the rest
[Optimus One, P500 Original Android Development] Momaro:
installed on fresh devoid.franco v4. did not have to pull battery, worked fine. i don't want to make too much work for you, but is it possible to make a way to safely remove it and put it back in?

oops, failed on second reboot FCs and such.
[Optimus One, P500 Original Android Development] daz100:
Guys, I'm new to Android. I installed devoid.franco.v4 rom and have 166MB free on the phone. Should I make a partition on my SD card and install data2sd? I don't intend to install that many apps, so I'm sure I won't need more than maybe around 60MB in app installations. For me, would it be beneficial to just install the apps on the phone and forget this ext sd partition?
[Optimus One, P500 Original Android Development] Grievous23:
Well, I can confirm to you, it keeps language settings on reboot, had some fc's but I think that has more to do with me playing with the CPU for the quadrants (got around 2.2k with 768 MHz, I/O is around 5k, more speed causes kernel panics) seems pretty stable with 729 MHz, have rebooted a few times.

I'm installing my apps now and gonna see what happens, but right now, I'm in love with these settings :)

BTW I'm using the SD that came with the phone, 4gb class 4 (it has a 4 painted on it {besides the 4 on "4Gb"}, so I'm guessing its class 4)

Thank you very much Franco and Ungaze!
[Optimus One, P500 Original Android Development] Grievous23:
Since there are 2 reports of it failing on 2nd boot (I must be very lucky, since its working for me so far), I would suggest to you, since you're new to android, to wait and see if Ungaze can somehow solve the issue and it gets more testers.

BUT if you are willing to sacrifice your phone in the name of development (most likely just time, if it doesnt work youll just have to reinstall your stuff), lol, go ahead and try it. It does boost performance...

Since you're using devoid, I'm gonna just guess it should work the same way... I would suggest doing a clean install: from amonra recovery, partition sd, without converting to ext3, wipe all but battery stuff, flash your rom, boot, then go back to recovery and flash data2sd.

Good luck if you decide to try it!
[Optimus One, P500 Original Android Development] GForceXIII:
Looks like I can post already.

So I got past the 2nd boot. No problems at all, except for the timezone resetting.

Problems appeared when I restored texts and call log through mybackup root. I rebooted.

It took me through the initial setup for language ,date and time.

All my apps were still there(after my fresh devoid.franco v4 I only installed quadrant standard and gmail though). But, it was like all of the apps were reset. The permissions in SU were wiped.

Guess I'll try again later with no data restore.

Oh yeah, I'm using clockworkmod for recovery.

EDIT : typo fix
[Optimus One, P500 Original Android Development] kenblat:
Dear Ungaze,

U such a genius!!!

Under clean install CM 7 beta 6.3 - your Script v4.1 WORK without any issue (at least with all my torture up to now hehehe), reboot or poweroff did not crash anything. YAHOO!!!! Quadrant yell out that we have a LION need to be tamed ... over 2300pts with P500 just all i need now hehehe!

Juat wanna know that do we have the e2fsck and move Davik-cache function as well.

Hats-off to you,

TIA
[Optimus One, P500 Original Android Development] franciscofranco:
I always sugest an ext partition, specially for this! Its a nice performance boost mora than an internal memory saving method.
[Optimus One, P500 Original Android Development] homecanibal:
@ Ungaze and chico

Why after install a fresh new rom, applied the script, everything work and the scores at Quadrant really really sucks?

i have at least a 2668 in IO score (in data2sd v2 i think, and alots of FC), and now i have only 473.

Titatium backup says that i have a 512mb ext 2 partition (ok)

internal memory i have 440mb free (ok, script working great)

Whats happen in my phone?

When start io file test, i take some time, to pass from 2/4 for 3/4, in database write.

the phone its extremelly fast, but the scores....

EDIT: before and after apply francisco tweaks, its the same score in quadrant
[Optimus One, P500 Original Android Development] franciscofranco:
That means you probably don't have the patched libsqlite.so.
[Optimus One, P500 Original Android Development] kly91:
WOW..i really hate this..(hehe just joking:D) Why is it working for the others and not for me?? hays..i've done the right things but still at the cyanogen bootscreen..hmph..maybe there's something wrong with my sd card..:rolleyes:
[Optimus One, P500 Original Android Development] homecanibal:
now, i'm using andy's rom.
[Optimus One, P500 Original Android Development] franciscofranco:
Then don't flash it or you'll end up in a bootloop. But this thread is about ungazes script. If you feel that your phone is fast don't pay too much attention to Quadrant, real world performance is what matters.
[Optimus One, P500 Original Android Development] ungaze:
Hi guys, it seems we have mixed results out here. BUT, I'm really happy to hear that the bug that I wanted to fix, is indeed fixed(for those who didn't have trouble). I still want to hear some feedbacks from other ROMs(besides devoid and CM7).

I don't know if you looked into the script or you just happen to know that "e2fsck" isn't enforced YET in this test build, but it is indeed stripped of the "e2fsck" function. Maybe this is the problem with others(some report a boot-loop on apply, then OK on battery-pull-then-boot) who are experiencing FC issues. I cannot be sure, but this is the next step. I will add "e2fsck" on next build along with waiting time on mounting, unmounting, copying, deleting processes.

About dalvik-cache2ram, everyone will have the freedom to choose which partition they will store their dalvik-cache when the time comes. That is when all the testing is done, and we get a stable build for everyone, only then will I integrate the interactive script.

@homecanibal

Your case is very interesting. Can you add more info? Is there any other issue besides the low I/O score? What FS are you using for you SDext partition? What SD are you using? Can you try it with another SD card?

@all

sorry for making all you guys test for this. I myself am testing it thoroughly but I don't have enough time to flash other builds/ROM just to test for that build. So thanks again and hopefully all our hard work will bear fruit(good fruit!!!!!) in the near future.
[Optimus One, P500 Original Android Development] marioemp2k7:
Clockworkmod and EXT4

By default Clockworkmod is creating EXT4. Even if you format (from the recovery) an EXT2 partition it will become EXT4. If you want to use EXT2 on p2 you have to recreate the partition manually with parted.

1. Boot into recovery

2. Connect the USB cable and do adb shell (from a command shell)

3. parted /dev/block/mmcblk0

4. print --> You should get something like this:

Number Start End Size Type File system Flags

1 32.3kB 3562MB 3562MB primary fat32 lba

2 3562MB 4073MB 511MB primary ext4

5. rm2 --> deletes p2

6. mkpartfs primary ext2 x y --> in this case x=3562 and y=4073 --> we are recreating p2 as ext2

7. quit

Do not reformat it from Clockworkmod. Just use it as is.
[Optimus One, P500 Original Android Development] ungaze:
Is this really the case ? ! ? ! ? <-----(Not doubting you man, just my expression ATM)

Then this could explain most of the FCs some of our guys are having. Another way obviously is to go back to Amon_RA(which is what I'm using since the start. Also I recommend V1.2).