[ROM] CyanogenMod 9 for S7 Slim (ALPHA)

Hi all
How do I greet all to restore original stock rom ?!! Because I do not have the green notion!
Help! the step after the step
Thanks (sorry my english)
 
Paranoid 2.16 wifi tehtering now work..changing ui same problem.

New CM10 from 1.10... i was hoping that you removed that wifi fix that did not fix nothing but broke wifi tehtering but i guess no so back to old version from 15 days ago.

its the same as 15 days ago, so i dont have idea (anyway it shouldnt affect anything)
btw.: i didnt checked paranoid at all, maybe the paranoidpreferencs.apk is wrong? i didnt find any device with 160 dpi with the latest pa..
 
asturel said:
its the same as 15 days ago, so i dont have idea (anyway it shouldnt affect anything)
btw.: i didnt checked paranoid at all, maybe the paranoidpreferencs.apk is wrong? i didnt find any device with 160 dpi with the latest pa..

When you test paranoid you will see ..when you install its tablet mode..changing ui modes and dpi works perfect for individual apps with out restarting but if you try change system ui it ask you to restart and after restart it want boot..even flashing again paranoid rom does not help.

I dont now why wifi tehtering does not work in last versions ..i try everyhing but always got error or tablet restart..on the other hand that versions from 15 days ago work..maybe something in cm10 code is change ..i thought its because your wifi fix.
 
I now thing that maybe it has nothing to do with paranoid settings..when i install..use ..dont change settings at all and reboot ..it want boot after that.
 
i tried to get work the camera but i failed:

Code:
bool QualcommCameraHardware::native_set_parm(    cam_ctrl_type type, uint16_t length, void *value)
{
    struct msm_ctrl_cmd ctrlCmd;


    ctrlCmd.timeout_ms = 5000;
    ctrlCmd.type       = (uint16_t)type;
    ctrlCmd.length     = length;
    // FIXME: this will be put in by the kernel
    ctrlCmd.resp_fd    = mCameraControlFd;
    ctrlCmd.value = value;


    ALOGV("%s: fd %d, type %d, length %d", __FUNCTION__,
         mCameraControlFd, type, length);
    if (ioctl(mCameraControlFd, [B]MSM_CAM_IOCTL_CTRL_COMMAND[/B], &ctrlCmd) < 0 ||
                ctrlCmd.status != CAM_CTRL_SUCCESS) {.
        ALOGE("%s: error (%s): fd %d, type %d, length %d, status %d",
             __FUNCTION__, strerror(errno),
             mCameraControlFd, type, length, ctrlCmd.status);
        return false;
    }
    return true;
}
it crashes always on MSM_CAM_IOCTL_CTRL_COMMAND : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerpri - Pastebin.com

dmesg:
__msm_control: wait_event error -512:
-ERESTARTSYS if it was interrupted by a signal, and the remaining jiffies otherwise if the condition evaluated to true before the timeout elapsed.

Code:
<3>[57607.018201] s5k5cag: s5k5cag model_id = 0x5ca<6>[57607.030101] msm_enqueue: queue event new max is 188
<3>[57607.132543] __msm_control: wait_event error -512
<1>[57608.237845] BUG: Bad page map in process mediaserver  pte:de6efe74 pmd:3e4c1031
<1>[57608.239526] addr:4039d000 vm_flags:88100075 anon_vma:d8a1c738 mapping:df5745ec index:14
<1>[57608.247591] vma->vm_ops->fault: filemap_fault+0x0/0x420
<1>[57608.252718] vma->vm_file->f_op->mmap: generic_file_mmap+0x0/0x58
<4>[57608.258744] [<c0036078>] (unwind_backtrace+0x0/0xd8) from [<c00d987c>] (print_bad_pte+0x1a0/0x1d0)
<4>[57608.267666] [<c00d987c>] (print_bad_pte+0x1a0/0x1d0) from [<c00dba1c>] (unmap_vmas+0x388/0x5e4)
<4>[57608.276346] [<c00dba1c>] (unmap_vmas+0x388/0x5e4) from [<c00de584>] (exit_mmap+0xb0/0x1d4)
<4>[57608.284585] [<c00de584>] (exit_mmap+0xb0/0x1d4) from [<c007293c>] (mmput+0x48/0x100)
<4>[57608.292317] [<c007293c>] (mmput+0x48/0x100) from [<c0076a68>] (exit_mm+0x140/0x148)
<4>[57608.299955] [<c0076a68>] (exit_mm+0x140/0x148) from [<c00784ac>] (do_exit+0x190/0x6e0)
<4>[57608.307853] [<c00784ac>] (do_exit+0x190/0x6e0) from [<c0078aac>] (do_group_exit+0xb0/0xe0)
<4>[57608.316105] [<c0078aac>] (do_group_exit+0xb0/0xe0) from [<c0086670>] (get_signal_to_deliver+0x3c4/0x420)
<4>[57608.325603] [<c0086670>] (get_signal_to_deliver+0x3c4/0x420) from [<c0032ab0>] (do_signal+0x68/0x660)
<4>[57608.334772] [<c0032ab0>] (do_signal+0x68/0x660) from [<c00330c0>] (do_notify_resume+0x18/0x48)
<4>[57608.343356] [<c00330c0>] (do_notify_resume+0x18/0x48) from [<c002ffcc>] (work_pending+0x1c/0x20)
<6>[57608.362983] binder: release 7381:7381 transaction 337163 in, still active
<6>[57608.364139] binder: send failed reply for transaction 337163 to 7189:7511

