yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Zilch25:
Ahhh so is it reading the build.prop? If so I suppose all you'd have to do is toss in some lines to check for UCJH2 or UCJH3 and only apply the jupiter file in those cases. Is it possible to check for su as well?

Once we get this thing to the point where the user downloads one file and the only option they get is (possibly) size adjustment I think we'll be reaching perfection :)
[Captivate Android Development] Tayutama:
Yeah i'm reading the build.prop.

Well checking for su is easy: if [ -e /system/xbin/su ]; then echo "su found..." fi

Well that one is only for that dir but can use the find command to fund all instances of su and put that into a variable and print the paths out if needed

I think you won't be able to do this on none rooted phones as you can't install su on a none rooted phone that is running. You do that from recovery... dunno if you can when it's in boot mode though
[Captivate Android Development] Tayutama:
An even better idea then to check for UCJH2 and that is to just check the jupiter.xml file for the logging=true command ;)
[Captivate Android Development] Zilch25:
Hmm well then for simplicities sake we might want to just remove the rooting functionality completely and furnish people with a link to a tested root method (Other ROMS and root methods to be at their own risk). Just have the script test for su, if no su terminate the script and tell them to root =P

We've already had a couple people here have issues trying to use the root script when they're pre rooted. Now to be fair I've tested this and not had it foul up on me, but since when does the Galaxy S operate within the boundaries of logic?
[Captivate Android Development] Tayutama:
Never did :D

Well atm designgears is using my fix in his SuperRooter which roots so shouldn't be a problem i guess... that is atleast for Captivate users :D
[Captivate Android Development] Zilch25:
I can also confirm that it works for all versions of one-click root, and I've tested at least the .1 version of "Unleash the Beast". Seems like really the only big issues are people grabbing the wrong file, and in the past there were issues with the toolsets included in some of these fixes over-writing the provided mke2fs- but that's since been rectified :)
[Captivate Android Development] Tayutama:
Oh well ill begin on it tomorrow when i get home from work... provided i haven't gotten a FFXIV key ;)
[Captivate Android Development] Zilch25:
I can see it now: Development put on hold until froyo due to FFXIV beta :D
[Captivate Android Development] Tayutama:
Perfect excuse right? :p
[Captivate Android Development] Zilch25:
I'm sure no one would hold it against you... right guys? ...

*crickets chirping*
[Captivate Android Development] Tayutama:
hehe...

well ill begin tomorrow like i wrote and should have something you can test late friday/saturday atleast.

Ofc depends if i can pull that damn userinit.sh
[Captivate Android Development] Zilch25:
Haha well good luck, it's very much appreciated :) And as always if you have anything you want me to kamikaze my phone with let me know and I'll do whatever I can to help!
[Captivate Android Development] Tayutama:
Phone reflashed and trying to get the userinit.sh now :) might even get a small part done today if i can get it
[Captivate Android Development] Zilch25:
Oooo, good luck :D I'll be trolling all night as per my normal routine, so if you need my guinea pigging services I'll be here.
[Captivate Android Development] Tayutama:
Right i got the userinit.sh that is running at boot and then compared it to the one you use when you are in the OS...

They are an exact match
[Captivate Android Development] Zilch25:
Shouldn't they be... different? O_o
[Captivate Android Development] Tayutama:
Thye shoild but they aren't... used Notepad++ compare options and all lines are the same

Hell i even pull 11 versiono of the script.... 10 while it was doing the job at boot and the 11th is the one that is running at the end when it's done... all are the same

Looking at the file now and can see files in it that gets deleted while it's running first time... so this will take a few flashes to get them all... :(

