yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E1] Kizoky:
Not really necessary since I don't use E1 as daily anymore

I'll give you logs when E1 is charged up to atleast 50%, and I have flashed stock Firmware
[Sony Xperia E1] tetsuo55:
thanks!
[Sony Xperia E1] Kizoky:
I think I live under a rock

Can't create any bundle with Flashtool because it is always freezing, I have been trying this for 3 hours non-stop without any success (atm I feel like I could rip out my hair)

Though that won't stop me, i'll just use an older flashtool
[Sony Xperia E1] tetsuo55:
Didnt you make flashable zips of the stock rom?
[Sony Xperia E1] Kizoky:
I did, but none of these flashable zips include the Stock kernels

It would cause incompatibility between TWRP and PhilZ users
[Sony Xperia E1] Kizoky:
(Wi-Fi is off, Radio is off)

Opening the Camera app, and constantly taking photos, at the end exiting the Camera app >> https://drive.google.com/open?id=0B_V3KweTEzmRUnNrLXVOdVJ0Z2c

Touch slop issue exists on Jelly Bean 4.3, and on Kitkat 4.4.2 (someone even demonstrated it above the post)

FM Radio app asks for inserting the headset, upon inserting I can choose any radio I want, however when I unplug it the playback stops, and It asks again to plug it in.

Logcat during boot: https://pastebin.com/jkZ0BhTA

About dmesg, I'm getting read-only file system errors, dunno why, tried several methods to get the log file but it all ended in failure
[Sony Xperia E1] xezrunner:
Why do I feel like it's the display itself, and not the driver / software?
[Sony Xperia E1] Kizoky:
Didn't [MENTION=5842851]Caio99BR[/MENTION] said it was fixed in Lineage 14? :confused:
[Sony Xperia E1] xezrunner:
He did, but I'm still not sure about it, we've not yet seen a working build of LineageOS 14.
[Sony Xperia E1] :
Hey I not said anything about touch fixed, why say it if it's a hell for me?

Anyway I'm working hard in this, but ok, day 7 (Nougat = 7.x) I will make the thread and post unofficial build and new twrp build, can you guys wait more one week to use the (unfinished) ROM?

That's all.
[Sony Xperia E1] tetsuo55:
I said touch slop was fixed.

But i misunderstood the issue, touch performance is improved.

The problem lies in the touch firmware and as a result it is unlikely to ever be fixed.

As for lineage os 14.1 unnoficial builds. I don't mind it if they are posted. But users need to be aware that there is a memory management issue that we are not going to fix very soon. The phone can become so laggy from this issue that it will appear to have crashed.
[Sony Xperia E1] Kizoky:
Welp, we can blame Sony once more for using cheap tricks.
[Sony Xperia E1] Kizoky:
How is LineageOS 14?

Camera is fixed?
[Sony Xperia E1] :
No, the uniques progress is kernel updated to 3.4.113 and new art memory management.

I'm building CAF 4.4.2 to after inject libs on stock, since building camera from source and changing blobs, not worked.

Looks like we will finish this after Android O.

The kernel update not is made by me, since I failed hard 3 times, and now we are waiting the dev behind this to finish merge of 'android-3.4' and CVE's patchs.
[Sony Xperia E1] Zsenyka:
Not to rush anybody, but how are things going? Any progress on camera?
[Sony Xperia E1] :
Many CVE and kernel_common patchs are merged, but it now reboots sometimes, maybe because touch is better and fast now (only tested by me)

FM Radio is now fixed and we partially made a progress.

ToDo tomorrow: Resync my Lineage11 -> Merge some good patchs -> Test.

No ETA's, I and many guys wasted many on it, trying many random things, cleaning, fixing.

***Needs time to rebase that cm-11.0 kernel***

"Keep running?"
[Sony Xperia E1] xezrunner:
Was there even a touch issue to begin?

Ever since the first usable public CM12.1 build (where the videos were broken) touch was working just as well as in stock ROM, and I didn't notice any problems, no lag or delay. Only the swipe issue.

Is it technical, like a few milliseconds or something?
[Sony Xperia E1] Kizoky:
It's a bug within the kernel.

