yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] Zilch25:
To the folks still having force closes- if you have root explorer navigate to the /system/app folder and click the sl4a_r0.apk file, tell it to install and run the lagfix again.

SL4A has been really moody installing via update.zip method lately- not really sure why though =P

(Estrongs or Astro might also work for this, but I haven't personally tried it)
[Captivate Android Development] bowtieguy:
Mine was just doing that too.. I ran SU from a command shell in adb and then sl4a worked fine.

Connect phone in debug mode

adb shell

su

---- look for prompt on phone, then accept ----

then try running sl4a on phone again
[Captivate Android Development] :
should I try and flash the unhelpfuls kernel again by renaming to update and flashing it since my phone is running like a little girl at 500 megs max with no way to crank it up
[Captivate Android Development] ponack:
Well, I got a direct download mirror if anyone's interested.

http://www.ponack.net/downloads/SREv1.2.zip
[Captivate Android Development] GuitsBoy:
Just opened SetCPU myself and found the same thing. opened it a second time and it locked me at 100 min 100 max. After that, my phone was almost as slow as it was when i first got it! Had to reboot and everything is snappy again. Not sure if its running 1200 or just 1000, but a good bit better than 100!

How are you guys verifying that the overclock is in effect?
[Captivate Android Development] Smallsmx3:
it seems that sl4a only ran when i had launcher pro as my launcher. I restored my apps with Ti (not data) when in touchwhiz still it wouldnt run (FC). after i hit the home key to launch Launcher pro and went back into sl4a it ran without a prob. worked. when i first started using the lagfix i didnt realize what an improvement it made until i tried using without one
[Captivate Android Development] GuitsBoy:
After SetCPU severely limited my clockspeed, A simple reboot brought the phone back to its normal self.
[Captivate Android Development] Zilch25:
This ROM should enable the OC via a script, so there's no need to use SetCPU (Hell it might even interfere).

If you want to test to see if it's working download linpack and if you score in the 9.4-9.6 (Stock is in the 8.5ish range) range congratulations :D

If not... well maybe there's something wrong
[Captivate Android Development] Zilch25:
Nope, it comes directly from the original lagfix with name intact... if it's not there at all SL4A shouldn't run at all :o
[Captivate Android Development] Jaycdenton:
If linpack is giving me a 8.1 is it safe to manually apply the OC?
[Captivate Android Development] Zilch25:
I'd say so, I can't imagine why it would hurt anything
[Captivate Android Development] Inhoc07:
Very strange.. I have the SL4A icon on my phone.. and when I click on it.. it brings me to all the options..

Check Space

Remove Fix

Install SL4

etc
[Captivate Android Development] Jaycdenton:
If the kernal is already in SRE how would I go about enabling the OC?
[Captivate Android Development] Zilch25:
Yeah it shows up in the list and it *is* technically installed, but for some reason some of the lib files needed don't always install right and usually finding the apk and manually installing fixes this.

Try copying the apk over to your /system/app folder and clicking it to manually install (I've attached it to my post)
[Captivate Android Development] Zilch25:
The kernel enables the use of a folder called init.d, and SRE uses a script named E_overclock1.2 to set the extra clock-step on bootup- so if that file is there it *should* be activating

(The script should be located in /system/etc/init.d)
[Captivate Android Development] Jaycdenton:
K, now I just need to figure out why Droid Explorer keeps crashing when trying to open my device. Thanks for your help :).
[Captivate Android Development] DarkVasyaK:
do I have to flash JH3 firstly and then install SRE ?
[Captivate Android Development] Zilch25:
Now that one I can't answer :)

But glad I could help! If that file *does* exist and the OC still isn't taking it could be a permissions issue with the script file (it has to have execute permissions) but that really shouldn't be the case
[Captivate Android Development] Zilch25:
Yup, flash it up to JH3 and then follow the instructions in the OP and you should be fine
[Captivate Android Development] Jaycdenton:
I'm thinking it might be an issue with busybox, is 1.18 ok to install now?
[Captivate Android Development] joeybear23:
Giving it a shot now...
[Captivate Android Development] :
ya im getting anywhere from 7.8 to 8.1 with linpack, im gonna redl the update and try to reflash it after a fresh reboot to jh3. Im pretty much in love with re setting up my widgets:(
[Captivate Android Development] designgears:
@Zilch25

@Tayutama

Hey guys, thanks for answering questions while I was away!

-----

I am going to do some more testing, I have flashed stock 5 times and applied the current SRE with no issues.

SL4A might be getting dumped for gscript, not as simple to use, but at least it won't FC.

If anyone knows of any other alternatives to SL4A or gscript, let me know!
[Captivate Android Development] Zilch25:
Sure thing :) Also it appears Unhelpful updated the kernel again- the man is stealthy like a ninja
[Captivate Android Development] ranova:
Very awesome job on getting no-odin-needed kernel updates working!

Now my suggestion, pack MobileAP and USB tethering in a separate package with the new no-odin method, and reopen your old thread (or I can re-open mine) and post it there. I can help with troubleshooting and questions regarding mobileAP.

Also, can you make a stock kernel no-odin update.zip also? :D

Thanks design!
[Captivate Android Development] A.VOID:
flashed jh3 + sre1.1 last night.

I can't receive iphone pics today for some reason. Other mms come through, but pix taken on iphones aren't coming in.:confused:
[Captivate Android Development] madjsp:
Since it didn't install the sl4a on my phone, I put in his lag fix manually. Applied it and waited 5 minutes. it reboot and my quadrant scores still sucked.

So, I went to remove the lag fix, and it immediately reset, and now it cleared my user data in my rom, and i am in a loop of FCs with the browser and calendar. Why would trying to remove a lag fix do that? Corrupt data?
[Captivate Android Development] designgears:
Oh I know :)

