yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] toyes:
I'm not sure exactly.. I tried deleting my out directory with no change. re sync and still no change. I then added some packages from cm. I also rebooted my computer in the middle of all that so I am not sure exactly what fixed it.

Are you seeing the same error?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
lol ok thanks I hate when that happens.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] soccerfan6789:
People have had this issue before yet I can't find a solution

make: *** [/home/shariq/XenonHD/out/target/product/hercules/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec.o] Error 1
make: *** Waiting for unfinished jobs....

Full log: http://pastebin.com/RYxGGiKY
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I have a question regarding patches. Sometimes ater applying the patch, it finishes and terminal prompt returns back to the directory I changed to to apply the patch. However, sometimes it just displays the file to be patched in terminal but the prompt never returns... ex: TC's focal patch 47432

Clearly I apply from inside 'device/samsung/msm8660-common'

This is my output:

wantowan2@wantowan2:~/bs2/device/samsung/msm8660-common$ git fetch http://review.cyanogenmod.org/CyanogenMod/android_device_samsung_msm8660-common refs/changes/32/47432/1 && git format-patch -1 --stdout FETCH_HEAD
From http://review.cyanogenmod.org/CyanogenMod/android_device_samsung_msm8660-common
* branch refs/changes/32/47432/1 -> FETCH_HEAD
From 67ca4e0887bd453afb1d9da4733c2cb83440f09c Mon Sep 17 00:00:00 2001
From: David Ferguson <ferguson.david@gmail.com>
Date: Thu, 8 Aug 2013 10:41:10 -0400
Subject: [PATCH] msm8660-common: overlay for Focal

Change-Id: I9e5fdaf74346a55660ca9e9aabafe1cf588d6070
---
overlay/packages/apps/Focal/res/values/config.xml | 42 +++++++++++++++++++++++
1 file changed, 42 insertions(+)
create mode 100644 overlay/packages/apps/Focal/res/values/config.xml

diff --git a/overlay/packages/apps/Focal/res/values/config.xml b/overlay/packages/apps/Focal/res/values/config.xml
new file mode 100644
index 0000000..c68f5bf
--- /dev/null
+++ b/overlay/packages/apps/Focal/res/values/config.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 The CyanogenMod Project
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+-->
+<resources>
+ <!-- Whether or not to stop preview between taking shots. -->
+ <!-- <bool name="config_stopPreviewBetweenShots">false</bool> -->
+
+ <!-- Whether or not to enable camera-mode=1 for ZSL on Qcom devices -->
+ <bool name="config_qualcommZslCameraMode">false</bool>
+
+ <!-- Whether or not to use preview data to take snapshots while in the video mode.
+ This enables snapshot during videos on older devices. -->
+ <bool name="config_usePreviewForVideoSnapshot">true</bool>
+
+ <!-- The largest possible GL texture size -->
:

If I say, hold down the enter key, it scrolls the rest of the file to the end but just says 'END'. What is the correct way to resolve this? Ctrl 'z'? Because Ctrl 'x' doesn't work.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
I would try. q
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Has anyone seen this error before?

target Java: Bluetooth (/home/killjoy/illusion2/out/target/common/obj/APPS/Bluetooth_intermediates/classes)
packages/apps/Bluetooth/src/com/android/bluetooth/hid/HidService.java:680: cannot find symbol
symbol : variable ACTION_IDLE_TIME_CHANGED
location: class android.bluetooth.BluetoothInputDevice
Intent intent = new Intent(BluetoothInputDevice.ACTION_IDLE_TIME_CHANGED);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
make: *** [/home/killjoy/illusion2/out/target/common/obj/APPS/Bluetooth_intermediates/classes-full-debug.jar] Error 41
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I may be wrong but I think those are typos in the file.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Undefined symbol. I've fixed another one by using a definition included in cm.

This is from CM's HidService.java file. I just need to know where the definition is for it.

