yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] jav92:
Hi, this is the most stable CM ROM made so far? based in JB I mean... I currently have Resurrection Remix and it gives me some bugs so I'm looking for a more stable rom... Thanks.
[Galaxy S II Original Android Development] m1trand1r:
check my xda app sig for stability...direct link to most stable, bugfree config:D. ...at least for me..and.to avoid non-dev posting here feel free to pm me at anytime..;)

Sent fom my S-II with CM-10 by mcm811(12/06/2012] powered by [url="http://dorimanx.shine.sk/kernels-jb/Kernel_Dorimanx-V7.29-ICS-JB-22-51--06-12-12-SG2-PWR-CORE.zip]DorimanX kernel v 7.29[/url]
[Galaxy S II Original Android Development] cruz007:
Stable version

Hy,when can we expect stable version of your's great rom?
[Galaxy S II Original Android Development] Rildiz:
Never ask for ETAs less you wish to be ridiculed and deemed a pleb.

And as far as stable goes...what the hell do you people put on your phones? I reckon that in most instances its an app that causes the instabilities or another kernel. Well something because i haven't had these major problems some people report.

Edit: and we shouldn't post here, this is just form those contributing in some way.

DEV thread.
[Galaxy S II Original Android Development] codeworkx:
Never.
[Galaxy S II Original Android Development] killar_aka_arabu:
installed 10.1 official nightlly, SuperUser FC. where to report?

sorry for spam, if this is spam :)
[Galaxy S II Original Android Development] Krishnadusad:
Mate there is a CM 10.1 discussion thread in the general section. This thread is strickly for developers . From the next time ask there.
[Galaxy S II Original Android Development] dinos3:
Were is know isuses list? Team hacksung site is down..
[Galaxy S II Original Android Development] codeworkx:
. build/envsetup.sh

lunch cm_i9100-userdebug

make Apollo
[Galaxy S II Original Android Development] :
Working good.

Noticed that it ignores xhdpi and mdpi at resources. Anyway to make it compatible with all dpi modes?
[Galaxy S II Original Android Development] Znuf:
Today :

Package complete: out/target/product/i9100/kernel-cm-10-20120726-i9100-signed.zip

kernel-cm-10-20120726-i9100-signed.zip

Elapsed: 41 min(s) 41 sec(s)

Yesterday :

Package complete: out/target/product/i9100/kernel-cm-10-20120725-i9100-signed.zip

kernel-cm-10-20120725-i9100-signed.zip

Elapsed: 101 min(s) 43 sec(s)

Very nice :P
[Galaxy S II Original Android Development] pulser_g2:
Are you using ccache now, or did you not do make clean first? Just curious :)
[Galaxy S II Original Android Development] Znuf:
I don't use ccache and i don't clean.

It's really usefull to clean?

[EDIT]

Yes is very usefull. ^^.

Today i just build the Kernel. :P.
[Galaxy S II Original Android Development] hiepgia:
To clean "out" directory files old build and refresh it with new build.

before to use build.sh, input "make clean".
[Galaxy S II Original Android Development] Znuf:
Yep, now i do that.

Clean, sync and build.

Thanks for the information.
[Galaxy S II Original Android Development] :
make clean? Same thing as ./build.sh clean?
[Galaxy S II Original Android Development] Znuf:
nope just :

# make clean
[Galaxy S II Original Android Development] kalgecin:
Error building

I run into this error while running ./build.sh i9100

hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: error: invalid conversion from 'int (*)(const gralloc_module_t*, buffer_handle_t, int*) {aka int (*)(const gralloc_module_t*, const native_handle*, int*)}' to 'int (*)(const gralloc_module_t*, buffer_handle_t, void**) {aka int (*)(const gralloc_module_t*, const native_handle*, void**)}' [-fpermissive]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'gralloc_module_t::perform' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'gralloc_module_t::reserved_proc' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::pmem_master' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::pmem_master_base' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers]
hardware/libhardware/modules/gralloc/gralloc.cpp:112:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers]
make: *** [out/target/product/i9100/obj/SHARED_LIBRARIES/gralloc.default_intermediates/gralloc.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/i9100/libsensors/sensors.cpp:122:1: warning: missing initializer for member 'hw_module_t::dso' [-Wmissing-field-initializers]
device/samsung/i9100/libsensors/sensors.cpp:122:1: warning: missing initializer for member 'hw_module_t::reserved' [-Wmissing-field-initializers]

I did get the cm jellybean branch and ran the proprientary extract script.

---------- Post added at 12:56 PM ---------- Previous post was at 12:48 PM ----------

phone rebooted while using xda premium app. Not sure if it has something to do with my undervolting but anyways in case anyone wants to take a look at the logcat here it is it was saving when reboot happened. used adb to get it while it was ok.

https://docs.google.com/open?id=0B94bfpTec3GpN2RvZkJneFRoZlk
[Galaxy S II Original Android Development] golcheck:
I use make clean && make clobber before I build
[Galaxy S II Original Android Development] noonecanhide:
i am just a bit confused, is compiling cm10 different from cm9 ?

./build.sh i9100 exits without error, but i can't find any zip or sth. in the out-directory... have i to build it self ? (data and system directorys are there)

last lines of compiling

make[1]: Verlasse Verzeichnis '/root/android/system/kernel/samsung/smdk4210'
make -C kernel/samsung/smdk4210 O=/root/android/system/out/target/product/i9100/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /root/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install
make[1]: Betrete Verzeichnis '/root/android/system/kernel/samsung/smdk4210'
INSTALL drivers/cpufreq/cpufreq_smartass2.ko
INSTALL drivers/net/wireless/bcmdhd/dhd.ko
INSTALL drivers/samsung/fm_si4709/Si4709_driver.ko
INSTALL drivers/samsung/j4fs/j4fs.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL fs/cifs/cifs.ko
DEPMOD 3.0.36-CM-g9ae335f
make[1]: Verlasse Verzeichnis '/root/android/system/kernel/samsung/smdk4210'
mdpath=`find out/target/product/i9100/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i out/target/product/i9100/system/lib/modules/; done; fi
mdpath=`find out/target/product/i9100/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
Elapsed: 52 min(s) 44 sec(s)

or am i just plain stupid after ~2 days without sleep ? :D

steps:

setup build environment as wiki described, used local_manifest.xml from Pier's Post as the linked one from wiki doesn't work (lunch cm10_i9100-userdebug fails with "not found").
[Galaxy S II Original Android Development] kalgecin:
i did try with make clean and make clobber the build.sh i9100 same issue
[Galaxy S II Original Android Development] kalgecin:
i did

rm -rf hardware/libhardware
repo sync
./build.sh i9100

seems to compile so far :)
[Galaxy S II Original Android Development] D4rKn3sSyS:
I built yesterday without problems just did something like:

cd jellybean
repo sync
. build/e*
lunch cm_i9100-userdebug
brunch cm_i9100-userdebug

And bang zip made working fine. Of course you must add things to manifests, probably best approach is to switch branches with repo init from ics to jellybean, As I did

Also I tested without extract-files.sh and seems to work fine (on ics it crashed a few times if you didnt run it dunno y)
[Galaxy S II Original Android Development] gerard_f:
I have this problem:

