yashsingh1/xdaforums huggingface dataset:
[Captivate Android Development] diakonos:
Would I simply use Odin to re-flash the Samurai kernel over the existing Boog Kernel? The Boog version I am using is KJ3 and the version is your latest thread is KK2. I'm assuming that your KK2 version is compatible with the Serenity KJ3 RC4.2 release. Using Samurai, if I wanted to re-enable Voodoo lagfix, I would simply update the options in Samurai's CWM?
[Captivate Android Development] Kyuta Syuko:
There are CWM flashable versions too, but if you want to go the odin route then yes that's all you'd have to do.

While I've not tested my kernel on anything but the stock it came with I think others have had success with using it with other, KJ3 based ROMs.

Yes all you'd have to do is boot into recovery and change the voodoo options there for ext4/voodoo lagfix.
[Captivate Android Development] Dave the Knave:
I suppose I have to now. I've given up on that script. How do you make symlinks? Never done that before.

Sent from my Captivate
[Captivate Android Development] diakonos:
Yes, that worked great using Odin to flash the kernel. I'm liking it so far and the lagfix seems to make my phone peppier.
[Captivate Android Development] Kyuta Syuko:
I believe the command would be

ln -s /dbdata/cache /cache

course make sure /dbdata/cache exists before you run that command.

Glad to hear it. I did add some tweaks from Jsmokey as well as redid the read ahead tweaks in hopes that they would make the kernel a bit snappier
[Captivate Android Development] Dave the Knave:
Would have worked great if I didn't always get the error saying "Resource busy or in use" or something like that. For now I just give up on it completely. If someone else wants to pick it up, more power to them. For tonight, I'll keep running RC3 and tomorrow after all my classes I will make another 4.2 frankenrom and await the next release with ext4 set as default.
[Captivate Android Development] Janax99:
The problem you're probably running into is that the /cache directory is already mounted to the partition. The correct way to fix this is either comment out the proper entry in /etc/fstab (not sure about Android, but Linux/Unix this would work), or just 'umount' the /cache directory like so:

# umount /cache
# ln -s /sdcard/cache /cache

Note that I've never really dived into the dir structure of Android system, but given that a Linux kernel is used, I'm confident in my approach as a long-time Linux user :).

The only reason a 'umount' wouldn't work is that some process has files open on that partition, so we'll have to either kill those processes or find the way to prevent it from mounting in the first place during boot.

Guess I'm finally getting interested enough to take a peek in the FS now for myself - so I'll post back if something I said here doesn't jive with my expectations :).
[Captivate Android Development] Dave the Knave:
That error I gave was from trying to unmount /cache. It wont budge and I'm sure to kill any tasks running. I guess one could try it while in recovery mode via the shell but I'm not so sure it would stick after rebooting into system.

Sent from my Captivate
[Captivate Android Development] Janax99:
I was able to get a 64MB /cache partition going on my copy of RC4.2 based pretty much on the script you wrote for RC3. I didn't have any of the "resource busy" issues that you've had, so I'm not quite sure what's going on there. I did modify your script just a little:

#!/system/bin/sh

# Based off of Corgar's and stratosk's work
# http://xdaforums.com/showthread.php?t=1188972
# Miztaken1312's cache increase script for Serenity ROM
# Created Nov 4th 2011

if [ ! -r /dbdata/cache.img ]; then
# This makes a 64MB file
dd if=/dev/zero of=/dbdata/cache.img bs=1024 count=65535
# This makes an ext4 filesystem
mke2fs -F -m0 -T ext4 /dbdata/cache.img
chown system:cache /dbdata/cache.img
fi

# This unmounts the old cache partition
#umount /dev/block/stl11
umount /cache

# This mounts the new cache
losetup /dev/block/loop7 /dbdata/cache.img
mount -t ext4 /dev/block/loop7 /cache

