yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Interesting update ... really, just what I've been able to verify this morning.

After some discussion last night with the team, I flashed the recovery.img to my phone that is built along with a standard build. It's a really basic recovery, but it gets built with CM10.2, so it is built with the 3.0.89 kernel and SELinux (which I think is important).

I used that to side load a fresh build form this morning as well as GAPPS. Booted the phone, set it up, let apps install. Rebooted. Worked. Rebooted several more times, no problems now.

Now, at this point I'm not making any assumptions or claims that it is the currently available recoveries causing the problem. The fact is, we don't know why using a newer recovery seems to fix the problem. We are still trying to determine why this happens on every other recovery we've tried (CWMR & TWRP have both been tested) - and is sometimes intermittent for certain people.

Just letting you know where we're at in our investigation. We engaged Cyanogen, Arcee and Koush for their input and assistance, so rest assured, all the really smart (not me) people (including TC) are taking a look.

Back to work ...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
ok....I see what you mean! I had to reboot, and the boot animation was not happening at all. Yeah, backing off my build for a little bit, lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Well, sometimes if you wait long enough fsck might fix the corruption and let the phone boot ... but only if SELinux doesn't initialize and stomp all over fsck - which is what is likely to happen, then you're out of luck.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Well, to play it safe I'm gonna run 10.1 for the day and then tonight grab the recovery that was built and try that since you have seen success with it.

Wonder if this was somehow related to the reboot, black screen of death issues I was getting on my previous build?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] holeindalip:
You might be on to something there because I don't believe those recoveries have been updated to the latest 4.3 sources have they?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jobankler:
yea even on the tf300t (transformer tablet) forums everyone uses twrp 2.50 for the 10.2 roms
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Yes, this is why I originally brought it up. Been relying on sk8 for too long coming up with revised recovery every upgrade. I've been trying to figure out how to update his git.

I know that on my original build that is stable, before this happened, in 'about' it says SELinux is disabled.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
We haven't turned on SELinix in our kernel yet.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
I'd have to reinstall it to see, but I could have sworn my build from last night said enabled.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] JesusWazBlack:
wait so your saying if i use twrp 2.6 i might not get the data corruption issue? gonna try this right now because when i flashed cm 10.2 and got the black screen of death i was on 2.5
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] FCORivers:
Please, read every word at least twice again. While on that go back a couple of pages.

He wrote about it not working on the available recoveries.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] JesusWazBlack:
Oops yah I should thanks
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
This is looking positive.

github.com/CyanogenMod/android_bootable_recovery
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Anyone ever try out hellfire? It's a cm10.1 kang. I'm building it to try it out. Will share if anyone's interested.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Still not convinced that it is recovery related, so please don't start pointing fingers in that direction yet.

There's a lot going on that could be contributing to it, fstab, SELinux, other settings and code bits ... it's proving to be very difficult to pinpoint.

Edit:

Right now, it appears it may be a bug in the filesystem of the kernel itself. Not sure exactly what, but Arcee gave some input to take a look there.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sky_fox:
I've been building and running my home baked 10.2 for a week now and have not had any errors . I'm using twrp 2600 . Are peoples phones messing up from flashing it ? I have a whole page of testers telling me my rom works great.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
That's just the thing. A week ago is probably safe. Mine was more then a day ago and is OK. But anything in the last 24 hours is suspect. I notice compile issues then on my device.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sky_fox:
Wait I was about to rebuild for my thread followers they are getting pissed because I havent rebuilt for a week. So I should just not rebuild?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Without trying to be mean, if you are using any of TC's work in your builds, you should respect their wishes and not be posting any builds for them anyways.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
I'll put it this way, this is the only problem keeping us from releasing official builds right now. I would personally wait. Like I said, file system corruption can cause hard bricks.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Devs can release all they like, cm is free and open source. But right now, I wouldn't in good conscience recommend using cm10.2 because of the filesystem bug.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
I am so confused, I should probably just stay quiet, lol.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
It's fine man, we just had a discussion around unofficial stock nightlies that has been resolved cordially and we've moved on.

Lets focus on this bug so we can get official builds out to the community.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sky_fox:
It flashes completely fine with twrp 2.6. I'm using my own build now. Its smooth and fast. He said he tried to sideload it while using the recovery .IMG that is built while compiling the 10.2 source code. If you are not using the 10.2 source based recovery.img it will flash fine. I have at least 40 people on my thread that can vouch for that.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] smully1:
Your thread is a different device though, correct?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
That's fine, we can also show you logs of file system corruption and soft bricked devices after reboot.