/home/gerard/android/system/kernel/samsung/smdk4210/drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.c: In function 'wl_android_priv_cmd':
/home/gerard/android/system/kernel/samsung/smdk4210/drivers/net/wireless/bcmdhd/src/wl/sys/wl_android.c:1015:8: warning: unused variable 'mode' [-Wunused-variable]
CC [M] drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfg80211.o
CC [M] drivers/net/wireless/bcmdhd/src/wl/sys/wl_cfgp2p.o
CC [M] drivers/net/wireless/bcmdhd/src/wl/sys/wldev_common.o
CC [M] drivers/samsung/fm_si4709/Si4709_dev.o
CC [M] drivers/net/wireless/bcmdhd/src/wl/sys/wl_linux_mon.o
CC [M] drivers/net/wireless/bcmdhd/src/wl/sys/wl_roam.o
CC [M] drivers/samsung/fm_si4709/Si4709_i2c_drv.o
LD [M] drivers/net/wireless/bcmdhd/dhd.o
CC [M] drivers/samsung/fm_si4709/Si4709_main.o
LD [M] drivers/samsung/fm_si4709/Si4709_driver.o
CC [M] drivers/samsung/j4fs/j4fs_kernel.o
CC [M] drivers/scsi/scsi_wait_scan.o
CC [M] drivers/samsung/j4fs/llid_kernel.o
CC [M] drivers/samsung/j4fs/fsd_common.o
LD [M] drivers/samsung/j4fs/j4fs.o
Building modules, stage 2.
MODPOST 6 modules
CC drivers/cpufreq/cpufreq_smartass2.mod.o
CC drivers/net/wireless/bcmdhd/dhd.mod.o
CC drivers/samsung/fm_si4709/Si4709_driver.mod.o
CC drivers/samsung/j4fs/j4fs.mod.o
CC drivers/scsi/scsi_wait_scan.mod.o
CC fs/cifs/cifs.mod.o
LD [M] drivers/cpufreq/cpufreq_smartass2.ko
LD [M] drivers/net/wireless/bcmdhd/dhd.ko
LD [M] drivers/samsung/fm_si4709/Si4709_driver.ko
LD [M] drivers/samsung/j4fs/j4fs.ko
LD [M] drivers/scsi/scsi_wait_scan.ko
LD [M] fs/cifs/cifs.ko
make[1]: se sale del directorio «/home/gerard/android/system/kernel/samsung/smdk4210»
make -C kernel/samsung/smdk4210 O=/home/gerard/android/system/out/target/product/i9100/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE=" /home/gerard/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install
make[1]: se ingresa al directorio «/home/gerard/android/system/kernel/samsung/smdk4210»
INSTALL drivers/cpufreq/cpufreq_smartass2.ko
INSTALL drivers/net/wireless/bcmdhd/dhd.ko
INSTALL drivers/samsung/fm_si4709/Si4709_driver.ko
INSTALL drivers/samsung/j4fs/j4fs.ko
INSTALL drivers/scsi/scsi_wait_scan.ko
INSTALL fs/cifs/cifs.ko
DEPMOD 3.0.36-CM-gea65cdc
make[1]: se sale del directorio «/home/gerard/android/system/kernel/samsung/smdk4210»
mdpath=`find out/target/product/i9100/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do mv $i out/target/product/i9100/system/lib/modules/; done; fi
mdpath=`find out/target/product/i9100/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi
Elapsed: 112 min(s) 39 sec(s)

Any help?

Thanks

Edit: second time I build worked fine without any change
[Galaxy S II Original Android Development] ivkos:
Has the dictionary format for the stock JB keyboard changed? I tried to port main.dict for my language from ICS keyboard but I don't get suggestions or spell checking.
[Galaxy S II Original Android Development] noonecanhide:
i am not sure, if this bug report is for the dev, or the user thread... the user thread has no "how to report a bug" section in its first post, so i assume that this is the right place here. if not, please don't kill me ;)

first, some specs:

SGS II i9100 with CM10 build of 26 July. Modem is XXLQ5.

Assumed RIL Crash, posting that because the log looks like it contains some useful information. Symptoms: No available Internet Connection after waking the device from idle until phone is rebooted (plane mode and/or data usage on/off switch does not work). Random occurences, not reproducable by force. :D

the first one: internet connection was dead, so i grabbed a radio logcat. pastebin

the second one: internet connection was dead, but calls could be made before full lockup (signal strength symbol was grey, without E/G/H sign) part 1 part 2

sadly, i could not get the full log, as it was overwritten too fast.
[Galaxy S II Original Android Development] kalgecin:
Are there any plans to make LVM to join SDcard and emmc ? would be very nice imo. and loads of space. Since most people leave their sdcards inside permanently I don't see this causing any major issue. Plus it would solve the internal/external paths confusion for most
[Galaxy S II Original Android Development] :
Discussion thread...
[Galaxy S II Original Android Development] woeds:
Just wanted to +1 this. But it happened when I was out last night, so didn't have the means to make logcats. On LPQ-modem.
[Galaxy S II Original Android Development] hypergamer1231:
A2dp fix for CM10

Just spoke to Quarx2k from the Defy+ forum who has fixed A2dp for CM10 and he just PMed me with the link for the GIT commit https://github.com/Quarx2k/android_...mmit/39049082ee9db7eedfa512d7db719a12bc7afb0c

