yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E3] hell_lock:
CM11 for d2202: https://www.mediafire.com/?ua62md2ar6q7rnu

This package has the cam fix. Sorry couldn't fix nfc because there are no logs related to nfc. One more thing, the boot.img has twrp 2.8.3 which I compiled from source. Tell me if both the things are working fine.

If you find any bugs, do provide me the logs so that I can fix them.

Lastly, should we focus on cm12.1 or you want us to fix nfc?
[Sony Xperia E3] hell_lock:
This commit fixed rear cam partially but front was dead: COMMIT #1

This commit fixed both of them: COMMIT #2
[Sony Xperia E3] Morecs:
My sim isn't Being deteced for some reason, I'll try flashing it again
[Sony Xperia E3] V1ncent9:
the wifi bug is solved ? and can i flash it on D2212
[Sony Xperia E3] hell_lock:
Yes wifi is working for me. I have tested it only on d2202. Dual sim users can provide me logs if they face any bugs.
[Sony Xperia E3] vijaywwe:
Please focus on cm12.1, we love lollipop more than kitkat..
[Sony Xperia E3] Morecs:
Crap, thought it was for D2212 too, will flash and send logs (or try, don't know how to do that) hahaha

I was so excited thinking this would work on my phone...

---------- Post added at 03:21 PM ---------- Previous post was at 02:49 PM ----------

Here's my log, dunno if it will help.

--------- beginning of /dev/log/mainD/ActivityThread( 6644): handleBindApplication:natanrosenfeld.logcatD/ActivityThread( 6644): setTargetHeapUtilization:0.75D/ActivityThread( 6644): setTargetHeapMinFree:2097152I/dalvikvm( 6644): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAcceptedW/dalvikvm( 6644): VFY: unable to resolve virtual method 11353: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)VD/dalvikvm( 6644): VFY: replacing opcode 0x6f at 0x0000I/dalvikvm( 6644): Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScrollW/dalvikvm( 6644): VFY: unable to resolve virtual method 11359: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)VD/dalvikvm( 6644): VFY: replacing opcode 0x6f at 0x0000I/dalvikvm( 6644): Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabledW/dalvikvm( 6644): VFY: unable to resolve virtual method 9047: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()VD/dalvikvm( 6644): VFY: replacing opcode 0x6e at 0x000eI/dalvikvm( 6644): Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurationsW/dalvikvm( 6644): VFY: unable to resolve virtual method 370: Landroid/content/res/TypedArray;.getChangingConfigurations ()ID/dalvikvm( 6644): VFY: replacing opcode 0x6e at 0x0002I/dalvikvm( 6644): Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getTypeW/dalvikvm( 6644): VFY: unable to resolve virtual method 392: Landroid/content/res/TypedArray;.getType (I)ID/dalvikvm( 6644): VFY: replacing opcode 0x6e at 0x0002

_____________________________
[Sony Xperia E3] hell_lock:
I'll release a new build with the dual sim fix soon enough. In the meanwhile I'm also working on cm12.1 :D
[Sony Xperia E3] Morecs:
Thanks man, I'll keep waiting for a fix
[Sony Xperia E3] vijaywwe:
One question to ask as a lollipop lover..

When can we expect to get cm12.1 lollipop on d2212 devices, just a prediction from you is enough for us..
[Sony Xperia E3] hell_lock:
[MENTION=5494317]vinay[/MENTION] or any other DS user- Make these changes in the rom package to fix dual sim issues in the rom:

-Add these lines in build.prop. If they exist, change modify them

persist.radio.multisim.config=dsds
ro.telephony.default_network=0,1
ro.telephony.ril.config=simactivation

-Replace all the 'modem' related files from stock rom to cm rom. Look in etc/firmware/

Then flash the rom.
[Sony Xperia E3] Morecs:
[MENTION=5494317]vinay[/MENTION], can you make a flashable zip with this fix? I don't really know how to do that.