# This fixes permissions
chown system.cache /cache
chmod 770 /cache
[Captivate Android Development] Dave the Knave:
I'll give this a go and let ya know if it worked for me after I upgrade back to 4.2

Also are you using Samurai 1.2 or some other kernel? Lagfix or no lagfix?
[Captivate Android Development] ddoubt:
Gallery3D Fix updated on 2nd post! :D

anxiously waiting for KK3 to change Serenity base... can't stand KJ3 bugs anymore...
[Captivate Android Development] Janax99:
So far it's vanilla RC4.2 for me - no kernel upgrades and no lagfix. I haven't switched back to ext4 with all these "RFS only" kernels out for a while. I saw that Samurai 1.3 is out, so I may flash that and see what happens... :)
[Captivate Android Development] Dave the Knave:
That's interesting then. That means you have a complete RFS filesystem with only your cache as ext4. Well I'll give it a go and see what happens.
[Captivate Android Development] ddoubt:
hmmm... so... could not wait anymore...

KJ3 started bugging on me out of the blue... could not stand it anymore...

that said... Serenity KK2 RC5b is cooking!! :D

EDIT: it's running smooth without any tweaks so far...

EDIT 2: "apparently" the Contacts.apk FC is not there anymore...

EDIT 3: KK2 info moved to his own post...
[Captivate Android Development] ddoubt:
when you guys sort this issue out, can I include this script on Serenity as one of the default init.d scripts?
[Captivate Android Development] Janax99:
It's fine by me - as I said, I only modified the script that miztaken had posted in RC3 (that's linked to in the 2nd post)...

As a side note, the most major of the modifications I did was to make it so the loopback file is only created once instead of on each reboot. In making that change, I assumed that the cache directory is self-cleaning and doesn't need to be re-created from scratch each reboot - but then I haven't confirmed that assumption.

EDIT: Checking my assumption, I downloaded some things from the Market and saw that it does some lazy cleanup (as I suspected with a default size of 30MB), so forget about any reservations about only creating the file once.
[Captivate Android Development] ddoubt:
Ready so far:

Serenity KK2 RC5

- Based on Leaked Gingerbread 2.3.5 I897UCKK2

- Deodexed, Zipaligned, Optimized and Rooted

- Extended Power Menu

- Busybox, Sqlite3

- Samurai 1.3 Kernel (re-zipaligns system and data folders on first boot, lagfix enabled)

- UCKK2 Modem

- Stockish Theme

- Removed ATT Bloatware

- Gallery3D Black Out Bug Fix

- Updated Google Apps (Maps, Gmail, Youtube) and "Recommended-Apps" folder

- Camera - Power Button Take Pictures

- SMS + No Contact Limit + No MMS Convert + Timestamp Fix

- Hardened Against ADS (huge host file)

- Updated APN List

- Android Pulse Boot Animation

- Removed PowerOn/PowerOff Sounds

- Crt Off Animation

- Overscroll Glow

- Modded TW3 Launcher - Translucent App Drawer, Default Homescreen Changed

- GingerBread AOSP Launcher

- Changed Default Wallpaper (old one still there on TwWallpaperChooser)

- "Recommended-Apps" folder (sdcard)

- Added Basic Ringtones

- AOSP Lockscreen + Puzzle Lock (Missed MMS, Calls)

- Sideloading Enabled by Default

- Serenity Wallpapers on Wallpaper -> Wallpaper Gallery (TwWallpaperChooser)

- NO Messages in Call Logs

- Added Stay Wake Option in Development

- Added Dock Settings in Settings

- Update Software no longer in Settings

- Notification Volume Can be Linked to Incoming Call Volume

- Swype 3.25

- Circular Battery With %

- USB Debug Default, Wifi Scan Interval Changed to 120s and Other build.prop Tweaks
[Captivate Android Development] Dave the Knave:
Great, I'm excited to see what KK2 will bring us. Just finished half-setting up 4.2 today so I can test that script again.