As I said, you guys have been adequately warned. While it may not immediately happen, the bug is there and any build right now is at risk.

The problem does not seem to be the recovery, if you go back and read what imposted, I only said it was suspect. At this point in time, were zeroing in on ext4 filesystem code in the kernel.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Herc and SR use the same code base wuth only very minor differences (like rotation), which is why we support both.

We have replicated the problem repeatedly on both devices.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] smully1:
My bad. I thought he was dev'ing for the S4.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
I dunno, I assumed he was here because of the hercules. I dont know sh*t about the S4 code amd current status with 10.2
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
This is probably the most informative dev thread on xda IMO anyway
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Wesley32:
https://plus.google.com/117962666888533781522/posts/gXKMqJAFiMc

Looks promising
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Soooo... I got hit by it, is there a fix? I'm waiting to see if the fsck fixes it, if not do I just wipe and restore, or is it worse than that?

Ninja edit: wipe and restore fixed it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
Is this issue specific to your device or have you had reports of it from other devices? We're having a power button bug on the I717. When the screen is off the power button has to be pushed at least twice to get the screen to wake.

Power button bug is on beanStalk not CM by the way.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
And this:

https://plus.google.com/u/0/110558071969009568835/posts/TLHNUQhLwrP

If the issue cvd is talking about (which I have not experienced yet myself) is indeed recovery related, it looks like we are on the short list of devices getting an update for CWM for 10.2 compatible recovery:

Looks like Hercules build is done:

Touch:

http://jenkins.cyanogenmod.org/job/recovery/35169/

No touch:

http://jenkins.cyanogenmod.org/job/recovery/35163/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Yep - seems like the filesystem formatting that happens in recovery is not compatible with SELinux because it's running a non-selinux code base. Still investigating though.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Also, new GAPPS for 4.3 ...

http://goo.im/gapps/gapps-jb-20130813-signed.zip
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] berniesteven:
Hmm, that showed up as an update for 10.1. Is it compatible with both? 4.2.2. I flashed it and it works well.

SGH-I727 - Peace
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bps119:
You most likely flashed 20130812 instead of ...13. 12 is for 4.2.2 and 13 is for 4.3.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] berniesteven:
Yup, you are correct. My bad.

SGH-I727 - Peace
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sam.balia1012:
Update

just to verify:

i flashed the newest cwm ver 6.0.3.6 wiped data, cache...etc

flashed cm10.2 (0812 build date) ...still getting the no reboot issue.

:crying:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] faruk06:
I think there's a fix in the works :)

http://review.cyanogenmod.org/#/c/47856/

Thanks TeamChopsticks
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sam.balia1012:
i figured i post it so ppl dont waste their time
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Don't get too excited, that doesn't exactly fix the problem. :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
Thread cleaned. Guys lets settle down. This thread is meant to ask and learn.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sam.balia1012:
hey, was there a reason fix permissions wasn't on this version?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
That Jenkins site makes my brain hurt. So much ambiguous output!! ahhhh Which one is Skyrocket?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Okay, which one of you broke github??

Was it you, cvd? :mad:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Nope - DDoS attack .. again. Should be back up now though according to http://status.github.com
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Quoting myself from IRC ... Derp.

• carvsdriver Confirmed with cyanogen that the recovery isn't correctly setting up the filesystem for 10.2, which is causing problems down the road on devices (such as the reboot of doom).
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Which recoveries got problems?

Flashed CM 10.2 with CWM Touch 6.0.3.3 from official site, and its working without problems.

I flashed it using sideload.

Recovery was flashed with Heimdall.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mtdew:
All of them as it stands. You can say you have no issues and you may not but it can happen at any time you've been warned.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Thanks for warning, i will be careful when flashing next one.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Funny .. I saw what you did.

And I was going to quote you, quoting me, quoting myself. But I figured it might crate some paradox and kill us all.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
19 minutes ago - hercskytools updated

cm-10.2-celox.sh - remove journal_async_commit ... wasn't that for recovery problem? i seen it somwhere

edit: updated again
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
So... you guys are using your out loud voices eh.... js

Status update?

---------- Post added at 05:15 PM ---------- Previous post was at 04:58 PM ----------

