yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E1] Caio99BR:
No more releases since CyanogenMod is dead

R3

[update] Security Patchs from 12/2016

[changed] Navbar height (thanks [MENTION=5903579]Kizoky[/MENTION])

R2

[update] Security Patchs from 11/2016

[reworked] New Kernel rebased

[fixed] MTP on Windows

[fixed] Time loss

[fixed] New liblight (fix some minor problems, and drepecate wrapper)

[add] Notification/battery use BarLED by default (Chage "sys.lights.barled" in /system/build.prop from "true" to "false")

[add] Description and FingerPrint from Stock (do nothing by now)

[add] Alot of optimizations

R1

[fixed] Audio Routing, Mic and FM Radio XD

[fixed] Mistake for DualSim users

[changed] WalkMan button -> Disabled

[fixed] Equalizer

[added] Vibration Control

[disabled] MPDecision

[addd] Other minor things

[fixed] The famous Dirty Cow Vulnerability, no moo here

[addded] WorkAround for Time Bug (But we still lose time after pulling off battery :( )

[wip] FrameBuffer Overlay -> HW Overlay

[reverted] Some SONY changes (SONY-LESS)

[fixed] ALOT of minor issues in kernel

RC4

[fixed] Audio

[fixed] Video Reproduction

[fixed] Microphone

RC3

[fixed] All sensors

[disabled] Kexec Hardboot Patch

[fixed] RTC in Kernel

RC2

[fixed] DualSim

[fixed] LockScreen

[fixed] Device Setting

[changed] FalconSS Kernel PatchSet v5

[kernel/fixed] RAM Console / Persistent RAM / last_kmsg

[kernel/add] Kexec Hardboot Patch

RC1

[fixed] WiFi

[fixed] Bluetooth

[fixed] RIL

[fixed] Random Reboots

[changed] FalconSS Kernel PatchSet v4

v0.1

First Public Release from Open Source Sources, made by me

[working] Booting

[working] GPS

[working] SDCard

Current status:

Working Graphics/HW Overlay (Blue Screen Flicky)

Can be used by default ROM, in others words, Daily Driver?

If you want to lose Time, don't care about some blue screens and don't use Camera, yes
[Sony Xperia E1] Caio99BR:
[MENTION=4343949]PecanCM[/MENTION] | [MENTION=5903579]Kizoky[/MENTION] | [MENTION=7283389]fzort[/MENTION] | [MENTION=4913184]percy_g2[/MENTION] | [MENTION=6570921]InsideMuz[/MENTION] | #Sony | #CAF | | And CM Team for all!
[Sony Xperia E1] Zsenyka:
Wow. Waiting till the RIL is working, but thanks for your great work, keep it up :D
[Sony Xperia E1] nysascape:
Yaasss! Nice work mate, I can't wait until RIL and WiFi are fixed, but I might test it out and then restore using a TWRP backup ;) lol
[Sony Xperia E1] Kizoky:
Gonna bring logcats If needed ;)
[Sony Xperia E1] paracetamol183:
It would take years... good luck anyway
[Sony Xperia E1] Kizoky:
Why would it take years?

Finally we have a built ROM from sources that actually booted without any problems
[Sony Xperia E1] Kizoky:
Flashing CM11:

First boot: Setup wizard ---> CRASH & System reboot automatically

2nd boot: Finished Setup wizard, entering settings, opening random apps ---> CRASH & System reboot again

3nd boot: Doing nothing --> CRASH & System reboot