I am on it, and redoing stuff, again...

This time it will flash the entire freakin JH3 rom since people are still flashing on JF6 and wondering why it wont work :p
[Captivate Android Development] Tayutama:
If the lagfix didn't complete and you run the remove fix then you remove data that haven't been moved yet which ends up giving you force close...

Think i need to add some checks there..
[Captivate Android Development] Zilch25:
This is getting dangerously close to a full on custom firmware haha
[Captivate Android Development] Tayutama:
saw your little work around getting stuff into /data/app in your updater-script... i think i got around that using update-script instead.

Also this was included in SamSet:

# Remove data from android ase to correct force close

rm -rf /data/app/com.googlecode.android_scripting

though i would guess it needs to be /data/data instead of /data/app
[Captivate Android Development] techmik67:
Side note...... tried to copy an apk to the system/app folder using LINDA and it said the folder is read only. Do I HAVE to pay for Root Explorer?
[Captivate Android Development] designgears:
lol! Ya, I know, just need to be able to mod the RFS file and have them flash correctly... haven't figured that one out yet.

Mr Unhelpful gave me the idea for what I am doing now, well, later today, I have work to do at work today... lol
[Captivate Android Development] designgears:
just copy sl4a to your sdcard, open it with myfiles.
[Captivate Android Development] Zilch25:
Hey who knows, if supercurio comes through with that complete EXT4 reformat of the entire NAND area things might get really interesting :D
[Captivate Android Development] :
So I just reflashed jh3 and ran the ext4 lag fix after flashing sre1.2 again(redl the file) and my linpack score is still 7.8?? what gives? I reinstalled setcpu and it wasnt overclocked. I ran linpack again with it overclocked and got 9.6. Running at 1gig I go back down to 8.0. Is this right?
[Captivate Android Development] designgears:
that would be awesome!

right now I have this flashing the entire rom from the update-script, working on putting the lagfix in so there is no install, its just there after you reboot :)
[Captivate Android Development] Zilch25:
To me this sounds like the E_overclock1.2 file isn't set with execute permissions. You think that's possible DG?
[Captivate Android Development] designgears:
heh, ya, overclock is actually disabled, just realizing this... sorry guys :(

I have taken the links down, they will be back today or tomorrow with some amazing new hotness!
[Captivate Android Development] Zilch25:
Well jeez THEN what are we going to spend our hours troubleshooting? :D
[Captivate Android Development] :
laundry:D

10 char
[Captivate Android Development] Tayutama:
This is pretty much what i already told you i could do Zilch... :)
[Captivate Android Development] daraj:
does it include Unhelpful's new 1.2 kernel?
[Captivate Android Development] Zilch25:
I know haha, but if you guys both get this running without problems I'm going to be relegated to answering questions about reflashing phones! Woe is me... maybe I should start learning how to dev something of my own :o
[Captivate Android Development] Crizthakidd:
noob q. where is the mobileap or what is it and is usb tethering simply it can broadcast a signal while connected to a usb port?