private void broadcastIdleTime(BluetoothDevice device, int idleTime) {

Intent intent = new Intent(BluetoothInputDevice.ACTION_IDLE_TIME_CHANGED);

intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);

intent.putExtra(BluetoothInputDevice.EXTRA_IDLE_TIME, idleTime);

intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);

sendBroadcast(intent, BLUETOOTH_PERM);

if (DBG) log("Idle time (" + device + "): " + idleTime);

EDIT: Found the definition. Meld is an awesome tool. Definition was in /frameworks/base/core/java/android/bluetooth/BluetoothInputDevice.java

used CMs definition.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
That wasn't your error. Your error was this:

hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7732:19: error: 'struct ion_allocation_data' has no member named 'heap_mask'
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7739:19: error: 'struct ion_allocation_data' has no member named 'heap_mask'
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7745:19: error: 'struct ion_allocation_data' has no member named 'heap_mask'
hardware/qcom/media/mm-video/vidc/vdec/src/omx_vdec.cpp:7761:17: error: 'struct ion_allocation_data' has no member named 'heap_mask'

It would also help if you mentioned which source and branch you're using and/or posted the link. Based on your folder name in the error, I derived that it was "XenonHD" and I'm guessing it was the jb-mr1 branch from here:

https://github.com/TeamHorizon/

If so, I find that odd because the file in the error only has 'struct ion_allocation_data' appearing twice in that file and it's on different line numbers than that error above. Same with the jb-mr2 branch for that file in that repo.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] soccerfan6789:
Ran a diff between CM's and Team-Horizon's and they were different. Changed it and got the same issue...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
What branch? Is this a 4.3 or 4.2.2 ROM? Also, I just looked at the manifest and their jb-mr2 manifest is literally the exact same as their jb-mr1 manifest. That is, their jb-mr2 manifest is pointing to 4.2.2_r1.2 for AOSP sources, cm-10.1 for CM, and jb-mr1 for AOKP sources and their own sources (rather than 4.3_r2.2, cm-10.2, and jb-mr2). Also, after clicked on a few random repos, it looks like some (and perhaps all) of their jb-mr2 repos are still based on 4.2.2/cm-10.1.

That's really odd, and dumb.

Considering how many issues it seems you've been experiencing with just trying to a get a build to finish compiling, I would just say fudge it and (for now at least) not mess with these random ROM sources that don't seem to stay up to date.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] soccerfan6789:
Fixed it. Changed over to CM's repos and that seems to have fixed it. Getting a bizarre error now however:

Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt

Full log: http://pastebin.com/WcPf5gun

Will sudo apt-get install module-init-tools fix it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
"Can I hear an AAAAAAA-Men!"

Or Canadian version....."...eh men eh..."

---------- Post added at 07:00 PM ---------- Previous post was at 06:47 PM ----------

Has anyone been getting an increasing amount of gapps, web apps like tapatalk, facebook force closing?

log errors like

and
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Has anyone added PIE or HALO to source to build it in? I can't seem to find anything but modding the settings.apk. Thanks guys.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] patch_Adams:
I've run into a sigpipe error while a user was changing wi_fi networks....still working on that one though

And email does a fc thing but reopens just fine, it's weird??

sent from somewhere upon the beanstalk
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I'll be honest. I don't really know the answer to that one. If I wanted to, I might start by looking at THIS default manifest. The dev here for beanstalk has done what you are asking. If you looked at the differences between it and a regular cm default, you might get answers. Basically, delete everything that is cm, try and pick out what you want and overlay what you have left into you default. To avoid a boatload of errors you might want to use 'Meld' or something.

There is probably an easier way for somebody that was better at cherry picking.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Both are in PAC-man. You can go back through their changes in gerrit.

Halo is a separate package but requires some integrating into Settings and frameworks/base. Pie also requires some changes to frameworks/ base and Settings.