bah think ill make a nandroid after the next flash
[Captivate Android Development] Zilch25:
Yeah that makes life so much easier... especially doing something like this that's going to require 1000 rollbacks =/
[Captivate Android Development] Tayutama:
well when i get those 3 files i need to pull it should go rather fast with making it i think
[Captivate Android Development] Zilch25:
That's awesome :) Love when these things go from concept to realization so quickly! I'm about to leave for home but as soon as I get there I'll hop on in case there are any new developments :D
[Captivate Android Development] Tayutama:
Well it's midnight here in 1 hour so don't know how long ill stay up... and gief those damn FFXIV keys :(
[Captivate Android Development] Zilch25:
No point losing sleep over it =P Get some rest... and ya know, set up firefox to pound FP with your fingers crossed
[Captivate Android Development] Tayutama:
You will get some camping done...

# For EST folks, have a friend call you. Or set your twitter notification to the sound of a freight train. 4 minutes ago via TweetDeck

* Reply

* Retweet

#

Sorry guys, can't make everybody happy! Japan time isn't kind to us. 8 minutes ago via TweetDeck

* Reply

* Retweet

#

If it doesn't launch before 2:00 AM PST Friday, stay tuned for an update 9:00 AM PST Friday. There will be a 5-10 minute warning. 9 minutes ago via TweetDeck

* Reply

* Retweet

#

Alright, the community has spoken. We'll be launching the keys tonight if we receive them. The cut-off point is 2:00 AM PST (cont.) 11 minutes ago via TweetDeck

* Reply

* Retweet

#

Japan says that servers being fixed today is likely - Question: Do we launch late tonight, or wait till the morning *IF* we receive them? 22 minutes ago via TweetDeck

I'm at work at 2 AM PST...
[Captivate Android Development] Zilch25:
Hahaha hopefully it's 9AM PST... cause there's no way I'm going to start F5ing at 5AM my time :)
[Captivate Android Development] Tayutama:
:D

Btw good news... at this rate you can flash your phone all you want tomorrow ;)

Should have a test version ready soon... just need to figure out folder names.. and then test it myself first
[Captivate Android Development] Zilch25:
That's great news, the boss is going on vacation starting tomorrow so I'll have plenty of time to waste lol
[Captivate Android Development] Tayutama:
Ok guys, we've heard you. We've decided to make the cut-off Midnight PST. This should help ease it a bit. 9 minutes ago via TweetDeck

hmm that would be at 9am my time... aka still at work... and i don't have access to a proxy from work :(

Anyway time to reset phone to a working state again... Titanium Backup time :D
[Captivate Android Development] Zilch25:
And 3AM my time =/ Well I'll keep trying up till I hit the sack... but seriously why the hell would they release them that late? Uuuuugh
[Captivate Android Development] Tayutama:
blame the timezones ;)

Btw ill properly wake up at around 6am danish time, that is 9pm PST.

My normal time to wake up is 10pm PST but 1 hour earlier shouldn't hurt...
[Captivate Android Development] Zilch25:
Well still! I'm still in the US and midnight PST would only be reasonble for 1/3 of the US... way to go fileplanet =P

Good luck though :) If they push it back at the last minute like they're prone to doing I'll be on it once I get to work!
[Captivate Android Development] Tayutama:
GG was trying to use my current version of the lagfix on my eclair firmware but sl4a kept giving me force close... then ill just launch it from adb shell :D

sh /sdcard/sl4a/scripts/LagFix_ext4.sh

:D

I hope they push it back... since then it's weekend :D plus this

If it doesn't launch before 2:00 AM PST Friday, stay tuned for an update 9:00 AM PST Friday. There will be a 5-10 minute warning. 42 minutes ago via TweetDeck

That is 6pm my time... aka dinner time... :D
[Captivate Android Development] Zilch25:
Haha that's one way to work around the problem :)

That's noon for me, so I'll be bored out of my skull in the office... perfect time imo
[Captivate Android Development] Tayutama:
Right back to work on the new version...

In other news Zilch... This is taken from FP forum:

[GSI]VirginMary posted:

Alright, here's the latest...

They are generating new keys for me as we speak. I will hold off on distributing until tomorrow morning because we said we would cut if off at midnight and for those folks who signed off then I really need to be fair.

Look for notification between 8:30 and 9:30 am PDT tomorrow morning.

:D
[Captivate Android Development] DRamer77:
ok i have a bone stock captivate that i just did the unleash the beast root etc too.. which one of these should i use?
[Captivate Android Development] Tayutama:
Depends on which firmware you are running.

If you haven't flashed the phone yourself, then you can check the firmware version by going into the dialer and pushing: *#1234#

It's the PDA that shows what version you are running.

Then if you are running I897UCJH2 you will want to choose update_v2.2.2_I897UCJH2_without_root.zip else update_v2.2.1_ext4_without_root.zip

Atleast if you choose the update.zips
[Captivate Android Development] Zilch25:
Yaaaaay we're still in the game!

@ DRamer77

What he said :)
[Captivate Android Development] Tayutama:
They released like 40 keys around 7:20am my time :) that would be 10:20 PM PDT :)

But looks like there was some duplicates in between and didn't get one ^^
[Captivate Android Development] Zilch25:
I was already out cold by then =P Hope we're fast enough to get in on today's batch!
[Captivate Android Development] Tayutama:
True :)