I aint no expert so hope it helps the devs
[Galaxy S II Original Android Development] hypergamer1231:
Audio to data. All the CM10 ports for (I9100) now have a issue with stereo bluetooth headsets wherein the headsets get connected but the music is played via the phone's speaker and this issue has been fixed in the port for defy+

Heres hoping that the same fix works for our devices as well
[Galaxy S II Original Android Development] shotta35:
RIL Crash

Since this is the DEV thread I figured these should go here :angel:

Background :

AT&T in USA

Phone was sitting idle for probably 20mins then i picked it up and noticed no signal. I did the:

adb logcat > crashril.txt

adb logcat -b radio > crashradio.txt

and got these in a text file and zipped them up. Dunno fi they are still needed but hopefully they help?

http://db.tt/zvMJbw48

Download if you need anything else then generally PM me as the DEV thread is usually off my radar so i don't get tempted to post some n00b stuff and piss off everyone. LOL
[Galaxy S II Original Android Development] pierx:
Am i missing something here?

http://pastebin.com/6MK9H88M

Thanks
[Galaxy S II Original Android Development] noonecanhide:
Check if you met the prerequisites for compiling jb

then check priviliges of your entire build dir (user/group) and if the mentioned file is executable

Then try as root

If that not works something is wrong with your toolchain

But, please, please use pastebin or something for posting so big logs, or remove redundant information from the log!
[Galaxy S II Original Android Development] jeffojeff:
Hi all,

First of all, thank you, all the team members, for this great efforts you've been making so far for our beloved devices.

I was successful to build CM9 so far and now I have been trying to build CM10 on my Ubunu but I'm having the problem addressed in here. Any help would be much appreciated.
[Galaxy S II Original Android Development] boyrarr:
+1 here also. Happening 3 or 4 times a day. I'm also on lpq modem. Signal icon just appears as an empty triangle. Only way to fix is to reboot. If necessary I can try to log it next time.
[Galaxy S II Original Android Development] thracemerin:
Guys, questions, comments, etc... that are not directly about how to build CM or how to code for CM go in the user thread, seriously this should be obvious.

There is no bug report instructions in either thread because this is a preview build and bug reports aren't being taken, you are free to post them in the user thread but whether or not any devs care is up to them.

Please don't crap this thread up.
[Galaxy S II Original Android Development] GFXi0N:
Let me ask a couple of noobish questions, I'm compiling for the first time.....

1: What is the average time of compilation? I get it depends on the hardware you are using... and wether you compile the whole thing or just the kernel.... an average thing?

I'm doing so with a 5 year old AMD Athlon dual core 3000+ 4 Gb RAAM running Arch linux 64 bit (3.6 Tb RAID5 3x 2Tb disks)

2: Compiling the whole ROM should be only done when there are changes made to the android framework, am I right?

3: Risk of bricking the phone with a bad compiled ROM? - is there a way to check that the ROM is OK? Any safety tips?

Thanks :)

EDIT:

I got this error compiling: http://pastebin.com/YCvvS8Ws

System is arch linux.....

./build.sh i9100
[Galaxy S II Original Android Development] :
Depends. On my Intel Core2Duo E7500 2.93GHz+4GB RAM DDR3+ ubuntu x64 it takes 111 minutes exactly.

What do you mean by only when there are changes to android framework? You can compile whenever you want.

Any risk? Maybe, but if the compile process goes all right, you have a lot of chance of not having risk of brick. I asked the same thing after my first compilation, and I've installed it sucessfully.

It seems it's because some modules are missing, did you installed all required stuff correctly? Also, make a repo sync -j16; check out the tutorial again; it might be a arch linux issue. Try compiling on ubuntu, better not try on arch linux again, it took 162 minutes and it failed. If you try again it may fail again, and I'm sure you don't want to wait 162 minutes again to get nothing ;)
[Galaxy S II Original Android Development] codeworkx:
There are two ways of building.

a) just type "make" without having any knowledge about what you're doing and hope that it will magically succeed

b) type "make" with the knowledge what you're doing and with the ability to fix issues by yourself

a) didn't work for you, so try b)

hint: that's an arch linux issue.
[Galaxy S II Original Android Development] GFXi0N:
Ok, so i'd better get a virtual machine with ubuntu running and play around in there... actually, it will be better because compiling android forces me to change some packages and this is my daily use computer!!!