Here's when they added and switched to their version of HALO to give you a general time frame:

http://review.pac-rom.com/#/c/356/

http://review.pac-rom.com/372

Even better:

http://review.pac-rom.com/#/q/status:merged+message:HALO,n,z

---------- Post added at 09:20 AM ---------- Previous post was at 09:04 AM ----------

You can ignore that. It's just a warning, not an error. I have it installed and still get that warning. module-init-tools is deprecated anyways.

This is your error:

device/samsung/hercules/overlay/frameworks/base/core/res/res/values/config.xml:165: error: Resource at config_wifi_p2p_support appears in overlay but not in the base package; use <add-resource> to add.

Delete that line from the config.xml in device/Samsung/hercules if it's not in frameworks/base/core/res/res/values/config.xml
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Ya...what he said....lol You probably saved the pour guy a week over what I said.

Oh ya, @m4570d0n. One of my users said your recovery is working well. I have been dealing with possible problems with GAPPS causing FC's. One guy says that he hasn't had any using your recovery. Did you do something specifically that would help?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Nope. The only thing I did was switch to the twrp2.7 branch and added a few cherry-picks from TWRP's gerrit. The actual work was all them, especially Dees_Troy and Tasssadar.

If you want to know what all the changes were compared to the twrp2.5 branch (which is the branch for TWRP 2.6.1.0) go here:

https://github.com/TeamWin/Team-Win-Recovery-Project/commits/twrp2.7

As of this moment, it's the 6 most recent commits, with the first one (which is a significant portion of all the changes) being this one:

Update to latest AOSP master

And currently, I'm also building with these two as well:

Add 1200x1920 theme

Hack-fix build with different system/core/charger versions
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
do u know when/if they will fix the preload partition issue, or do they even know about it.

2.6.0.0 handles it fine, seems so anyway, but the updates after that don't seem too

edit: 2.7 doesn't seem to mount both sdcards, iirc it doesn't mount the ext. sdcard
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
what's the issue you're referring to? As far as I know, we don't have a /preload partition.

What do you mean? I can see both internal and external SD cards on my phone without any issues.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
preload for Samsung jb firmware, after 2.6.0.0 it cannot format it.

w/2.7.0 when connected to comp. I cannot mount/view sdcards w/win7, previous twrp versions worked after updating drivers and

when installing zips after switching to int. sdcard theres no option to go back to ext. sdcard,
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I had partial root loss yesterday. Clearing su and fix permissions fixed it. Something seems to have diverged from the selinux permissions log.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
AFAIK, /preload is just carrier bloat garbage on stock ROMs. I'm going to assume the option doesn't exist because the fstab file in the device tree that was used during the build did not have a /preload partition defined because there is no use for it on AOSP-based ROMs.

I'll look into the mounting storage on the computer in recovery thing.

With respect to switching partitions, you do have the option. Normally, you would just click the install button and at the very top will be a box that says "Storage: sdcard (xxx MB)" and you just click on that to switch to the other one. You're right that for some reason the external SD is not showing up. I hadn't noticed because I've been having some annoyances with mine so I've mainly bee using just the internal SD for flashing stuff. However, when you're at the file list for the internal SD, click on "Up a level" at the top of the file list and it will take you to the root directory("/" directory). From there, you can click on /external_sd and you should be able to see your external SD card/files. If not, check to see if it needs to be mounted in the "Mount" menu. It's probably some issue with fstab. I'll look into it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
When I used your 2.7 twrp I had to mount the external every time I booted into recovery.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] meekrawb:
I don't know if they know about it, but you can wipe preload by going to settings and checking "Use rm -rf instead of formatting."
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Has anyone seen this before?

target Java: telephony-common (/home/killjoy/illusion2/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes)
frameworks/opt/telephony/src/java/com/android/internal/telephony/SMSDispatcher.java:1607: cannot find symbol
symbol : variable ALLOW_MOCK_SMS
location: class android.provider.Settings.Secure
Settings.Secure.ALLOW_MOCK_SMS, 0) == 1;