EDIT: Well I still have no luck with the script. So I'm just going to let it be. I'll find some other way around it, or maybe Samsung will be smart and increase it in a future leak.
[Captivate Android Development] Demonic240:
Would you be able to include the hacked 2.3.5 gmail app? I believe the only difference is that it allows third party apps to ready the current un-read message count.

Here's the link: http://xdaforums.com/showthread.php?t=1199598
[Captivate Android Development] Janax99:
As I mentioned above, I'm a novice at Android modifications, but I found that when I put my script inside your CWM zip file (in place of yours) that somehow the LF->CRLF translation took place. I had to edit the file once again in ADB directly on the phone in order to take those CRs out. Once I did, that's when I had success. Not sure where the CRs came from at all - I used zip from my Linux laptop so the file never touched DOS/Windows at any point.

Not sure if that info will help you or not - you seem to know what you're doing, but just wanted to post this note in case it's something you didn't think about...

Good luck!
[Captivate Android Development] ddoubt:
I'm releasing Serenity KK2 RC5 tomorrow... the change log for this build can be found HERE

I'm gonna sleep now... good night everyone...
[Captivate Android Development] Dave the Knave:
I tried rewriting the whole thing while in Ubuntu and pushing it over via adb and still no luck. So while I'm glad you have it working, I'll manage without it for now.
[Captivate Android Development] slapperypete:
I'll add a bug report here that I've already reported to the OP - any other Rogers customers having this problem?

I'm on RC.1 ATM.

I can't send MMS on Rogers. Messages just sit in the queue 'sending', but don't go anywhere.

A potential fix is described here, but I cannot edit or discard the default APNs.
[Captivate Android Development] ddoubt:
other Rogers users don't have this problem, I've ask on the thread when you contacted me... but try the new RC5, see if it fix the problem for you!
[Captivate Android Development] ddoubt:
Serenity KK2 RC5 is up! :D

OP updated!

its running smooth and stable... better than KJ3... I also went back to EXT4, but if anyone want to stay on RFS, follow the instructions on OP!

please keep the feedbacks comming!
[Captivate Android Development] speed817:
anybody get mobileap working?
[Captivate Android Development] TonyStark R.I.P.:
I find it helpfull to always download "SGS Kernel flasher" from the market. This way you can always flash a kernel even if your computer is not available.

Put all your kernels in your sd card. I presently have 4:)
[Captivate Android Development] chazkenji:
Good job ddoubt :D

But could you please give people an option to revert to stock "Swipe glass to unlock" lockscreen? :D I still prefer that lockscreen rather than the AOSP one :)

Is the 9 toggle notification bar MOD available too? :D
[Captivate Android Development] slapperypete:
Downloading now - will do a full wipe & reinstall, and will let you know if this is resolved for me.

Thanks again!!
[Captivate Android Development] warri:
Just installed RC4.2 looks like im installing RC5 now.

ddoubt,

First thing I noticed on RC4.2 was that my LauncherPro was having problems keeping Widgets, and icons after reboot. This has been found to be caused by a tweaked libsqlite.so (and associated files, specifically the fysnc).

I'm not sure if fsync was turned back on in RC5 (possible turned off from adrenaline shot tweaks or the red nebula aggressive kernel), but i will install and report back.
[Captivate Android Development] blongs:
RC5

I was testing RC5b and am very glad to see you released RC5. My question is are there any differences between RC5b and RC5. Just wondering if I should download RC5 and install.
[Captivate Android Development] ddoubt:
SGS Kernel Flasher is in the "Recommended-Apps" folder on sdcard :)

Ok, I´ll make a revert tonight and post on Add-ons!

