yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Not sure about the media scanner. Can you do this?

Reboot

Wait about 30 seconds after you're fully booted

Unlock phone

Pull down notifications

Tap and hold the media scanner notification

Tapp app info

Force close

Then pull a logcat immediately (using an app or command or whatever) and upload it somewhere
[AT&T Samsung Galaxy S II SGH-I777] CyanJustice:
After clean installing your latest build, I've come to one of two conclusions; either your build doesn't play well with cm's gapps, or the cm's gapps don't play well with your build. Even after clean install, I'm getting constant Google play services stops, Google search stops, especially after the installation of any app, Google play will sit still on installations, but will eventually install, apps like play games won't show any content, and upon reboot, certain random apps will uninstall themselves and I'll have to delete their com. data to reinstall them from play. I'm gonna do one more reboot and if the issue persist I'm gonna switch back to the 1/8 stable build.
[AT&T Samsung Galaxy S II SGH-I777] RenderBroken:
Holy crap guys. I have learned a crap ton about using Meld and such when dealing with major merges. Luckily I am still building. I have taken care of 5 new errors. Yeah! Also I have a few cool things coming in this build. Next build will definitely have 4 column Quick Settings. Since I think that helps tremendously. BUT I have gathered some new info and will post it in the Tutorial section!

I appreciate [MENTION=3386399]iXNyNe[/MENTION] and his( I am assuming) help with others and providing his own builds. I am not worried about him hijacking the thread since that is was its about!

Thanks Guys

Render
[AT&T Samsung Galaxy S II SGH-I777] RenderBroken:
I'm not griping but since this thread my house more builds than mine can we all make sure to designate which build we are talking about in our comment. I know this thread will get kinda crazy but if we can do that it might help others find appropriate answers. Thanks!

(Awe i'm stable, Yeah!)
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
i like stable
[AT&T Samsung Galaxy S II SGH-I777] david72262:
Waiting like a child waiting for Christmas
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Yeah I really wouldn't have been able to compile without your help, so really i take no credit at all for the builds i'm posting. i also havent been running them either, i've been using omni but im coming back to cm probably tomorrow (maybe tonight) and i'll probably use the builds im making

in the meantime since making that build tutorial i've learned the basics of github and im starting to learn gerrit, but i really dont know enough about the code to make any changes that would be worth submitting, but i'd like to learn to port features from other roms into a build just so i know how. theres a bug that was fixed in cm10 that i want to find the patch for and try and port it forward to cm11.

i pretty much have automated builds setup and ready to go right now so i'll be able to post them nightly on dropbox (im going to hold off a few more days before i actually kick that off though)

and i really hope you aren't viewing my posts or actions as hijacking, like i said i wouldnt have succeeded in building cm11 without your instruction, and i posted the build tutorial as a way for others to hopefully join in and make their own builds in the downtime between your builds (teach a man to fish kinda thing) but it seems like people are less interested in building and more interested in flashing. once our device is greenlit for actual nightlies (if ever) i wont have a purpose to post builds, and hopefully by then i'll actually have something useful to do with gerrit and github

im going to guess that the build i posted leaves very little free space on /system and the official cm11 gapps use all of that space (possibly more than what we have left after a cm11 install) thus your /system partition would be too full to operate correctly which would cause many issues such as force closing or missing apps.

keep in mind the build i posted is nothing but cm11 from the official cm source plus one cherry pick that is required for the build to work. so this would mean that whatever changes cm is making are causing the rom itself to take more space than it previously did.

my recommendation is (if you want to use my build) to install banks core gapps or maybe PA micro. from personal experience the PA mini is too big and won't install, i havent tested the micro yet (it's smaller so it should be ok i think).
[AT&T Samsung Galaxy S II SGH-I777] geicogecko:
I even tried deleting the system apk and installing it from google play. Still nothing. Is anyone else having this problem?
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
I went back to jb and wow I can install way more apps ? Has anyone else noticed you can't install too many apps On kk? Is this a kernel thing ?
[AT&T Samsung Galaxy S II SGH-I777] CyanJustice:
I switched to omni for now, wrestled with my phone, flashing and backing up for around 2 hours. I'll return when there's a stable build.

I have around 100 apps installed on omni, and a little more when I was on stable CM, so I'm not sure what your app problem is, Trevor.

