yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E1] :
That drivers is useful only in marshmallow and probably useless for us :(

Dreams not are easy

MTP is working on my Windows 10/Ubuntu 14.04, but sometimes fail, maybe is because CONFIG_USB is disabled on kernel and I'm too lazy to enable it.

Proximity sensor is integrated with light sensor (same driver :eek:) [like in case of battery/notification led, bar led and backlight driver (same driver too)] and this driver have many old/useless code, maybe I broken it? Or maybe I removed workarounds? Anyway I will check it

Rebased kernel is stopped because I'm not a robot

Boot Choice is reworked, now it prevent booting to recovery if charger is connected, used keycheck to boot decision (faster, only volume buttons), go direct to recovery if reboot to recovery other minor things

Enabled CyanogenMod Perfs (PowerSave, Balanced and Performance)

Removed useless blobs and scripts

To-do: bring back Qualcomm hack to fix RTC

To-do: enable CONFIG_USB

To-do: the rest :P
[Sony Xperia E1] Kizoky:
Sony released these drivers around mid-2014 where KitKat was still considered the newest android

It may work
[Sony Xperia E1] 7Zero3:
[MENTION=5842851]Caio99BR[/MENTION] and [MENTION=5903579]Kizoky[/MENTION]

How can I install Xposed? I just want to check the performance on cm11

but the installer says: - okay didn't read trough the entire thread...

And is it normal to last nearly 4 days on battery? (using it for internet 3-4 hours a day)
[Sony Xperia E1] Kizoky:
Yes, totally normal.

If Stock ROM wouldn't have to be rushed it would last 4 days too easily.

About Xposed, there's a fix for that, somewhere in XDA

I don't really use Xposed because it decreases the battery life quicker
[Sony Xperia E1] Zsenyka:
Here's a fix for Xposed: http://xdaforums.com/showpost.php?p=64063168&postcount=62
[Sony Xperia E1] 7Zero3:
[MENTION=5842851]Caio99BR[/MENTION]

Is there an option to use swap memory from my sd card?

If yes, how can I use it?
[Sony Xperia E1] :
No way, since it make SDCard degradation and also performance degradation.

I will disable SWAP in next release, we already have zRam enabled (better than swap)
[Sony Xperia E1] 7Zero3:
okay, didn't know that zram is enabled .-.
[Sony Xperia E1] :
All KitKat devices need to have it :)
[Sony Xperia E1] Zsenyka:
Can we change Dalvik to ART or will it cause something?
[Sony Xperia E1] :
I think yes, never tested before
[Sony Xperia E1] Kizoky:
been using ART since October

It doesn't have any problems.
[Sony Xperia E1] Zsenyka:
Thanks, swithced it to ART and no problems. But got more free ram which is nice :)
[Sony Xperia E1] Kizoky:
Reporting a small issue

