yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] Jayrod1980:
In your opinion, does the lag on wake up outweight the intermitent I/O lag the phone has on TW Launcher and opening programs and such (especially after the phone's been on awhile).

I know alot of people including CM say that task killers eat battery and aren't good for your phone, but this thing zipped alot faster when I had it killing apps on display shut off. I'd just like to see this phone get the I/O speed that matches it's other killer specs. No reason Droid X should be out performing this phone.

Samsung makes a big chunk of all memory and phone parts for alot of OEM's. You would think they would not have a bottleneck like this.

I'm guessing the larger portion of app space they partitioned for this phone has something to do with it. Maybe the Droid X uses something other than NAND for it's Dalvik, etc, or just a better implementation.
[Vibrant Android Development] zimphishmonger:
Lol, I thought I was on crack when I saw that...was thinking, "Now this isnt the ADB I remember". Glad Im not the only one w/ that issue, minor as it is
[Vibrant Android Development] zimphishmonger:
Dude, The JFD image can restore you phone to EXACTLY as you received it, like literally right out of the box (except if you deleted Avatar or the Sims). It restores all the factory partition, the kernel, the radio, the works....
[Vibrant Android Development] Jayrod1980:
Well, I know that, if I were to reflash to that image via ODIN, but I just was curious if I could with the modified kernal. Sorry for the newbie question. Been lurking these forums since before the G1 came out, but usually get the answers and things I need via searching, etc.
[Vibrant Android Development] zimphishmonger:
No worries, we all started that way. The JFD that you flash in odin will replace everything, including the kernel, back to stock. Any OTA updates will work fine, although you will usually find these OTA updates 'leaked' and 'prereleased' on the forums or twitter :D

On another note, Is there any way we can get these kernels as flashable update.zips? I dont always have a PC around, and sometimes I need to flash a kernel or restore a nandroid w/ a the stock kernel, which then needs the appropriate kernel flashed after the nandroid restore. Just wondering? I dont have much experience w/ Samsung's zImage method for kernels
[Vibrant Android Development] anomalous3:
The wakup lag isn't that frequent and doesn't bug me that much. That said, when it does bug me, it's pretty annoying.
[Vibrant Android Development] Jayrod1980:
Ok then, if that's the case, I'm going to go for it.

To answer zim's question, I believe JAC or Eugene said that it's not possible yet on another post.
[Vibrant Android Development] zimphishmonger:
thanks, didnt see that.
[Vibrant Android Development] anomalous3:
Yeah, I think someone is going to have to rewrite the flash_image and the other mtdutils and the stuff it's linked to to work on samsung devices.

http://www.netmite.com/android/mydroid/recovery/mtdutils/

Source is here, anyone want to take a crack at it? My C's pretty rusty.
[Vibrant Android Development] zimphishmonger:
Ya, hopefully someone can do that. My C is non-existent, as I started w/ BASIC, and then moved straight to Java. Having the ability to flash a kernel, or at least backup/restore a kernel w/ your nandroid images is def something I find quite useful.
[Vibrant Android Development] eugene373:
Flash image will not write to it due to it not having a boot / kernel / recovery ty[ical partition... we won't know the name until a update comes out that needs to flash the new zImage...
[Vibrant Android Development] zimphishmonger:
So when an official update comes that flashes the kernel, we should be able to duplicate the process? Or rig up a script to duplicate that process?
[Vibrant Android Development] Jayrod1980:
Ok, I finally flashed this and it works great so far. Quadrant around 1660. I saw someones earlier post though about just having data on ext and not dalvik. Anyone else try that and get smoother performance? I know almost nothing about programming, so I don't even know what to do with the script to have it move the dalvik back to NAND, etc. If that's a better solution to the lag/IO problems, then why are we putting both dalvik and data on SD?
[Vibrant Android Development] Jayrod1980:
After playing around with things... I really don't notice much of a speed increase other than the TW Launcher. When I swipe across my home screens it seems to stutter more and certain other things do the same. I'm running a SanDisk 8gb class6. It's always been pretty reliable, but I did have it in my G1 prior to this phone... so maybe it's a little spent from all the CM ROMS.

Is flashing back as easy as booting up ODIN and putting the stock rom Tar file in there and hitting start? This kernal took less than 3 mins to install and reboot.

I'm still curious about having Dalvik back on NAND too, but then again, I don't know anymore about this stuff than what I read on these threads.
[Vibrant Android Development] barmanham:
curious to know this as well
[Vibrant Android Development] sonofdays:
Sharing My Experiences

Overall, I'm happy with this kernel and the performance boost it gives. The wake-up lag is a little worrisome and I'm sure my wife will complain about it during the week (I didn't tell her that her phone would react that way after I was done with it =), but booting up seems faster and what I'm happiest about is the Android Wifi Tether application being more reliable. Before, the wifi tether would cause my phone to freeze half the time and I'd have to do a hard shutdown but now the application starts faster and more reliably. My Quadrant score hasn't changed much over all.

For some reason, on both of our phones, Odin wouldn't work the first time I tried flashing. It would freeze during the flashing, I'd have to close it and my phone would ultimately go to the Phone --communication troubles-- Computer screen, I'd have to put it back in Download Mode and then it'd take the flash. We're both using Topram 16GB Class 4 MicroSDHC from Amazon. Results from SD Card Speed Test app:

Write 8.0mbps

Read 9.0mbps

Write 8.0mbps

Read 11.0mbps

Write 8.0mbps

Read 11.0mbps

During the first test, my screen shut off and I unlocked it during the read test. Considering that the Topram card comes with a nice little microSD reader and is competitively priced, I'm happy all around, except for ADB looking weird now and a little wake-up lag.
[Vibrant Android Development] ttabbal:
ADB only "looks weird" on Windows. On a Mac or Linux it provides colors and such. Those are escape sequences for colors and cursor control. I think if you can get Windows to give you an ANSI.SYS style interpreter, it will work there too. Why that's not default in the Windows shell after all these years, I have no idea. I used ANSI.SYS in DOS 4!

I wonder if the Windows PowerShell would look better? I should try it next time I mess with a Windows box.
[Vibrant Android Development] ttabbal:
When working on init.d scripts, I keep getting stuff like this, then of course my scripts can't run.. WTF?!?

Yes, I checked, the file is there and it does have correct permissions.

I//system/xbin/busybox( 2193): sysctl: /etc/sysctl.conf: No such file or directory
I//system/xbin/busybox( 2193): run-parts: can't execute '/system/etc/init.d/07dc2ext': No such file or directory
I/logwrapper( 2193): /system/xbin/busybox terminated by exit(1)
[Vibrant Android Development] zimphishmonger:
Is there supposed to be a a2sd and a dc2sd file in my init.d folder? I noticed both were in there. Are they doing the same thing?
[Vibrant Android Development] ttabbal:
You've done something wrong if you have them both. They likely conflict with each other. My ZIPs make an effort to delete the other one when they install, but I suppose it's possible that you have one stuck in there somehow. Delete it from recovery/adb shell.
[Vibrant Android Development] PowSniffer0110:
Is the screen lag still here?
[Vibrant Android Development] anomalous3:
cool, hadn't tried it in linux, still looked weird in cygwin but shouldn't be too hard to get it to behave.
[Vibrant Android Development] justanothercrowd:
Still here on ALL captivate/Vibrant custom kernels. We have a team of folks working on it and have contacted Samsung.

About putting clockwork in instead of stock recovery like v1...I like the idea...but i dont as you dont give people the choice of recovery..but since there is only one available right now..hmmm.
[Vibrant Android Development] trusteelfan:
I think its touch wiz that has the screen lag. I installed ADW and the screen is much better. I dont really have any lag at all.
[Vibrant Android Development] eugene373:
Thanks for the OC kernel Jac... I need to flash froyo again to get the correct parts for you....

Thanks again,

~Eugene

p,s.

+1 for clockwork recovery
[Vibrant Android Development] t1h5ta3:
+ 1 for clockwork....

And tks

post via xda app
[Vibrant Android Development] Jayrod1980:
Twice now when rebooting I've gotten the broken SD Card notice after flashing this Kernal. Also, XDA app stopped working. I'm wondering if I should just flash back to stop. In the future, is there anything that will fix the broken SD Card notice? It seems to be working fine otherwise and only has done that after formatting and partitioning with 1GB of EXT4. I used GParted CD to partition it, as I always do, and don't usually have this problem.
[Vibrant Android Development] aenima4six2:
JAC this kernel rocks! I'm hitting consistent 10.1's in Linpack and 2500+ in Quadrant. Keep up the great work :)
[Vibrant Android Development] allareconnected:
Eugene, does this work on your 2.1 eclair rom from 8/8??? Thanks!
[Vibrant Android Development] neasoon:
You can get rid of these ascii-control sequence by adding the option --color=never to ls.
[Vibrant Android Development] eugene373:
yes :D Though, I'm getting random freezes... ?
[Vibrant Android Development] MINUS Stl:
Same here. Random freezes, but not running Eugene's rom.
[Vibrant Android Development] byt3b0mb:
I noticed that the screen wake lag doesn't happen if a program is running for example if the music app is open the screen wakes up normally
[Vibrant Android Development] anomalous3:
yeah, it only lags if it's been asleep for a while I've found.
[Vibrant Android Development] justanothercrowd:
This is good feedback. Not all CPU dies are created equal so we need to find the lowest working voltage that will be stable for almost 100% of the CPU's out there. I'm working on that with some folks right now actually.

I didnt have any lockups besides in setCPU but I threw up a Beta warning and will continue to update as we get the values adjusted.

The only changes in this kernel from the last are the OC changes.
[Vibrant Android Development] eugene373:
I understand 100% seem's my Vibrant is stricken with bad part though :( lol, oh well... Let me know if you need tester, I have time to flash and use my Phone, but fitting in dev. time isn't likely...

~Eugene
[Vibrant Android Development] frank707:
are you using jac's vibinit.d or another lag fix?
[Vibrant Android Development] MINUS Stl:
JAC. Definitely appreciate all your hard work and know we'll see a (very near) perfect oc'd kernel when it's ready. I'm always up for testing. :D
[Vibrant Android Development] aenima4six2:
I'm using the new virtual EXT method on JACs kernel OCd @ 1200mhz.
[Vibrant Android Development] zimphishmonger:
The question would be WHICH virtual ext method, and using EXT2 or EXT4 :D
[Vibrant Android Development] kaizasoshi:
Appreciate all your hard work JAC!!! but what happend to the good ol' 1 flash .zip days...miss those 1 flashes :(
[Vibrant Android Development] ttabbal:
Hey, JAC....

Any shot we can mod the ramdisk init.rc and lose the @#$@#$%@#$ RFS? It's pissing me right the F off. A proper ext3/4 format on there would be much preferred. And we could skip all this loopback filesystem nonsense. :)

If you have a git repo I can clone, I'd be happy to try it myself. I've got a linux box here I can run kernel builds on.

Or does the bootloader prevent us from messing around at this level? I have no idea what things are like at that level.
[Vibrant Android Development] 18.4009:
how can I go about moving the data folder off the sd card and back to internal storage?
[Vibrant Android Development] zimphishmonger:
You can try one of the revert scripts here: http://xdaforums.com/showthread.php?p=7590626#post7590626

JAC, playing w/ the OC kernel, Fairly stable although Ive had two freezes, one while in SetCPU. Def OC related, prob voltages. figured id pass on feedback

Edit: Make that 3 freezes. Gonna revert until you can tinker w/ it. What's strange is that there is no wake lag when I'm plugged in via usb. Unplug and it lags....no clue here.
[Vibrant Android Development] aenima4six2:
To my knowledge RyanZA's virtual EXT lag fix only comes in an EXT2 flavor. You can use EXT2/3/4 on JAC's A2SD method. As for which one, I'm using anomalous3's method, and I was under the impression that it was the only RyanZA variant currently working with JAC's new OC'd kernel.

Please feel free to educate me if I am wrong, as I would prefer the stability of an EXT4 partition via RyanZA's patch.
[Vibrant Android Development] aenima4six2:
Are you using the OC'd kernel in combination w/ SetCPU ?
[Vibrant Android Development] zimphishmonger:
I am. I just recently installed SetCPU, as the kernel seems to clock itself on its own without issue
[Vibrant Android Development] aenima4six2:
Yeah I had it on there too but the processor seems to ramp up the same without it. .. I pulled it off for the time being since it was not providing any benefit (that is unless you use a lot of profiles).
[Vibrant Android Development] eugene373:
The lag is likely due to CPU speed being to slow while sleeping.
[Vibrant Android Development] zimphishmonger:
Would you recommend using setcpu to set a higher idle clock speed? If so, what speed? It is normally 100-1000mhz, correct?

Thanks
[Vibrant Android Development] aenima4six2:
Yeah, its @ 100mhz during sleep/idle.. that's pretty low. When I had set CPU installed I had it @ 200 min. 400 would be ideal IMO but I was testing battery drain w/ different setups.
[Vibrant Android Development] zimphishmonger:
On another note, has anyone been successful with installed SuperUser v3. I keep getting an error about syslinking /system/xbin and /bin/su, although it seems to copy the file as SU no longer works after the failed install.
[Vibrant Android Development] allareconnected:
Wake lag fixed with setcpu sleep profile set at 8007

I am using your 2.1 rom with the stock kernal here from jac. I did notice a bit of a lag when phone sleeps for more than a few minutes. I installed setcpu which is working great! Most importantly the lag goes away entirely when I set a profile up while the phone sleeps to not go below 800! ;-) I will of course decrease the sleep profile till I get the perfect balance of battery and no lag!
[Vibrant Android Development] zimphishmonger:
Idling at 800mhz will KILL your battery, id be interested to see how quickly it runs out of power idling at 800
[Vibrant Android Development] davbran:
can someone mirror the OC'd kernel until jac fixes the OP?
[Vibrant Android Development] allareconnected:
Ok, dumb idea....battery drain is insane and sleep-screen lag is back :-( sorry for getting any hopes up!
[Vibrant Android Development] zimphishmonger:
Its still on his site, just the link isn't provided. Lil hint. It is still unstable, and has random freezes, so I would wait, but if you insist.......
[Vibrant Android Development] anomalous3:
I discovered ansicon at http://adoxa.110mb.com/ansicon/index.html

So now the escape sequences render into pretty colors and if we can get nano working it'll actually work right.
[Vibrant Android Development] davbran:
thanks for the advice there ... I'll stick with stock speeds, I never really worry about overclocking these anyway to be honest. It's the undervolt I look for more than anything.
[Vibrant Android Development] zimphishmonger:
Im sure thats in the works as well, thats sorta goes along w/ OCing and testing for stability
[Vibrant Android Development] The_Chrome_Coyote:
Having an interesting problem, I cant seem to update Busybox since I installed this kernel.

Before flashing the kernel, I used Busybox updater from the market to upgrade to 16.02 but now that I try to do the same to update to 18.xx It says it cant install the update.

I am not near my comp, so I cant dump the logs, but just wondering if anyone else has had this issue?
[Vibrant Android Development] davbran:
if you're getting the error that busybox is in two locations, I had the same error. I deleted busy box from both locations. It seems that the root zip has it in /system/xbin and busybox installed it to /system/bin
[Vibrant Android Development] ttabbal:
I've got one in /sbin that can't be removed it seems. I think the ramdisk holds that directory. I was able to remove it by remounting / as rw, but I suspect it will be back on reboot. That does allow the busybox installer to complete though, so that's something. I then had to copy the /sbin/busybox to /system/bin to make sure it's available on reboot. :)
[Vibrant Android Development] zimphishmonger:
Something strange I noticed. I was using the OC kernel for a few days, but had a few issues: the occasional soft reboot and a weird glitch where the phone would just turn off. Anyways, I did have some wake lag while using the OC kernel, about 2-3 seconds before screen would respond

Flashed back JAC's v6 kernel, and the wake lag is gone, screen turns on instantly. No Idea why.... :confused:

it also seems to disappear when the phone is plgged into USB, another strange quirk.
[Vibrant Android Development] PowSniffer0110:
I was just looking around at the i9000 forums and it looks like mimocan fixed the wake lag in the [ROM XWJM5] SamSet 1.9c |FIXED KERNEL A2SD FIXLAG THEMED| |OPTIMIZED| [10/08/10] anyone checking this out? Thought I'd ask.
[Vibrant Android Development] justanothercrowd:
v7 is up.

BB not being able to install through Stericsons app is fixed as well as adb for those without ansi.sys support.

Ondemand governer and deadline are default now as well.

We have been in touch with mimican but he hasnt responded on the wake lag issue.
[Vibrant Android Development] zimphishmonger:
Something incredibly strange. I was using your OCed kernel, the Virtual EXT2 loopback "lag fix" and I had 2-3 second wake lag, but I flashed back to v6 of your kernel, converted to a virtual EXT4 partition, and no wake lag at all. Its ridiculous, actually...screen comes on instantly.

Gonna flash v7, and see how things are w/ the new CPU governer. Thanks!
[Vibrant Android Development] The_Chrome_Coyote:
file says v6 when I go to download it
[Vibrant Android Development] zimphishmonger:
Just copy the link, paste, and modify the 6 to 7, that easy :cool:
[Vibrant Android Development] The_Chrome_Coyote:
Okay, Mine hung at busybox, not being able to find it at /system/xbin/busybox

Not sure where the newest busybox updater put it, but maybe make sure the Kernel looks for busybox in all three locations instead of just one.

EDIT:

Okay, got it. Had to flash stock kernel for a minute to reinstall busybox in /system/xbin

If you deleted all the other versions of busybox to install the latest through the updater, just remember to reinstall it back to /system/xbin before flashing kernel v7 :)
[Vibrant Android Development] eugene373:
have a link to the latest OC kernel?
[Vibrant Android Development] zimphishmonger:
Its not the latest, its the only OC kernel JAC put together. It has a few quirks, the occasional lockup, but works fairly well otherwise.