For a while xda wouldn't let me quote people, so I'm sorry I couldn't be more specific on who's build I was referring to.
[AT&T Samsung Galaxy S II SGH-I777] dashrendar:
Download DiskInfo, take a screenshot and show us. I have a total of about 150 apps, but none if them are games.

Bio: I was born and I haven't died yet.
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
my screenshot would be sad i had just about one page of apps ill flash back today and grab a screen but i think im gonna stick with jb maybe ... i like apps but i Wonder if it has to do with space allocation like is that a kernel thing because in 10.1 and 10.2 with ajk kernel i had a crap load of apps ? idk it might just be this ST GS2 i have its not the i777

or ill reinstall kk right now with all the apps i curently have take two screens of the apps tab in settings

now on jb i have a good amount of apps with 1.4gb free to install more hmmm....
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Number of apps you can install from the play store should depend on /data partition which isn't changed from cm10 to cm11 (it's actually never changed, it's how Sammy built the phone).

Number of apps you can install on /system will be different because /system houses the whole ROM and cm11 uses more space than cm10 due to higher res graphics and new features and apps like whisper push. But the only apps YOU install on /system are gapps. So you have to choose which gapps to install a little more carefully on cm11.

For reference I installed my 0208 build and then super su and then pa keyboard add on and then pa mini gapps in that order. The pa keyboard add on removes the stock keyboard. The stock keyboard takes up too much space and doesn't allow the mini gapps to install.

BTW the stock keyboard on cm11 is a modified aosp keyboard that's designed to mimic the Google keyboard, but somehow takes up more space than the Google keyboard.
[AT&T Samsung Galaxy S II SGH-I777] RenderBroken:
Brother, its all good. I was not bothered one bit. I like to see discussion going on and others building. You could be the next great rom maker. Who knows. This is why I like android. While working my main job, I love to show the end user how to do things and to not worry about it too much. This way I am not gettings calls too often and they can take control of their own problem s and take step to fix them. I have seen you heave contributing and helping others with their own problems that deal with CM in general. Both roms (So far) are almost identical so the help you have been giving has been appropriate. Thanks!

I have not noticed this at all. Maybe I just use my phone for work and keep it simple stupid. lol I will look into this though while messing around. Is google play the same version for KK and JB? I cant think of a single reason why this is the case. Has anyone found the magic number it stops at?
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
The play store looks the same
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Well I've officially setup my rig to automatically build and upload to my drop box, and the first run *should* have just kicked off about 5 minutes ago. So check I'll check in the morning for a new build.

Also I am running my 0208 build and having no real issues (compared to omni or renders builds)
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
https://www.dropbox.com/sh/1s51iaf8gc5qahk/0wAMez3rcQ

Build succeeded. My computer will now automatically make and upload a new build every night.

To limit my space usage on drop box (I only have so much) anything older than the 4th newest builds will automatically be removed after a successful build is uploaded.
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
good job dude im sure it wasn't easy...

i would also like to share my findings when i

cooks rom wipe install rom and gapps im good i can install decent amount of apps

but when i

cooks rom wipe install rom and gapps the reboot recovery and add the kernel then reboot recovery then reboot sys

eather renders rom omni or [MENTION=3386399]iXNyNe[/MENTION]'s build

i get the icons like storage is full bla bla i hope this will better clarify my issue

rom is Kitkat Gapps i use is aroma and i use TWRP recovery with the kernel

now i am on JB - slimrom stock kernel
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
#!/bin/bash

# automated cm build script

clear
date=$(date -u +%Y%m%d)

cd ~/android/system/

repo selfupdate
repo sync

. vendor/cm/get-prebuilts
. build/envsetup.sh

cd device/samsung/i777/
git fetch http://review.cyanogenmod.org/CyanogenMod/android_device_samsung_i777 refs/changes/90/54090/1 && git cherry-pick FETCH_HEAD
croot

brunch i777

mv out/target/product/i777/cm-11-"$date"-UNOFFICIAL-i777.zip.md5sum ~/Dropbox/Public/cm11-i777/
mv out/target/product/i777/cm-11-"$date"-UNOFFICIAL-i777.zip ~/Dropbox/Public/cm11-i777/

cd ~/Dropbox/Public/cm11-i777/
rm `ls -r | awk 'NR>8'`

#done

