yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Grand Quattro] Shrukul:
I Came across such errors when i was using androidarmv6 source..I thnk i replaced surface.cpp with that of legacymod..

I suggest you to use the backup of cm11 source or repo sync the source... But before that, cd to .repo/manifests and then git reset --hard.

Then repo sync...
[Samsung Galaxy Grand Quattro] mahir kukreja:
well buddy my comp is not even recognizing the command mkdir [MENTION=5753279]Shrukul[/MENTION]
[Samsung Galaxy Grand Quattro] freitaz:
Strange. You may want to check the variable PATH in a terminal (echo $PATH), it should include paths like /usr/bin, /usr/sbin and others.

As a quick fix, you can prefix your commands with /usr/bin, so "mkdir" command becomes "/usr/bin/mkdir", and so on
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] [MENTION=5753279]Shrukul[/MENTION] [MENTION=5681348]freitaz[/MENTION] [MENTION=5021288]lols21.10[/MENTION] looks like I am a goner

Ubuntu not booting n I hve no backup
[Samsung Galaxy Grand Quattro] freitaz:
Try this:

http://askubuntu.com/questions/316582/boot-trouble-shooting
[Samsung Galaxy Grand Quattro] Shrukul:
Try installing ubuntu again... It may or may not result in data loss... But that's the only solution... :( :(
[Samsung Galaxy Grand Quattro] freitaz:
[MENTION=5723590]mahir kukreja[/MENTION] Reinstall Ubuntu WITHOUT formatting your partitions, this will keep your repo intact, assuming you saved it on your home folder
[Samsung Galaxy Grand Quattro] k2wl:
reinstall ubuntu

dont format anything. and install on same partition.

keep the user-name as you used previously

that way you will get the home folder which is same

contains same repos and data

i have done this many times.

most of the time data is not lost:)
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] Successful but no Internet access how to regain it?

Not detecting wifi

Any1 knows?
[Samsung Galaxy Grand Quattro] Shrukul:
Ok if i was in your situation i would do this :

Since you have access to your source, copy the source to WINDOWS PARTITON(like local disk c, d etc).. and then format Ubuntu partition and reinstall fresh ubuntu again!
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=5753279]Shrukul[/MENTION] hmm did the rom boot?
[Samsung Galaxy Grand Quattro] k2wl:
do not copy files to windows partition.

that will corrupt the data

instead.....put a pen drive of 32gb or 16 gb

format it with ext4 in ubuntu

then copy the .repo folder
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] im using external hard drive is that fine for .repo folder
[Samsung Galaxy Grand Quattro] Shrukul:
I have my source backup in windows partition and i use backup almost everyday coz i mess up my source everyday!

When we copy back the source from windows to ubuntu partition, we need to set proper permissions which can be done by doing this command

chmod -R 700 cm11

(Assuming cm11 is the source name) :)

I can confirm that it works since i have done this for almost 20 times..