For the past months Caio and the others tried to merge the new kernel but it wouldn't boot, or had other issues
[Sony Xperia E1] :
My HD is giving problems, and I will take two days or more to fix.

That's all, let's preview!
[Sony Xperia E1] Zsenyka:
Wow man! That's very great news, can't wait to have the camera back. :highfive:

And what's the plan, updating the CM 11 with working camera, or wait till CM 14.1?

And what was the problem with camera?
[Sony Xperia E1] :
The plan is make cm-14.1 official, and after port working camera to cm-11.0 and cm-13.0.

The problem is because we can only preview, that's why I not posted "a photo" :silly:

And since my HD is getting errors, I can't change tree to cm-11.0 neither build cm-14.1 :( :crying:

But that's all.
[Sony Xperia E1] bruelltaube:
Just wanted to say thx to everyone engaged in the maintenance of this phone (was my first smartphone back then and although not my daily, it's still my beloved backup) . This enthusiasm and dedication is what made me a follower (unfortunately I completely lack coding skills) and fan of xda.

Keep it up - your work is very appreciated! Respekt :svetius:
[Sony Xperia E1] :
DONE, LINEAGEOS14.1 IS ON!

https://xdaforums.com/xperia-e1/ori...e-download-t3618698/post72590296#post72590296
[Sony Xperia E1] trikker77:
Slow

This ROM runs extremely slowly on my phone. Pressing a button will take several seconds before anything happens. Is there a phone problem, or is 14.1 too heavy for E1. Camera works :)
[Sony Xperia E1] S!GG!S:
Flashing stock ROM & FOTAKernel flashing sucefully :)
[Sony Xperia E1] Kizoky:
nvm, I figured it out

audio-caf can't find files in media-caf-new folder

everything else is smooth :D
[Sony Xperia E1] Kizoky:
I figured out why Wifi is not working

You need to extract all com.qualcomm apps from Stock ROM to cm11
[Sony Xperia E1] nysascape:
[MENTION=5903579]Kizoky[/MENTION] does this mean CM11 can have Wi-Fi (on this current build) if we copy these apps? Or is there another process to be done?
[Sony Xperia E1] Kizoky:
No. If you copy these apps then most likely the Wi-Fi will work, and also the RIL

These apps is controlling the hardware of E1 for some reason

(was Sony too lazy to make KitKat more stable? | Or this is what they meant that E1 requires patches and AOSP does not support it?)
[Sony Xperia E1] :
But what apps you get from stock?

And this is very strange, but no other way
[Sony Xperia E1] Kizoky:
com.qualcomm.msapm.apk

Check ported cm11's App folder
[Sony Xperia E1] Kizoky:
Qualcomm apps may need selinux permissions If Wi-Fi is still not working

https://github.com/RenderBroken/msm.../blob/master/ramdisk_android_L/seapp_contexts

Qualcomm apps are kernel related It seems.
[Sony Xperia E1] nysascape:
I might sound a bit stupid but how does one give a file selinux perms? And where do you put the Qualcomm file?
[Sony Xperia E1] :
The touch of E1 from my father is crazy (ghost touchs all time, in recovery too).

If my father not fix it, i will abandon project, i partially abandoned at now, so if no fix, total abandon.

*****

Anyone can test Stamina Mode in FalconSSKernel?

*****

That files not helped in wifi, maybe is wifi is breaking the boot, i not worked on this since day 11
[Sony Xperia E1] nysascape:
Stamina mode definatly works - I use it on a daily basis. I'm using kernel r8 - the one off github - and everything seems to work.
[Sony Xperia E1] Kizoky:
Hmm... :confused:

I would really work on CM11, but unfortunately my school holds me back off

Even if you copy etc folder from ported E1 to your CM11, Wi-Fi is still not working? (The latest build of your cm11)

---------- Post added at 01:22 PM ---------- Previous post was at 01:12 PM ----------

Qualcomm apps are present in Stock ROM, which (I think) controls the Wi-Fi, Bluetooth, and GPS (Sony devs were maybe too lazy to make it kernel-side)

The device tree gives SELINUX permissions.