what do i need to do to apply this fix?

nevermind, fixed it, it was pretty straightforward, thanks a lot guys, enjoying CM11 finally TT.TT
[Sony Xperia E3] Morecs:
A couple of bugs.

Every time i restart the phone I have to re activate my sim, whatsapp freezes after listening to audios and the phone loses all sound once in a while.

YouTube playback is now limited to 360p instead of 480p

Batery life is pretty good so far, very close to what i experienced on stock ROM, and not supporting apps to SD is a bit of a letdown.

ROM is pretty good, gonna use it as my daily driver, but there is some bug squishing to do.
[Sony Xperia E3] hell_lock:
My next build will fix most of the bugs you mentioned except the dual sim one because I can't recreate that problem on my end. But still I'll give it a shot.
[Sony Xperia E3] V1ncent9:
ROM is amazing :angel: and how to install Sony album ?? Any tips
[Sony Xperia E3] arpit.j:
flashing package :)

---------- Post added at 11:02 AM ---------- Previous post was at 10:58 AM ----------

YUP!!! cm11 is really cool working fine without any bugs

---------- Post added at 11:03 AM ---------- Previous post was at 11:02 AM ----------

YUP!!! cm11 is really cool working fine without any bugs
[Sony Xperia E3] rohan_0909:
Please cm 12.1.. No one needs nfc anyway
[Sony Xperia E3] sagarpadam:
Need cm 12.1. We can compromise with nfc.

D2202 user
[Sony Xperia E3] V1ncent9:
Yeah nfc not that necessary
[Sony Xperia E3] Morecs:
A small update on the bugs I found

The worse one by far is the audio issue (where the phone loses all audio), this issue always happens, and when it does, all video playback becomes slow and choppy, and eventually the phone reboots.

Nota sure if the issue is with my installation only, I'm going to reflash the stock FTF and CM11 again, and update you guys, but it would be best if a developer looked into it.

This is the only thing that prevents this from being a daily use ROM on D2212

The other things i mentioned earlier are negligible
[Sony Xperia E3] vijaywwe:
Hi [MENTION=4449607]hell_lock[/MENTION]..

Please start developing cm12.1, we are already in kitkat so cm11 is not that necessary..

Cm11 bugs can be solved after sometimes

I (we) like to use lollipop on our d22xx devices..

Please consider our request..
[Sony Xperia E3] Morecs:
Hold your horses fella, this is the CM11 thread, I'm sure that there are a lot of people that, like myself, has been waiting patiently for the development of this ROM, and I would very much like to see it finished

Hell_lock said that he would start developing CM12.1 AFTER CM11 is finished, so calm your boner and wait.
[Sony Xperia E3] ronnie9027:
I am also facing this issue.. Device eventually reboots :eek:
[Sony Xperia E3] hell_lock:
Guys instead of only reporting the bugs, please also attach a log with it so that I can look into it.

How to take a log and report bugs?

First of all, download and install adb on your machines. I wont go into the details on how to do that.

Then connect your device to pc and open cmd/terminal

Type in: adb logcat > log.txt

Now you have to recreate the bug. For example if any app is crashing, try to make it crash again. This time it will be recorded in the logs. If the bug cant be recreated then no worries. Just continue to next step.

Keep the process running for 30 seconds. When you are done, press ctrl+c to exit. Give me the log.txt in that directory

Sometimes the fault can also be in the kernel. For that you have to issue adb shell dmesg > dmesg.txt . If you get an error, just allow su access to adb and apps in developer settings. It'll be better if you give me both the logs.

And CM12.1 requires ALOT of work, mostly in kernel. Compiling a single build takes around 6 hrs on my machine plus working alone makes it even more difficult. So its gonna take a while. I tested a build yesterday and it didn't boot(wasn't expecting to either). I'll keep you guys updated.
[Sony Xperia E3] V1ncent9:
I'm loving it tho it reboot sometimes but its minor the performance is good and alot of customization feel good
[Sony Xperia E3] vinay:
CM11 hybrid kernel testing..