EDIT: Found this.

http://review.cyanogenmod.org/#/c/23017/5/telephony/java/com/android/internal/telephony/SMSDispatcher.java Didn't help.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
it still wont do a proper nandroid for samsing jb users though

edit: 2.7.0 doesn't see the preload so cant delete it
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Hey, anybody want to try out BeanStalk4.3.057 with moretz. For full details and flash instructions click the link in my sig.

http://d-h.st/Kc2

v4.3.075 (Updated:

10/09

/2013)

Feedback welcome in the thread or PM with more specific info. Thanks
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
That was for jellybean. It also required these:

settings: Allow Mock SMS (2/2) (Merged)

Dev Tools: Mock SMS (Merged)

For cm-10.2 it was 4 different commits:

Frameworks Base: Mock SMS (1/4) (Merged)

Telephony: Mock SMS (2/4) (Merged)

Settings: Mock SMS (3/4) (Merged)

DevTools: Mock SMS (4/4) (Merged)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
Help Adding Governors

Hey guys,

So I'm new to kernel building, but have successfully built a couple of roms and their resulting kernels. What I'm trying to do now is add a few extra governors, and it seems like a pretty straight forward process. I have obtained the sources for the governors I want included, included them in the KERNEL_SOURCE/drivers/cpufreq dir and have added the o file definitions to the makefile and the extern struct definitions in the cpufreq.h file and the kernel configuration setup to the Kconfig file. Easy peasy.

I also added the necessary entries to my defconfig, and set one of the new governors to default. When I get to that spot during compiling the rom/kernel, I get this error message:

This is line 1046/1047 of cpufreq.c:

It is in fact defined correctly (or so I think as per the XDA University tutorial) in the cpufreq.h file. I've also tried grepping the kernel dir for cpufreq_gov_ondemand and that is defined no differently than the new governors. What am I missing? I've been able to successfully add the SIO scheduler and am using it currently, why can't I get the governors to work?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] prbassplayer:
I'm on the go but this commit reverts a CPU governor. So it might help you see what you where missing. As a side note why bother with smartassv2? Afaik it's a old bit of code based on VERY old interactive. Why not just upstream from CAF the governors (assuming your compiling for a qcom device).

https://github.com/SlimRoms/kernel_lge_mako/commits/jb4.3/drivers/cpufreq
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
Made some changes and I end up with this:

frameworks/base/core/res/AndroidManifest.xml:222: error: Error: No resource found that matches the given name (at 'label' with value '@string/permlab_sendMockSms').

frameworks/base/core/res/AndroidManifest.xml:222: error: Error: No resource found that matches the given name (at 'description' with value '@string/permdesc_sendMockSms').