not yet... didn´t have the time to look at the file... I´ll include it on RC5.1 with some other things... :D
[Captivate Android Development] ChuckDaEngineer:
Great job ddoubt, I am looking forward to testing battery life and speed. (BTW don't tell Ashies7 but I am running her Pumpkin King theme on your latest KK2 RC5 with very good results so far). Keep up the good work.
[Captivate Android Development] ddoubt:
I didnt include adrenaline shot in this one... libsqlite.so is the stock one! This problem you are having should not occur on RC5! :D

Hmmm... not MANY differences... mainly tweaks... but I'd recommend installing RC5 cause the future non-wipes will be based on it... they will not work for RC5b...
[Captivate Android Development] ctechbob:
Cool, backing up and downloading now.....
[Captivate Android Development] ddoubt:
keep in mind that using KJ3 themes on KK2 roms *may* affect the performance and eventually some KJ3 bugs *may* occur...

I´m saying *may* cause I didn´t have the time to compare all the files, but the jars I´ve modded ARE different from on build to another and if the theme mods theses files then you WILL have problems... :cool:
[Captivate Android Development] ChuckDaEngineer:
Thanks, I will keep an eye on it. What about UOT kitchen? I uploaded the system and framework files for a modded theme and built a quick mini-theme in case the KJ themes melted down.

TNX
[Captivate Android Development] Dave the Knave:
If those frameworks are based off of the pre-existing KJ3 theme you had, there will be issues down the road. If you started from scratch with that mini-theme using the KK2 frameworks from his ROM, there will be no issues.

Anxiously awaiting RC5.1 ddbout to upgrade to KK2. I'm liking those toggles.
[Captivate Android Development] PabxH:
Support tv out?

Thanks!
[Captivate Android Development] ctechbob:
I assume the KJ3 9 button quickpanel is a no-go with KK2?
[Captivate Android Development] ddoubt:
probably no... haven´t tested it yet...

gimme a couple more days... :)
[Captivate Android Development] ChuckDaEngineer:
I used the new KK2 framework. I will play around with a couple of different themes and the UOT I built and report back over the next couple of days.
[Captivate Android Development] ctechbob:
Great job as usual. Back up and running and back to being smooth...
[Captivate Android Development] TonyStark R.I.P.:
It's a killer not having a data off toggle! I seldom use data and hate having to go through all the steps to turn it off. Otherwise You've done well;)
[Captivate Android Development] ctechbob:
Lol, I feel the same way about the vibrate toggle, but I'm sure KK2 versions of the 9 panel will pop up in a couple days. Although I'm almost tempted to flash the standalone KJ3 one and see just how bad things break.
[Captivate Android Development] TonyStark R.I.P.:
If you want to try it, let me know. Don't have time right now. Use Root EX and make sure to rename the original systemUI to something like systemUI1.apk. Then drop the system UI from the 9 toggle in,

Chances are very high it will not work:(
[Captivate Android Development] popfan:
I have been using the data enabler widget to take care this for now.
[Captivate Android Development] ddoubt:
so... thanks to our good friend IlluminatedOne from Illuminace ROM, I´ll be putting RC5.1 tonight!

It will include 9-toggle mod and removed battery full notifications!

:D
[Captivate Android Development] Dave the Knave:
Previous post deleted

EDIT:Forget what I said, what I was thinking about was only in the power menu on Froyo. Why hasn't someone put the data network thing in the gingerbread extended power menu?

Heck yes!
[Captivate Android Development] GuitsBoy:
Awesome work. Nice and smooth. Trying to track down a couple of FC errors, but otherwise this seems pretty solid and snappy too. Thank you!
[Captivate Android Development] TonyStark R.I.P.:
That would be great too. well it's interesting you ask that, it was in some of them- Apex, Mosaic and many of the I9000s.
[Captivate Android Development] ctechbob:
Well then...I will sit on my hands and wait while enjoying the ROM. :)
[Captivate Android Development] TonyStark R.I.P.:
Ah so he has Illuminated you;)
[Captivate Android Development] vamshi999:
Hi

what should i do to improve my quadrant scores and stop the lag will playing basic games like fruit ninja..