[MENTION=5723590]mahir kukreja[/MENTION] It didnt boot.. :(
[Samsung Galaxy Grand Quattro] mahir kukreja:
Anyways im copying to ext hard drive n [MENTION=5753279]Shrukul[/MENTION] :( logcat ?

n Im copying some folders not all coz transfer speed is not much
[Samsung Galaxy Grand Quattro] iead_20:
so i asked a dev called [MENTION=4924398]rutvikrvr[/MENTION] to help you out guys and he said YES :laugh:
[Samsung Galaxy Grand Quattro] RVR:
lol ...bro k2wl is on ur side .... hes the best ... anyways .. im happy to assist
[Samsung Galaxy Grand Quattro] mahir kukreja:
Ya bt he is very busy these days
[Samsung Galaxy Grand Quattro] iead_20:
as mahir said he is very busy, so that's why i asked for your help
[Samsung Galaxy Grand Quattro] k2wl:
@ mahir kukreja

what have you done to the original device folder on github???

you made almost 12 commits and original device folder is gone.

do you have a back up of old folder.

i want to start from there.

also i need system/frameworks folder from stock rom.

if anyone can zip it and attach here. ????
[Samsung Galaxy Grand Quattro] RVR:
[MENTION=943196]k2wl[/MENTION]... Vendor files reqd too right?
[Samsung Galaxy Grand Quattro] mahir kukreja:
Sorry for messing up everything [MENTION=943196]k2wl[/MENTION]

http://www.mediafire.com/?6t9paq9h6uu9fqp

Here is a copy of the device folder after you applied fixes to ril on github

N [MENTION=943196]k2wl[/MENTION] http://www.mediafire.com/?xcl3h24dpeah6pe

Frameworks folder

U cn use current device tree too audio works partially n ext sd is fixed in it n it boots could watch videos n listen 2 songs as well n ramdisk folder is from the whisp which helped fix ext sd

If u try fixing int sd remember 1 thing mmcblk1 it mounts there n ext sd at mmcblk1p1 at 179:33
[Samsung Galaxy Grand Quattro] mahir kukreja:
Bro vendor files are there in the device folder k2wl integrated them in the device tree
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] i synced the whole repo again yesterday bcz i lost all data n built the rom somehow bt i think there is some prblm in the new repo im getting system ui force closes anything i can do to remove these force closes?
[MENTION=5753279]Shrukul[/MENTION] still getting fc
[Samsung Galaxy Grand Quattro] k2wl:
system ui force close may be due to sd card mounts

post the logcats
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] logcat [MENTION=4924398]rutvikrvr[/MENTION] ANY IDEAS? [MENTION=5753279]Shrukul[/MENTION] ?

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Killing 1148:com.android.providers.calendar/u0a1 (adj 15): system update done

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Removing system update proc: ProcessRecord{41ac9488 1163:android.process.acore/u0a3}

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Killing 1163:android.process.acore/u0a3 (adj 15): system update done

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Removing system update proc: ProcessRecord{41ad5e98 1199:android.process.media/u0a6}

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Killing 1199:android.process.media/u0a6 (adj 13): system update done

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Removing system update proc: ProcessRecord{41ae0658 1213:com.google.process.gapps/u0a18}

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Killing 1213:com.google.process.gapps/u0a18 (adj 11): system update done

[ 07-16 13:15:49.299 520: 547 I/ActivityManager ]

Removing system update proc: ProcessRecord{41b3f8e0 1227:com.google.android.googlequicksearchbox:search/u0a25}

[ 07-16 13:15:49.309 520: 547 I/ActivityManager ]

Killing 1227:com.google.android.googlequicksearchbox:search/u0a25 (adj 9): system update done

[ 07-16 13:15:49.309 520: 1162 W/ActivityManager ]

Can't find mystery application for StrictMode from pid=1227 uid=10025: android.os.BinderProxy@41f2ed90
[Samsung Galaxy Grand Quattro] Shrukul:
[MENTION=5723590]mahir kukreja[/MENTION] CM 10.0 has been released for galaxy core.. almost everything works except ril and camera... Looks like internal memory is working... So i asked maclaw to upload device tree and he said he is on holidays and will upload it as soon as possible!! So once he uploads his device tree, i ll try using his ramdisk folder .Hopefully it will fix internal memory since quattro and core have same partitioning!! :)
[Samsung Galaxy Grand Quattro] mahir kukreja:
lets see! :)
[Samsung Galaxy Grand Quattro] RVR:
some libs missing .. i guess
[Samsung Galaxy Grand Quattro] mahir kukreja:
THIS is weird coz i built successfully from a repo downloaded a month ago bt getting ui force closes when i lost all data n had to sync the new repo yesterday :/

[MENTION=943196]k2wl[/MENTION]

this seems to be new can this cause problems