Okay I give up :D (can't even take logcats :( )
[Sony Xperia E1] Caio99BR:
The Bluetooth is making random reboots, idk why since i not tested.

Im sick these days, best since day 02, and yesterday i get out of power.

I will try when possible, and see what i can do.

Thanks for testing.

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] nysascape:
I found everything to be OK - when I was testing it out, the setup wizard crashed the phone but after it was working A-OK. Lockscreen settings aren't working, bluetooth switches and other stuff don't work but it seems stable. I did go back to XperiAOSP because it was unusable (WiFi and stuff don't work). Awesome work though mate. Do you need logcats? [MENTION=5903579]Kizoky[/MENTION] seems to have tried but failed. I'll try if you want. :D
[Sony Xperia E1] Kizoky:
Forgot to say It is way faster than the ported CM11 buggy ROM (Moto E ROM)

I don't know why, but since TWRP kernel my PC, or other PCs can't find my Phone, unless I boot to TWRP .. :confused:
[Sony Xperia E1] nysascape:
Yeah it was way more faster. Good job OP, great ROM. As I said, not gonna use it untill like WiFi and stuff are fixed.

[MENTION=5903579]Kizoky[/MENTION] Are you using this ROM or another one? (huh, snoop dog joke lol) My phone comes up on my PC when I'm booted into XperiAOSP, if you're on this ROM it might just be a bug to do with PC detection. I don't know. Does it charge?
[Sony Xperia E1] Caio99BR:
Ok, the problem is original ramdisk files of Sony, i deleted a lot of then, adapted, reduce and clean.

When i get better (im sick since day 2, idk if i said this), i will fix it

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] Caio99BR:
Microphone fixed but still no sound.

Camera in progress, all lib is on vendor or almost all, i will need more time to work on this.

Usb of TWRP still broken.

Now system reboot all time due Bluetooth bug or OMX or idk.

Wifi still broken.

I will need implement last kernel message (last_kmsg) because Sony add others **** logging not used and removed main logging, i hate it.

Ever sick i made some changes and fixed only mic (better fixed sdcard mount and this fixed mic).

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] nysascape:
Awesome dude :D get better soon and good luck :P
[Sony Xperia E1] Caio99BR:
Progress: Audio fixed

But no way to test anything, fasts ramdom reboots idk why, anyone have some tip? Anything?

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] Kizoky:
Try disabling Bluetooth?

https://drive.google.com/file/d/0B9XGx7NH88Bwbm56UExYY25EMVk/view

This fixed the Bluetooth and signal on the condor ported ROM

I don't know If it will work with this build
[Sony Xperia E1] Kizoky:
Temporary fix:

On Stock ROM enable Developer (..Enable adb, verificate phone with PC)

Flash Infinity CM11 (falconss)

Re-flash PhilZ Recovery

Boot into CM11 while logcat + PC

If I have time I will do this :)
[Sony Xperia E1] Caio99BR:
Why you said Infinity CM11 this is latest build with newest sources (not NEW of yesterday), so this have the fast Random Reboot (RR) bug, i not recommend this.

I will try some things on kernel today.

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] DraknOID:
This, along RIL, are the only things i need, and you, sir, are a HERO for our device.

I'll be waiting for the headphone jack fix to use this as my daily driver and test device (i'm developing a music app).

Also, may i ask, what is this ROM missing to be considered fully working?
[Sony Xperia E1] :
Only Camera is missing, also thanks :)

When you finish your Music APP share with us, except if it is paid :P
[Sony Xperia E1] Kizoky:
Wow

So everything is fixed, expect camera?

Flashing/blinking bug is fixed when playing videos or games?
[Sony Xperia E1] :
Except Audio Routing, it's a hell, nothing is really wrong, no lib is missing, maybe another ****ing line :/

For now:

GPS (not tested)

Audio Routing (something is missing, not in kernel)

And Camera (wait more 1 week)

Also I'm working on open source libril, so it will be easy for jumping to MarshMallow ;)
[Sony Xperia E1] zacksac:
Great work !!! :) ,

Can we test on RC3
[Sony Xperia E1] :
You mean RC4?

I need to rebuild it, before I go to school I will do it :)

Only part of Sound and maybe GPS fixed
[Sony Xperia E1] Kizoky:
Audio routing (Headset Headphones, or Earphones with jack)

Works in the ported cm11

I think If you look at condor you can figure it out, as the hardware is pretty similar (Which I find strange)
[Sony Xperia E1] :
CM11 RC4 is on!

But i not have much time to check it , can you do it? :)
[Sony Xperia E1] Kizoky:
Sure :D