still on RC4.2 and i applied the quick fix to.

thank you
[Captivate Android Development] TonyStark R.I.P.:
Have you tried an alternate kernel?
[Captivate Android Development] ddoubt:
done, the RC5.1 will be up in a few minutes!
[Captivate Android Development] ctechbob:
Installed...awesome!!!!
[Captivate Android Development] ddoubt:
RC5.1 is up!

enjoy! :D

edit: Revert Stock Lockscreens (glass/puzzle) (Serenity KK2), CWM Flashable on 2nd Post!

updated OP!
[Captivate Android Development] ddoubt:
Try installing tegrak overclock from "Recommended-Apps" folder on sdcard, It might help on 3D games...

I installed fruit ninja on RC5.1 and it worked fine here, without lag.... :)
[Captivate Android Development] Boldizzle:
I'm on Pinnacle at the moment and was waiting for Illuminance 2.0 but I'm not quite sure when that's being released and this Rom is sounding very tempting so might give it a whirl.
[Captivate Android Development] infinitefame:
Same story! I'm downloading this rom right now.

Do I need to revert to some version of stock? or can I place in sdcard and cwm away?
[Captivate Android Development] cyberbandit1998:
How do I revert back to original gingerbread battery icon.
[Captivate Android Development] phrix626:
Cook it up in the UOT Kitchen.
[Captivate Android Development] ddoubt:
just make sure you´re on gb i897 bootloaders...
[Captivate Android Development] infinitefame:
yup! on pinnacle 1.3 so got that covered! thanks!
[Captivate Android Development] pcguy23:
very smooth

nice rom,

nice work

thank you
[Captivate Android Development] drewbag:
TW4

Hi,

I just found this ROM today and I'm wondering if the KJ3 TouchWiz 4 launcher will work on the KK2.

Thanks
[Captivate Android Development] qaler2010:
Hi,can anyone give me a mirror link of RC5.1 update package?Cause I have problem downloading it from mediafire
[Captivate Android Development] drewbag:
http://www.zshare.net/download/9617430473139774/
[Captivate Android Development] qaler2010:
Big thanks!
[Captivate Android Development] squishy5:
it might be just me but im using rc 5.1 my battery life is bad even after i lowerd brightness and turned a lot of stuff off
[Captivate Android Development] Dave the Knave:
You need to 1) flash on a full battery 2) let the phone run down almost completely the first day after flashing and 3) give it a few days to calibrate.

Whatever version of the market you are running will not affect battery. Also, it will update itself to the latest version after you run it once and exit.

And for those who just recently asked how to go about installing this ROM, here are the instructions I posted back on page 6. YOU DO NOT HAVE TO START FROM STEP 1. If you are coming from Froyo, start at step 4. If you are coming from another gingerbread rom (I9000 or I897) you can start from step 5.
[Captivate Android Development] wickedninjalo:
Thanks a lot for quick update. I was dying without my toggles
[Captivate Android Development] tkienzle:
Nice and smooth I'm digging so far thanks...

Sent from innerspace on my hacked telly...
[Captivate Android Development] ddoubt:
it should work fine...
[Captivate Android Development] drewbag:
Great! I'll be flashing soon. This ROM looks great. How's the battery life? I'm on KJ3 right now and the battery life is excellent.
[Captivate Android Development] ddoubt:
couldn´t test for battery life yet... but it should be at least as good as kj3...
[Captivate Android Development] TonyStark R.I.P.:
Yes it does
[Captivate Android Development] edtonn:
Coming from Pinnacle...

Sorry for the noob question...currently on Pinnacle with the BLs included in that flasher (I'd assume they're KH3 BLs). To flash Serenity, can I just go through CWM or should I flash stock KJ3/KK1 to get updated BLs first?
[Captivate Android Development] poncespr:
This is now officially my daily driver.

Awesome work.
[Captivate Android Development] Fate-Silver:
Hey, OP.