I just tried repo sync again n it gave errors in external/chromium n in openssl something n in cardslib folder [MENTION=943196]k2wl[/MENTION] could this be the cause of fc bt the thing is dt I dint make any changes in these files

I have deleted those files n resynced though

EDIT:SYSTEM UI BUG FIXED
[Samsung Galaxy Grand Quattro] k2wl:
there are changes in ramdisk which are exclusive to cm11 so cm10 ramdisk wont solve the internal sd card problems...guys...my net connection is very very bad these days and it get disconnected every 5 min so cant help you guys.

as soon as it gets better i will help to fix internal sd
[Samsung Galaxy Grand Quattro] afaquekhaja:
Is WiFi fixed? Just asking.
[Samsung Galaxy Grand Quattro] id74em8:
Not yet.
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] if that is the case tell me n [MENTION=5753279]Shrukul[/MENTION] wht to do we can follow ur instructions no problem
[Samsung Galaxy Grand Quattro] k2wl:
you people using the device tree on your github right @mahir kukreja

your ramdisk is from thewhisp i think.

you need to remove zram support from your ramdisk.

should i make changes to ramdisk???

i will create a test branch on github and then modify so that original device tree remain untouched...
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] Okay bro make any changes you want to do :) we do have backups of our trees as well so no problem!
[Samsung Galaxy Grand Quattro] k2wl:
ok....so started making changes to tree under testcm11 branch.

lets see how far that goes.

as i dont have a device ....i can only build...also due to poor net connection my builds will be taking time to upload ...
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] Haha having u on our side is a big thing in itself bro!
[Samsung Galaxy Grand Quattro] Shrukul:
[MENTION=5723590]mahir kukreja[/MENTION] Had been to my grandma's house so couldn't do much... Anyways, can you try using storage_list.xml from here https://github.com/TheWhisp/android...11.0/overlay/frameworks/base/core/res/res/xml and see if it solves internal storage?? I Cant try since i have some issues...
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=5753279]Shrukul[/MENTION] we have the same file
[Samsung Galaxy Grand Quattro] lols21.10:
Finally got my mobile and build my first build did not boot :( .Tried again booted second time :D .

Will start with patches
[Samsung Galaxy Grand Quattro] abcdjdj:
It's most probably the android_prebuilt repo which is causing this problem. Afaik, that repo is only used for old devices and it ideally is safe to remove. You can remove it by adding the <remove-project line in your local manifest.

Also, in case you want to backup the .repo folder to your windows partition, a nice way is to pack the entire .repo folder as a tar.gz archive.

I have been following this thread since some time. I hope that you guys get a fully stable and functional cm soon. Best of luck.

Regards,

abcdjdj
[Samsung Galaxy Grand Quattro] k2wl:
i think internal sd and external sd issue is resolved by mihir on his guthub repo.

so now the major bugs remain related to RIL and it associate functions like calls,sms, wifi, bluetooth.

i already started working on bluetooth....and ril.

i dont know how many of you aware of the fact that our phone has CSR bluetooth and not the broadcom one.

so bluedroid is useless to us.

we need bluez stack in our rom to get bluetooth working.

i am already working on integrating bluez in cm source.

i will keep you people posted.

i have also made one ril in testcm11 branch...go on compile with that and report back.

Good news is our kernel already contains bluez support so it may be little easier.
[Samsung Galaxy Grand Quattro] iead_20:
omg, thank you . i might not sale my quattro after all
[Samsung Galaxy Grand Quattro] mahir kukreja:
No [MENTION=943196]k2wl[/MENTION] internal sd has not been fixed yet

Im trying to fix it by making little changes here n there

the changes i told you to merge were to fix a bug in gallery which failed to recognize external sd

After the current compilation completes I will test the ril u have used on my next build or [MENTION=5753279]Shrukul[/MENTION] will

N thanx for helping buddy :)
[Samsung Galaxy Grand Quattro] k2wl:
oh ok ...but i think it will get fixed soon...so i better continue my work on bluetooth and ril...right???
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] yeah!
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] found tht in fstab