So are there any thoughts towards correcting this? I guess that Koush might help? What about Sk8, is he around these days?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I put his repo 'bootable/recovery' into a build and was messing with it.... not sure exactly how to update it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Ninja edit ...

The team is testing this ... http://review.cyanogenmod.org/#/c/48038/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
So that says "Change has been successfully merged into the git repository."

So it doesn't require patching, right?

Edit: I did briefly try out a build done at 5pm. Reboot failed and that image tearing is still present when you scroll a page or go in/out of app drawer. Disabling HW overlays does get rid of it for the most part.

Also, cvd, are you going to continue development on your kernels? I know you mentioned reverting that BLN commit. There seems to be something that breaks 'Haptic-feedback' with marla/moretz + 10.2
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
You sure can but make sure you also post the warning below. Traffic on this thread may go up as I provided a link for this thread for continued discussion of my 8/1 build.

WARNING: Over 90 downloads and a handful of people are still reporting camera issues INSTALL AT YOUR OWN RISK. This worked on my Skyrocket not sure how it will act any other phone.

Install instructions: http://www.teamchopsticks.org/p/cm10-install-guide.html

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
And of course the mandatory thanks to chopsticks, cyanogrnmod, etc.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
My repo sync went fest till space ran out, at the cm10# command in terminal I'm typing make clean to get my space back, but I'm getting an error....how do i do it correctly?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] hooutoo:
Was there suppose to be a camera app in 0831 'cause I'm not seeing it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
on twrp and rogers phone, tried http://d-h.st/yyi, cleared caches fix perms, but camera not working because of gallery fc, cleared gallery data but still fc, bat life ok , lost 25% in 7.5 hrs with little use, but this sucker is lightning fast, cant wait to make it my dd
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
Only if you like green. I should update it though, I'm in Victoria now. Hopefully never going back to that dreadful place.

Yep - overnight and no go. I'll set er up again, see what happens
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
Sweet Jesus! ;)

---------- Post added at 09:09 AM ---------- Previous post was at 09:05 AM ----------

010011100110111101101111011000100111001100100000011000010111001001100101001000000110010101110110011001010111001001111001011101110110100001100101011100100110010100101100001000000110111101110000011000110110111101100100011001010010111000101110001011100010000001000100011011110110111000100111011101000010000001100010011001010010000001100001011001100111001001100001011010010110010000101110001000000011101100101001

---------- Post added at 09:11 AM ---------- Previous post was at 09:09 AM ----------

Should be as simple as .

..../cm10$ make clean

or

..../cm10$ make clobber

Whats your error?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Wonders never cease, right? Now, to actually make an improvement of some kind......the real work begins. Where the hell did the tuna go?:cyclops:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
BMP, I just found this little bit of reference material:

http://blog.cameronpickett.com/2011/09/16/breakfast-brunch-and-lunch/

Do you want to add it to the OP? THis explains why some poeple cannot do lunch, brunch and so forth. As well as other good info.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Pixelcreativ:
Camera is a driver/framework issue. Will be fixed eventually.

Sent from my Skyrocket running Sky ICS =(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Great idea! I'll take care of it on my break....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] whosgotlag:
http://review.cyanogenmod.com/#/c/20418/

Proper audio fix from Topprospect
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
Neat - there's actually a bunch of stuff in the envsetup.sh file.... I basically sets up the shell environment for you and adds a bunch of commands.

For instance, did you know that if you have your phone connected and ADB can see it, the command "eat" will adb push your newly built ROM to the root of your SD Card? After that it tries to reboot the phone into recovery, but that failed for me.

Still, pretty cool... There's also a tapas command... breakfast, lunch, lunch_combo, tapas... hehe

---------- Post added at 10:28 AM ---------- Previous post was at 10:11 AM ----------

Can someone tell me what I am doing wrong here, please?

Also, if you cherry-pick something that is not yet merged into the repo, do you need to redo this after you do a repo sync?

bulldog@EUROPA-LIN:/media/DroidDev/cm10$ git fetch http://review.cyanogenmod.com/CyanogenMod/android_hardware_qcom_audio refs/changes/18/20418/1 && git cherry-pick FETCH_HEAD
fatal: Not a git repository (or any parent up to mount parent /media)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

:(

OK, I figured it out... you gotta be sitting in the root of the changes that you want to cherry pick.

IE: /media/DroidDev/cm10/hardware/qcom/audio rather than /media/DroidDev/cm10

I'm still curious though, if I do a sync now, do I lose these cherry picked files/patches?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Nothing special so not really gonna upload it, but built my first CM9 also now. No different than the get. Cm builds, but gonna start doing my own work on it now.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gmillz:
Cherry picks are lost during a repo sync
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
the error is command doesn't exist. Should i be root or not?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gmillz:
Are you running lunch before trying to make clobber?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] IllegalOpcode:
lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Try running ". build/envsetup.sh" before your command.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Just wanted to say that I got a successful CM10 build last night (my build servers is FC13, so nyah to all the Fedora haters! :) ) I didn't test it for long since I didn't have any of the cherry pick fixes. I installed rogers latest, and I too have *no* camera app installed. I had CM10 alpha1, then I installed my build from today, then rogers build from today. I will try and grab the camera apk roger posted in the other thread.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
The fstab patch did not fix the issue. :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jd1639:
Bu hao
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Which recovery did you tried?