Download Link

FOR EVERYONE ELSE, JAC removed this kernel from the OP, most likely for a specific reason (I think because of the minor stability issues). Should you choose to use it, You are doing so at your own risk, and wont complain if strange things happen because of it (like your phone randomly turning off, soft reboots, freezes, etc). :cool:
[Vibrant Android Development] justanothercrowd:
Threw up another governer/scheduler setup

Also a basic OC kernel with deadline that replaces 1Ghz with 1.2Ghz (This should be more stable than the previous version) Linpack gave me 9.5 first run on the OC Kernel.

The extra freq steps have been stumping quite a few of us as if there is a hardware limitation. but we arent done yet.

I've got an image with clockwork working minus one small issue. I'll get that option up as soon as i can for those that want clockwork instead of the stock recovery.

Enjoy!
[Vibrant Android Development] slcikx:
Can I flash v8 over RyanZA's lag fix?
[Vibrant Android Development] zimphishmonger:
You are the man! Thanks a lot! My phone is on fire, and I love it :D
[Vibrant Android Development] slcikx:
Do you have RyanZA's lagfix running with JAC's kernal?
[Vibrant Android Development] The_Chrome_Coyote:
wait, is the OC kernel v8 base?
[Vibrant Android Development] zimphishmonger:
I have a modified version of that hack which uses EXT4, and yes you can use it. The kernel will still run the scripts correctly, as they are still in the exact same place. Just dont flash the cache and dalvik update.zip, just flash the kernel. This is assuming you are already running on JAC's kernel
[Vibrant Android Development] zimphishmonger:
Not good, had a freeze right after it settled down in Android using the OC1 kernel. possibly not enough voltage for this clockspeed? I don't know much about the CPU in regards to voltage and steppings.