Wow, It took you 3 days to build it?
[Sony Xperia E1] :
No, i just not made it before :(
[Sony Xperia E1] Kizoky:
Oh noes.

"mount: failed to mount/dev/block/platform/msm_sdcc.1/by-name/system at /system: Device or resource busy"

"mount: failed to mount/dev/block/platform/msm_sdcc.1/by-name/userdata at /data: Device or resource busy"

But it still boots, so no worries.
[Sony Xperia E1] :
Oh OK

I need to upload TWRP3, i really forget it, sorry :(
[Sony Xperia E1] Zsenyka:
So everything is fixed and can be used as a daily driver? :D
[Sony Xperia E1] Kizoky:
I tested it, and already I'm in love with this CM11.

Bugs I have found:

-Sometimes pressing power button won't turn the screen on

-When playing a huge game, the screen turns into blue and flashes like hell, and it renders 4 screens (I think it's a rendering bug, when I bring up the system UI everything turns back normal)

These 2 ^^^^ are really annoying.

When playing a video the system doesn't crash or restarts on it's own

This also includes when viewing photos in the Photo app

Good work :D
[Sony Xperia E1] Jole7:
Excellent rom thanks man one request please can you include recovery with the kernel? Coz this twrp 3.0.0 doesn't work
[Sony Xperia E1] Zsenyka:
EarPhones still not working, along with the camera.
[Sony Xperia E1] zacksac:
Rom is smooth Rc4 Thankss :) .

I found only one issue my network not got detected and i use e1 dual it also did not show other sim network.
[Sony Xperia E1] :
Thanks, it's because overlay graphics, it not full work on this kernel (neither on stock)

It works, try again, just wait more seconds :P

I know

Pickup /system/lib/libril.so from stock, the open source libril need some patch's to work on dual sim, sorry for it
[Sony Xperia E1] Zsenyka:
And when will it be fixed? Your CM 11 is fantastic, but im going back to stock till this are working :)

Also thank you very much for making CM on E1 happen. :D
[Sony Xperia E1] Kizoky:
After CM11 restarted on it's own (probably a system crash)

It can't detect my Sim card

Also, after 1 day of usage, logcat shows DalvikVM errors, like it can't find a path, or can't optimize something.

Changing from Dalvik to ART runtime causes the phone to bootloop, don't do it :D
[Sony Xperia E1] sad2kac:
I copied libril.so from stock like Caio said and it detects Sim for me. Calling and messaging also works.
[Sony Xperia E1] zacksac:
hi can you post libril.so file thanks
[Sony Xperia E1] Zsenyka:
There you go, its in the rar file.
[Sony Xperia E1] Jole7:
No booting to recovery for me hangs at the twrp 3.0.0 screen forever
[Sony Xperia E1] zacksac:
I copied ribril.so from my stock e1dual and pasted in system/lib folder but still no network its switched to airplane mode maybe the dual sim will need some patching :p :p ..
[Sony Xperia E1] :
I will check it after

You need to set 644 (or rw-r--r-- in CyanogenMod File Manager) permission in libril.so
[Sony Xperia E1] :
It still have a big bugs, and kernel isnt stable yet :(
[Sony Xperia E1] Kizoky:
Hopefully It will be stable

But that blue blinking is pretty annoying :crying:
[Sony Xperia E1] Hydrogenix:
Hi Caio, you've done a great work on this ROM! Keep it up! I'm using it as my daily driver (though you advise not to do so)

Just a question though, do you have any estimate on when the camera will be fixed?

Thanks!
[Sony Xperia E1] :
Idk what to do, if it is a bug of kernel or system, simple impossible to debug (or simple I don't know)

I have told Brinly Taylor about it 2 weeks before, but him is on Holidays (sorry if I'm wrong about usage of word), and I simple don't want to disturb, I'm stupid too and don't know what do.

I just wanted the EarPhone Jack Routing working, nothing more, I hate stock and I hate myself to don't know how to fix.

By final, idk :(
[Sony Xperia E1] nikpp:
if you are using this kernel , the error is in it
[Sony Xperia E1] Kizoky:
This script will fix the screen flickering for a while: http://xdaforums.com/nook-hd/general/fix-screen-flickering-cm11-m8-hd-t2836318

Also, I'm pretty sure it's the kernel that does funny stuff.

If you disable HW overlays then it won't show that ugly blue flickering
[Sony Xperia E1] :
Ok, The problem is HW Overlays on kernel side, because Sony not merged right patch's to it (neither me)
[Sony Xperia E1] Kizoky:
The kernel was already broken when they released it :(
[Sony Xperia E1] :
And idk what to do, I already said it.

I will remove all Sony Secondary Patch's and make all from start, merge kk_3.5 again, revert right patch's and merge only device code

It's really annoying
[Sony Xperia E1] Siokrismarios:
Well good luck with dat! you know that we support you!!
[Sony Xperia E1] Kizoky:
There's a rumour if you do this the camera will work

" /system/vendor/lib replace list libchromatic**.so list libmmcamera**.so from stockrom"

I've been tinkering with the blue flashing issue for weeks but no success

Tried replacing other MSM8610 libs, but still it would blink like hell

I will compare condor's kernel with our E1 kernel and see what's the difference between patches, If that doesn't help fixing the blue issue, then nothing will :(
[Sony Xperia E1] eriksparks1:
Any progress?
[Sony Xperia E1] Kizoky:
[MENTION=5842851]Caio99BR[/MENTION]

Still struggling with the kernel patches? :confused:
[Sony Xperia E1] :
I've get a bad time these days :(

I will start it today, from begin, from Sony Source Code, just wait some days, sorry for make you and all others wait all this long time
[Sony Xperia E1] Kizoky:
no prob, take your time
[Sony Xperia E1] salimtn:
[MENTION=5842851]Caio99BR[/MENTION] please check your inbox

thanks.
[Sony Xperia E1] :
After a lot of time lost i have found problem of routing, and now i HATE MORE SONY DEVS

See it:

ON Stock: https://gist.github.com/Caio99BR/6b152ff2a6c1eae941547f758f34a040

ON CM11: https://gist.github.com/Caio99BR/23c48958b3deb818996abbc575857876

In Stock the detection works and fail, but SONY devs make a pure ****ting workaround, forced it again to make it working (or something like it)

In CM11 this just fail :(
[Sony Xperia E1] :
I just fixed warning and surprise.

Not fixed, i think its another system prop detail or missing line.

I only will rebase kernel after audio and RTC get fixed (RTC still fail :/), not this week.

RC5 tomorrow?

SoundAbout shipped on zip

Equalizer fixed

Add vibration intensity control (under Sound settings)

Disabled mpdecision by default (fix freezing some times, but costa battery life)

Fixed minor flooding log

Reverted more SONY changes (stupid chances)

Fix DualSim not working in last build

Todo before release:

Clear keylayouts

Change WalkMan button to Camera, so we can configure it in Settings > Buttons

Remove power.qcom.so (not working)

For others releases:

Fix blue screen blinking (related to kernel iommu page fault)

Work in another HotPlug Solution

Fix camera XP (maybe it will be harder, for stupid, and without time, guy)

Fix audio routing (no one like workarounds)

Thats all, i not promisse release tomorrow because i need to test hard.

Im thinking in jump to CM13, but k need to cleanup that kernel, make right changes (first add drivers, after device configs and by last device adaptations (after all CM11 commits, feature, etc)
[Sony Xperia E1] Kizoky:
You know, you said some modules doesn't work on CM11, right?

Isn't it because when we unlocked our bootloader, DRM keys were lost? :confused:
[Sony Xperia E1] :
I think DRM Keys not is a problem (maybe Trim Area daemon [Another thing very different] is cause of all?), and all modules are full working, except Audio Routing (Kernel/System Side) and Camera (Software Side only).

The Blue screen flickering maybe is because outdated mdss msm fb overlay, I'm working on it, but I have a building problem (see TravisCI of Kernel).

I need to not touch in it tomorrow, if not my life will be knocked :/
[Sony Xperia E1] :
After reading some commits, it's very possible that i found the fix for headphones:

http://xdaforums.com/showpost.php?p=60361363&postcount=57

https://github.com/CyanogenMod/andr...orks/base/core/res/res/values/config.xml#L127

My reason
[Sony Xperia E1] :
RC5/R1 in the road...
[Sony Xperia E1] Kizoky:
LMAO

Framework-res was my second guessing
[Sony Xperia E1] Kizoky:
Tested everything, and it works way better than the September version

Subway Surf doesn't lag anymore + way better than Stock

Smashy Wanted now loads successfully + no flickering + Better FPS than Stock

Minecraft instantly crashes (again)

Bomber Friends doesn't flicker anymore even with h/w gpu enabled

You did a huge step forward :D

Please include GPU overclocking, because now It really sucks and it is laggy when playing on huge games
[Sony Xperia E1] :
Try these huge games in both (Stock, CM11), and no Overclock, sorry.

It will be Official someday, and i dont want to revert it later, also it not is the better solution

I will work on Graphics Overlay now

---

Anyway, CyanogenMod 11 Release 1 is on! :fingers-crossed:
[Sony Xperia E1] Kizoky:
That's what I did

Games, and apps ARE BETTER on your CM11 than on Sony's rushed and ****ty Stock ROM

I'll do an Antutu Benchmark soon, so we can compare the performance ;)

CM11 has in-built Performance tab, we can "overclock" the CPU to stay at 1199MHz, but not with GPU
[Sony Xperia E1] :
Ok :)

That not is overclock, that is CPU Clock Control.

But we still have lock of death in CM11, it happens to me many times when I'm out of home, or when the PC is off :(

Anyway I will wait my mind refresh things, I have fixed nothing more the necessary.

I will rush to CM13, when I get my brain back to normal :P
[Sony Xperia E1] Kizoky:
I did a logcat,and whenever I pressed the screen on Terminal app, It showed some Lock death thing

It is spamming the log like crazy
[Sony Xperia E1] Kizoky:
Sorry for asking so many things but

Could you decrease the height of navbar?

<dimen name="navigation_bar_height">37.0dip</dimen>

The default is 42, which is big

37 is the number which Stock ROM uses
[Sony Xperia E1] :
I'm working on it.

Sorry, but no way, this is default, this is good, use some Xposed Module :(
[Sony Xperia E1] Kizoky:
Xposed Module drains the battery fast :crying:

I tried decompiling framework-res.apk (cm11)

but recompiling gives me an error

I'm using apktool

Edit: nvm, I found the culprit
[Sony Xperia E1] Ahateon:
I don't have any Screen Flicks(unchecked box) or RTC/Time Lossing(pull off battery 2 times)
[Sony Xperia E1] :
Hmm, Screen Flicks will occur when system get a bad time (I mean to much apps working in CPU) and RTC is very bugged, the original way (in kernel) is broken, and Qualcomm made a workaround, but i not merged it, yet.
[Sony Xperia E1] Ahateon:
What about app2sd?

I can't see "move app to sd" option.

Games like MinecraftPE won't work(they are installed in /mnt/asec or /mnt/secure/asec)
[Sony Xperia E1] Kizoky:
Move App to SD was an option which Sony added manually to E1's KitKat update

It was the first phone to have that option due to low storage

The only option would be that swapping internal and external storage, but that would break things when you pull your SD Card out of your phone

Use Link2SD or App2SD (make sure you applied SD Card fixer)
[Sony Xperia E1] brthatako:
Está estável?

...
[Sony Xperia E1] Ahateon:
MCPE now work!
[Sony Xperia E1] :
Ookay, i just not will merge Apps2SD because, like [MENTION=5903579]Kizoky[/MENTION] said, it Will break more things, and we already have many things to fix XD

I started working on rebase kernel, and now my base will be OnePlus MSM8974, since it is of same age of MSM8610 and changes are very close, we are going to have a good time (or no).

It still unavailable and building is broken, but I started, I already merged LNX.LA.3.5.1 like Ron told me in begin, but now I will merge only specific Xperia E1 code, like Camera, Sensors, LEDs, Backlight and Touchscreen drivers, and changes needed to backlight, LEDs and Camera, also I'm cleaning the code manually and with clang-format.

It's a lot painful, and I want to do it by last time, and rest only update this ****.

A patch Script, a build script, a internet connection and much patience :/
[Sony Xperia E1] Kizoky:
I figured it out how to decrease the navbar's height without using the battery-hungry Xposed Framework

It seems it is easier than I thought

https://github.com/TeamVee-SS/andro...0/overlay/frameworks/base/core/res/res/values

Create a new file called dimens.xml, then put this into that file: http://pastebin.com/uyAxKYfF

Then put the dimens.xml into ../overlay/frameworks/base/core/res/res/values/*.*

It should work, If not, then I don't know anymore :crying:

(Navbar height already changed to 37.0dip)

or just add this to change this line only: <dimen name="navigation_bar_height">37.0dip</dimen>
[Sony Xperia E1] :
I will do a extra package with this change, but not today.

Its simple, just a addition in that file.
[Sony Xperia E1] Zsenyka:
Thank you very much for making CM on E1 possible. :D Using the lates build since 3 days and its very stable. Only problem is that the volume buttons on my headphone isnt working, but I assume it will be fixed.

Calling and messaging is working fine, just as FM radio, microphone and headphones and everything else, except Camera (it will be fixed, I know).

RTC is working fine for me, but its 1 minute late (to be honest, better 1 minute late than not working at all).

Also can somebody help me to get Xposed working on CM 11? I know that the "stock" Xposed is not working, downloaded an unofficial one for which was made for Samsung CM 11, but after installation and restart, it somehow reseted the system to a clean install state, so I had to install all the programs, and set up everything again.
[Sony Xperia E1] :
I will gonna check volume buttons after, and for camera I just don't know what do.

And no way for Xposed, I remember it not work in latest CM11 with Security Updates :(

Also I moved to CM11 and after finish install, launch show me a Xperia Wallpaper :silly: (see attachment)
[Sony Xperia E1] Kizoky:
For camera, try this: https://github.com/sonyxperiadev/camera

It has MSM8610 drivers, not sure If it will work though :rolleyes:
[Sony Xperia E1] 7Zero3:
Just tested this but my sim card won't be recognized :/
[Sony Xperia E1] :
You tested with other SIM? Because I'm on CM11 and SIM is recognized. (D2114)
[Sony Xperia E1] 7Zero3:
I only have one sim and the sim is working in my Z2... :/

I just flashed CM11 do I have to do something after the flashing?

okay nevermind worked after reinserting the sim card .-.

I just don't know what I've done wrong
[Sony Xperia E1] :
It happened with me many times on my L3II :P

I already started rebasing kernel and not remembered about that change [MENTION=5903579]Kizoky[/MENTION], I have memory of a wall :(
[Sony Xperia E1] Kizoky:
Don't worry about it, it happens to everyone :)

sonyxperiadev is a great place to gather sources, but I never knew It had msm8610 (aka. for Sony Xperia E1) drivers
[Sony Xperia E1] CarlosGallego98:
Hi im back with a Ace4 SM G318ML, so now i am trying to port cm12 using a cm11 created by me, but i need help un the boot.img i justo need anyone that tell me the changes that i have to do un it :confused:
[Sony Xperia E1] :
Sorry, but i dont work in ports, more I hate ports, if you want to do something right, make it from source/scratch :)

If you don't know, go to Google and search, you not will learn in one day but I'm not a teacher to pass my knowledge ;)
[Sony Xperia E1] CarlosGallego98:
No problem thanks i dont compile because muy pc is not powerfull to do it and i dont have to mouch time
[Sony Xperia E1] Kizoky:
Reporting bugs:

-MTP doesn't work (even with drivers installed)

- proximity sensor has a small delay (Games using this are the best affected) (It doesn't react that quickly like in Stock ROM)
[Sony Xperia E1] DraknOID:
How is it going on the performance/battery side?
[Sony Xperia E1] Kizoky:
Battery drain decreased drastically

Way better than Stock ROM when it comes to battery

Now performance is another story

There's still bugs left in the kernel, small lag spikes when you are playing huge games, and even some games are force closing (Not enough RAM?)

But overall It is better than Stock ROM
[Sony Xperia E1] DraknOID:
So, i'm guessing it's good enough for almost everything besides games/cpu intensive apps? Because i only use my E1 for calls and music, and some times browsing
[Sony Xperia E1] Kizoky:
Yes, it's good.

Some apps run perfect, expect a few, I think because CM11 is still not finished properly
[Sony Xperia E1] :
It's usable, not good. But for calls, music and browsing it's awesome XD

Maybe is because fast dirty builds :P