yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] Raum1807:
Look here for the changes:

http://review.cyanogenmod.org/#/q/status:merged+branch:mr1-staging,n,z

Take the wireless.ko file from the FAQ. I will reupload it in a few minutes.
[LG Optimus 2x] natalya:
Replaced the file with the uploaded one... Now I can't activate WIFI at all. Tried rebooting the phone twice..
[LG Optimus 2x] lipisak:
Did you set the correct pemissions?
[LG Optimus 2x] natalya:
Actually, I did, I just noticed that I just didn't set it correctly :silly:

Sorry for the invonvience and once again thanks! :victory:
[LG Optimus 2x] zerocoolriddler:
I updated from CM10 1126 to XXMrHyde's CM10.1 without wipe and all works as it should. Wifi, Network, Mobile Data all working fine. Some Bugs present, but who cares? ;)

I really hope to see some ROMs.
[LG Optimus 2x] Chuck Bartowski:
:(

For me wifi doesn't work.

I changed the file "wireless.ko" and I set the proper permissions.
[LG Optimus 2x] zerocoolriddler:
I just updated and didn't change wireless.ko. WiFi works.
[LG Optimus 2x] Chuck Bartowski:
Maybe because you did not do the full-wipe.
[LG Optimus 2x] DROIDRAZ:
If I have device files can I build for another device?

Enviado desde mi XT912
[LG Optimus 2x] XXMrHyde:
I installed the build with fullwipe, changed nothing, wifi is working.

---------- Post added at 06:36 PM ---------- Previous post was at 06:34 PM ----------

Yes, you need the device tree(s), vendor tree, and possibly the kernel source,

maybe you have to patch something else, depends on the device
[LG Optimus 2x] Chuck Bartowski:
I try to change recovery and flash it again.
[LG Optimus 2x] DROIDRAZ:
Yeah I have all of that. I will be building when I get home.

Enviado desde mi XT912
[LG Optimus 2x] mivv:
can anyone tell me where do i have to put the wireless.ko file please?
[LG Optimus 2x] Imperticus:
inside /system/lib/modules/
[LG Optimus 2x] natalya:
Question; If I follow the guide in the OP to make a new build in lets say next week, will the changes shown in changelog then be applied too? You know, if I just stick to the guide in the OP...
[LG Optimus 2x] mivv:
thanks:good:
[LG Optimus 2x] lipisak:
Well yes and no. It depends on changes, which are applied by .patch file. The file that should be patched could be changed, which will cause malfunction of patch => unable to compile. Everything else should be ok.

L.
[LG Optimus 2x] MetaIIica:
Why would like not use the new Bootloader and Layout? Is it not better to compatible with ICS? GB can then die slowly as it then eh hardly an advantage. And I believe that the future are by 4xx and not by GB
[LG Optimus 2x] natalya:
Any guide-for-dummies? Being honest, I never built anything myself. All I am seeking to be doing is making builds of this every week or so to keep it up to date ;)

I will need a guide that starts from scratch hehe ;)

We all start somewhere, don't we? :)