make: *** [/home/killjoy/illusion2/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

make: *** Deleting file `/home/killjoy/illusion2/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'

Not sure where it is defined at. :eek: Working with 4.3 sources. Thanks [MENTION=4348701]m4570d0n[/MENTION]
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
It tells you right there in the error what the problem is. On line #222 of AndroidManifest.xml there are references to 2 strings: "permlab_sendMockSms" and "permdesc_sendMockSms." Which was in the link in my previous post for the commit to frameworks/base here:

http://review.cyanogenmod.org/#/c/48656/3/core/res/AndroidManifest.xml

It's complaining that it's not finding the definition for those two strings which were defined in that same commit here:

http://review.cyanogenmod.org/#/c/48656/3/core/res/res/values/cm_strings.xml
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Kiltnar:
I was using Meld. The differences between CM and Illusion was enough it hid it from immediate view. Thanks. Didn't know which file it was in.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I fixed the internal/external SD card issue, and I believe I fixed the /preload issue as well.

I think mounting USB storage on the computer in recovery might be something that was intentionally disabled. It was enabled with this commit from topprospect last year:

msm8660: enable mounting of both sdcards in recovery USB mass storage

and disabled last month by El Jefe Cyanogen by reverting that commit, with the following commit message here:

msm8660: Stop messing with USB in recovery

* Make it impossible to debug recovery, since this causes a bus reset
when recovery is restarted.
* Potentially causes issues with Windows.
* Will be obsolete when the vold+recovery sexytime has climaxed.

That said, I decided to revert that change and now mounting the internal SD is working again. It's still not mounting the external SD, so I'll have to look into that part some more.

So with all of that out of the way, here you go:

TWRP-flash-Skyrocket-2.7.0-2.zip - 9.05 MB
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
i'll test it out, I was just about to release a simple flashable zip to delete the contents of the preload folder

---------- Post added at 12:58 AM ---------- Previous post was at 12:49 AM ----------

almost perfect, thanks, preload can be mounted, preload is in the wipe function and correctly wipes the contents of preload, installing menu has option for both sdcards, but like u said mounting both sdcards to be visible on comp doesn't work as only internal is viewable, good job bro

edit: didn't test the nandroid for preload but when doing a restore the preload partition is visible in the menu

edit: successfully restored a stock jb rom w/preload and is all good, but the twrp version # still says 2.7.0
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
hey m4570d0n when you get 2.7 worked out for the mount issue is it ok if I make a tar.md5 to be used in the how to install twrp/root sticky
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gargeya_369:
Guys, can anyone kindly tel me what to do, to get the statusbar peek feature integrated into cm 10.2 rom...?

Like on slimbean ROM etc...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Hey everybody. Thought that I would pass this on to you guys too. Check out this post in my thread. Hit the nail on the head. Vids made on any 4.2.x rom played on any 4.3 rom from Gallery, for Skyrocket at least, makes Gallery crash the phone. POST

Hope this helps somebody. :silly::svetius:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] pubcat:
+1
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Well, all I can say is that it's not globally true, because I have videos recorded on my phone from when I was running 4.2 and they play fine in 4.3 Gallery, and do not crash the phone. I did have an issue with media taking up tons of CPU, but I reformatted my external SD card (it had a corrupt directory) and cleared data and cache for media and it was fine after that.

I also wanted to thank all the developers in the thread, and especially m4570d0n, as I just had my first successful 'custom' build of CM. Nothing major, I just took out a few packages that I didn't want/use, and it was m4570d0n's guide that got me going in the right direction. I had spent a day trying to figure it out on my own, should have just looked here first!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
De nada.;)

And yeah, I just played a video I found on my SDcard that I recorded back in Feb so I know it was from when I was on 4.2 and it plays just fine from the Gallery on 4.3. Sounds like it's another issue specific to BeanStalk's source. That said, video recording is still broken for the skyrocket/hercules (and perhaps any other msm8660 device) when using the Focal app. It works with the default camera app and it will record when using Focal, but the resulting video file is a corrupted unviewable mess that looks like this:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Agreed that Focal is not recording video correctly, no doubt about that.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
That's wack because I have video no problem as of e few days ago and the poster stated that he had tested most roms regarding the codec. That's weird because he didn't even state if he was even using BeanStalk...

Can't trust everybody I guess...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I was just assuming you were talking about someone that was running your BeanStalk ROM since you were referring to a post in your BeanStalk thread. Still, I don't have the issue he's referring to on my PAC builds and I just double checked the videos I used to test it and they are indeed mp4 video with the H.264 codec.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Ok thanks. Because I would like to fix it if I can. Would I look for a difference in source for folder 'hardware/qcom/media/mm-video/vidc/vdec'?

Edit: Nope, same codec source....

Edit: I'm starting to believe that it is those corrupted focal vids that are crashing my gallery. Even if other devices aren't getting a crash from it, I bet there is some sort of sigpipe error. An 11 or 13 in the log.