-Big games tend to close (this wasn't the case in Stock ROM)

Reproduce: Download Smashy Road, and try playing it. Shortly after It will force close the app

[MENTION=5842851]Caio99BR[/MENTION] Maybe you could ask Sony to upload MSM8210/MSM8610/Xperia E1 camera sources?
[Sony Xperia E1] :
The vendors simple not things like it, they uploaded open camera sources just because AOSP program.

The problem of big games is because our kernel not know how to manage multi-apps.

I'm finishing my old projects (closing, deleting local sources), so wait some more time (A little more than you're already waiting for :( )
[Sony Xperia E1] gougous3:
You guys could try to change the LMK values to fix the "heavy game crashing" issue.

Two things,

What do you mean "if you want to loose time" (on the daily driver question) ? Is this ROM slow or something ?

Is the camera ever going to be fixed ?
[Sony Xperia E1] 7Zero3:
I think he means that you gonna loose the time of the clock of your phone
[Sony Xperia E1] gougous3:
Is the clock flawed or something (even with the "Use internet for clock" option) ?
[Sony Xperia E1] gougous3:
And by the way, does this work on bootloader locked devices ? I have a "allow bootloader unlock: no" device which happens to be SIM unlocked right now and I'm wondering what I can do to enable its modding potential completely (right now I have that locked bootloader friendly CWM recovery, http://xdaforums.com/xperia-e1/general/cwm-philz-touch-recovery-xperia-e1-t3073174).
[Sony Xperia E1] Kizoky:
[MENTION=5930646]xezrunner[/MENTION] managed to run the old ported CM11, and this CM11 on a locked bootloader

I think you will have no issues.
[Sony Xperia E1] xezrunner:
Since the new kernel is mandatory for things like WiFi, Bluetooth or some other crash fixes, running CM with the Stock kernel will give you an unstable CM with no connectivity. There was a relock ftf uploaded here on XDA that would allow to unlock your BL once flashed, if that's why they're asking.
[Sony Xperia E1] Kizoky:
Yep, that's why we need a CM for locked bootloaders.
[Sony Xperia E1] shusho89:
I think that i killed my xperia e1 ;(

After installing CM11 i saw that the camera. And got white screen after rebooting several times.. And tried to back on my old ROM but what i saw is that i have installed TWRP ;( and i still have this white screen .. ;( ;( how i'm supposed to uninstall TWRP and try to install it again ;( Is it going to work if i back on the normal recovery ;( please help

Seems only CM11 is not giving me this white screen if sombody only can tell me how to fix the camera it's all what i need ..
[Sony Xperia E1] Kizoky:
It'll be normal If you go back to stock kernel and ROM

And about camera in CM11, that's not possible yet.

For newbies:

You can always reflash your phone with XperiFirm AND Flashtool
[Sony Xperia E1] shusho89:
I'm sorry .. kinda panic about this >< but anyway. I'm using the ROM for now and i'm really impressed from it. I really like it but notice that on some applications ( mean games ) the screen is flashing in blue colour ? But when i'm keeping *Force 4x MSAA* and disable the HW overlays , seems everything to be fine without lags running smooth and i know that it's not you who i should ask :D Kizoky but do you have any idea when the camera will be fixed ? and do i have to turn on at every booth the 4x MSAA and disable the HW overlays to not get this blue screen again ?
[Sony Xperia E1] Kizoky:
Blue screen is a bug within the kernel, it won't be fixed until Caio figures out what the heck is doing that

Same for the camera, unfortunately AOSP sources don't really work on non-AOSP ROMs, so we have to be patient

You'll have to disable H/W overlays everytime you restart your phone, well unless you flash my Build.prop tweaks, which may doesn't require you to disable H/W overlays again.

http://xdaforums.com/xperia-e1/themes-apps/build-prop-tweaks-single-dual-t3291687
[Sony Xperia E1] :
Finally fixed more one bug in kernel :laugh:

No more lock screen of death (i will port it to stock kernel), now only the blue screen is on kernel (rtc will be fixed using QCOM hacks).

Also only H/W overlay need to be disabled (setting that box in Developer Settings :P)

That's all, i will uninstall OpenJDK8 tomorrow and build the new version or no, we are next to Christmas :)
[Sony Xperia E1] Kizoky:
What about Accelerometer?

Playing games that using that sensor is delaying it, very annoying (try playing Dumb Ways to Die for instance where you need to use Accelerometer sometimes)

Games sometimes lag more than in Stock ROM, and some games and apps are force closing (Smashy Wanted, GTA series, etc..)
[Sony Xperia E1] Zsenyka:
Any news on Camera? :)
[Sony Xperia E1] :
Still the same :(

Blue screen bug fixed too, now we only have trouble with vsync/hwcomposer, it delay and you see the rendering :(
[Sony Xperia E1] :
Idk the problem of accelerometer, since idk a way to debug it, better to fix it :(

I will try these games on new kernel
[Sony Xperia E1] :
Sorry, but no more releases of CyanogenMod this year, i'm really bad.

The blue screen bug still here (Smashy Road with H/W Overlay), and FC in some games still here too (Smashy Road without H/W Overlay).

CyanogenMod is dead.

EDIT: MTP on Windows is now fixed!

Next steps: Update LMK, ZRam and make kernel run better, faster, stronger :P
[Sony Xperia E1] Kizoky:
This phone is a nightmare to work on :eek:

I'll do a small porting test to check If the issues are kernel related, or ROM related
[Sony Xperia E1] Kizoky:
Thank you Cyanogen for deleting the forums too. Now I can't fix the blue flickering problem :(
[Sony Xperia E1] :
What??
[Sony Xperia E1] Kizoky:
I'm searching for clues for hw/o / blue screen flickering glitch
[Sony Xperia E1] :
It looks like a impossible thing to fix :(

I updated LMK, zRam, zsmAlloc and add some RAM optimizations, but i touched in Adreno and now we have Blue Screen, Animations "Jack" (that's the name of HW Overlay flicks) and fence timeouts (hangs).

It now is better and faster, but weak :P
[Sony Xperia E1] Kizoky:
Stock kernel doesn't have any issues with ported CM11 (no blue flickering)

Maybe outdated adreno lib files? :confused:
[Sony Xperia E1] :
I think it is because the qcom display hal (android tree lib), since old Moto E builds (base of that port) use QCOM-CAF and now i use QCOM-CAF-NEW because kernel :(

I really know the problem is under mdss overlay, since TWRP use this when possible, and i basically remove this possibility to we have it working TWRP3.

Also no problem with Adreno it's up-to-date (KK-3.5), i just made some crazy changes :silly: (it's supposed to improve speed and smoothness, and make things ready for future)

I will update thread to a link for latest kernel release, since I only changed it in last days.
[Sony Xperia E1] Zsenyka:
There's a lot of cm-11 and Sony stuff here. Can this be useful?
[Sony Xperia E1] Kizoky:
LineageOS is Cyanogenmod, but renamed.
[Sony Xperia E1] :
And we will be on CM, until it get rebrand.

Ok, in these days I fixed LibLight and make the BarLed working, I also made a way to disable it and soon I will make BarLed to be NotificationLed and current Notification/BatteryLed to be only BatteryLed.

Anyway I will make something to use default way (the current on R1).

Also I need ro.build.description and ro.build.fingerprint from D2004, D2005, D2104 and D2105 from latest Sony Stock ROM.

I can download all but will get more time to next release, or no :/
[Sony Xperia E1] :
Time loss is now fixed!!

But I observed the Touch Driver support only 2 fingers (other poor device, like L3II support 5 fingers and pressure), for me it's a issue (Playing Dumb Ways to Die is impossible when need more than 2 touchs).
[Sony Xperia E1] Kizoky:
D2005:

I will download the rest of the firmware
[Sony Xperia E1] :
Thanks for it :)

I already downloaded ROM for D2105 (Illuminated), idk if is latest, since of D2114 is 20.1.B.2.30 and D2105 is 20.1.B.2.15

Anyway I will wait for you [MENTION=5903579]Kizoky[/MENTION]
[Sony Xperia E1] Kizoky:
[MENTION=5842851]Caio99BR[/MENTION]

Here are the latest firmware numbers:

Single

D2004: 20.1.A.2.19

D2005: 20.1.A.2.19

Dual

D2104: 20.1.B.2.29

D2105: 20.1.B.2.29

TV

D2114: 20.1.B.2.30

Difference between xxx4 and xxx5 is the frequency band

Now, I will download the latest firmwares.. (2,5 mbps download :) )

---------- Post added at 11:08 AM ---------- Previous post was at 10:29 AM ----------

It only took me 20 minutes to download all of them then extracting them.

D2004:

D2104:

D2105:
[Sony Xperia E1] :
Ok, thanks! :)

I will build the R2 to fix minor issues.
[Sony Xperia E1] Kizoky:
Looking forward to it :)

Small question, why did you need the latest fingerprints?
[Sony Xperia E1] :
It's just for test camera, but it not solve anything at all, the camera is (possible) broken by changes from 4.4.2 to 4.4.4, or maybe missing hexediting (hack) on liboemcamera or some lib related.

The commit about camera wrapper tell it, but not tell why neither how.

Anyway I'm moving to LineageOS11 (lineage11, never laos), but first I need to sync and apply some missing rebrand commits.

Uploading CM11 R2, the last release before I move to Lineage.
[Sony Xperia E1] :
CyanogenMod 11 Release 2 is ON!

This is the latest build, I will build LineageOS11 and make new topic.

By now

[IN SYSTEM ROM]: Camera not work

[IN KERNEL]: Headset button does nothing, Touchscreen driver only support 2 fingers

[IN SYSTEM/KERNEL] Screen Janks (and also Blue Screen Flickers) due HW Overlay not working
[Sony Xperia E1] Kizoky:
Nice! Way smoother than R1! :)

Looks like camera is a tough one :(

(lots of debug stuff in logcat)

Interestingly, some other Sony phone has similar error like this one in logcat.. :confused:
[Sony Xperia E1] :
I will check it on Lineage13.

Also the Xperia T2 Ultra (phone of my friend), have CM11 but him need a special build.prop to make camera working, idk why I not found the diff, neither tested it.

I will run to Lineage13 because it can help (or finish to f**k all).

I just tried merging of FrameBuffer changes from some other Sony Kernels but bootloop.

The problem is on overlay graphics and I just not worked hard.
[Sony Xperia E1] Kizoky:
Nobody likes working on overlay graphics It seems :laugh:

Bugs I have found (again :( ):

-White screen (for 1 sec) during phone wake (maybe because of lock screen?)

-Lights are not blinking (intentional?) (Settings/Notification)

-Video lag (Say you go from 1m30s to 3m22 immediately, sound can be heard, the picture is frozen for a few seconds until it "catches" the sound)

-Again, accelerometer delay/lag (in ported CM11 this isn't an issue)

Everything else is fine :)

Soon I'll make a mod package containing Music(Walkman), and other useful Sony apps for Xperia E1 only :D (maybe for MM too)
[Sony Xperia E1] :
- The White Screen is because new liblight hal

- Lights not blink (I tried to make it work, but Idk how it works), neither in old lights hal

- Performance still not "good"

- Accelerometer maybe need something like new sensor hal (I just need more time)

Look good :laugh:

---

I'm working in kernel, since overlay graphics bug is here, and also testing leds and headset bug.
[Sony Xperia E1] :
Ok, I said the R2 will be the last release of CM11, and now I confirm it.

We aren't supposed to still on CM11, and I will run to CM12.1, since I will rebase kernel to Lollipop Tag.

FalconSSKernel will be rebased too, I will delete absolutely all old download links (FSSK/FSSK0) and make something from that Sony Release.

I will do a general cleanup and rebase all Xperia E1 works.

Anyway I found what broken the headset button, and the fix too.

The idea to run to CM12.1 not is mine, I'm just following orders (our current kernel tag is very very old, and maybe because it the camera is broken and screen flick).

It will get time, a lot...
[Sony Xperia E1] :
I made CM12.1 booting!

But without WiFi :P, not a big issue just forget to include p2p_supplicant and wpa_supplicant :V

So the issues are:

* The booting to recovery is unavailable

* The sim not is detected (IMEI are detected)

* The device detect not is working (I know this issue since L3II), better BusyBox not work on boot

* Camera, but now neither app is showing (bug in kernel bringup)

* I don't know

So I will fix sim (maybe easy), device detect (old script way) and WiFi and release, again without camera.

For all, and [MENTION=5903579]Kizoky[/MENTION] specially, we are supposed to have Android Lollipop accordingly QCom sources, since latest 8x10 tag is under 05.01.01.

So Sony abandoned us in old release after all.

By last I'm using this latest tag
[Sony Xperia E1] :
Let's make some history...
[Sony Xperia E1] Kizoky:
You are like a god right now :D

I have a small request, could you test this If it goes well without any building errors?

The navbar is TOO high when compared to Stock Sony ROM

And I don't wanna use Xposed because It will drain the battery way faster :(
[Sony Xperia E1] :
I will release CM11 R3, just for it (also some cleanup)

Lineage11 not CM11, different from CM12.1, it's rebranded and updated. :crazy:
[Sony Xperia E1] Kizoky:
So it's really working? (navbar height)

Should I look for more Stock customizations? :)
[Sony Xperia E1] :
I think is better no, but if you tell me the benefits, who know :)

Edit: yes it works
[Sony Xperia E1] Kizoky:
Looks like in 6.0 we can put "custom" stuff into here: "system/vendor/overlay/framework-res-Overlay.apk"

Modding became easier? :)
[Sony Xperia E1] :
Yes you can, idk how works, but you can unpack it and check (We have it since 4.3).

Also LineageOS11 R3 uploading (13%), and navbar is too small (funny)
[Sony Xperia E1] Kizoky:
The navbar is small when compared to LineageOS11's default navbar height

But the default one took so many space on the display screen It was annoying
[Sony Xperia E1] :
OK, R3 is on!
[Sony Xperia E1] :
CM12.1 is uploaded!

https://www.androidfilehost.com/?fid=673368273298925978

It's like Pre-Thread release, so please I know the bugs and maybe I never will can fix then, so sorry.

Bugs of this CM12.1 release:

Device set (You need to manually do it)

RIL on DualSIM (It not detect SIM)

Camera

FM Radio

Headset button (after GAPPS)

Not tested:

RIL on SingleSIM

GPS

Also it not have flickers neither blue screens like in CM/LineageOS11 :victory:

That build is just a dirty build, and maybe I will rush to LineageOS13 since I can fix Device Set and ask for help from other devs

Thats all (First CM12.1 release by me XD)
[Sony Xperia E1] Kizoky:
GPS and Bluetooth can be fixed from other MSM8610 phones (FM radio too)

I'll see what I can do If you really want to rush for LineageOS 13 :)
[Sony Xperia E1] Kizoky:
-Video H/W doesn't work (You have to use S/W)

-Bluetooth is working

-Performance-wise CM12.1 is better than CM11
[Sony Xperia E1] :
I fixed Video HW issue reverting Adreno Blobs update, also I get LineageOS13 boot animation, but it have a strange bug and I can't trace him.

So after 5h working for nothing, I will cleanup and rebuild and try again, or maybe I will just say f**k up all this whole s**t.

CM13 is a lot better, but a simple issue is f**king my brain (the bug is same of here https://github.com/CyanogenMod/andr...mmit/0f39b8b96c87c16995175629ae89b68753e4bd8b the address not found because some other lib, since I removed time_daemon)

Ok, that's all, no progress at moment except the new Adreno Blobs for MM (Based on MSM8974 - The B Family 8226/8610/8974, if MSM8974 support it, we support it too)

I need to be more consistent in giving info :(
[Sony Xperia E1] :
LineageOS 13 running on Xperia E1

[youtube]4wiW-7SJ260[/youtube]

Current bugs:

No RIL (Fixed)

No Camera

No FM Radio (Workaround not worked)
[Sony Xperia E1] :
It's okay if I post LineageOS13 link here?

Just waiting for get some free time to open new thread.

First CM13 build for Xperia E1!

https://www.androidfilehost.com/?fid=673368273298928356

I think only GApps, FM Radio and Camera not work.

That's all, thanks for all :)
[Sony Xperia E1] Kizoky:
Awesome! :D

It seems the accelerometer delay is fixed, but the performance feels fishy (games lags more in LineageOS 13 than in CM12.1 or in CM11)

The accelerometer sensor stops working for some reason. (Traffic Rider for example)

Fix: Go to Gallery app and start rotating the phone, then go back to the game app that using Accelerometer

If you want some help I'll be glad to help you
[Sony Xperia E1] :
I think we need to make fm radio working (broken because new kernel changes and new fm app) and offline charger working too, since fixing camera is basically impossible now.

You don't need to worry about these things, I'm just saying what is necessary to be done.

CM11 still better than CM12.1 or LineageOS13 just because performance
[Sony Xperia E1] Kizoky:
LineageOS13 + OpenGApps Pico 6.0 + Huge Game/Video watching = White screen + Phone restarts

Too bad this isn't working :D
[Sony Xperia E1] Zsenyka:
In build.prop the ro.fm.transmitter is on false, can it affect that the FM Radio is not working?
[Sony Xperia E1] Kizoky:
I think that is disabled by default since it needs some changes in the kernel
[Sony Xperia E1] :
No, since we not support FM Radio Transmission this disabled by default
[Sony Xperia E1] Zsenyka:
And can this be useful for fixing camera? https://xdaforums.com/crossdevice-dev/sony/guide-how-to-port-featured-sony-camera-t3169253

If its a stupid idea than sorry :D
[Sony Xperia E1] :
It isn't stupid XD

Simple but this not fix our issue, because the problem is on module (hardware/kernel -> module/hal -> software/app), it crash when module wrapper open and check.

That's all, anyway thanks :P
[Sony Xperia E1] :
Thanks for reporting, can you grab a logcat and after /proc/last_kmsg?
[Sony Xperia E1] Kizoky:
I'll see what I can do :D
[Sony Xperia E1] Kizoky:
Sorry for my inactivity, I've been busy with school.

There's a bug in CM11 (I think), now I don't know If it is for me, or others too, but sometimes the USB detection doesn't work

I.e.: You want to charge the phone because it is 1% already, the charging icon is "flashing", and it shows the message repeatly that your phone is uncharging

Tried with turning off the phone completely, that is working well.

My phone is turning 4 years old, so I don't really know If that is the issue

And as for CM13 logs, I'll post it here soon
[Sony Xperia E1] Zsenyka:
Stupid question, but I want to install the Lineage OS 11 R3, and I currently have the CM 11 R1 installed. Is it enough to simply install the LOS 11 R3 and "update" it, or should I do a factory reset, and then install LOS 11 R3?
[Sony Xperia E1] :
The detection sometimes is problem of usb port and/or cable (already faced it), try other port or cable

Also I'm thinking in not continue working on LineageOS13, since camera things on 13 is more broken than in 11.

Just a simple dirty update is necessary from CM11 to LineageOS11, only in 13 and 14.1 it not is possible.

Other thing abbreviation of LineageOS is simply lineage not and NEVER LAOS or LOS
[Sony Xperia E1] Kizoky:
Camera is not that important I think

It will be fixed soon If we ask a developer that knows about cameras working in lineageos/cyanogenmod
[Sony Xperia E1] :
I think no, the camera is crashing in Focus part (I compared other working camera log and our) it simple not make sense :(

I think no one dev will waste time in this device

Also we not need Camera Wrapper, camera crash in same part.
[Sony Xperia E1] Kizoky:
Try to find a phone with similar Sony camera sensor that has working camera in CM-based ROM?

Or

Due to lost DRM keys the camera (blobs in Custom ROM) isn't working?
[Sony Xperia E1] :
There's no phone with this sensor in CM11 (KitKat + MSM8610 + s5k5ca).

Current CM11 MSM8610 devices: ZTE Open C (kis3) and Moto E (condor),

And idk if is because DRM keys since logcat not say nothing about missing things (maybe if focus need it)
[Sony Xperia E1] Kizoky:
Hmmm... :(

Enabling camera2 API will still make the camera not working?
[Sony Xperia E1] Zsenyka:
Can this be useful? https://xdaforums.com/crossdevice-dev/sony/poc-real-trim-instead-drm-fix-t3552893
[Sony Xperia E1] :
WOW, I will try to test this hack on CM11, it's like a wrapper.

Anyway, [MENTION=3744640]kyzo[/MENTION]ky can you go to Stock and run it in shell:

getprop | grep tad

Please :)

I not have current stock rom now :(

If you cant do it, tell me, so I will download and run it :fingers-crossed:
[Sony Xperia E1] Zsenyka:
It says it only works on nougat and marshmallow, but maybe it on CM 11 to :) Hope it helps.
[Sony Xperia E1] Kizoky:
Oh dear, now I have to flash Cheetah ROM again :eek:

Wait a few min and I will post that for u here
[Sony Xperia E1] :
Ok, but it not worked on boot.img :(

Thanks a lot XD
[Sony Xperia E1] Kizoky:
[MENTION=5842851]Caio99BR[/MENTION]

This is what I've got
[Sony Xperia E1] :
Ok, thanks. The same is on CM11 :/
[Sony Xperia E1] Kizoky:
Sony should atleast help in the camera stuff..

http://pastebin.com/HzZKnh3p

E1 camera log in stock ROM

MSM8610 MTP in sonyxperiadev: https://github.com/sonyxperiadev/ke...f513a8669fb/arch/arm/boot/dts/msm8610-mtp.dts
[Sony Xperia E1] :
Can you make a very long log? "From start of device at moment of you start camera"
[Sony Xperia E1] Kizoky:
Sure thing, but it keeps spamming the log with the morph feature

Also I can't paste it into pastebin.com because of the long lines, but I'll do my best

What the fxck, okay this is weird.

Can't paste it into pastebin.com, so i'll post somewhere else

http://www.mediafire.com/file/pf2dugisgq02yfc/camera.txt
[Sony Xperia E1] :
Try upload in a text file and upload in AFH or something related