btw so glad i went from jh2 to this plus fixes. god my phone never ran so obnoxiously fast ^_^ no lag. load screens? wtf is that
[Captivate Android Development] designgears:
Do you guys know if this is the same on our phones? I would assume it is. This info is based on XXJF5 stock 2.1#1
[Captivate Android Development] Tayutama:
Wouldn't the sizes depend on the PIT file though?
[Captivate Android Development] designgears:
Oh, sorry, I just mean the layout, like bml7 = zImage, etc...

bml7 and bml12 are accurate :)

nvm, dumb question, I have flashed the entire firmware to those spots and it boots.. duh duh duh
[Captivate Android Development] madjsp:
Glad my stupidity will help the cause! haha.
[Captivate Android Development] Zilch25:
No sacrifice is truly in vain- your apps will be welcomed into the halls of Valhalla!
[Captivate Android Development] jhego:
I'm not sure if this has been resolved already but SL4A has been doing a "force close" since SRE 1.1. I thought 1.2 would fix this but it still crashes. Any way to resolve this? Thanks.

Update*

Ok that was weird, I tried running it and it started working again.
[Captivate Android Development] madjsp:
After my last 24 hours, I am not changing my rom. I don't need the new lag fix at the cost of my hair, which i don't have much of anymore! I hope eventually something completely error free comes out (that's like waiting for 0 emission gasoline, right?) that wont cause a noob like me almost throw my phone through the television.

I feel so special.
[Captivate Android Development] AudiTuner:
Hey designgears. One more small bug I've found. I posted earlier that after receiving a text message early one morning my screen stayed on and drained the battery a little bit. Well, I think it might not be from the text message but actually from doing a nightly backup of my apps using Titanium backup. I guess it lights up the screen with some kind of notification when it finishes but the screen doesn't dim or turn back off.

I'm not sure if the bug is on your end of his though, but just a friendly heads up.
[Captivate Android Development] TheTodFather:
off the subject

Gears is there a way we can have our contacts actually sync with gmail? All other androids phone besides the galaxy s can do this.

One huge reason why the galaxy pisses me off.
[Captivate Android Development] Kaik541:
ahahaha what? I'm thoroughly confused by this because our contacts most certainly sync with gmail IF YOU TELL THEM TO.

Under settings-->accounts and sync--->"google account"--->check sync contacts

when you add a contact though, you have to be sure to add them to your GOOGLE ACCOUNT and not your phone
[Captivate Android Development] designgears:
umm, it can do that... I sync mine like 2983239482 times a day with all this flash testing :P
[Captivate Android Development] Kaik541:
Do you think you could possibly release a version WITHOUT the lagfix? Personally, I experience minimal-to-no slowdown and I'd rather not risk the potential (proven or unproven) thrashing to the (as-of-right-now) unable to be replaced internal SD card
[Captivate Android Development] designgears:
Just dont apply the lag fix ;)
[Captivate Android Development] Kaik541:
Hell I'm still on 1.1a because I don't want to jump over to JH3 (apparently the GPS is even more bugged in that build) and haven't performed a lagfix since JH2 came out. The way you were making it sound like future releases would incorporate the lagfix automatically, glad to hear it'll still be optional
[Captivate Android Development] A.VOID:
are the at&t market restrictions off with this?

I can't find pdanet in the marketplace.
[Captivate Android Development] max_warheads:
Did you run MarketAccess? (ought to work)

Did you switch to airplane mode then enable wifi, and try it that way (no restrictions)?
[Captivate Android Development] A.VOID:
d'oh ... i missed that installed app. I figured it just changed the flag to allow access. So is T-mobile the one we want?
[Captivate Android Development] techmik67:
I have NOT upgraded since Odin was integrated, so I am still running JH3 SRE1.1a with lagfix_4 enabled. 1900 benchmark.

When I installed this update, I was able to install previously saved apks (that used to not install with an error msg about non market apps not allowed). I have not gotten that error again. I see how to change market providers, but I'm fuzzy on how to use it. I usually just go to appbrain and either barcode scan or appbrain direct from the phone.....
[Captivate Android Development] designgears:
you do realize mobileAP and usb tethering are built in...
[Captivate Android Development] TheTodFather:
where is the link?