the 'BUG' part is very rare, normally just get:

<3>[57747.329272] s5k5cag: s5k5cag model_id = 0x5ca
<6>[57747.341041] msm_enqueue: queue event new max is 189
<3>[57747.446455] __msm_control: wait_event error -512
<6>[57747.628489] binder: release 7517:7521 transaction 339773 in, still active
<6>[57747.629645] binder: send failed reply for transaction 339773 to 7189:7560

there is MSM_CAM_IOCTL_CTRL_COMMAND_2 which returns immediately (instead of wait for the command status) which doesnt crash but.....

so i think im not able to fix this.. unless somebody help me out



compiled the kernel with msm camera debug:

Code:
<6>[  142.999774] msm_camera: msm_open_common: open control0<3>[  143.119994] s5k5cag: s5k5cag model_id = 0x5ca
<6>[  143.147421] msm_camera: msm_open_common: rc 0
<6>[  143.147433] msm_camera: msm_open_control: rc 0
<6>[  143.164050] msm_camera: msm_get_sensor_info: sensor_name s5k5cag
<6>[  143.178971] msm_camera: calling msm_control kernel msm_ioctl_control
<6>[  143.178985] msm_camera: Inside msm_control
<6>[  143.178993] msm_camera: Inside __msm_control
<6>[  143.179005] msm_enqueue: queue event new max is 1
<6>[  143.179012] msm_camera: msm_enqueue: woke up event
<6>[  143.179018] msm_camera: Waiting for config status
<6>[  143.278976] msm_camera: Waiting over for config status
<3>[  143.279268] __msm_control: wait_event error -512
<6>[  143.284306] msm_camera:  msm_control done
<6>[  143.287193] msm_camera: msm_control: rc -512
<6>[  143.518544] binder: release 944:944 transaction 27597 in, still active
<6>[  143.519440] binder: send failed reply for transaction 27597 to 1828:1842
<6>[  143.526279] msm_camera: msm_release_control: control0
 
Last edited:
asturel I need some help.
I was trying to set up WiFi tethering for CM10.


Here is what I did so far but without success, if you know, tell me what I did wrong:


I did install CM10 ROM and gapps for JB (I wipe everything before that),
then I downloaded readme and wpa_supplicant.conf files and I put it on the folder where is files like adb.exe, AdbWinApi.dll, fastboot.exe, recovery.img...,
then because I did not work with adb commands before I google it and before that I was already having installed Android SKD and I did check USB debugging on tablet but then I was changed PATH for android sdk and then I start cmd, just for fun I run adb devices and I get in list my device with serial number, then in the cmd I go to folder where I put wpa_supplicant.conf and run command from read me file:


adb remount rw


Answer from cmd is: remount succeeded,


then I run: adb push wpa_supplicant.conf /system/etc/wifi/


Answer from cmd is: 0 KB/s (77 bytes in 0.363s)


then I run: adb shell "chmod 644 /system/etc/wifi/wpa_supplicant.conf"


Answer from cmd is: NOTHING, I get next line in cmd for whithing


then I run: adb reboot


and tablet reboots.


I know that I can just copy all command together and paste it on cmd but I do not know if I wrong somewhere...


then I go to Google play and download app WiFi Treater (that app enable WiFi treater on your CM9 ROM, I posted solution somewhere on this topic), if I use same settings on CM10 in my lap top I cannot see SSID from tablet. This app have show log possibility and here is what it says:


loading WiFi driver: failed
Activating WiFi interface: failed
Setting ad-hoc mode: failed
Setting essid: failed
Setting channel: failed
Enabling Routing fix: failed
Enabling NAT rules: failed
Enabling MSS Clamping: failed
Enabling IP forwarding: done
Enabling access control: failed
Tethering now running: done