I need the "STOCK BATTERY with %" MOD for KK2. LOL.

Can you do it? Thanks... :)

I tried to flash the one for KJ3, it won't work.
[Captivate Android Development] ctechbob:
TW4 seems to be playing a little nicer with this one than it did the KJ3's. Had a few FC's on those, none yet so far on KK2.
[Captivate Android Development] Kyuta Syuko:
Just do a factory reset and clear caches and flash
[Captivate Android Development] slapperypete:
Here's my report:

Flashed back to stock (I897UCKJ3)

Flashed Samurai 1.3

Cleared all caches, battery stats, and anything else that looked 'clearable'.

Flashed KK2 RC5

Result:

MMS still doesn't work. I'm unable to add or edit APNs to get this to work.

A few things wouldn't restore well with TiBu, but work just fine with reinstalls. It just required a bit more fiddling at the restore phase than I'm accustomed to.

The first couple of restarts led to a couple of problems - first, Contacts crashed, then widget errors on reboot, but both have been fine ever since.

Keep up the good work!
[Captivate Android Development] ddoubt:
what have you restored on TIBU? which widgets presented the errors?

also, please gimme the apn info you need to add so I can check it out... as I said before other rogers serenity users don´t have the same problem as you...
[Captivate Android Development] slapperypete:
On TiBu, the following failed to restore during the batch operation, and subsequent individual attempts:

Launcher Pro

Seesmic

Weather Eye

Google Reader

Google+

Swiftkey X

Yahoo Fantasy Football '11

However, reinstalling each from the Market, I was able to use TiBu to restore my saved data to all.

The widgets that failed were:

Google search bar

Weather Eye widget

Data Counter widget

Deleting each and re-adding worked OK; these 'fail to load' errors happened on the 1st or 2nd reboot IIRC.

As for MMS - I can't verify if this fix works (obviously), but the best advice I could find is in the OP here.

Also - just noticed some weirdness in the app drawer. If I launch, and then rotate the device 90 degrees, all the icons stack into one big lump. Rotating back does not fix it; closing and re-opening the app drawer fixes it, however.
[Captivate Android Development] RAID Xero:
Are you using launcher pro?
[Captivate Android Development] slapperypete:
Yes.

+10char
[Captivate Android Development] seodle:
Currently on Serenity KJ3 RC4.2. Can I flash straight to 5.1 using the non-wipe?
[Captivate Android Development] ctechbob:
5.1 is just an update to 5.0, it is not the complete rom, so you have to first do the full wipe to 5.0.
[Captivate Android Development] ddoubt:
9 lockscreens mod for Serenity is cooking! :D
[Captivate Android Development] RAID Xero:
That's the problem. Launcher Pro does that on my phone as well. You can swipe the screen and the icons will go back to normal in landscape after you've switched from portrait.
[Captivate Android Development] watsa:
hey ddoubt good work... I know you sent me a PM which I read today only (was busy shifting base to US again)... Let me know if you need any help
[Captivate Android Development] ddoubt:
hey watsa, I´ve just PMed you ok!
[Captivate Android Development] enaybee:
Downloading now ... will report back once installed and tested for atleast 24 hour ....

Thanks ddoubt ... I am glad to see that we still have dev love for captivates.
[Captivate Android Development] Fate-Silver:
I don't really like the battery(circle thingy) MOD, can anyone or OP have a link that can turn it back to "Stock Battery with %"?

I would like to know the battery, performance(scrolling smoothness) and gaming performance of this ROM... hehehe.

LOL. I am greedy.

Thanks.
[Captivate Android Development] ddoubt:
For the battery mod, please use the UOT Kitchen (http://uot.dakra.lt/) as my ROM is fully compatible... (I´ll upload some battery mods on my next update)

as for the goods, please let me know the gaming performance also!
[Captivate Android Development] james.arroyo:
Oh the sweetest of sweet joys, thank you!