I can only see the removed apps link.
[Captivate Android Development] techmik67:
I am greatly looking forward to trying the next link upload. Now that I know this works to come back to, I'll just run Titanium, give it a shot, and worse comes to worse come back to where I am now using the 1.1a that I saved when I installed this, right? =)
[Captivate Android Development] darkfalz:
Reading the first post does wonders :-)
[Captivate Android Development] designgears:
ditto, its mostly just the lagfix giving issues, I might just rip it out for now and let you guys go apply whatever you want and yell at those guys in their threads :P
[Captivate Android Development] TheTodFather:
Thanks man! You know when you open the fridge and cant find the milk but it sitting right in front of your face and your looking behind it, below it , around it. Well...Now that you said it was right there i saw it. LOL! I guess i was looking for a highlighted link. I dunno...

I did grab a link from the guy on page 89 or 90 perhaps i could use that one?
[Captivate Android Development] Zilch25:
If you do that I'll even install SRE and apply the fixes myself- just so I can be prepared for the slew of potential issues :D
[Captivate Android Development] stoicism:
interesting...

originally had SRE v1.2 on my Stock JF6 - Quadrant scores of 2200

just updated to Stock JH3 and back to SRE v1.2 - Quadrant scores 1700

both with lag fix of course...
[Captivate Android Development] Zilch25:
From those numbers it appears you went from EXT2 to EXT4
[Captivate Android Development] stoicism:
oops, ha! Yuppers

Just removed lag, reloaded EXT2 and scores are again over 2200.

I haven't noticed much change in stability between the two, what exactly is the difference. I've read that one is slightly faster (2), while the other more stable (4), howso?
[Captivate Android Development] A.VOID:
Right, but i was running an update on existing apps and got the "not found" in the marketplace. The marketaccess fixed it
[Captivate Android Development] Zilch25:
EXT4 journals as it does disk operations so that in situations where you lose power you don't actually end up losing data or corrupting anything, but those extra journaling operations slow down overall speed. EXT2 has no journaling at all, it just writes the data and moves on- so in theory if you were to rip your battery out while the phone was functioning you could be looking at a corrupted file system, but the time saved from not journaling makes EXT2 a bit faster.

Real world impact though? I haven't seen one iota of difference between EXT2 and EXT4 on these handsets in terms of noticeable speed- the numbers in Quadrant sure are pretty though :)
[Captivate Android Development] Kaik541:
exactly this. and, to be honest, I stopped tracking the lagfixes after flashing JH2. I know at least one of them creates a virtual extX filesystem on the sd card, and because of how our phones handle unmounting (they do it poorly) everytime you shut down the phone, it's equivalent to just ripping out the battery which means it can mess with the sd card regardless of how careful you are.
[Captivate Android Development] Zilch25:
This is also true, when you shut your phone down it doesn't bother to do a "clean dismount" so there's a possibility of EXT2 screwing up. There haven't been any confirmed reports of that happening in the wild though, and newer versions of the lag fixes implement a periodic integrity check of the EXT2 file to repair corruption.

There's also the theory that because the EXT2 file is built on top of a journaled file system (RFS) that it would adopt the fault tolerance of it's parent file system- I don't know if I buy into that though- seems likely to cause more harm than good
[Captivate Android Development] Bowsa2511:
I need to flash to JH3 now -.- ?
[Captivate Android Development] daraj:
can I flash the 1.2.1 over the older SRE?
[Captivate Android Development] mindspan:
Update.zip

Hey designgears

where can i download this update.zip so i can try in to JH3 Firmware

I don't see a download link.
[Captivate Android Development] designgears:
what he said!! ;)
[Captivate Android Development] TheTodFather:
It gets a little complicated but to make it short