Sad part is i'm going out eating tonight around 9:00-9:30 am PDT :(

And back to working on the script...
[Captivate Android Development] Zilch25:
I'll make a point of ordering lunch so that I'll be here to F5 bot during that period (12:00-12:30PM) haha
[Captivate Android Development] Tayutama:
So quick question... should i make the script like the test version i gave you aka.

Not copying over /data/app-private and /data/app?

Also should i make a image on /dbdata to move that into?
[Captivate Android Development] Zilch25:
That's a good question... I can say so far from the test script you gave me yesterday that it doesn't seem to be hurting performance at all. It's been running without restart since I installed it yesterday morning and it's snappy. I haven't noticed any sort of stability issues or any rogue glitches either. I think the best way to put it is that this version feels less volatile, but I don't have a psychotic amount of apps installed either.

Wish we had a couple more test subjects to give their opinion on it though.

As for dbdata hasn't it already been concluded that it's pretty much amazingly responsive even without a virtual FS?
[Captivate Android Development] Tayutama:
Well true... The only reason but me and Ryan removed the support though was because we was moving it while the system was running which i won't do this time around.

and even if /dbdata is on the fast NAND then it's still formated as RFS :(
[Captivate Android Development] Zilch25:
That's true too, might as well throw everything + the kitchen sink into this version since everything is getting moved pre-OS. The hiccups users were getting before might just be entirely due to it being moved while everything was up and running.

This is what the testing phase is for afterall ;)
[Captivate Android Development] Tayutama:
Right... should be done with the userinit.sh script soon.

Then i just need to do the rest like proper folders and add 1 or 2 checks for firmware version.

Can you post the full firmware name on the two builds that have GPS logging enabled?
[Captivate Android Development] Zilch25:
Yes, sir: I897UCJH2 and I897UCJH3 :)
[Captivate Android Development] Tayutama:
Going to pull data from build.prop again :)

ro.build.PDA=I9000JPJG8

that is what mine says atm :)

and work on script is on hold for 1 hour or so... they are taking the power here to check something :(
[Captivate Android Development] Zilch25:
Doh, well hopefully they work quick :)

Also have you seen this?:

http://xdaforums.com/showpost.php?p=7741089&postcount=65

Wonder if they'll see a real world improvement without the loop trick- downside though is that it takes a custom kernel which us captivate users still haven't perfected (at least without wake lag)

Also makes me wonder if we couldn't implement something using EXT3 (since we've got native kernel support for that) doing the same thing and see an improvement- assuming that concept *does* work in the first place
[Captivate Android Development] Tayutama:
I would like to know how he will format the system as ext4 without losing the data on them
[Captivate Android Development] Zilch25:
Good question... maybe temporarily create a file on the internal SD in the proper format to maintain permissions etc, move it all off, reformat NAND then move it all back in? Seems like a tall order to be performed pre-system though
[Captivate Android Development] Tayutama:
and got internet again... D:
[Captivate Android Development] Zilch25:
Haha welcome back, now back to work! *whip whip whip*
[Captivate Android Development] Tayutama:
... got the userinit.sh down from 146 lines to 79 lines atm..
[Captivate Android Development] Zilch25:
Whoa, that's a massive decrease =o
[Captivate Android Development] Tayutama:
And that is with 14 added lines to it ;)

I removed all lines that pointed to some logs that didn't matter and those lines that pointed to files that i couldn't see on system at any point during the boot looping
[Captivate Android Development] Zilch25:
And these are the userinit scripts that came stock? Like... Samsung left their code that messy and bloated?
[Captivate Android Development] Tayutama:
There is no userinit.sh on stock ;)

That is from the one Chainfire uses
[Captivate Android Development] Zilch25:
Oh =P For some reason I was under the impression that we were just kind of replacing a stock Samsung file haha. This gets called from the playlogos file though doesn't it. All this stuff is just starting to meld together in my head at this point
[Captivate Android Development] Tayutama:
Yeah..

We rename playlogos1 (Boot animation) to playlogosnow

Copy in our own playlogos1 (which is a script) that first runs userinit.sh and then run playlogosnow
[Captivate Android Development] Zilch25:
Yeah sorry I don't know where my mind is today- I knew that. My brain is apparently leaking
[Captivate Android Development] Tayutama:
PDT time is 8:28am right now ^ ^
[Captivate Android Development] Zilch25:
30 more minutes :D
[Captivate Android Development] Tayutama:
5 Minute Warning: FFXIV keys will be given out in 5 minutes, be ready: http://bit.ly/9cvENb 7 minutes ago via TweetDeck