Also, I think i'm realizing why Sony never wanted to support this phone through AOSP
[Sony Xperia E1] nysascape:
Well we must not give up. Sony probably could support through AOSP - they have all the sources of this phone, yet for some reason they support almost every phone except this one. [MENTION=314792]Sony[/MENTION] fix your stuff!

---------- Post added at 04:18 PM ---------- Previous post was at 04:04 PM ----------

https://www.change.org/p/sony-aosp-...ents_action_panel_wrapper&utm_medium=copylink

Please sign it and get it to Sony. The more we get it out, the more likely it will happen.
[Sony Xperia E1] nysascape:
When I'm off school in the summer, I'll try and help out with the builds. I tried to build for the device via Git but my Ubuntu partition ran out of space XD Do you guys know how I could help without taking up all my space?
[Sony Xperia E1] :
For all:

After i made this ROM, many people are asking some things impossible to me, i not abandoned this project yet.

[MENTION=7232898]xeonyt12[/MENTION] i cant help due to 2 reasons:

I dont have many time and the building is simple, check Android Building, check things for build CM11, check anything related, you have all the things good for you side, You're not in another language to need to learn to read, learn to write, learn how to edit a device tree and a kernel, you do not need, I already did half the way, it costs you look about the other half

[MENTION=5903579]Kizoky[/MENTION] sorry for reply some messages first, my head is a ****, the problem not is permissions, the problem is on libs and kernel, easy to fix, hard when you have only 3h to make a Nandroid Backup, Install, Test, Install, Test, and before finish 3h, Restore Backup.

----

* Idk what to do of my life
[Sony Xperia E1] Kizoky:
It's understandable

I'll try hard as I can, in the summer I won't need my phone so I can terrorize it with the deadly and buggy cm11 ahahaha
[Sony Xperia E1] Jole7:
[MENTION=5903579]Kizoky[/MENTION] are you working on Cheetah rom for a new update? Thanks in advance
[Sony Xperia E1] :
For all:

LockScreen bug found!

No more Random Reboots in each boot (now only when BT and WiFi is enabled :P)

WiFi not fixed

Audio still not working (And this will be hard because front speaker is 'missing', my father destroyed it when changing touch)
[Sony Xperia E1] Kizoky:
Cool :D

What was causing random reboots?
[Sony Xperia E1] nysascape:
Where do I sign up? XD

But seriously, well done. May I ask what was causing reboots?

Oh and does this mean that lockscreen is fixed?
[Sony Xperia E1] Kizoky:
So-so

Editing settings.apk is painful
[Sony Xperia E1] :
After long time...