/devices/platform/msm_sdcc.3/mmc_host auto auto defaults voldmanaged=sdcard0:,noemulatedsd,nonremovable

but when i used root browser saw tht it Actually is 1 instead of 3 in

/devices/platform/msm_sdcc.3

so made changes n this opened this up in logcat

[ 07-20 11:17:14.120 138: 138 I/rmt_storage ]
rmt_storage user app start.. ignoring cmd line parameters

[ 07-20 11:17:14.120 138: 138 I/rmt_storage ]
rmt_storage open success

which leads to this i guess

[ 07-20 11:18:14.429 125: 125 I/ServiceManager ]
service 'media.audio_flinger' died

[ 07-20 11:18:14.429 125: 125 I/ServiceManager ]
service 'media.player' died

hence stuck at bootlogo

what to do?

logcat n dmesg attached
[Samsung Galaxy Grand Quattro] k2wl:
# Vold

/devices/platform/msm_sdcc.1/mmc_host/mmc1 auto auto defaults voldmanaged=sdcard1:auto

/devices/platform/msm_hsusb_host/usb auto auto defaults voldmanaged=usbdisk:auto

Try to use these and report back

Also

sdcard0:,noemulatedsd

Remove the comma after : in ur fstab line and report back
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION]

i have done a make clean nw m using using ur testcm11 branch will do these changes locally in that n report by tomorrow coz my pc is **** :/
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] i did try ur tree a day ago i was getting some error samsung qualcommril needed by cm11/out something
[Samsung Galaxy Grand Quattro] mahir kukreja:
no change in void for sdcard0?
[Samsung Galaxy Grand Quattro] k2wl:
make the change u describe previously ...just remove the comman after :
[Samsung Galaxy Grand Quattro] mahir kukreja:
compiling nw with ril patches
[Samsung Galaxy Grand Quattro] k2wl:
post the error for ril compilation.

in the vold.fstab of stock the sdcard is mounted as mmc1...so make changes accordingly in your current fstab.qcom as for kitkat vold.fstab is removed from etc folder.
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] Ril compilation is fixed

Can u tell exactly what changes I have to make I cn provide u wid any info u want from stock [MENTION=943196]k2wl[/MENTION] void.fstab file

http://www.mediafire.com/view/?98bib8pi8eb7p9k
[Samsung Galaxy Grand Quattro] k2wl:
@mahir kukreja

try this in your fstab.qcom
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] kernel part is compiling right nw will do this after build completes n will report by tomorrow
[Samsung Galaxy Grand Quattro] k2wl:
just go to out/target/delos3geur/root

open fstab.qcom there and make changes.

it will build kernel with that fstab :)
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION]

in settings in about phone status is nt opening it hangs there

n for both sims it shows null-1 null-2

storage was creating prblms was stuck at bootlogo so reverted to previous ramdisk n took these logs

see the camera logs i guess we are closer to making it work

n abt storage ill keep on trying

n wifi is also doiing something if you look at dmesg

it is unable to locate ath6kl_sdio says no such file or directory

here are the 3 logs

logcat ril dmesg not in order please see accordingly

see this

mm_camera_get_camera_info: controlfd is invalid No such file or directory
[Samsung Galaxy Grand Quattro] k2wl:
in the file manager go to settings>general> and grant root access

then go to system / lib / modules and see if the "ath6kl_sdio" module is present or not.

if it is not there then just copy that from your device tree or stock to that location.

i am looking into logcats and report some more for you
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] there is a file ath6kl_sdio.ko
[Samsung Galaxy Grand Quattro] k2wl:
please can somebody run these results for me from stock and cm11

attach those here
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION]

cm11

i will have to go back on stock for the rest so ull have to wait

[MENTION=943196]k2wl[/MENTION] restoring backup at the moment btw i wanted to ask

# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/mmcblk0p8 /boot emmc defaults defaults
/dev/block/mmcblk0p13 /recovery emmc defaults defaults
/dev/block/mmcblk0p21 /system ext4 ro,barrier=1 wait
/dev/block/mmcblk0p24 /data ext4 nosuid,nodev,noauto_da_alloc,barrier=1 wait,check,encryptable=footer,length=-16384
/dev/block/mmcblk0p22 /cache ext4 nosuid,nodev,barrier=1 wait,check

# Recovery
/dev/block/mmcblk0p8 /boot emmc defaults defaults
/dev/block/mmcblk0p13 /recovery emmc defaults defaults
/dev/block/mmcblk1p1 /external_sd vfat defaults recoveryonly

# vold managed volumes
/devices/platform/msm_sdcc.1/mmc_host/mmc1 auto vfat defaults voldmanaged=sdcard1:auto,noemulatedsd
/devices/platform/msm_hsusb_host/usb auto auto defaults voldmanaged=usbdisk:auto

this works n ext sd mounts bt whenever i include anything related to internal sd none of them mount :(

edit: all files uploaded
[Samsung Galaxy Grand Quattro] k2wl:
@mahir kukreja & others

i have made some changes to device tree in "testcm11" branch for internal sd. compile again.

dont do "make clean"

just delete root,boot.img, recovery.img, ramdisk.img, recovery folders from out/target/delos3geur

and recompile. it will build with changes i put.
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=943196]k2wl[/MENTION] only ext storage mounts

but this time there is something different

file manager says the file or folder was not found After clicking on internal storage !

blank images in gallery

shall i revert this?

https://github.com/mahirkukreja/and...mmit/654af22450cd0a2e701a9b1e5f2129bec8b5e177
[Samsung Galaxy Grand Quattro] k2wl:
i have updated fstab for internal sd.

see the github testcm11 commit

https://github.com/mahirkukreja/and...mmit/8c1b6548ac957a3eecaab736bcd43010a6f2526d

make the change in your rom from file manager

and reboot

report back with logcat and testing it in file manager.

last logcat show internal sd is not even fire up in vold that is why it is showing not found in file manager
[Samsung Galaxy Grand Quattro] mahir kukreja:
okay ill do tht im on cm11 right nw

[MENTION=943196]k2wl[/MENTION]

same as before in file manager

changes made are gone after reboot

rebuilded the rom [MENTION=943196]k2wl[/MENTION]

now this is the actual log anothertry1

it is trying at 179:1 bt we have to try at 179:32 that is where mmcblk1 mounts
[Samsung Galaxy Grand Quattro] k2wl:
[MENTION=5723590]mahir kukreja[/MENTION]

we are very close as the logcat now sees the sdcard0 but cant find the partition

i have added following in the fstab....please rebuild again and give another try
[Samsung Galaxy Grand Quattro] mahir kukreja:
ill try n report by tomorrow my tree is messed up again tell me what things i have to delete if i changed the tree in between?

[MENTION=943196]k2wl[/MENTION] still not opening in file manager

see this

[ 07-21 12:26:50.010 127: 159 D/Vold ]
Trying to get filesystem type for /dev/block/vold/7630591:60

[ 07-21 12:26:50.010 127: 159 E/Vold ]
None or unknown filesystem on /dev/block/vold/7630591:60

u r doing it wrong bro the place where it is looking for 32 is wrong at dat place only 1 to 24 is present

in stock rom i saw 179:32 n 179:33 inside dev/block/void

n both mmcblk1p1 n mmcblk1 are in devices/platform/msm_sdcc.1 u r trying in .3 where only 1 to 24 are present
[Samsung Galaxy Grand Quattro] k2wl:
i already know that both may be on sdcc.1

but on dev/platform/blocks

sdcc.1 has only mmc1 and no mmc0 partition

where as sdcc.3 has mmc0 partition

that is why i tried that.

anyways i have made changes to fstab again