so nah :)

not released yet though..
[Captivate Android Development] Zilch25:
NOW NOW NOW!

I just got one =o
[Captivate Android Development] Tayutama:
same got one also :D
[Captivate Android Development] Zilch25:
Sweet! Welp, since you snagged one too, I won't have to fork it over to ya, so I guess I'll try it out myself :D
[Captivate Android Development] Tayutama:
hehe :D

and now i got time to go out and eat :D
[Captivate Android Development] Zilch25:
For once FP's schedule didn't suck for either of us. Amazing :D
[Captivate Android Development] Tayutama:
Well for once it was in a proper time :D

Hmm need to make an US SE account now... can't really use my EU account ;)
[Captivate Android Development] Zilch25:
Yeah you've come so far, can't mess it up with a little oversight like that ;)

I'm all activated =P Guess ill download when I get home
[Captivate Android Development] Tayutama:
Had already downloaded it before today ;)

Game Start..

Login...

Not Loading...

Select Character :D

best part... i don't need to be on the proxy when i login :D

Right so... Hyur or Miqo'te as race?

Hyur is humans and Miqo'te is cat humans :D
[Captivate Android Development] Zilch25:
I didn't expect to get in *or* get to keep the key for myself, so I didn't plan ahead :p

Oh well, it's Friday, I'll have all weekend to kill brain cells :D
[Captivate Android Development] Tayutama:
What race? :D

Also there are 10 steps in the character creation...
[Captivate Android Development] Zilch25:
No idea... up till now I've had virtually no clue they were even coming out with a new FF MMO :o

That's a mind-splitting amount of character customization though :eek:
[Captivate Android Development] Tayutama:
5 races

18 classes in 4 main classes
[Captivate Android Development] Zilch25:
I haven't even downloaded it and I'm lost already :)
[Captivate Android Development] Tayutama:
and 10 servers... once you make a char on one server you are locked to that so we need to be sure which one :D

Gabranth

Garland

Emperor

Golbez

Exdeath

Jecht

Kefka

Ultimecia

Spehiroth

Shadowlord
[Captivate Android Development] Zilch25:
You go ahead and choose, I know next to nothing about it.

Also maybe we should do this via PM haha. Don't want to continually bump the thread and give people false hope that we've got content for them until we actually do :D
[Captivate Android Development] Tayutama:
True

anyway out to eat dinner now and ill work on the script when i get home
[Captivate Android Development] Zilch25:
Enjoy! I'll keep an eye on my PM box as well :)
[Captivate Android Development] A.VOID:
So I had to uninstall 2.3 since it prevented me from installing fonts.

I understand ext4 doesn't have this problem. not sure if ext3 does or not.

What are the differences in ext2/ext3/ext4? Different flavors? One better than the other?
[Captivate Android Development] Zilch25:
So there's something specific about the EXT2 version that prevents font installation? That might be something worth looking into while the next version is in the works :) Any details you could give about the problem you're having would be helpful!

As for the difference:

EXT2 = Fastest (No journaling)

EXT3/4 = Slower with journaling- but EXT4 is faster than EXT3 by a decent margin
[Captivate Android Development] Tayutama:
Weird... didn't have problems with fonts when i was on the ext2 version

And i'm back :)

If all goes well ill have a version for you in 2-3 hours Zilch
[Captivate Android Development] Zilch25:
Great news! It's an excruciatingly slow day today. I've had nothing crazy or possibly detrimental to do to my phone since yesterday :(
[Captivate Android Development] Tayutama:
You know what to blame for that ;)

Anyway userinit.sh and LagFix_ext4.sh is pretty much done...

Need to test that myself before i make the remove script to work
[Captivate Android Development] Zilch25:
Nice :D

You aren't completely moving over to EXT4 support only are you? I personally enjoy the nice, fast, volatile joys of EXT2 :)
[Captivate Android Development] Tayutama:
Nah that is just what i test with :)

Easier to test with that since i use .so files there so if that works then the other two will work also
[Captivate Android Development] Zilch25:
Makes sense, if the more complicated of the 3 works, the other two should be fine. Almost seems like there's no reason to even throw EXT3 in there since it performs the same function as EXT4- only slower
[Captivate Android Development] fiendiish:
Ok I'm a HUGE n00b...I know...and I feel like such an idiot right now because I know this is something SO MINOR ...