What's is causing reboots? The merge of kk_3.5 branch, I just reworked from old base, but I'm very ****ed (physical) to do it, and is paused again, also I ****ed the things and random reboots back :(

Lockscreen is broken because keystore/keymaster module, if you delete it (/system/lib/hw/key[store/master].msm8610.so) from that old ported CM11, you will fix lockscreen.

Simple no? No, this **** is made with some reason, idk, and for WiFi and ril not is simple like in old devices, this have "firmware" files (not only libs pulled from devices) and this first time I see it, other great dev is helping me but not is sufficient.

I think kernel is ****ed, my commits to fix build make other things go wrong, and idk from what device pull out kernel changes.

I will work on it all this month (simultaneously with other projects), and try to make some **** working.

FalconSSKernel is broken too, make suddenly death on phone of my father, or is because ROM very bugged, grr.

I not reply things in same day because I have other problems in my life (this is a barrier for my too)
[Sony Xperia E1] Kizoky:
R5r8 on Cheetah is faster and more stable than Stock Kernel, I can guarantee that
[Sony Xperia E1] nysascape:
My summer break is in two weeks (UK lol) but I'm getting another phone soon (Vodafone smart prime 6) meaning I'll be able to dev on this phone without having to worry about not being able to use this phone daily. I'm gonna put a lot more contributions into this project - Caio where do I send the fixes/commits?
[Sony Xperia E1] :
GitHub or you can send me the patch's via PM or E-Mail, old but useful.

With GitHub I can pickup or merge via Pull Requests.
[Sony Xperia E1] :
Obs: I still pulling files and changes from others devices, because this not easy like L7II Roms, one day two devs released CM13 with totally diff sources and almost all working in both.

Obs2: I have find some missing libs because I'm basing on Nicki/XperiaM and this have a lot of Links to commons repos, and I not have checked then before, maybe other dummy release tomorrow or after, v0.2 is coming.
[Sony Xperia E1] Kizoky:
Wi-Fi and Bl maybe doesn't work due to missing symlinkings

In ported CM11 4.4.4 It is fixed when you touch some of the kernel's files to match it with the files of ported CM11's (ueventd.rc)

Then add symlinkings to /firmware/wlan/prima

This fixed Wi-Fi, but i'm not sure about Bluetooth
[Sony Xperia E1] PecanCM:
don't use nicki but sony msm8226/msm8974 devices for reference.
[Sony Xperia E1] nvt992:
wow, PecanCM here :D Could you take a look and give us some thought?

From my knowledge, LG L70 uses MSM8210, and this device has stable CM 11/12/13 base on Quarx kernel for MS8226 device (LG L90). So I believe it is also possible to use msm8226 kernel for E1 (with some change ? )
[Sony Xperia E1] :
I'm using multiples devices to base, so OK, I will try to use one of these devices.

But LG is totally diff from Sony, just because it we not have a full working kernel with various others.
[Sony Xperia E1] :
Good news!!!

WiFi fixed!

But is impossible to use, since random reboots are back :(

Problem: Media and Display HALs because kernel

Also brightness fixed, and camera one step more close to fix.

Hmm Audio still broken, Ril too, sensors maybe, vibration OK, LEDs OK, Lock screen bugged again ever after delete keystore lib.

Considered 2/?? Bugs fixed its progress.

Tomorrow I will change display/media again.
[Sony Xperia E1] nysascape:
Wow man, well done. I'm off school for an entire day today, gonna start building CM13 for my Vodafone and also revisit Ubuntu today and see what I can do.
[Sony Xperia E1] :
After long ****ing 12h working on kernel, i finished the "4th FalconSS Patch Set for kernel", removed more Sony changes, commits rebased on Honami/XperiaZ1/MSM8226/2014 Xperia Series (FalconSS/XperiaE1/MSM8610/2014 Xperia Series), I not tested it yet, and if not work, I will back to "3rd FalconSS Patch Set" and fix the things on this.

FalconSS Patch Set for Kernel - History

1st Patch Set:

- now is on TeamVee-B (branch cm-11.0-old)

- removed a lot of Sony Comments

- used real commits based on changes made by Sony

- fixed a lot of code style, whitespace, etc

- pickup fixes from FalconSSKernel

- try to be more close to original LNX.LA.3.5*

2nd Patch Set:

- now is on TeamVee-B (branch cm-11.0)

- removed remained Sony comments

- more real commit authors

- fixed more code styling, etc

- decrease DT image size

- initial move FalconSS changes to his own files

3rd Patch Set

- now is on TeamVee-SS (branch cm-11.0)

- Dropped some Sony "features", the SuperStaminaMode, PostOffice, RAMDump and etc

- fix more code styling

4th Patch Set:

- now is on TeamVee-SS (branch cm-11.0-wip)

- added more original authors commits

- removed more Sony "features", the RestartCount, USB changes and others

- rebased commits from Honami/XperiaZ1

- more things to come...

- todo: remove modules usage

Tomorrow I will build it in CM11

I have lost a long time, patience, health and fun, and I hope it works.

If all go good, v0.2 will be the greatest release since ... v0.1 :P

Good night for all.
[Sony Xperia E1] :
VERY GOOD NEWS!!!

Random Reboots FIXED

WiFi works like a charm

More RAM (now it's 419MB)

To fix:

Audio (i fixed it one time, but idk how)

LockScreen (We need to fix KeyStore/KeyMaster)

Sensors (Its because some file missing or wrong libs)

LEDs (that led in bottom of screen need new kernel driver to use rgb and not HEX codes [Sony are you ****ing with us?])

Camera (Missing lib or something related)

Mic (when Audio got fixed, it will be too)

Auto BrightNess (idk if it is working or no)

-----

EDIT

Bluetooth fixed

And FM Radio need Audio :P

Ah now init setting not work :)

EDIT2: See next post
[Sony Xperia E1] :
RIL Fixed

DualSim broken

Now is 3/12 bugs fixed
[Sony Xperia E1] Kizoky:
sensors are working in ported CM11 (auto brightness, auto rotation, etc..)

And the bottom LED too

There's a bug If you receive a notification from an app the bottom LED will shine like a moon at night :D

There's a feature in E1 when you receive a call, and you put the phone to your ears the screen will go black, I don't know which sensor is this
[Sony Xperia E1] nysascape:
Well ****ing done Caio. Jesus this guy is amazing
[Sony Xperia E1] xezrunner:
The audio was very easy to fix in the port, you just had to copy /etc/audio_mixer.xml from the stock ROM to CM11.
[Sony Xperia E1] :
XD

Its not a bug, its one of features of LED :P

This is the ****ing awesome proximity sensor, not a feature only for E1, its for all phone devices

But stock not have this file

EDIT:

Uploading RC1 Alpha
[Sony Xperia E1] Zsenyka:
Thats very good news Caio, finally theres hope to have CM11 on E1. Thanks for your work :D
[Sony Xperia E1] Kizoky:
don't you mean audio_effects?

Can't find that file aswell

---------- Post added at 06:36 PM ---------- Previous post was at 06:09 PM ----------

I remember copying the whole vendor folder from Stock to Port

also the system/etc folder and the audio worked

audio_mixer is in the framework-res.apk file

---------- Post added at 07:01 PM ---------- Previous post was at 06:36 PM ----------

"firmware/image/keymaste.mdt could not be loaded"

Typo

And auto brightness is working :D
[Sony Xperia E1] :
RC1 released, you already downloaded?
[Sony Xperia E1] Kizoky:
Yes, SystemUI crashes for some reason

It's crashing since my phone went black (lock screen)

I immediately logcatted and it showed that keymaste could not be loaded
[Sony Xperia E1] Kizoky:
logcat
[Sony Xperia E1] xezrunner:
I'm sorry, it was mixer_paths.xml , I remember it was an xml file related to "mixer".
[Sony Xperia E1] Kizoky:
Now I don't know If there's a file missing, or wrong symlink

But this keymaster stuff is driving me crazy

This stuff keeps crashing SystemUI over and over until reboot

Also If your screen goes black It won't react to the power button

"/firmware/image/keymaste.mdt"

edit: Missing symlinks, I suppose

https://gitlab.com/X9180/android_device_zte_x9180/blob/cm-11.0/BoardConfig.mk
[Sony Xperia E1] :
Can you try it? Please

We not have /firmware folder and without reason the stupid keymaster not search it on etc/ folders :(

I will try to symlink it after (and release RC2 Alpha) and I said about systemui crashes and lock-of-death, what make it idk.
[Sony Xperia E1] :
Deleted
[Sony Xperia E1] :
[MENTION=5903579]Kizoky[/MENTION] to fix that problem just delete:

/system/lib/hw/keystore.msm8610.so

This fix crash on systemui and lockscreen on this ROM and in that ported version, you can try.

I will really fix it cloning actual version of keymaster and putting real places because Sony made this to fix it too (Sony devs are crazy).

RC2 will come tomorrow.

Edit: Post #2 updated
[Sony Xperia E1] Kizoky:
Seriously? This one file causing all the haoc?

I will try to fix the audio, and write down how I made it to work

Auto-rotation doesn't work
[Sony Xperia E1] Kizoky:
At first boot, I can see a lot of apps; Camera, FM Radio, etc..

But shortly after they disappear next to next

I don't know what's causing this
[Sony Xperia E1] Kizoky:
If using mobile data the phone will do a random reboot

I don't know If this is because of the missing symlinking :confused:
[Sony Xperia E1] Kizoky:
reporting a bug: [YOUTUBE]watch?v=NfKdXjX-8fg[/YOUTUBE]

If you try to watch a film or a movie the same blue stuff happens, and then the phone reboots
[Sony Xperia E1] Kizoky:
After screwing around with the audio files for 2 hours, Audio is still not working

I've tried [MENTION=5930646]xezrunner[/MENTION]'s advice, but no success

Then I tried copying hw modules from ported CM11 into RC1 cm, still no success

Copying audio related files from Stock etc folder didn't help either :(

last_kmsg attached
[Sony Xperia E1] :
For now all do it

Video not found, but OK I know how is this bug, for now let's fix audio first.

This not help, the touch driver is spamming all the log, I not release RC2 because neighbor, but OK, soon I will fix this spam to best last_kmsg.

Also for me logcat/dmesg/last_kmsg not help much, maybe for other devs, not for me, that's why we still have all these bugs :(
[Sony Xperia E1] Kizoky:
https://www.youtube.com/watch?v=NfKdXjX-8fg
[Sony Xperia E1] :
Okay, I know this bug, but I can't fix, maybe I will abandon this project, I worked a lot today (yesterday - 12) and not fixed no one ****, audio is because kernel, GPU bugs (blue screen flicks) are because kernel, camera is because module and I really don't know how to fix then.

My brain is hurting.

I only made WiFi working without **** modules, and new Live RAMDisk (change only kernel not ramdisk), add so.

I will stop for a moment working on this, maybe I will go watch some series or learn something new, for now today I will clean out/ dir and make RC2 (I said it 3 days ago)

If someone know how to fix this ****s, please help, I not will reply stupid questions.

This is all, sorry if you still waiting.
[Sony Xperia E1] Kizoky:
It's okay, there are some things you can't properly fix
[Sony Xperia E1] :
Only keystore not will be fixed, audio is because kernel changes, maybe because that ram_console reserved in wrong place, or wrong way, the memory-hole used to reserve space maybe ****ed with audio, I need to check, but it's because kernel only it.

Tomorrow I will make ram_console like in many other devices, Sony devs only add this like a test on XperiaE1:(:(:crying::silly:
[Sony Xperia E1] Kizoky:
Do I have to remember you that how sh*tty is E1's Stock kernel? :silly:

Many modules enabled even If the phone doesn't use it, leading to unstable performance

Such as in JB 4.3, when there is no RAM available the phone restarts on it's own :p
[Sony Xperia E1] :
[B][I]Changelog:[/I][/B]
[B][I]RC2[/I][/B]
[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

[B][I]What doesn't work now:[/I][/B]
Audio (Front and Rear Speaker, Front and Rear Mic, FM Radio) (Kernel Related)
Camera (Camera HAL)
Sensors (Sensors HAL)
Bar LED (LED on bottom of screen) (Lights HAL)
Qualcomm KeyStore Files

[B][I]What todo:[/I][/B]
Audio: Need new patchset, reworked from original v1, because its broken on kernel
Camera: We need to hack it, (see message https://github.com/TeamVee-SS/android_device_sony_falconss/commit/1039c41176c43f7e92b1594ef1efb9c6286802ee)
Sensors, BarLED, Qualcomm KeyStore Files (???)

EDIT: Maybe i will remove ALL Sony Patchs and put only need things, and MAYBE i will bring up it direct to 3.10 kernel :|
[Sony Xperia E1] nysascape:
OK, so let me get some things straight:

- Lock screen is not working

- Audio is not working

- Mobile data/network not working

Correct me if I'm wrong. Of course there more things broken but I'll try and work on these and I'll check out the kernel and try and use a different toolchain for the kernel. Right now my dad took my E1 last night and he can't find it, so unfortunately I can't do sh*t atm like testing any fixes BUT I will attempt nonetheless.
[Sony Xperia E1] Kizoky:
Lock Screen is working (as of RC2)

Network is also working since I tested it, it recognized my Sim card and provider, I however didn't test calls
[Sony Xperia E1] nysascape:
[MENTION=5903579]Kizoky[/MENTION] Thanks... I'm gonna work maybe on audio and the screen bug, but I can't test it until I find my phone.
[Sony Xperia E1] Ahateon:
What is Kexec Hardboot Patch?