Thanks for the advice ;)
[Galaxy S II Original Android Development] :
Are you sure you are going to build in a virtual machine? On Arch linux it took 162 minutes, if you build on a virtual machine it may take much longer
[Galaxy S II Original Android Development] GFXi0N:
Well, I really don't know how to face the error I'm getting when compiling with arch....

I get the error is here:

Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
ERROR: could not open directory /home/jonander/android/system/out/target/product/i9100/obj/KERNEL_OBJ/../../system/usr/lib/modules/99.98.3.0.36-CM-g87e5803: No such file or directory

But I don't really know.... can it be related to the warning that complains about module-init-tools?

For some reason, i don't have the directory /home/jonander/android/system/out/target/product/i9100/obj/KERNEL_OBJ/../../system/usr/lib/modules/99.98.3.0.36-CM-g87e5803 but I don't know what can it be related to...

So the VM is not that good solution as well... hehe....
[Galaxy S II Original Android Development] minidou-77:
Or do like me : make a 50Gb partition and use it to dual boot Ubuntu :)
[Galaxy S II Original Android Development] :
Have no idea what could be, yeah, better dual boot.

I've made a 100GB partition, but before I thought 10GB was enough :p I can't stop using Windows, I have very less problems with Windows than Linux.
[Galaxy S II Original Android Development] codeworkx:
You ever thought about that "99.98.3.0.36-CM-g87e5803" isn't a valid kernel version?

"3.0.36-CM-g87e5803" would be correct and i'm pretty sure that " /home/jonander/android/system/out/target/product/i9100/obj/KERNEL_OBJ/../../system/usr/lib/modules/3.0.36-CM-g87e5803" does exist and something on your machine adds 99.98 where it shouldn't do.

now check in the makefiles where this paths are coming from and why this fails.
[Galaxy S II Original Android Development] :
Not here. Discussion thread. Don't reply this, and next time post on the Discussion thread [aka User thread]

But answering, you need to find the line with 240 [something with density, I don't remember exactly] on the build.prop. But changing dpi will bug Play Store, then you will need a modded one.

Don't reply this. Any questions post on the Discussion thread.

---------- Post added at 07:07 AM ---------- Previous post was at 07:06 AM ----------

Not here... discussion thread...
[Galaxy S II Original Android Development] Goddchen:
Might be a dumb question but i can't seem to find an answer to it through google or the xda search...

I am building everything just fine. Except i'm wondering about 1 issue:

Today i synced and compiled and what i get is: cm-10-20120729-UNOFFICIAL-i9100.zip

But today is 20120730. Checked the system date on the machine and it's fine. Also it is creating kernel-cm-10-20120730-i9100-signed.zip just fine.

So, does MODVERSION not update automatically to the current date?

Goddchen
[Galaxy S II Original Android Development] kalgecin:
It would help if you posted your problem and solution. So that when someone else comes across something similar they wont have to struggle much. (Apart from searching) just a suggestion
[Galaxy S II Original Android Development] Goddchen:
His question was roughly: what is a correct local_manifest.xml file?

To answer his question, here is what i am using:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="teamhacksung/buildscripts" path="buildscripts" remote="github" revision="jellybean">
<copyfile dest="build.sh" src="samsung/build.sh" />
</project>
<project name="teamhacksung/android_device_samsung_i9100" path="device/samsung/i9100" remote="github" revision="jellybean" />
<project name="teamhacksung/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" revision="jellybean" />
<project name="teamhacksung/android_kernel_samsung_smdk4210" path="kernel/samsung/smdk4210" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="ics" />
</manifest>
[Galaxy S II Original Android Development] thunderger:
I'm lost in trasnlation :(

Upload project packages/apps/Bluetooth/ to remote branch refs/heads/jellybean:
branch bt_ger_trans ( 1 commit, Mon Jul 30 12:01:00 2012 +0200):
513635df BT german tranlation from ICS
to review.cyanogenmod.com (y/N)? y

fatal: Upload denied for project 'CyanogenMod/android_packages_apps_Bluetooth'
fatal: The remote end hung up unexpectedly

Are there project based rstrictions at the moment or do I miss something? Other projects / branches were able to commit.
[Galaxy S II Original Android Development] prbassplayer:
It will help all when ever you find your own answer to post it.