EDIT: got problem during compiling

[COLOR="Lime"]target thumb C:[/COLOR] audio.primary.default <= hardware/libhardware/modules/audio/audio_hw.c
make: *** No rule to make target `/home/snoop05/Android/cm-10.2/out/target/product/skyrocket/obj/lib/libaudioalsa.so', needed by `/home/snoop05/Android/cm-10.2/out/target/product/skyrocket/obj/SHARED_LIBRARIES/audio.primary.msm8660_intermediates/LINKED/audio.primary.msm8660.so'. Stop.
make: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Regarding 10.2/4.3

I guess I didn't expect the build prop to be exactly the same as it was on 10.1/4.2.2 but the way it did change seems off to me? Would somebody that knows more then me about the differences here have a look. To me this looks like enough to make 10.2 at least a little quirky...lol

Thanks

Sorry, heres the link...lol Can't see photo to well here...

http://minus.com/liI2cBXr8Dp0p

---------- Post added at 05:53 AM ---------- Previous post was at 05:39 AM ----------

Have you been using the tools? I think that used to be a patch but has been committed because it isn't in tools anymore. Try deleting your hardware/libhardware folder and resync. Then reapply tools.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Fixed i pulled it from CM-10.2 i'm currently running.

Build almost finished, Allah please let it boot. :angel:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Just a thought. Do you not think it would be wise to hold off on 10.2 till they get it sorted out? At best you'll have an unstable rom. :confused:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
View attachment 2192567

Booted! Still waiting for gapps download.

No problems with recovery.

Edit: New settings :) View attachment 2192576
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
It's not the first boot that is the problem, it's the first reboot that is the problem. I can install and boot my build as well, but if you reboot it probably won't come up.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
boot, rebooted 2 times, install gapps, reboot 2 times, everything working :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
So, this is brilliant ... https://github.com/mroth/lolcommits
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sam.balia1012:
looks like you got a fix

how about for the hercules....

ur help is much appreciated :cowboy:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
love it!

Seriously, this is more important than Windows 8 SP1.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I'd like to see replication. There has been no commit in the last 12 hours to fix anything. Besides, CVD would likely know first.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Snoop05:
Try mine build. Tested on AT&T Skyrocket with Rogers JB radio UXUMA7 and CWM Touch 6.0.3.3.

CWM was flashed with Heimdall Suite. ROM flashed via adb sideload.

Download link: Dev-Host Md5

Gapps: Goo.im

Radio: SamMobile.com

Recovery: ClockWorkMod.com

How to flash recovery with Heimdall Suite

If work, push THANKS button :good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Correct, there has been no fix outside of using the recovery.img that builds with the rom to side load it.

If you're using a 10.1 based recovery, you are eventually going have /data or /cache corruption. (Check your logs, you'll likely see fsck running at boot to fix corruption). Sometimes, the device handles it ok and boots, then as long as fsck completes you're good. If it doesn't, you're screwed. Sometimes it can take 15-20 minutes to run, in which case you'll just see a blank screen at reboot - when fsck completes, you'll see the CM boot animation ... IF fsck completes.

So, our position on risk to corrupting your device on CM10.2 builds flashed with CM10.1 recoveries has not changed - YMMV.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sam.balia1012:
thanks...

somehow cwm 6.0.3.6 is not seen in adb while phone in recovery.

i will flash 6.0.3.3 ...so, while in recovey, hit sideload install from phone, start an adb shell and push the rom then gapps...correct?

its been awhile, so i appreciate the help. :good: