yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E1] Kizoky:
Check, I added the link
[Sony Xperia E1] :
Ok, looks like in Stock they don't care about focus (maybe a workaround or bypass to not crash), but in CM11 no, the app care if focus works or no.

Maybe I will try to HexEdit it and make focus function return unsupported or just bypass crash.

I tried compiling from source but it not work like expected, I will be out for some days...
[Sony Xperia E1] Kizoky:
So it is the app that checks for focus?

Maybe I can try to port our Stock ROM camera.apk to CM11 and see If that really helps
[Sony Xperia E1] :
Maybe help, maybe be a waste of time.

If you have time can you make a XperiaCameraROM for us? (Like WalkmanROM)

So we can use it with DualBootPatcher (or only me by now :P)

Also I will try to make a package for Stock JB4.3 since flashing from FlashTools is painfull (hard, lock and tediously)

Idk how to pickup ramdisk from elf and repack in a img (by now it's impossible for me [idk how that guys made it for cwm for Stock 4.4, no instructions, can you PM them too [MENTION=5903579]Kizoky[/MENTION]?])
[Sony Xperia E1] Kizoky:
FTF to ZIP easily: https://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904

I don't know how he did that unfortunately

I guess he tampered with the stock boot.img to load the busybox thing

As far as I know that guy is inactive long since.

While you are away I'll try to make a flashable zip Stock ROM for every device

Hardest part will be the detection

And seperate links for force-Locked Bootloaders :)
[Sony Xperia E1] :
Already made the 4.3 booting but no WiFi (bootloop when pressing it :/)

I extracted ramdisk and system.img.ext4 via FlashTools and others, downloaded 20.0.B (Dual) kernel and made FalconSSKernel 20.0, it boot well but no recovery, no gapps (I think I downloaded wrong FTF) , no SU and no wifi.

The ROM is on https://github.com/TeamVee-XperiaE1-StockROMs/StockJB4.3-Dual

And is for DualSim with TV (my device XD)

I will download the Single version and see diffs, and after I will invite you to work on it with me, obvious after all do that.

I'm doing it with help of DualBootPatcher, but I really need to make recovery working before anything (I passed today with a brick because I pressed WiFi button)

Detection is easy, just a script in ramdisk solve all (or in updater-script) :P
[Sony Xperia E1] Kizoky:
Aye, I can do that

Now I think the Wi-Fi problem is in the open source version of Sony stuff, again (remember the Wi-Fi patch for KitKat?)

To make problems even harder, there's no such MSM8610 device with Android 4.3 :laugh:

(I know there's no Android 4.3 for MSM8610 because I have been hunting for it for years)
[Sony Xperia E1] :
Ok, actual situation, more bugs less progress.

Making Stock ROM is ****ing hard, more than doing source builds.

Related to this LineageOS 11, I will remove qseecom (not working) since it is draining a lot of battery, and update to February Security Patchs.

Camera need hexediting (already said before) to return something like "Hey! Skip it!", can someone send me a email with instructions of how to do it?
[Sony Xperia E1] Kizoky:
Hex editing is very hacky

I once tried to nullify a certain function in an .exe, it took me several hours to finally get it without crashing the program

Try asking in the Dev Android forums, they might give you an idea where to start off
[Sony Xperia E1] CBNazo:
Camera

Hello there,

Is there any way to make camera usuable in CM 11?
[Sony Xperia E1] Kizoky:
From CWM thread:

This is how he did it.

Also, here's the flashable Stock ROMs: https://xdaforums.com/xperia-e1/dev...200x-d210x-t3563358/post71190355#post71190355
[Sony Xperia E1] Zsenyka:
Theres a bug I found: If I want to delete a theme in Applications, the system reboots immediately. Only workaround is to delete the .apk in data/app
[Sony Xperia E1] Kizoky:
I removed it on the second attempt, then I had no reboot
[Sony Xperia E1] Fauzi Dwiguna:
I am newbie, can you explain with video..:D:D
[Sony Xperia E1] :
Do you have any forecast when the next update will be released?
[Sony Xperia E1] :
I will try, someday. You can search in google how to install CM11 on TWRP.

After security patchs of january/february or fix for camera. What happen first.
[Sony Xperia E1] Kizoky:
Ah, I see.

I thought you called CM11 for E1 "Infinity", this means for older releases too. :eek:
[Sony Xperia E1] :
This is just commits (history), to see if something is missing on CM11 port to CM11 builded from source

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] Kizoky:
I see. Is it possible to control the illumination bar? (or the LED?) implement into settings to completely disable it, even when you charge it?
[Sony Xperia E1] MrGunBest:
Is wifi, bluetooth, and sim usage working ?
[Sony Xperia E1] :
I will look it after, working on kernel

Read OP.

No, no and no
[Sony Xperia E1] MrGunBest:
Ok sorry

But great work :good:
[Sony Xperia E1] :
Thanks, sorry for anything, sometimes is just words :)
[Sony Xperia E1] MrGunBest:
Just a question, this fix work with this rom http://xdaforums.com/xperia-e1/development/e1-cyanogenmod-11-locked-bootloaders-t3228810 :confused:

Thx in advance
[Sony Xperia E1] :
Idk, maybe yes.

I not tested no one port at here, only the source made.
[Sony Xperia E1] ChaorChaotic:
good work man.
[Sony Xperia E1] Kizoky:
I will flash CM11 (March 14th one, someone built it not long ago)

and I'll try to catch the last_kmsg :)
[Sony Xperia E1] Kizoky:
Well, duh.

March 04 version Last_kmsg cm11

TWRP kernel February 25

D2005

Booting, booted to cm11, Home (not doing anything), Crash reboot

https://www.dropbox.com/s/rowpa6aie0ut8ub/last_kmsg.txt?dl=0

"wcnss crash shutdown 0"

If you need another log of last_kmsg with latest CM11 and kernel just let me know and I'll do it.
[Sony Xperia E1] :
The last_kmsg not is broken, this is disabled on Stock, thanks [MENTION=5903579]Kizoky[/MENTION] :fingers-crossed: :laugh: :silly: :cool:

I will go to CM11 and test CAFKernel without Sony changes in ram_console.

Thanks a lot, all make sense now :D

Edit: "Initialized persistent memory from 08700000-0873ffff"

Maybe the last_kmsg is making crash reboots (I writed this before)
[Sony Xperia E1] Kizoky:
Isn't the Wi-Fi/Bluetooth crashing the system?
[Sony Xperia E1] :
Maybe the combo?

last_kmsg/WiFi/BT

Enviado de meu E435 (L3 II Dual) usando Tapatalk
[Sony Xperia E1] Kizoky:
I'm pretty sure it's the Wi-Fi. If I have time I'll try to exchange CM11 port files with your falconss CM11

"pil_pronto fb21b000.qcom,pronto: wcnss: Failed to locate wcnss.mdt"

[ 61.781921] PC is at wcnss_pronto_log_debug_regs+0x38/0x11e0

[ 61.782047] LR is at wcnss_pronto_log_debug_regs+0x20/0x11e0

wcnss binaries is missing :D

Extra firmware binaries is missing in cyanogenmod_defconfig

Something like this:

However I only found firmware files in the following folders:

/system/etc/firmware/*.*

WCNSS firmware bin file: /system/etc/wifi/WCNSS_qcom_wlan_nv.bin

/system/vendor/firmware/keymaster/keymaster.b00-b03 & .mdt

Hope this helps :o

There's a typo in build.prop

"rild.libargs=-d >> /home/caio/windows/32/Caio_Files/Android/out/target/product/falconss/system/build.prop; echo /dev/smd0"
[Sony Xperia E1] nysascape:
Hi [MENTION=5842851]Caio99BR[/MENTION] and [MENTION=5903579]Kizoky[/MENTION] , I would just like to ask how's the full development going? I have little experiance w/ building ROM's, and I know this may sound like a stupid question, but could the Sony Wi-Fi and Bluetooth libs work? I'm gonna flash this later on, see whats up... right now my phone is just not booting up (Illuminated for some reason worked before but now it doesn't boot... I didn't really bother fixing it, but it might be worth flashing a different ROM). Would you like any logcats/last_kmsgs? I'll mess around with the files later and check, I built some ROM's for my Alcatel Pixi 3, I'll try my Wi-Fi fixing technique lol ;)
[Sony Xperia E1] Kizoky:
Libs should work as Sound and Wifi, Bluetooth and etc. etc. are working on the ported version of CM11

Currently the kernel has some issues (I think)

Some features are still missing in our kernel (for example new modules, or checkers which CM11 can't communicate with)

I have tried to fix a certain error, but I'm not sure If it's working as I don't have CM11 files in my PC at the moment

https://github.com/Kizoky/android_kernel_sony_falconss

Also, I can't check if the error is within the kernel, or the device tree, as I can't boot into PhilZ kernel anymore :P
[Sony Xperia E1] nysascape:
Well, I'll have a look at the kernel then. I have all the CM11 files and kernel on my PC, I will look at your GitHub and see if I can work the soultion in. :D
[Sony Xperia E1] Zsenyka:
How's the fixing of the camera going? Any hope?
[Sony Xperia E1] Kizoky:
I have benchmarked Stock ROM + Stock kernel

And LineageOS11

Unfortunately Stock ROM scored with a total of 13k points, while LineageOS11 was 11k

Cyanogenmod 12.1 was not tested because It has a bug in it .. :confused:
[Sony Xperia E1] :
I tried to install xposed, but a message appeared saying that xposed is not compatible. Is there any way to install xposed in this rom?

In addition, I found other bugs: Every time I try to uninstall some theme the phone reboots and the theme is still installed.

And also the contacts saved on the SIM card are not appearing. Do you have any way to solve these problems?

Sorry my english, Google translator!
[Sony Xperia E1] :
Hmm ok, for this CM11/Lineage11, the CM12.1 and LineageOS13 I not limited number of background apps, and for LowRam devices it's run with more than you can carrier.

I have fixed this error, and after I will build new release.

Maybe it fix the benchmark score (I tried to run Smash Road and it partially worked)

Ok Xposed isn't compatible with CM11 since new security patchs, the dev of Xposed don't care about Legacy ROMs (I think most of peoples not really care)

And about contacts on SIM you need to import to Phone or Google account (or whatever you use), if not the Contacts Apps will not see anything, since this is a vendor addition, also no one use contacts on SIM, sorry for the true.
[Sony Xperia E1] :
Thanks :)
[Sony Xperia E1] Kizoky:
Xposed can be easily fixed, there's a community-made patch that works on KK devices (Xposed dev abandoned KK long ago)

Smashy Road is a RAM eating garbage unfortunately. If I remember it right Xperia E1 has some issues dealing with multi-tasking yes? JB 4.3 didn't had multi-tasking, but the sudden upgrade to KK 4.4.2 was dog poop
[Sony Xperia E1] xezrunner:
Are you going to re-release a fixed CM12 build, or are you on to CM11 and CM13 only?
[Sony Xperia E1] :
Lineage11, CM12.1 and Lineage13.
[Sony Xperia E1] Kizoky:
LineageOS 13 is freaking laggy

I looked at logcat and it seems it wasn't caused by

kernel errors, rather...

IT IS THE USELESS CM13 SYSTEM APPS THAT CAUSED IT!

Input, sound delay, crashes, all sort of things.

Now it doesn't lag at all when I disabled some services
[Sony Xperia E1] Kizoky:
And here goes the famous white screen again. :)
[Sony Xperia E1] xezrunner:
The white screen is basically caused by the same reason as the SystemUI crash (permanent/temporary depending on the load) on CM12.1, except this one is permanent till you reboot at all times?
[Sony Xperia E1] Kizoky:
I think the issue here is that E1 doesn't have enough RAM

On CM12.1 everything is working (well, duh, expect the H/W playback), also when the phone is in deep sleep, when you wake it it will show a white screen, similar to CM13.1 when it got "BSOD"d but only for a 0.5 sec.

I will try to do a porting thing from Moto E (similar to CM11 port)

If the white screen is gone, most likely the device tree has some problems, or the kernel itself.
[Sony Xperia E1] xezrunner:
Yeah, the core cause is that. I don't think this issue can be solved though, only improved. 420MBs of RAM is just not enough.
[Sony Xperia E1] tetsuo55:
512 mb ram is enough to run with. But you need all the kernel patches and os patches to get it working somewhat properly.

Nothing beats ram so performance will always be limited, but the crashing shouldnt be happening.

Moving to lineage14.1 would help as a lot of memory issues where fixed.

Edit: the memory carveout could also be reviewed, maybe it can be reduced somewhat to better match the low resolution screen
[Sony Xperia E1] :
After long time I need to write.

Finally I fixed Blue Screen problem in CM11, but now performance and touch response is with delay.

For camera, I don't tested that hack with TA.img because it evolves ramdisk edit, scripting, and I'm very busy these days (You can see my Github, it's true), neither builded the ROMs.

Anyway it's better release a build with something new than nothing, it will be done tomorrow. Also I will create other thread for CM12.1 and Lineage13 builds.

Hmm, that's all, less working because some life progress.

Edit: sometimes my brain get out-of-memory :p
[Sony Xperia E1] Kizoky:
I have some good news for u

Finally after 6 months I tested my other hard drive that suddenly "died", and checked the partitions

It turns out every partition was turned into Dynamic, and so I'm able to build ROMs with lots of space (465GB)

I will start downloading the sources this night and start building :)
[Sony Xperia E1] xezrunner:
Is LineageOS 13 fixed, as in do the Google apps actually work properly now? I assume it's slower than CM12, but CM12 was fast enough for me already anyway, if you can get that released with the videos fixed and performance maybe improved by a bit, I'll be thankful. :D
[Sony Xperia E1] tetsuo55:
There is a huge potential for performance improvements.

Hopefully some things will get implemented in the coming weeks (i barely have any time for this so no etas)
[Sony Xperia E1] :
Waiting for it :P

I don’t heavily tested it because CM11 still better than CM12.1+.

WOW :fingers-crossed:

---

Also the last builds is ready:

LineageOS11 Folder: https://www.androidfilehost.com/?w=files&flid=147418

CyanogenMod12.1 Folder: https://www.androidfilehost.com/?w=files&flid=147532

LineageOS13 Folder: https://www.androidfilehost.com/?w=files&flid=149856

LineageOS11 R5: https://www.androidfilehost.com/?fid=457095661767146507

CyanogenMod12.1 R2: https://www.androidfilehost.com/?fid=817550096634755265

LineageOS13 R2: https://www.androidfilehost.com/?fid=673368273298940404
[Sony Xperia E1] xezrunner:
Would you recommend LineageOS13, is it usable, or is CM12 still a better choice? Or is CM11 so much better that the newer LineageOS 12+ are out of the question?
[Sony Xperia E1] :
For my the best is CM11 R5, since it not have any bug with display (only perfomance decreased).

CM12.1 is usable but I not tested, in the R1 these bugs are found:

- White screen at unlock screen

- Touch is slow (compared to CM11)

- Model setting at boot not work

- RIL (in other words, the sim not work)

- FM Radio

- And camera (like in custom ROM at now)

- Perfomance(?)

- ???

The bugs of LineageOS13 are:

- FM Radio

- Camera

- Touch is more slow (compared to CM12.1)

- Less Perfomance(?)

- ???

And by last bugs of Lineage11 in R5:

- Camera

- HeadSet button (kernel will be rebased in next release to fix it)
[Sony Xperia E1] tetsuo55:
I have built 14.1.

However due to the changes i needed to make its not safe for flashing yet.

(It will probably delete recovery)
[Sony Xperia E1] Kizoky:
In CM12.1 recovery is missing

No lights during Sony logo
[Sony Xperia E1] :
Ops forget to add it too.

It's because I need to run 'make bootimage' and put it inside the zip, since CM12.1 not is a example of best ROM made.
[Sony Xperia E1] :
I dont understand why, but ok. Take your time :fingers-crossed:
[Sony Xperia E1] tetsuo55:
i have switched to the sony common init and ramdisk.

The inline building of twrp needs some work so i disabled it for now
[Sony Xperia E1] Kizoky:
Disabling DozeService in both CM12.1 and LineageOS13 through ServiceDisabler will increase the performance of the phone, even the input lags are gone

---------- Post added at 03:12 PM ---------- Previous post was at 02:19 PM ----------

cm12.1 V2 Antutu benchmark: (from Indonesia group)
[Sony Xperia E1] TheGhost@S:
Hello

First Of All A Big 'Thanks' For 'Caio'99BR' For This work :fingers- crossed:

* By the way i have flashed too many Roms.. But they failed to resuce from battery drain... Yesterday i understand why Xperia E1 loosing battery, here play a game for a while untill Phone's temperature up.. then put the phone anyware with screen off... After few minutes When Screen On, battery gone(drain) is that error of XE1 Hardware problem? Mean can't handle temperature... ? Any way to fix this with custom Rom (CM,LIneA)...

* 2 ndly, i used Lineage 13 CM 12.1 and CM 11 as enough but from them CM 12.1 is the most stable one and powerful ( Ram,performance etc) so my opinion is Developing LAge 13 and CM 11 is useless... I think after Kitkat Stock Rom, CM 12.1 is the Best Fit for XPE1.... Again i thanks for your for CM 12.1

Meanwhile there are some bugs in CM 12.1 that should i inform you,..

* if we try to charge E1 using switch off (Offline) it dosent shows 100% charge ( yellow LED dosent turn up to Green and Screen dosent show charged but if we unplug the device and reconnect, then it show 100% charged and green color LED.

And there is some charging issues may be in kernel tweaks...

* FB massenger+ Games= big battery drain continuesly

*Battery savers dosent affect too much, its only for Animations.

**headset buttons working for me...

* FM radio Dosent work but most of them dosent use it as well

* And after flashing Kernel (falconss) Its with TWRP 2.8 then if we flashed TWRP 3.0 it dosent start. it merge TWRP 2.8.if we reboot to recovery from 2.8 then reboot to 3.0...

*** And Camera plz... Use more time to fix camera...

May be making tread for CM12.1 is better, then other developers or helpers will see and they may help....

Im not a developer, but can we ask help from teams Like M.A.D team on Facebook? (meadiatek D).... :p :rolleyes:

Every Day i visit to this thread and watch your progress... Again big thanks to you...:victory: :highfive: because last 2 years i have searched for lollpop ROM for E1 in Google,yahoo, and everywhere.. :rolleyes: :eek: :p

Sorry about my English :3
[Sony Xperia E1] xezrunner:
I can agree that CM12.1 is the fastest and most stable ROM for the E1 right now after stock ROM.

Interestingly, on both stock and LP, enabling Disable HW Overlays in Developer settings makes the UI smoother. Wonder why that is?
[Sony Xperia E1] :
Is there any way to fix RIL in CM12.1?
[Sony Xperia E1] xezrunner:
It's working fine for me...
[Sony Xperia E1] ilyassiss:
recovery mode not working in cm 12 v2
[Sony Xperia E1] Kizoky:
cm14/LineageOS14 is in the works which will be way better than CM12.1 :)
[Sony Xperia E1] :
Exactly. We made some big changes but ROM not is full stable, some things still not work like Camera, RIL, FM Radio, OffLine charging and Device detection, except these things the ROM is 'good'.

After we fix the RIL and janks of touchscreen, maybe I will create the topic of unofficial builds (or the [MENTION=577542]tetsuo55[/MENTION], he is the one of big guys behind this).

I think others ROMs not will receive more builds, maybe one last for Lineage13, just for test :)

That's all I think.
[Sony Xperia E1] PedroTakeshi:
First, thanks Caio, tetsuo55 and everyone else for all the work put in this device, i can't believe we're going to get LineageOS14. :laugh:

Now, talking about touchscreen, one thing that always bothered me is the fact that the system ignores the movement of my finger until it moves 50px(i think it's called "touch slop"), i don't remember if it was the same on stock ROM. Is something wrong with my phone? If not, is there any way i can change this? I tried messing with .idc files and the build.prop but nothing changed.
[Sony Xperia E1] tetsuo55:
its fixed in lineage 14.1
[Sony Xperia E1] Kizoky:
I thought I was the only person with this issue

I'm glad it fixed on LineageOS14
[Sony Xperia E1] ilyassiss:
how to fix recovery mode in cm12 v2 with out flashing stock rom
[Sony Xperia E1] PedroTakeshi:
Cool! Can't wait to test.
[Sony Xperia E1] mufidmb48:
You can try to flash CM12.1 R1 kernel it's work for me
[Sony Xperia E1] tetsuo55:
Anyone on CM11 or stock i need to see the contents of /dev/ for cm14.1 developement

I also need a dmesg from the same system. About 30 seconds after the home screen is loaded is fine.
[Sony Xperia E1] PedroTakeshi:
Do you mean the structure of /dev/?

Here's the CM11 dmesg and "du -a /dev/" output.

Tell me if you need anything else.

pastebin .com/ue8WrtVG

pastebin .com/eV4HXJiN
[Sony Xperia E1] tetsuo55:
Thanks thats exactly what i needed.

Can you confirm if fm radio and camera work?
[Sony Xperia E1] PedroTakeshi:
FM is working. Camera isn't. (I even removed the stock camera app when installing gapps)
[Sony Xperia E1] Kizoky:
[MENTION=577542]tetsuo55[/MENTION]

Is the camera working on LineageOS 14?

I see you are constantly working on the camera
[Sony Xperia E1] tetsuo55:
Unfortunately not yet
[Sony Xperia E1] xezrunner:
Is there a GitHub repo where we can see the progress?
[Sony Xperia E1] Kizoky:
https://github.com/TeamVee-SS

Cheating sheet for you :D
[Sony Xperia E1] Kizoky:
I've got a spare phone left, unfortunately my E1 will now feel lonely, but I can do tests as I don't use it as daily anymore

I'll be a guinea pig for you guys
[Sony Xperia E1] :
This is a good news :)

By now camera still a hell to fix (same error of cm11, and unknown error with sony eagle blobs (msm8226)), except it only FM Radio is not working (((:silly:))).

I think we made a long progress, but without camera working no way to release more one incomplete ROM.
[Sony Xperia E1] PedroTakeshi:
Does that mean it's not going to be released until the camera is fixed? Because some people, like me, don't even use it. I would have no problem having no camera and FM, but the touchscreen issue i mentioned before is bad for me because i (try to) use this phone to take handwriten notes :crying:
[Sony Xperia E1] :
Yup, release only after fix camera (maybe take some time, maybe it will be just a dream).

Also [MENTION=8030666]PedroTakeshi[/MENTION] you already changed your touch display?

If possible can you grab a dmesg for me (from CM11)? Use SysLog to do it.

For me camera is not a problem too but for most of users, sometimes, it is a big problem :(

It's getting me crazy. The problem is not in TA/DRM keys.
[Sony Xperia E1] Kizoky:
I think you should ask Sony about this camera sensor If not even the AOSP Sony source (msm8610 camera drivers) worked

I'm suspecting the camera app which has special files for E1, but that wouldn't be the case since OpenCamera works fine on Stock

(maybe additional system libs?)
[Sony Xperia E1] xezrunner:
I wonder if the Camera Common or something similiar would have to do with it, I remember removing it while debloating and it made the Camera app unusable and crash.
[Sony Xperia E1] PedroTakeshi:
No, it's the original touch. Maybe i'll install the stock rom to see if i have the same problem.
[Sony Xperia E1] Kizoky:
What is exactly the problem you have?
[Sony Xperia E1] PedroTakeshi:
I can't make drag movements smaller than 50 pixels. Here's the comparison between my E1 and my Asus Fonepad 7:

[youtube]Rt5zlMNsL8Q[/youtube]

[youtube]bvWNPrxBaf8[/youtube]
[Sony Xperia E1] xezrunner:
Yep, exactly the problem we all are facing, and it's quite annoying.
[Sony Xperia E1] Kizoky:
That's the exactly problem I had on E1

It was frustating trying to place/remove blocks in Terraria
[Sony Xperia E1] tetsuo55:
[MENTION=5903579]Kizoky[/MENTION]

Could you flash stock rom and gives us dmesg and logcat from boot (run adb logcat while the phone is booting at sony logo)

I need logs of taking a photo

I need to know if the touch slop issue is on stock

I need to know if fm radio keeps working if you unplug headphones during playback and then plug them back in
[Sony Xperia E1] Kizoky:
That will be a little tricky to achieve

Caio's kernel can stay, or should I flash the Stock one from Sony?
[Sony Xperia E1] tetsuo55:
completely stock.

Its only for this test, you can restore backup after you are done