Hybrid kernel for cm11 is available for testing now.

download it here and tell me how it goes. if everything goes well i will add a few more features and release it for all varriants and rom,s

>> Download <<
[Sony Xperia E3] hell_lock:
Guys please test the kernel and see if the random reboots go away. We'll switch to stock kernel if this is more stable.

PS- Even I got that button working by replacing nfc in lib/hw but when I try to replace the libraries in /lib, nfc option just goes away. Anyways, we first need to decide which kernel to use. Stability is first priority.

(One more thing, I dont know why but apollo music player doesn't detect any music on my end.Same thing for call ringtones.. anyone else facing this?)
[Sony Xperia E3] rahulkapadiya1:
I have cm-11-20150912-UNOFFICIAL-flamingo and cm-11-20150919-UNOFFICIAL-flamingo build. I need to flash hybrid 11 kernel over which build? I'm using d2212

---------- Post added at 10:38 AM ---------- Previous post was at 10:35 AM ----------

Thanks [MENTION=5494317]vinay[/MENTION] and [MENTION=4449607]hell_lock[/MENTION] for unlocking the hell door of development on d2212

---------- Post added at 10:49 AM ---------- Previous post was at 10:38 AM ----------

We like kitkat rather than lollipop.it is lightweight and bug free with xposed framework support
[Sony Xperia E3] Morecs:
Hybrid fixed sound and reboot problems.

Light sensor AMD other sensores seems to be working waaaay better in hybrid, before my light sensor was only detecting up to 60-70 lux, now it detects up to 20000 outsider my house.

And performance seems better overall, but my antutu 3D score fell from 450 to ~50, gonna test some 3D games to parse the performance

--------------------------

Spent a while playing dead trigger w/ graphics on medium, no problems, working fine.

--------------------------

False alarm in the sound department, still losing audio. Gonna try and make a log
[Sony Xperia E3] V1ncent9:
I flashed the kernel no reboot yet
[Sony Xperia E3] vinay:
that,s a good news.:D

@hell_lock you must switch to stock kernel now.:good: or maby hybrid :p

---------- Post added at 05:52 PM ---------- Previous post was at 05:12 PM ----------

@Morecs how can i recreate that audio bug. i have not experienced it till now.

when does it happens and other details.

EDIT it hapend i still don,t know how to recreate but gonna try to fix it.

and in hybrid kernel you have to enable android loggin in kernelauditor app/ misc section

or use this command.

su -c "echo 1 > /sys/kernel/logger_mode/logger_mode"

for adb logcat
[Sony Xperia E3] Morecs:
Mostly when I'm using whatsapp, sometimes in chrome, and other times it was simply gone. Maybe I'm having problems because i flashed CM on a dirty stock system, or maybe the full opengapps package is what is giving me problems.

[MENTION=5494317]vinay[/MENTION], are you having any problems w/ your sim cards? Do your have to activate them each time your reboot?

The reboot issue is gone tho. Loving hybrid on CM. Fast charge ftw.

I'm going to re-flash my stock ftf image, then flash CM and micro gapps.

I'll make a log in case the issue persists.

Btw, I manually rebooted the phone about one hour ago, still no problems.
[Sony Xperia E3] vinay:
i am having that simcard problem.

i will do a fix for that and audio too.
[Sony Xperia E3] hell_lock:
Try removing this line

ro.telephony.ril.config=simactivation

Reboot and test.

If that doesn't work, remove this line too:

ro.telephony.default_network=0,1

Reboot.
[Sony Xperia E3] vinay:
did,t worked..

edit: [MENTION=6591979]Morecs[/MENTION]http://xdaforums.com/member.php?u=6591979 extract this zip View attachment audio_effects.conf.zip and replace audio_effects.conf in

/system/vendor/etc/ with it.

and reboot and see if that audio bug goes away.
[Sony Xperia E3] Morecs:
Will do

----------------- [MENTION=5494317]vinay[/MENTION], didn't work, issue persists.
[Sony Xperia E3] V1ncent9:
Videos are laggy how to fixx
[Sony Xperia E3] arpit.j:
[MENTION=5494317]vinay[/MENTION] try to fix sound issue fast :D
[Sony Xperia E3] Morecs:
[MENTION=4449607]hell_lock[/MENTION], flashed the open device bootloader to test with your CM11, no luck dude, I flash the partition image and the bootloader, after that there is no life from the phone at all, I mean, it does vibrate when I try to turn it on, but the screen and the notification lights don't show any sign of life at all, so the only thing I can do is to reflash the original bootbundle and partition files.

I don't think anyone is going to have more luck trying to flash these files, they simply don't work on D2212 for whatever reason (which is weird, very weird).

can't really test on d2202, since I don't have one.

that probably means that we won't be seeing Lollipop or CM12 in our device.

glad you and [MENTION=5494317]vinay[/MENTION] are working on CM11, because it's probably the only AOSP based rom we're going to see in our device.

THANKS SONY, FOR LEAVING OUR VARIANT IN THE CRAPPER.
[Sony Xperia E3] vinay:
hey download this View attachment libadsprpc.so.zip zip and extract libadsprpc.so and replace it in /system/vendor/lib/<here>

i am 70% sure this will fix audio bug. :D

i have not yet tested this lib myself.. now testing..:p

don,t forget to reboot after replacing.
[Sony Xperia E3] arpit.j:
Testing it i think its fixed audio bug but cant be sure let me test it till tomorrow:D:good:
[Sony Xperia E3] Morecs:
[MENTION=5494317]vinay[/MENTION], the weirdest thing happened to my phone, yesterday I disabled profiles in the config menu, and the bug was gone, just like that... another thing I did was enabling KSM in the performance menu. do I believe that by doing this I fixed the bug? absolutely not. did I do something different? maybe. do I know what? absolutely not.

Its been about 24hrs, and no bug. anw, my instalation is probably not trustworthy to test the fix, since the problem is gone, but I will make a nandroid backup and test your fix tomorrow probably, but by all means, do test it. and report on the results please, If it works I am going for a clean install and apply it.
[Sony Xperia E3] rahulkapadiya1:
Hey there will anyone tell me which build to flash for cm 11 and hybrid 11 ?

---------- Post added at 05:04 AM ---------- Previous post was at 05:03 AM ----------

I flashed cm-11-20160110-UNOFFICIAL-flamingo - copy and hybrid 11. And phone was soft bricked

---------- Post added at 05:10 AM ---------- Previous post was at 05:04 AM ----------

Then I flashed this cm-11-20150919-UNOFFICIAL-flamingo and hybrid 11 and it worked

---------- Post added at 05:16 AM ---------- Previous post was at 05:10 AM ----------

Bugs are camara is still not fixed for d2212. Video playing problem is solved didn't reboot in 720p mp4 video .but I found difficulty in playing mkv video encoded in x264 in default video player as well as vrtv free. In Stock rom that video plays and supports well with default video Player and vrtv. Vrtv supports videos supported by phone only. So in Stock rom mkv with x 264 encoded video supports but it doesn't support in cm 11 919 build which mentioned earlier. Please also fix WiFi issue for d2212
[Sony Xperia E3] vinay:
you are using old build

read names of packages like this

cm-11-2016-01-10-unofficial-flamingo

cm-11-year-month-date-unofficial-flamingo

---------- Post added at 05:21 PM ---------- Previous post was at 05:11 PM ----------

it looks like audio bug is fixed too.

i installed that lib last night and audio is still working till now.
[Sony Xperia E3] Morecs:
Testing your fix [MENTION=5494317]vinay[/MENTION]
[Sony Xperia E3] arpit.j:
@vinay camera not opening now its show error that " Cant connect to the camera "
[Sony Xperia E3] Morecs:
Crap, [MENTION=5494317]vinay[/MENTION], your fix broke the camera.

lol

Another bug that i found (before vinay's fix) was that putting calls in loudspeaker don't work.

gonna post a log in a while.
[Sony Xperia E3] vinay:
camera is safe and sound :p.. btw i saw loud speaker bug.. idk why it happens only during calls :confused:. i will wait for log to explain..

...that lib is not related to camera in any way..
[Sony Xperia E3] rahulkapadiya1:
cm-11-20160110-UNOFFICIAL-flamingo - copy . I have tried this build too with hybrid 11 but my d2212 gets bricked
[Sony Xperia E3] rahulkapadiya1:
Can anyone give me link for d2212 of this build? I have

cm-11-20160110-UNOFFICIAL-flamingo - copy which seems to be working for only d2202 . So when I flash this package it gets succeeded but it always get stuck on boot at Sony logo
[Sony Xperia E3] Morecs:
Weird. Working for me on my D2212. This is my daily driver ROM.

All I had to do to squish some bugs was following hell_lock's instructions.

Applied stock modem files, hybrid kernel, onde build.prop line and a couple system files.

Working like a charm.
[Sony Xperia E3] rahulkapadiya1:
I'm first clearing data, cache and dalvik cache. Then flash this build then kernal then gapps. All this over stock rom
[Sony Xperia E3] vinay:
Well then.. It must not be working with hell lock,s build for some reason. i will release mine as soon as possible.. It might take few days... I can,t upload right now..
[Sony Xperia E3] rahulkapadiya1:
Can any anyone tell be how to flash cm for d2212 with camara working?

---------- Post added at 03:45 AM ---------- Previous post was at 03:27 AM ----------

You guys are flashing over 4.4.2? Or 4.4.4. I'm flashing over 4.4.4 stock rom and hybrid kernel.
[Sony Xperia E3] V1ncent9:
How you finding it so difficult just clear data amd flash this https://www.mediafire.com/?ua62md2ar6q7rnu then flash gapss from official site for cm11 4.4.4 then the hybrid kernel for cm11 provide by vinay and read the comments add the libs file and build.prop lines.. . Everything works butter.
[Sony Xperia E3] rahulkapadiya1:
Hey guys check this out I'm flashing over this build cm 11 and my phone always gets soft bricked even if I flash after clearing data, cache, dalvik cache. What is wrong here?
[Sony Xperia E3] rahulkapadiya1:
I need one more help my phone is not getting connected in flash mode or fastboot . It was working fine before but now when I connect to pc somc flash device drivers gets installed then when I hold volume down button I get message that USB device not recognized. I'm using Windows 7 home Basic. And I'm using xperia E3 dual d2212 variant
[Sony Xperia E3] vll3900:
A Little Help Please?

Hello to all. I have been closely following this thread, since I also have the E3 D2212 dual variant. First of all, congratulations to all of you wonderful developers! Thanks to you, our D2212 just won't die! :) I have no idea how to fine tweak the rom as described by some of you (libs, build.prop lines, etc). Any chance one of you guys could post a link for the rom with the tweaks already implemented in it? And [MENTION=5494317]vinay[/MENTION]: could you please post a link for the D2212 FTF original bootloader? The link on the first page is broken. Thanks in advance! You guys are awesome!
[Sony Xperia E3] rahulkapadiya1:
I'm excited to flash cm 11. Somebody please help me getting out from this Sony hell ui
[Sony Xperia E3] vll3900:
Bootloader FTF

Could anyone provide information on how to create a backup (.ftf file) of my original bootloader? I would prefer to do it before attempting to flash the new open devices bootloader on my D2212 dual. Thanks!
[Sony Xperia E3] himfa71:
frends pls tell me does this (cm11) work with vinay's nitrogen kernel 4.1 ? and do i need to flash open device bootloader like vll3900 asking, for flashing this cm11 ?
[Sony Xperia E3] hell_lock:
The bootloader works for our device, I have tested it. And galaxyfreak told me that the new bootloader is required only for those roms which run on 3.10 kernel. So cm12.1 is quite achievable on the old bootloader.

Those who wish to work on cm12.1 should use this kernel: LINK Currently the device crashes after the sony logo. Maybe the problem is in the display HAL. I don't get much time to work on it.
[Sony Xperia E3] macgyver_classic:
Hello vinay!

can you help me with this?

I get both sim active and working properly with all the kernels available like stock, nitrogen, hybrid 1.4 but screen brightness doesn't work, the screen doesn't get turned off even after screen lock!

And I get proper screen brightness and screen off with hell_lock's cm11 kernel also with your ported hybrid kernel for cm11 that you've attached in this thread previously... but the problem is I'm not able to activate sim2, even there is no option to activate it!

i've attached screen shots for better understanding, i'm using d2212 dual sim variant, anybody else faced the same issue?

finally, thanks a lot sir! all credit goes to hell_lock and vinay who are contributing their best to bring our old E3 d22x2 into life! :)

(I also want to add, my camera was working well both with cm11's kernel and ported hybrid kernel even after applying audio libs)

s27,postimg,org/pvqzidfqb/1_4.jpg

s30,postimg,org/hr3w8dj6p/1_5.jpg

(dots replaced with commas)
[Sony Xperia E3] Morecs:
[MENTION=4316909]vinay s[/MENTION]orry, the problem was my instalation, your fix and pretty much everything is working now, camera and etc.

[MENTION=4449607]hell_lock[/MENTION] dude, then I did something wrong flashing the bootloader, how did you flash it?

CM11 is working great so far, love this rom.
[Sony Xperia E3] macgyver_classic:
Hello Morecs,

Are you using D2212? If so, are you using both sim cards with ur phone? Can you please help me with your step by step flashing procedure in short?

TIA..
[Sony Xperia E3] Morecs:
yep, I'm on D2212

unfortunately, I only use one chip, so I can't really test using two sims.

flashing this is really easy, I flashed everything using TWRP (the ROM, Hybrid Kernel 1.5 and GAPPS), wiped dalvik and cache and applied the audio lib fix from [MENTION=5494317]vinay[/MENTION] (you can find all of these things in this thread).

everything (except for loudspeaker in calls) works flawlessly.

plus you can activate a couple of awesome features in the kernel, using kernel auditor.

battery life is also pretty good, my phone usually has around 25-35% battery at the end of the day.

my current daily driver.

---------- Post added at 03:29 AM ---------- Previous post was at 03:23 AM ----------

you are going to need a stock FTF (get it using xperifirm).

to flash the stock bootloader just uncheck the boxes that are not related to your boot partition when flashing w/ flashtool. (you can see which are the correct boxes when you try to flash the open devices bootloader).
[Sony Xperia E3] macgyver_classic:
Thx.. I already followed exactly the same way you just described.. Everything works fine also except the sim 2! I'm not getting any option to activate sim2.. May be I'll have to be waiting for vinay or hell_lock..
[Sony Xperia E3] vll3900:
Much obliged!

Thank you very much [MENTION=6591979]Morecs[/MENTION]! I had no idea that I could restore the original bootloader by flashing the stock FTF. Thanks for your help!

Could you please help me with one more question? My D2212 is already on the latest stock firmware for it (18.5.B.0.26). But I keep getting notifications about a software update available for the exact same version? Does the fact that I'm using kernel 3.4.0_TWRP_v5-g90b12a3 by vinay have anything to do with it? If I flash the "nitrogen" rom, the notifications go away. Thanks again!
[Sony Xperia E3] hell_lock:
[MENTION=6591979]Morecs[/MENTION] Do the audio issues or random reboots persist after applying vinay's fix? Another thing, is the ringtone manager working for you?