This is my automated build script (nearly identical to the one in op #3 with a few updates).

Everything after brunch is there to get the build available online for you guys, so unless you're uploading builds, you probably don't need anything below brunch.
[AT&T Samsung Galaxy S II SGH-I777] Eric Karz:
1st thank you

2nd - I always look at the buid date after a flash - this one says 1.28.2014

3 - trebLauncher doesn't like my s2 - got the "unfortunately" bla bla- close

I have last_kmsg If that will help any ?

on another note in all versions I have tried ,only 'google now launcher' responds to my voice "hey google' - call phone number ECT.
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
your welcome ;p

you are correct, I never looked before, these are the builds that are being output, so I'll have to maybe check with someone on irc if they know why that's happening.

trebuchet force closes for me too. For now I've frozen it with titanium backup and I'm using nova launcher

I don't know enough to really do much with it, but I think last kmsg would be for a kennel error, so it'd be a logcat we would need to look at (I still wouldn't know what to do with it lol)

this is correct. Only Google has built this into their launcher. You'll want to ask your preferred launcher developer if they could bring this feature to their launcher. Maybe an xposed module could enable it globally (I haven't seen one yet, but I figure someone might be able to use xposed to make one)
[AT&T Samsung Galaxy S II SGH-I777] Eric Karz:
so if i understand (kit-kat seems alien to me lol) ,the builds are syncing up to current and *iXNyNed* to our sg2?
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Exactly correct BUT don't give me the credit. There is a commit on gerrit that I'm cherry picking that was authored by Pavel Kirpichyov. I've done this thanks to instructions from [MENTION=5438598]RenderBroken[/MENTION] (op).

So really its not me doing anything, I just setup a shell script (automated build instructions my computer can follow) and a cron job (scheduled task) on my computer to make the builds.

And really most of the hard work that lead me here was from reading the cm wiki and asking questions in this thread.

In op #3 you'll find a full guide on how to make your own builds, and a few posts back is an updated build script (the final step from op#3)

I pm'd render some updates to the tutorial but he hasn't posted them yet. Nothing required, just shortcuts.
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
I agree with eric I love GEL's "OK google" and dislike Launcher3 or trebLauncher
[AT&T Samsung Galaxy S II SGH-I777] msprag13:
I get status error 7 when I try to flash your ROM. Thinks the model number is wrong because of a lowercase i versus an uppercase I in SGH-i777. Tried to edit my build prop but must be editing the wrong line.
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Which ROM exactly? Renders build or one of mine?

Also the caps shouldn't matter.
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
make sure you have the correct recovery for your phone i have the straight talk s2 so i am using CWM 6.0.4.5 currently but the OP links and instructions will guide your install please read the OP
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
BTW my internet has been down since 6pm yesterday (time Warner cable) but today's build succeed and as soon as my internet is back up my drop box will sync.
[AT&T Samsung Galaxy S II SGH-I777] azeem40:
I used the CM Kernel provided by RenderBroken and it gives me that error as well.
[AT&T Samsung Galaxy S II SGH-I777] msprag13:
Yours. I forgot that I switched to straight talk last month. I have cwm 1.0.4.7 is that my problem?
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Yep. You'll need to flash cwm 2.0.4.x in order to flash a cm11 ROM. See the OP. I think there's inductions there. If not go grab render's kernel and flash it and then flash cm11, it'll overwrite the kernel anyway.

Remember i777 and the straight talk model are slightly different, so if you have the straight talk model there are special instructions to get a new recovery.

Straight talk model is gray, i777 is black.
[AT&T Samsung Galaxy S II SGH-I777] david72262:
Yes update to 6,0,4,5 at least

---------- Post added at 10:17 AM ---------- Previous post was at 09:31 AM ----------

My straight talk s2 was black I am on my third one 2 were black 1 was gray
[AT&T Samsung Galaxy S II SGH-I777] msprag13:
I have an AT&T model with a straight talk Sim. I am on 6.0.4.7 not 1.0.4.7
[AT&T Samsung Galaxy S II SGH-I777] david72262:
That will work
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
i could be wrong but i think this is how it goes for CWM recovery and the SGH-S959G

if you have JB you need SGH-S959G_CWM-v6.0.2.7

if you have KK you need SGH-S959G_CWM-v6.0.4.5 it could actually be SGH-S959G_CWM-v6.0.4.4

their is also TWRP for the SGH-S959G have you tried that

i think [MENTION=5093014]razen_kain[/MENTION] said this im not sure i could be wrong in the SGH-S959G thread

also if you have the att phone its not the sgh-s959g thats the tracfone one and also i think alot of straight talk sims are att sims but im sure that depends on your area
[AT&T Samsung Galaxy S II SGH-I777] razen_kain:
Yes. For kitkat, cwm version must be 6.0.4.4 or higher. Just MAKE SURE that the ROM you use says cwm. If it says twrp based, you must use twrp our there will be... Issues :what:

Sent from my SGH-S959G
[AT&T Samsung Galaxy S II SGH-I777] RenderBroken:
Sorry I have been hiding out. I was sick and work never ceases. But I should be dropping a new kernel build. I may try out a new "unified" initramfs. What this means is I no longer have to build 6 kernels, but just 2. CWM and TWRP versions. IT would make things easier and I believe will only work with AOSP based roms. Then this weekend I set aside a block of time to finish my last build. It was going strong but keeps running into errors that have to do with improper merging. I know I am not the champ at such but I have learned much. I need to re-brushup on my Java and C++ again. Its been a minute since I have used them. BUT I feel motivated to get both projects done asap. Cant wait!

For the Rom information, I will be doing some cleanup on the few OPs. Mainly I want to have more concise information for the SGH-S959G users out there and host the needed recoveries myself and provide direct download links for them. This way they dont have to search through a bunch of text to get what they need. I will be updating the Build Tutorial that [MENTION=3386399]iXNyNe[/MENTION] has kindly provided. (Saved my time!) He has a few revisions and I have a few things I wanted to clear up. Eventually I will go into how to add features from other sources into your rom, and how to merge them. (Properly!!)

Render
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
My internet its back up, so builds will be back in rotation tonight.

Side note [MENTION=1890382]sam3000[/MENTION] seems to be stepping up to be our new cm maintainer, so we might have official nightly builds soon.
[AT&T Samsung Galaxy S II SGH-I777] dashrendar:
I am yearning for another CM11 build. Yes, I said it... YEARNING.
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
I should have a fresh one up soon. My rig has been building all day. I'm not sure why it's been so long, probably from me removing $OUT so I'll probably adjust my build script to not do that anymore.
[AT&T Samsung Galaxy S II SGH-I777] trevor.bman:
I was going to ask you why you just didn't start it .. I mean isn't that what u almost have set up now
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
i did actually try today but i messed something up in my local repo so when i tried to build it took like 8 hours and didnt even finish, i needed my computer for something else so i had to close it. the build should complete tonight though, also im moving the build folder, so just use the link in my sig (updating right after i post this) from now on to get the builds

edit

new link https://www.dropbox.com/sh/9xpf4qundumgy02/Z2ZWofz1qI

shouldnt be changing again for a while (just wanted do be setup for multiple roms/devices)
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
I figured out my builds are failing with an error message

make: *** [/home/nemchik/android/system/out/target/common/obj/APPS/NoiseField_intermediates/classes-with-local.dex] Error 143

make: *** Waiting for unfinished jobs....

Anyone know what I need to look for to fix that?
[AT&T Samsung Galaxy S II SGH-I777] RenderBroken:
There should be something with the word "error" somewhere above this line. That will tell you the details you need. Let me know!
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
nope, just the error 143 on that one line, im going to do all the commands manually to see if it is something im doing wrong with the build script
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Well the error went away on its own. New build is up.
[AT&T Samsung Galaxy S II SGH-I777] RenderBroken:
Unfortunately they dont go away. (I wish!) when you build will continue til the other threads error out. So the other problem is the error being referenced could have happened 10 minutes ago and not its impossible to find. Just a heads up.

Im glad you are ripping new builds. Keep it up!
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Lol somehow this one did just go away. I think this was all related to me doinf rm -rf out/ that was a bad idea.

Anyway I've setup the build script to brunch i777 > $date.log (not that exactly, but you get the idea) so I'll have some more info saved when a failure happens.
[AT&T Samsung Galaxy S II SGH-I777] msprag13:
I am still getting errors about ROM being for i777, SGH-I777, SGH(straighttalk#).. This is an SGH-i777...installation aborted... Status 7.

I have an AT&T SGH-I777 with a straight talk Sim card so it should work. I have renders build 7 ROM with the very latest test kernel. Why can't I flash your ROM?
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Can you post your build.prop here?
[AT&T Samsung Galaxy S II SGH-I777] msprag13:
begin build properties

# autogenerated by buildinfo.sh

ro.build.id=KOT49H

ro.build.display.id=cm_i777-userdebug 4.4.2 KOT49H 3045d7ad46 test-keys

ro.build.version.incremental=3045d7ad46

ro.build.version.sdk=19

ro.build.version.codename=REL

ro.build.version.release=4.4.2

ro.build.date=Tue Jan 7 23:03:24 CST 2014

ro.build.date.utc=1389157404

ro.build.type=userdebug

ro.build.user=zachariah

ro.build.host=Linux-Box

ro.build.tags=test-keys

ro.product.model=SGH-I777

ro.product.brand=Samsung

ro.product.name=SGH-I777

ro.product.device=SGH-I777

ro.product.board=smdk4210

ro.product.cpu.abi=armeabi-v7a

ro.product.cpu.abi2=armeabi

ro.product.manufacturer=samsung

ro.product.locale.language=en

ro.product.locale.region=US

ro.wifi.channels=

ro.board.platform=exynos4

# ro.build.product is obsolete; use ro.product.device

ro.build.product=SGH-I777

# Do not try to parse ro.build.description or .fingerprint

ro.build.description=SGH-I777-user 4.0.3 IML74K XXLPQ release-keys

ro.build.fingerprint=samsung/SGH-I777/SGH-I777:4.0.3/IML74K/XXLPQ:user/release-keys

ro.build.characteristics=default

ro.cm.device=i777

# end build properties

#

# from device/samsung/i777/system.prop

#

#

# system.prop for i777

#

rild.libpath=/system/lib/libsec-ril.so

rild.libargs=-d /dev/ttyS0

#

# ADDITIONAL_BUILD_PROPERTIES

#

ro.rommanager.developerid=cyanogenmod

ro.com.google.clientidbase=android-google

keyguard.no_require_sim=true

ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html

ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html

ro.com.android.wifi-watchlist=GoogleGuest

ro.setupwizard.enterprise_mode=1

ro.com.android.dateformat=MM-dd-yyyy

ro.com.android.dataroaming=false

ro.build.selinux=1

persist.sys.root_access=1

ro.cm.version=11-20140108-UNOFFICIAL-i777

ro.modversion=11-20140108-UNOFFICIAL-i777

ro.cmlegal.url=http://www.cyanogenmod.org/docs/privacy

ro.config.ringtone=Orion.ogg

ro.config.notification_sound=Argon.ogg

ro.config.alarm_alert=Hassium.ogg

ro.carrier=unknown

wifi.interface=wlan0

wifi.supplicant_scan_interval=15

ro.opengles.version=131072

ro.zygote.disable_gl_preload=true

ro.bq.gpu_to_cpu_unsupported=1

debug.hwui.render_dirty_regions=false

ro.telephony.ril_class=SamsungExynos4RIL

mobiledata.interfaces=pdp0,wlan0,gprs,ppp0

ro.telephony.call_ring.multiple=false

ro.telephony.call_ring.delay=3000

dalvik.vm.heapstartsize=5m

dalvik.vm.heapgrowthlimit=48m

dalvik.vm.heapsize=128m

dalvik.vm.heaptargetutilization=0.25

dalvik.vm.heapminfree=512k

dalvik.vm.heapmaxfree=2m

ro.sf.lcd_density=240

persist.sys.dalvik.vm.lib=libdvm.so

dalvik.vm.lockprof.threshold=500

dalvik.vm.dexopt-flags=m=y

net.bt.name=Android

dalvik.vm.stack-trace-file=/data/anr/traces.txt
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Hmm... I don't think that's the issue, yours is nearly identical to mine in all the places that would matter.

Can you post /cache/recovery/last_log after a failed attempt (probably to pastebin and not in the thread)
[AT&T Samsung Galaxy S II SGH-I777] msprag13:
script src="http://pastebin.com/embed_js.php?i=hhWkMZEH"></script>

Hope this works.
[AT&T Samsung Galaxy S II SGH-I777] iXNyNe:
Download this http://pastebin.com/download.php?i=QWf2CgqR

Have the newest nightly from my drop box handy and an older one as well.

Unzip the OLDER nightly and find this inside it

/META-INF/com/google/android/updater-script

Open in a text editor and replace everything inside with the paste bin download

Make sure there is an empty line at the bottom!!!!!

Save it and then zip the files back up.

Flash the one you modified, and then try flashing the newest nightly.

For the zipping and unzipping I recommend fx file explorer https://play.google.com/store/apps/details?id=nextapp.fx
[AT&T Samsung Galaxy S II SGH-I777] Beastben13:
Render are you done with this build or just making a lot of tweaks that are taking forever