I'm in debugging mode, I run the script and it tells me my device isn't found? I have the current drivers...

I tried searching but obviously I am the only one with this particular problem...oh my...can't imagine why.... :confused:
[Captivate Android Development] ranova:
has anyone tested twitter, facebook, touchdown, or k-9?
[Captivate Android Development] rob989_69:
What are the advantages/disadvantages of this compared to the other Kernel fixes?
[Captivate Android Development] ronpinoy253:
Thanks for your response...now I am really looking forward to trying this when I get home. The ability to add new and update my current apps is the kicker for me. Awesome work!!! Will post Quadrant scores later tonight...getting 860 now.

Stock Phone (Captivate)

Rooted

AT&T Bloatware "removed"

16gb Sandisk Class 2 card
[Captivate Android Development] max_warheads:
@andy2na

yes

@rob989_69

This isn't a kernel fix. It's a workaround to rfs that doesn't alter the kernel, or your SD card
[Captivate Android Development] tbrouwer:
Is there any undo procedure for this if we so decide?
[Captivate Android Development] Mattwp103:
amazing did this fix and the 1.2ghz kernal. Now hitting 2500 quadrant scores!
[Captivate Android Development] ctalbot:
yes, the zip includes a seperate batch file to undo the changes.
[Captivate Android Development] golemaw:
I am on the "stock" ROM that came with the phone (with all the AT&T Stuff)

My quadrant score went from 890s -> 2190s..

Quandrant ran very quick. (Most notable the I/O pieces)

The phone feels much faster. I ran through Dolphin, facebook, some load-heavy games (Assassin's Creed, HoS) and they load much faster. Overall it looks like it works well.

I can't compare to any of the other lag fixes since I never applied them.

I will update if I notice anything unusual... :eek:
[Captivate Android Development] rob989_69:
I understand that. I had read somewhere that ext2 was not preferable for some reason. I was wondering what the advantages/disadvantages are compaired to Nuka's kernel for example.
[Captivate Android Development] olieebur:
Just applied this fix using the JM5 i9000 ROM so I can confirm it works on JM5. Got a score of 2087 :)
[Captivate Android Development] ctalbot:
This creates a loop mounted ext2 file system on top of the Samsung rfs file system within the internal SD card. You don't need to alter your external card and redo the partition table. The advantages to ext2 is that it's not a journaled file system so there is less wear/tear on the internal SD compared to the ext3/ext4 mimocan fix.

The only downside is that it's not a journaled file system. That is, you need to be careful and not pull the battery out without gracefully shutting down the phone.
[Captivate Android Development] rajendra82:
If the RFS sucks so bad, is it possible to convert everything to a faster filesystem and get a custom kernel to be able to load it at boot? That way we don't have to deal with multiple locations for the data and will be basically really fixing the issue instead of patching over it.
[Captivate Android Development] ctalbot:
Does everything work on the captivate? (i.e. do you have the bluetooth audio problem?)
[Captivate Android Development] ctalbot:
One would think this would be a nice goal to set once CM6 is built for the Galaxy. No more rfs!
[Captivate Android Development] wingman_214:
Awsome work. I just scored 2544 in quadrant using this and the 1.2ghz kernal
[Captivate Android Development] Zilch25:
I made a rookie mistake and picked the wrong CSC when flashing to JM5... then my computer blackscreened and so did my phone... took a lot of finagling to get it back to stock, but now I've got it to JM5, I'll be tossing in the fix momentarily!
[Captivate Android Development] Smallsmx3:
anyone know how I can get this to work using a power mac? I can install the file on my phone but when I double click lagfixme.bat it doesn't run. I get asked what application to use. Please help
[Captivate Android Development] max_warheads:
With time, patience and the cooperation of Samsung to actually release all of the required code... yes. But that's a ways away at this point.

Sure.

open the .bat file in a text editor, and you will see it is essentially making adb calls:

adb push createlagfix.txt /sdcard/createlagfix.sh

adb push playlogos1 /sdcard/playlogos1

adb push userinit.sh /sdcard/userinit.sh

adb shell

$ su

# /system/bin/sh /sdcard/createlagfix.sh

# reboot
[Captivate Android Development] max_warheads:
......

condensed.
[Captivate Android Development] Tayutama:
Right time to restore Nandroid backup and test it out...

Wish me luck :D
[Captivate Android Development] Zilch25:
Moment of truth! I'll keep my fingers crossed haha