I say go with ext 2 (non journaled) if you are like me and are flashing new ROMS then you wont have any problem on your phone(just shut down properly). Ext 2 can become corrupted after time(i have use it on my ubuntu netbook cause i have to save space 4 gb sd card). So if your not flashing your phone every week then and are content with your phone go for the ext 4. I guarantee you will be flashing the **** out of yours so...
[Captivate Android Development] Kaik541:
yeah I read someone saying about RFS's journaling handling EXT2 for us, but that sounds like some voodoo magic the phone and filesystem was never really expecting (though who knows?). And those file checks only stay in place with busybox 1.17.1 I believe, though I don't know why anyone would upgrade it since the new one is borked. I'd like to say they're safe and every precaution is being taken to make sure if something does go awry, it attempts to fix itself, but it's hard to say for a fact. especially considering that a report of this happening in the wild would essentially equate to a near-unusable phone.

I just feel like IF there is a problem, it wouldn't be noticeable until the NAND and SD are so thoroughly trashed that we wind up in an unrecoverable place. So, until I have 100% proof that there are no long-term consequences, I'm happy with my 970 quadrant score with 1.2 GHz OC (ironic that I don't mind overclocking which has the potential to be just as dangerous, but we're on stock voltage I believe so that seems like a VERY long term consequence)
[Captivate Android Development] Zilch25:
The checks will work outside of busybox 1.17.1, the newer fixes unpack their own tools for all disk operations so it isn't reliant on the busybox version the user has installed. EXT2 corruption problems will just require you to reflash or renandroid.

I've heard the arguments for whether or not the EXT files cause undue strain on the internal NAND too. I can see *some* argument for EXT4 since it does add an extra process to disk usage in the form of journaling, but the old concern of it causing bad blocks due to writing the same memory space repeatedly is a myth. Newer memory like the ones we have here have their own wear leveling that makes sure the reading and writing is evenly distributed instead of abusing the same block. EXT2 I can't see botching anything up at all though- atime is disabled so it isn't compulsively timestamping everything it does.

One thing you can't lose sight of though- even if you aren't using an Loop hack you're STILL using your internal NAND for day to day operation. There really hasn't been any compelling evidence to suggest that EXT2 could shorten memory lifespan, and the arguments for EXT4 are speculative at best.

At the end of the day though it's your device, set it up how you feel safe and roll with it :D
[Captivate Android Development] TheTodFather:
Perhaps some of us would update and apply lag fix because either we have BALLS or if you are right we are dummies :D. Seriously doubt we are going to trash our nand though. LIke i said i ran ext 2 on my netbook for 2 years and she still is golden. I did do a fdisk once or twice. I dont see how it could make your phone useless...ok now after zilch wrote that hmmm interesting...well i do have insurance, and that my boy makes my testicle size much bigger then if i didnt. So i might be like you if I didn't, more cautious.

Speaking of being an idiot...i showed my friends how I clean my screen with a screw that I abusively scratch on the glass for about 10 secs. Then wipe of with a cloth to show them this glass cannot scratch.!!!!
[Captivate Android Development] techmik67:
Ok. Gonna wait for new link and test it out. This is fun.....
[Captivate Android Development] mindspan:
Download:

working out issues, links will be back later today or tomorrow.

I did read so it means I would have to wait.

thanks for your response.
[Captivate Android Development] Zilch25:
Well in the defense of the detractors, a netbook running linux will do a clean dismount when you shut down ;)
[Captivate Android Development] Kaik541:
Like I said, I stopped following the lagfixes because, to me personally, they provided no necessary boost like they did on JF6. You make a compelling point that is just proof on how out of date I am on what they've been doing with the lagfixes, and I'm still just a strong believer of not messing with internal NAND for day to day usage (but hey, that's just me).

I never said it took courage to apply or lack of courage not to apply, my point was that while the 2k+ scores in quadrant look nice, I personally felt no massive improvement over regular JH2, and that's just my interpretation. But to counter your netbook comment, the way your ext2 system sits on your SSD (I'm assuming SSD, some netbooks like mine ship with HDDs) is very different than how it sits inside our phones which is the discussion at hand. It'd be like storing all your data in RAM (like a liveCD does), the effects of which are worrisome at best when things like power-outages occur... but NAND is a bit more risky because it houses everything vital to our phones. if you trash your RAM, pick up a new sticks and make sure you didn't shock the motherboard... if you **** your NAND, pick up a new phone (or learn some complex hardware skills like JTAG that I can't even begin to feign knowledge of)
[Captivate Android Development] TheTodFather:
That crazy these phones dont dismount properly...i guess i need to appologize for arguing to them that it does. Dude why the hell would it not dismount cleanly? OH well...Im sure we are way off topic at this point.