Will see if it continues.

EDIT: Holy sh*t! Immediately upon boot-up major display corruption and a freeze. the image froze, distorted slightly, and turned yellow. Somethings up........

EDIT2: Redownloaded, reflashed to try and reproduce and it did exactly the same thing. Seems its stable for some, not stable for others, and I'm the latter :(.
[Vibrant Android Development] The_Chrome_Coyote:
So, run the undo script to remove Apps/Data from SD and then run the RyanZA .apk and flash the new kernel?
[Vibrant Android Development] zimphishmonger:
No ,just flash the kernel, but dont use the OCed. see my previous post
[Vibrant Android Development] The_Chrome_Coyote:
wow... 2100 in Quadrant with the OC kernel without RyanZA mod
[Vibrant Android Development] ludachez:
is there a fix for the wake lag? it takes a couple seconds for my phone to turn back on when i hit the unlock button and i heard on androidspin its happening to other people. it seems everything else is working fine, as my phone is flying when its awake and im running at 1.2ghz and average 1800 quadrant and 10.5 linpack. thanks
[Vibrant Android Development] zimphishmonger:
DId you undo the RZAmod, because if you didn't, its still in effect.
[Vibrant Android Development] justanothercrowd:
I'll post some OC kernels with sightly higher voltages. Some people have OC'd to 1.5 already in testing but had to up the voltage. Come CPU's will be able to overclock more than others keep that in mind.

The current OC kernel is running stock voltage. I'lll get some revisions with voltage amounts indcated to see if we can get something stable for those that cant run 1.2 at stock.

Mine passes the setCPU stress test at stock voltage and 1.3 so i got lucky maybe with my CPU. They should be up by tomorrow
[Vibrant Android Development] slcikx:
ok so if I flash JAC's kernel the none OC'd would it be safe over RZA's mod? Im currently on the stock kernel
[Vibrant Android Development] justanothercrowd:
Yes v7 and v8 and oc1 all have the same ramdisk and shouldnt have issues with replacing BB etc.
[Vibrant Android Development] justanothercrowd:
Yes the stock clocked kernels work fine with the looped ext2 fix. OC's do to but it just depends if your CPU can handle 1.2 at stock voltage. Not everyones can it appears. Some can go to 1.5.

With the OC kernel i was getting 2500-2900 with that hack in quadrant.
[Vibrant Android Development] slcikx:
iight imma give it a try.