Once again, thanks.
[LG Optimus 2x] slebit:
Nice guide!
[LG Optimus 2x] Regash:
i have wifi bug too, i did copy the wireless.ko and i set the permissions and wont work :(( pls help
[LG Optimus 2x] Imperticus:
Because the new bootloader is cracked/hacked, where as older one came unlocked. And CM are unlikely to use cracked/hacked stuff when the GB unlocked bootloader is just as good.
[LG Optimus 2x] Chuck Bartowski:
Me too. I tried different recovery... but wifi doesn't work. It does not work neither with his wireless.ko, nor with that in the FAQ.
[LG Optimus 2x] Raum1807:
Try this guide...
[LG Optimus 2x] natalya:
That is exactly what I am looking for. Thanks a lot mate.

I'll start working with this tomorrow. Seems pretty simple actually, just takes time.

Might make a topic about it where I post updates, but my upload speed isn't that great, so we'll see where this goes.

Who knows, RC might start making builds of 4.2.1 already this month? :)
[LG Optimus 2x] Raum1807:
It doesn't show the found networks in the overview. So you have to include your WiFi network manually (control switch in the upper right corner; plus sign to add new networks in the lower right corner)
[LG Optimus 2x] XXMrHyde:
@Raum1807

maybe you can add how to setup ccache, to your guide,

this will decrease the build time a lot, especially if you use a ssd.
[LG Optimus 2x] MetaIIica:
copy and replace wireless.ko in your CM10 Build and flash it again. Then wipe cache and dalvik. Hope it work
[LG Optimus 2x] lipisak:
OK I just made my build, wifi is working (not searching, but working) and everything seems to be working. The battery chargins is...let's say maybe even slower :) But everything else is ok. Just follow the guide.
[LG Optimus 2x] Regash:
so in the Mr.Hyde build the wifi is working but not searching?
[LG Optimus 2x] natalya:
In Hyde's build you can activate WIFI just fine, but it won't find any network. You'll have to download and replace the wireless.ko file as mentioned already three times at least. Once done, remember to change permessions of the file correctly, I use Root Explorer which worked just fine. Take a look at post #2 and you'll find your answer.
[LG Optimus 2x] Custom40:
As we all know, there won't be any more nightly builds of CM10 at this time. I wonder if RC will have focus on CM10.1 only then? Really hope so :)
[LG Optimus 2x] MetaIIica:
For questions regarding CallBug it might be too early right?

What I still miss is the debug mode and the option for memory management for USB in Settings
[LG Optimus 2x] lipisak:
OK so the report for CM 10.1 I just built is following:

CM 10.1 is smooth (some lags sometimes - I guess the kernel will have to be improved a bit)

GPS/WIFI/DATA is working

HW ACCEL is working

CAM/VIDEOCAM/VIDEO PLAYBACK is working

IN CALL AUDIO - is working for now, will need longer testing time

WIFI searching isn't working

BT isnt't working (unable to turn on)

New camera mode isn't working (cannot find it)

FACE UNLOCK isn't working (hangs in menu)

SOME STRINGS(i.e. clock on locksreen is partly covered by i.e. charging notification)

My Baseband: V20Q

RESUME: It added audio in calls and removed BT functionality which is great swap for me as I don't use the BT but I use phone :D

I will keep you posted about in call audio in next days.
[LG Optimus 2x] XXMrHyde:
Yes, i also missing the usb settings,

btw i really don`t like the quick settings, (pull down notification bar, click the upper right button),

fortunately the power widget is available, (it has to be activated in system settings), thought it was missing.
[LG Optimus 2x] Raum1807:
It is already there (kind of): See first post of this thread, FAQ Section, Number B. This is linked in the first post btw.

Debug mode is there. Please read the FAQ in second post. Hint: Dev Options...
[LG Optimus 2x] XXMrHyde:
It`s confusing,

with "full" installation, (untouched rom zip and gapps),

Titanium backup shows:

used/free: 361mb/0b, (it`s system-rom, not /system)

with deleted videos in rom zip

Titanium backup shows:

used/free: 361mb/0b

root-browser shows:

/system used/free: 344mb/0b

CMFileManager shows:

1. time /system used: 331mb

2. time /system used: 324mb

3. time /system used: 323mb

(between 1. and 3, time, I changed nothing, between 2. and 3. timem I only close CMFileManager and open again)

can someone with an increased system partition telling the used space of /system?

Thanks

Edit:

ok,

I forgot to check your CM10 guide
[LG Optimus 2x] Raum1807:
ROM + GAPPS, nothing removed: 374508 KB = 366 MB

Just use 'df' or 'df -h' in terminal or over adb shell to determine the size of /system. Different tools show different sizes...
[LG Optimus 2x] XXMrHyde:
Thanks,

with deleted videos:

df (-h):

/system used/free: 344/0

so I`ll delete something more in the rom zip,

to get below the 344 mb system size.

I guess the rom could be installed incorrect.
[LG Optimus 2x] Raum1807:
I had the same problem when building ParanoidAndroid.

Deletable files and what you gain (CM10.1)

/system/media/: delete bootanimation.zip, saves 1.4 MB

/system/media/video/: delete all files, saves 6.4 MB

/system/media/audio/ringtones/: keep one or two, delete the rest, saves up to ~8 MB

You can even delete some system apps (.apk) from '/system/app/' (~124 MB) like LiveWallpapers.apk, VisualizationWallpapers.apk, CMWallpapers.apk, MagicSmokeWallpapers.apk, HoloSpiralWallpaper.apk, etc
[LG Optimus 2x] XXMrHyde:
i had to delete a lot of system apps too, only media files isn`t enough.

Now i have 16mb free space at /system.

I guess, as this is a guide how to build CM10.1 it makes more sense,

to disable the building of some system apps, and disable the including of some media files,

instead of deleting them in the rom zip.

I`ll write a little guide how to disable this in the sources.

But, as you have to disable the building for a lot of system apps, too,

i recommend you to increase your system partition.

@Raum1807:

if you like, you can add a link to the upcoming post, or add it to your guide.

Edit:

if you use the stock system partition size,

i don`t recommend to install, the build I posted here,

without deleting most media files, and some system apks you don`t need, e.g livewalpapers, CMWallpapers, ...,

you have to delete at least 22 mb of media files and system apps, ;)
[LG Optimus 2x] Raum1807:
Of course I can add your guide or place a link to it. As you like it.

Just an idea: how about stripping some not needed files from GAPPS?
[LG Optimus 2x] lipisak:
Hi XXMrHyde,

please could you tell me why would someone wanted to increase free space on RO partition? It's nonsense (no offense:)) I installed built rom and everything is ok even with 0MB free space. No application writes into this partition so why?

L.
[LG Optimus 2x] XXMrHyde:
The size you need at /system with rom and gapps will be 366mb,

but you only have 344mb with stock size,

you see the problem,

for me it also seems there is no problem with my build on stock size,

but, there is still 22mb missing

---------- Post added at 11:49 PM ---------- Previous post was at 11:44 PM ----------

In my personal build I included gapps,

and also deleted some apks from the gapps,

because I don`t want to miss some rom apps,

without deleting some gapps files, it would be hard to get enough free space, you are right
[LG Optimus 2x] lipisak:
Ok my build has really 344 on system partition and GAPPS are installed after, will I miss some application or what? I have no problems now...:)
[LG Optimus 2x] Duarte777:
Hi

Im not building for 2x, is for p970 (optimus black)... but during the compilation i got this error:

target Export Resources: framework-res (/home/duarte777/cm10.1/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/core_intermediates/noproguard.classes.dex
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-eclair_intermediates/classes.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-froyo_intermediates/classes.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-gingerbread_intermediates/classes.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb_intermediates/classes.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-honeycomb-mr2_intermediates/classes.jar
CHK include/linux/version.h
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics_intermediates/classes.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-ics-mr1_intermediates/classes.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-jellybean_intermediates/classes.jar
target Static Jar: jsr305 (/home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/jsr305_intermediates/javalib.jar)
target thumb C: libicuuc <= external/icu4c/common/ucnv2022.c
arm-linux-androideabi-gcc: error: external/icu4c/common/ucnv2022.c: No such file or directory
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
make: ** [/home/duarte777/cm10.1/out/target/product/p970/obj/SHARED_LIBRARIES/libicuuc_intermediates/ucnv2022.o] Erro 1
make: ** Esperando que outros processos terminem.
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
make[1]: Saindo do diretório `/home/duarte777/cm10.1/kernel/lge/p970'
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:13: error: Resource at config_geocodeProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/lge/p970/overlay/frameworks/base/core/res/res/values/config.xml:67: error: Resource at config_bluetooth_adapter_quick_switch appears in overlay but not in the base package; use <add-resource> to add.
make: ** [/home/duarte777/cm10.1/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Erro 1
make: *** A apagar ficheiro `/home/duarte777/cm10.1/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
duarte777@duarte777-HP-Pavilion-g6-Notebook-PC:~/cm10.1$

Some help ?

Thanks
[LG Optimus 2x] Raum1807:
Let's test that. Open terminal or adb shell and cd into system.

$ du -ks *

Mine looks like this:

16 addon.d

127356 app

5980 bin

4 build.prop

15124 etc

12456 fonts

19384 framework

82480 lib

4 lost+found

21168 media

6336 tts

44468 usr

13704 vendor

3644 xbin

What is yours?
[LG Optimus 2x] Imperticus:
Possible bluetooth fix (not tested). This is adapted from the galaxy S2 bluteooth fix by the CM team.

Create 'bluetooth' folder in /device/lge/p990/ and put in the attached file 'bdroid.buildcfg.h'

Add the following lines in /device/lge/p990/BoardConfig.mk file

# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/p990/bluetooth
[LG Optimus 2x] XXMrHyde:
I also installed rom and gapps,

and had 344mb/0b,

than I deleted videos in rom zip, about 6mb,

and reinstalled rom and gapps,

and still 344mb/0b,

if I delete alot of media files and apps,

I get 16mb free

and Raum1807 has 366mb used at /system with an increased system partition,

but I can confirm, I didn`t got a problem using untouched rom and gapps for half a day,

except the instalation wizard lags a lot,

with 16mb free space it`s better but not without lag.

So i really don`t know if the used space shows a wrong size,

or there a really missing files with untouched rom and gapps, later I`ll compare the folders and files

in /system in both cases.

I have to sleep know.
[LG Optimus 2x] Imperticus:
seems like your repo sync didn't work properly. try syncing repo again.
[LG Optimus 2x] Duarte777:
Now, i got this:

PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES development/tools/emulator/system/camera/media_profiles.xml:system/etc/media_profiles.xml ignored.
PRODUCT_COPY_FILES development/tools/emulator/system/camera/media_codecs.xml:system/etc/media_codecs.xml ignored.
No private recovery resources for TARGET_DEVICE p970
make -C kernel/lge/p970 O=/home/duarte777/cm10.1/out/target/product/p970/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/duarte777/cm10.1/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" headers_install
make[1]: Entrando no diretório `/home/duarte777/cm10.1/kernel/lge/p970'
target StaticLib: libcompiler-rt-extras (/home/duarte777/cm10.1/out/target/product/p970/obj/STATIC_LIBRARIES/libcompiler-rt-extras_intermediates/libcompiler-rt-extras.a)
target Export Resources: framework-res (/home/duarte777/cm10.1/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)
target StaticLib: libpng (/home/duarte777/cm10.1/out/target/product/p970/obj/STATIC_LIBRARIES/libpng_intermediates/libpng.a)
JarJar: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes-jarjar.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes-jarjar.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes-jarjar.jar
Copying: /home/duarte777/cm10.1/out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/emma_out/lib/classes-jarjar.jar
CHK include/linux/version.h
target thumb C: libicuuc <= external/icu4c/common/ucnv2022.c
arm-linux-androideabi-gcc: error: external/icu4c/common/ucnv2022.c: No such file or directory
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
make: ** [/home/duarte777/cm10.1/out/target/product/p970/obj/SHARED_LIBRARIES/libicuuc_intermediates/ucnv2022.o] Erro 1
make: ** Esperando que outros processos terminem.
make[1]: Saindo do diretório `/home/duarte777/cm10.1/kernel/lge/p970'
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
duarte777@duarte777-HP-Pavilion-g6-Notebook-PC:~/cm10.1$
[LG Optimus 2x] lipisak:
My differs in following:

19392 framework

8528 vendor

everything else is same

I am making build for it now. Will let you know. But I also found some info about it:

Comment 5 here contains the same error message as on ours: http://code.google.com/p/...
[LG Optimus 2x] Imperticus:
Cheers, I'm off to sleep. Will take a better look tomorrow.
[LG Optimus 2x] p.valenta:
If you are already building CM10 and you don't want to download all again, you can use only these commands to switch to mr1-staging branch:

repo init -b mr1-staging
repo sync

It will download only missing files from original jellybean branch. Later you can anytime revert back by:

repo init -b jellybean
repo sync

Of course I understand that it is maybe easier to keep both branches in separate locations. It's only tip to save time & storage space. ;)
[LG Optimus 2x] xxtoyxx:
Call bug here :(
[LG Optimus 2x] Raum1807:
Ok. My framework dir

20	am.jar
256	android.policy.jar
72	android.test.runner.jar
540	apache-xml.jar
8	bmgr.jar
384	bouncycastle.jar
4	bu.jar
4	com.android.future.usb.accessory.jar
8	com.android.location.provider.jar
164	com.google.android.maps.jar
36	com.google.android.media.effects.jar
4	com.google.widevine.software.drm.jar
8	content.jar
12	core-junit.jar
1296	core.jar
1104	ext.jar
9816	framework-res.apk
3888	framework.jar
4	ime.jar
4	input.jar
28	javax.obex.jar
52	mms-common.jar
48	monkey.jar
20	pm.jar
8	requestsync.jar
1088	services.jar
4	settings.jar
8	svc.jar
460	telephony-common.jar
40	uiautomator.jar

And the vendor dir

12	etc
20	lib
13668	pittpatt

Please compare these values with yours.
[LG Optimus 2x] amardeepsingh77:
Where's the link to download unofficial nightly???
[LG Optimus 2x] Andy HOT:
Predictable unfortunetly
[LG Optimus 2x] natalya:
Anyone know if the CM10.1 will appear here some time later: http://get.cm/?device=p990 ?

For example Galaxy S3 latest CM Build there is cm-10-20121203-NIGHTLY-i9300.zip which isn't CM10.1 I guess does that mean we won't see CM10.1 there too?
[LG Optimus 2x] orbital_71:
We will get cm10.1 just waiting for ics source for p990. Get it?
[LG Optimus 2x] mikle_01:
Great Rom; running smooth and except the WLAN search, USB Storage and BT issue it's ok...

Videos and photos stored in internal (!) SDcard !!! (storage\sdcard0\DCIM\Camera) How to change that!? With the FIXED_vold.fstab.zip !?
[LG Optimus 2x] Duarte777:
Can someone help me with this error ? Its for optimus black @P970

target arm C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioMixer.cpp
target arm C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioResampler.cpp
target arm C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioResamplerSinc.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioFlinger.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/AudioPolicyService.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/ServiceUtilities.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/StateQueue.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/FastMixer.cpp
target thumb C++: libaudioflinger <= frameworks/av/services/audioflinger/FastMixerState.cpp
target StaticLib: libc_nomalloc (/home/duarte777/cm10.1/out/target/product/p970/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)
target StaticLib: libscheduling_policy (/home/duarte777/cm10.1/out/target/product/p970/obj/STATIC_LIBRARIES/libscheduling_policy_intermediates/libscheduling_policy.a)
target StaticLib: libcpustats (/home/duarte777/cm10.1/out/target/product/p970/obj/STATIC_LIBRARIES/libcpustats_intermediates/libcpustats.a)
target StaticLib: libmedia_helper (/home/duarte777/cm10.1/out/target/product/p970/obj/STATIC_LIBRARIES/libmedia_helper_intermediates/libmedia_helper.a)
target thumb C++: libcameraservice <= frameworks/av/services/camera/libcameraservice/CameraService.cpp
target thumb C++: libcameraservice <= frameworks/av/services/camera/libcameraservice/CameraClient.cpp
target thumb C++: libcameraservice <= frameworks/av/services/camera/libcameraservice/Camera2Client.cpp
frameworks/av/services/camera/libcameraservice/Camera2Client.cpp: In member function 'virtual void android::Camera2Client::notifyAutoFocus(uint8_t, int)':
frameworks/av/services/camera/libcameraservice/Camera2Client.cpp:1435:45: error: 'CAMERA_MSG_FOCUS_MOVE' was not declared in this scope
make: ** [/home/duarte777/cm10.1/out/target/product/p970/obj/SHARED_LIBRARIES/libcameraservice_intermediates/Camera2Client.o] Erro 1
make: ** Esperando que outros processos terminem.