If I install CM10, gapps and app WiFi tether I can see SSID from tablet I can even connect to it but there is no access to the internet (and I checked premising rules).

Edit:
I was looking before sleep options in settings->developer options and I saw that all the time I was messing with WiFi the option ADB over network is NOT checked. :-(
Did I needed to enable that first?
I'm not in front the PC and I can't try is that problem.

P.S. sorry for my English.
 
Last edited:
I think this file is in CM9 Fixes folder, so why You've tried to put it to CM10?
Maybe simply copy that file via any file manager, f.ex. Root Explorer and give permissions.
 
Just_me said:
asturel I need some help.
I was trying to set up WiFi tethering for CM10.

Here is what I did so far but without success, if you know, tell me what I did wrong:

I did install CM10 ROM and gapps for JB (I wipe everything before that),
then I downloaded readme and wpa_supplicant.conf files and I put it on the folder where is files like adb.exe, AdbWinApi.dll, fastboot.exe, recovery.img...,
then because I did not work with adb commands before I google it and before that I was already having installed Android SKD and I did check USB debugging on tablet but then I was changed PATH for android sdk and then I start cmd, just for fun I run adb devices and I get in list my device with serial number, then in the cmd I go to folder where I put wpa_supplicant.conf and run command from read me file:

adb remount rw

Answer from cmd is: remount succeeded,

then I run: adb push wpa_supplicant.conf /system/etc/wifi/

Answer from cmd is: 0 KB/s (77 bytes in 0.363s)

then I run: adb shell "chmod 644 /system/etc/wifi/wpa_supplicant.conf"

Answer from cmd is: NOTHING, I get next line in cmd for whithing

then I run: adb reboot

and tablet reboots.

I know that I can just copy all command together and paste it on cmd but I do not know if I wrong somewhere...

then I go to Google play and download app WiFi Treater (that app enable WiFi treater on your CM9 ROM, I posted solution somewhere on this topic), if I use same settings on CM10 in my lap top I cannot see SSID from tablet. This app have show log possibility and here is what it says:

loading WiFi driver: failed
Activating WiFi interface: failed
Setting ad-hoc mode: failed
Setting essid: failed
Setting channel: failed
Enabling Routing fix: failed
Enabling NAT rules: failed
Enabling MSS Clamping: failed
Enabling IP forwarding: done
Enabling access control: failed
Tethering now running: done

If I install CM10, gapps and app WiFi tether I can see SSID from tablet I can even connect to it but there is no access to the internet (and I checked premising rules).

Edit:
I was looking before sleep options in settings->developer options and I saw that all the time I was messing with WiFi the option ADB over network is NOT checked. :-(
Did I needed to enable that first?
I'm not in front the PC and I can't try is that problem.

P.S. sorry for my English.

You cant enable wifi tehter on latest asturel cm10 build..i use CM10 rom from 18.9 and on that older it can(i thing drivers for wifi are different..)
 
You cant enable wifi tehter on latest asturel cm10 build..i use CM10 rom from 18.9 and on that older it can(i thing drivers for wifi are different..)

there is _NO_ other wifi drivers! its the same as stock, anyway there is no WiFi Treater (treater?) in play store, so i cant even check it. (if u can give me a direct link to the app in the store..)

there is no need wpa_supplicant.conf it was missing just in one build (dont remember exactly which)
 
Asturel i thing you are wasting time with a camera..it is just not posibile with out some hal programer ..maybe to see why wifi tehtering does not work after your wifi fix(i see that files in etc/wifi folders are different ..old have for 4319 and 4329..on new just for 4319) and why paranoid does not boot after second time(its probably something simple but makes it unusable)
 
asturel said:
there is _NO_ other wifi drivers! its the same as stock, anyway there is no WiFi Treater (treater?) in play store, so i cant even check it. (if u can give me a direct link to the app in the store..)

there is no need wpa_supplicant.conf it was missing just in one build (dont remember exactly which)

Here is link for app WiFi tether:
https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether&hl=sr

If you want to play with it find my post how to set WiFi tethering on CM9 on this topic. Again, I'm not close to PC and is not easy to find with tablet.
 
asturel said:
there is _NO_ other wifi drivers! its the same as stock, anyway there is no WiFi Treater (treater?) in play store, so i cant even check it. (if u can give me a direct link to the app in the store..)

there is no need wpa_supplicant.conf it was missing just in one build (dont remember exactly which)

This is the app
https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether&hl=en

I see it in my google store..
On versions before that wifi fix it works ..on every after no way ..try your self on old and new version ..i will tell you whow to set in options.
 
Back
Top