how is your device tree messed up???

are you using local manifest to sync your tree or downloading it manually???
[Samsung Galaxy Grand Quattro] mahir kukreja:
cm11

some helpful links for bluetooth [MENTION=943196]k2wl[/MENTION]

http://xdaforums.com/showthread.php?t=2640723

http://xdaforums.com/showpost.php?p=50634526&postcount=18
[Samsung Galaxy Grand Quattro] mahir kukreja:
i was trying another device tree [MENTION=943196]k2wl[/MENTION] bt dat did nt work

so i deleted dat 1 n pasted ur tree there

there were minor changes in both the trees so dint cause any problems

im using ur local manifest

i download tree manually

can it cause problems
[Samsung Galaxy Grand Quattro] k2wl:
add following line to your local manifest

and when you want to change a tree just replace "master" with "testcm11"

and for repo syncing single repository issue following command

and i already contacted daniel_hk back in december before even he wrote that guide.

already know his work.....i am working on that only.

see his thread i have commented there http://xdaforums.com/showpost.php?p=50432524&postcount=7
[Samsung Galaxy Grand Quattro] mahir kukreja:
ohhh i seee

flashing the build right nw btw [MENTION=943196]k2wl[/MENTION] nothing isworking whenever we use 1 instead of 3 extsd gets ****ed up

same logcat damn!
[Samsung Galaxy Grand Quattro] yajnab:
I remember.. Best way is to use root explorer and search for the mount points manually.. I had used this to fix on My msm7x27 devices.
[Samsung Galaxy Grand Quattro] mahir kukreja:
[MENTION=4573740]yajnab[/MENTION]

used root browser n got dev/block/platform/msm_sdcc.3 n msm_sdcc.1

in msm_sdcc.1 there is mmcblk1 n mmcblk1p1 n by-num which has p1

btw [MENTION=943196]k2wl[/MENTION] n [MENTION=4573740]yajnab[/MENTION] i have got past that camera error _zn7overlay something whatever that was so now the camera log has moved on a bit

it says

[ 07-21 04:15:26.060 136: 136 I/CameraService ]
CameraService started (pid=136)

[ 07-21 04:15:26.170 136: 136 I/CameraService ]
Loaded "Jellybean Camera Hal" camera module

[ 07-21 04:15:26.170 136: 136 D/QcomCamera ]
HAL_get_number_of_cameras: loading libcamera at 0x40180004

[ 07-21 04:15:26.190 136: 136 E/mm-camera ]
mm_camera_get_camera_info: controlfd is invalid No such file or directory

[ 07-21 04:15:26.190 136: 136 D/QcomCamera ]
HAL_get_number_of_cameras: numCameras:0

any idea about this guys?

and the latest repo sync has broken the build getting too many errors of missing files first gralloc_priv.h then another file fixed both of these then another different file n so on

had a backup of folder before sync i used dt n nw rom is building without those errors

how important are these changes?

https://github.com/legaCyMod/androi...mmit/f400e060af6ac937b3d69579e188cc984af1f0b9

https://github.com/legaCyMod/androi...mmit/f400e060af6ac937b3d69579e188cc984af1f0b9
[Samsung Galaxy Grand Quattro] yajnab:
First of all,

mmblk* cant be used by ROMs.. You have to find the path. Send me the screenshot if possible

Secondly,

You are using a wrong version of the Camera HAL,

Thirdly,

The commits you have indicated they are merge commits. Post the actual errors over here. Post your full source over somewhere. your local manifest and all.

For porting the Camera driver get the Kitkat Camera HAl and implement the Jellybean Camera HAL driver function to it and arrange them properly. You need to add the overlay functions to it too which I think you guys are missing somewhere. Full CyanogenMod source wont work. You need to merge various patches.
[Samsung Galaxy Grand Quattro] mahir kukreja:
Okay right now im in college when I reach home ill try to send screenshots n all asap