yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E4 Questions & Answers] Swediseatball:
i tried compiling the kernel from the source today.i thought it could be done on a 32-bit laptop im using until i buy a new pc. i made the rquired modifications to the source and the compilation was going well just until the end when its suposed to actually make the image (the mkimage binary is a 64bit executable). if we can compile the kernel , flash and boot it succsesfully, we can then add new features to the kernel such as govenors and io schedulers.maybe even embed a cwm recovery in it.

if anyone here has linux installed (ubuntu or other ubuntu distros) on a 64 bit pc,has at least some basic understanding about kernel compilation and is willing to compile the kernel on your pc ( i will give full instructions) i would be thankful.

if not , i will compile it on my own when i get my new pc. until then, there isnt much more we can do about this phone.
[Sony Xperia E4 Questions & Answers] Gongas99:
Well i dont know anything about compilinh but i have a 64bit computer, i can run ubuntu on it, if you gave me the information i can manage to try it, i really want mods for this phone. Btw i dont have unlocked bootloader so i cant test the modyfied kernel.
[Sony Xperia E4 Questions & Answers] Honey997:
I too have a 64 bit PC and can try to help this phone out of miserable condition...I will try my best to help each other..and make this phone GREAT AGAIN
[Sony Xperia E4 Questions & Answers] Swediseatball:
can you give me your emails so i can send you the instructions.
[Sony Xperia E4 Questions & Answers] zenWithE4:
hey any one have xperia e4 custom roms upto lolipop
[Sony Xperia E4 Questions & Answers] Honey997:
PMed you
[Sony Xperia E4 Questions & Answers] Honey997:
Not yet Sir.but let's be hopeful..
[Sony Xperia E4 Questions & Answers] Swediseatball:
so to update you on the current situation.

a week ago i started tinkering with the sources sony provided.

the compilation went fine but at the end when it makes the zImage it failed because i was on a 32 bit pc.

some of you have sent me you emails to try to compile on your pcs. i am currently writing the instructions.

when the kernel compiles, we will get some files which are needed to compile a custom recovery.

cwm is compiled using cm source.

there is a script that extracts needed info out of the bootimg.

since our bootimg isnt standard we need to get the info manually.

secondly, in the kernel source i found that there are more cpu govenors sony hasnt enabled ( like onxemand and interactive)

cpu govenors are profiles that tell the cpu how to behave.

(there are govenors for speed and some for battery and others are balanced) the best overall govenor is interactive which is disabled in our phone, but if we build from source we can enable it and many others.

so after the kernel is compiled and it works , i will start work on recovery.
[Sony Xperia E4 Questions & Answers] Delta_44:
Any news from compiling status? I have xperia e4 dual (e2115) i'm waiting for the lineage os rom but 1 hour ago a developer on facebook told me: we won't make it

I: you know why? and you have a good official reason? if you search on xda, they trying to make a custom kernel... so custom recovery and custom rom. Maybe lineage os team are working side-by-side with xda

Developer: yes i know why, noone here owns the device which makes it impossible and xda have nothing todo with us, other than some devs operate in both places

Goddamit. I wish at least for an unofficial build from here.
[Sony Xperia E4 Questions & Answers] KeithPhantom:
I'm very happy for you, I had this phone a year ago. In that time we were far away from the things you're achieving. There wasn't any possibility to build at least a functional recovery (it was to huge and if you wanted to reduce the size you should remove the flashing capabilities). Right now I'm using a Xperia Z1, and congratulations for your work.
[Sony Xperia E4 Questions & Answers] Swediseatball:
kernel compilation guide part 1

As you may know i am unable to compile the kernel for our device on my pc until i get a new one. if you have ubuntu 64-bit, and want to try, you can use the instructions i attacthed. this is part one because i need to check your build env first.
[Sony Xperia E4 Questions & Answers] Swediseatball:
i am working on it. i started gathering some data for the recovery already. be patient.
[Sony Xperia E4 Questions & Answers] Delta_44:
Thank you! Awesome!
[Sony Xperia E4 Questions & Answers] Gongas99:
I already saw the instructions, maybe today or tomorrow, i will do it
[Sony Xperia E4 Questions & Answers] Swediseatball:
thanks!
[Sony Xperia E4 Questions & Answers] Regionella:
which is the latest update for xperia e4?

i have 24.0.A.5.14

how can i install android lollipop?
[Sony Xperia E4 Questions & Answers] Delta_44:
This is the latest update and sony won't support anymore this phone.

You can't get lollipop FOR NOW. After a new kernel is compiled, a new recovery is created and a new rom (i wish lineage os) appear, this phone can live for other 2 years.

Sorry for my english
[Sony Xperia E4 Questions & Answers] Regionella:
thanks. can't we install twrp/root and android 5/6 custom rom?
[Sony Xperia E4 Questions & Answers] Kurajmo:
Do you cant understound?

No recovery or custom kernel for Xperia E4/e4g

For now.

I know why. Because this phone have mediatek crap procesor.

Without recovery and kernel. Any custom rom can be made.

And Sony dont support This phone anymore.

No system update from 4.4.4 up

Thats why i sell This phone. A year ago and buy lg k3.
[Sony Xperia E4 Questions & Answers] Delta_44:
I'm hopeful. And this phone won't be selled until is not destroyed. This is a super phone and with a custom rom will be much better. The only thing to do is wait
[Sony Xperia E4 Questions & Answers] Kurajmo:
No you wrong.

This phone is Just a crap.

In my new Xperia E4g screen dont respond corectly.

And phone touch aplication itself.

No custom rom, no custom kernel.

No official update to Old lollipop.

Better sell this phone if is still work normal.

And buy something new. Like lg k3 dual.

Sony make crap.

And dont update this model.

Sad but true.

I have 3 this xperia model.

E4/e4g and e4

Every of them.

Lag, and have screen issue.

Really better is buy something without camera Led. With new Android.

Not this Xperia model.

Only one thing in this phone is Good.

LTE connection. Nothing more

Sorry about me English.

But i dont speak this laungage every day in my country
[Sony Xperia E4 Questions & Answers] Swediseatball:
whyd you come here?

just to bash this phone?

instead of doing something usefull, you just spam this thread with hate.

your life must be so boring, that even after you sold the phone, you come here to spam hate.

and also me with help from [MENTION=6840164]Gongas99[/MENTION] have succsesfully compiled the kernel source with added govenors.

after i finish working on a custom recovery i will focus more on the kernel and roms.

never lose hope. this is xda after all.
[Sony Xperia E4 Questions & Answers] nokiagye:
Super phone the e4? My man you haven't work other phones to can compare?

My wife have it and it's a pice of shi.t.
[Sony Xperia E4 Questions & Answers] Gongas99:
Just go away, this is a Page of development not a Page of phone comparsion, if you dont like close the Page. We are working on what we have trying to help this phone life
[Sony Xperia E4 Questions & Answers] Delta_44:
You rock!!!! Thank you for defend the reputation of this phone... I love sony

---------- Post added 18th February 2017 at 12:01 AM ---------- Previous post was 17th February 2017 at 11:53 PM ----------

Look... I'm not a rich man, i can only buy phone under 200 euros... Soo if I tell you that i'm 16 you think: kid=gaming, facebook, internet, phone used aways. Good, I use this phone at least 2/3 hour at day for gaming, stressing multitasking, viewing this thread in the xda app...

With all respect sir, if your wife tell you that this phone is a **** I'll ask you a simple question: how much useless apps like clean master or cm-****curity you had installed? My sony is full of apps but, man, no lag. I use other phones also but sony make the most stable software. Trust me ;)

Sorry again for my english and If I offended someone I'm sorry, it's not my object
[Sony Xperia E4 Questions & Answers] Delta_44:
Any news?
[Sony Xperia E4 Questions & Answers] Honey997:
I am waiting for it too...I hope there is something good for us. [MENTION=7109045]Swediseatball[/MENTION]
[Sony Xperia E4 Questions & Answers] Swediseatball:
We got the kernel we got the ramdisk .

You pack those two into boot.img.

In order to do that,you need the base adress and the ramdisk adress/offset.

I think i have our base adress, but i dont have the ramdisk

Adress or offset. You can usually get that information when unpacking your boot img, but our image is non standard so those tools dont work.
[Sony Xperia E4 Questions & Answers] Delta_44:
So? Any possibilities?
[Sony Xperia E4 Questions & Answers] krule031:
Yep, I ordered it right now.

Anyway rooting is same as for E4?
[Sony Xperia E4 Questions & Answers] G15C:
How you got philZ touch recovery?
[Sony Xperia E4 Questions & Answers] G15C:
Who can give me the stock xperia lock screen.apk from the E4.?
[Sony Xperia E4 Questions & Answers] krule031:
Is anyone experiencing phone freezes?

I have an E4g and from time to time it freezes and I have to shut it down by opening cover and reseting it.

Strange.
[Sony Xperia E4 Questions & Answers] G15C:
I don't have any studering what-so-ever on my E4. Look at your ram in Settings>Apps>Running and check what applications are running, maybe you can unninstall them.
[Sony Xperia E4 Questions & Answers] krule031:
I dont have lag or anything, few times the phone just froze and stood like that until i opened the cover and reset it manually, strwnge.

Ram is ok, more than 400mb left.
[Sony Xperia E4 Questions & Answers] G15C:
Try to give it a factory reset. At your lockscreen do you have the particle effect or that swipe effect?
[Sony Xperia E4 Questions & Answers] krule031:
Man my phone is 1 day old xD

I have that classic lockscreen, idk how to call that, I just swipe up or down and it unlocks
[Sony Xperia E4 Questions & Answers] G15C:
Oh, okay then
[Sony Xperia E4 Questions & Answers] krule031:
I made a factory reset, no freezes so far.
[Sony Xperia E4 Questions & Answers] G15C:
That was the problem
[Sony Xperia E4 Questions & Answers] ruiformas:
Does someone use a app for camera instead of the stock one?
[Sony Xperia E4 Questions & Answers] krule031:
I guess so.

Fcaebook messenger maybe caused the problem, as every freeze was with chat heads on.

I didnt install it after the reset, I will soon I guess.
[Sony Xperia E4 Questions & Answers] G15C:
I use the stock one because it has all of the feature. But I don't like that 5mp 2560x1440 is 4:3 instead of 16:9 that is on 3mp.

---------- Post added at 11:21 AM ---------- Previous post was at 11:20 AM ----------

I have facebook messenger installed and I have no problem what-so-ever with my E4
[Sony Xperia E4 Questions & Answers] krule031:
I sent the phone back to the store, getting new one in few days.

Hopefuly I wont be facing those problems again.

Ill keep you posted.
[Sony Xperia E4 Questions & Answers] krule031:
Guys tell me is there a way to make stuff download directly to Sd card, not internal memory?
[Sony Xperia E4 Questions & Answers] G15C:
Yup. If your phone is rooted download Xposed installer and XInternalSD 2.1. open the app (XinternalSD) and change the sd card path to /storage/sdcard1. It should work
[Sony Xperia E4 Questions & Answers] dzordzduan:
Try to use Facebook Chat Re-Enabler, I find it very useful!

http://xdaforums.com/android/apps-games/app-facebook-chat-enabler-t2934179
[Sony Xperia E4 Questions & Answers] G15C:
Today I found out that usb OTG works with the E4. not something important but mneh... maybe some of you want to play with a controler. :D
[Sony Xperia E4 Questions & Answers] XperiaE4:
How? :)
[Sony Xperia E4 Questions & Answers] Gongas99:
Cant you get it from the *.ftf file available for flashtools?
[Sony Xperia E4 Questions & Answers] Swediseatball:
Both good and bad news.

Good news is i got the adresses i needed.(99% sire they are correct.)

I tried to unpack and repack our boot.elf with sonys mkefl.py script.but since its elf, fastbootl wont flash it.

I get the "image is not a boot image" error.

Since our bootimg is non standard, i wrote the configs cm source needs to build recovery myself.

Im going to try to find someone with cm source and buidling expirience to build it for us.

But even if we got our recovery.img, we need a way to install it on the device.most xperi phones dont have a recovery partition, because its packed with the kernel.

And we cant flash the compiled boot.elf images so we cant do it that way. There is one more option, flashing the recovery to the fotakernel partition.you can read on xda about it, but im not sure if something needs to be modified in order for that to work.and that limits the recovery size to about 6mb.

Also the adresses migh be wrong, so our chances are slim.

If you know a dev who would be willing to help pm me.
[Sony Xperia E4 Questions & Answers] Gongas99:
To flash kernel, use flashtool, maybe if someone has unlocked bootloader maybe it can be dumped with flashtool
[Sony Xperia E4 Questions & Answers] Swediseatball:
As i said you cant.

In flashtool you can choose flashmode and fastboot mode.

Flash mode is for ftf files and fastboot for custom kernels etc.

I have an unlocked bootloader and i tried it with fast boot and got an error.

Maybe its because im on linux.

Seems that flashtool can only flash .img files and not .elf files.
[Sony Xperia E4 Questions & Answers] Gongas99:
Oh ok, sorry then
[Sony Xperia E4 Questions & Answers] Delta_44:
Ok now I can tell this: this phone will be stuck at android 4.4.4 LOL. Thanks mediatek for your ****ty source code and thanks android...

If android were upgradable like "global update" everybody can have the latest android... NOOO Google please develope the new android O so the 0.1% can have it and when it reach the 1% the new android P start to exist...

Thank you google for your ****ty system of upgrading. I prefer gnu-linux and the global os update and not the per-device upgrade.

Don't tell me about the "function that the phone can't support..." I don't care if my phone doesn't have the fingerprint support... You can avoid to use that function... It's useless to develope one android for one device. Sorry for my english
[Sony Xperia E4 Questions & Answers] jimmyfigrolls:
Since sony and mediatek seem to have locked us to this rom, are there any modders who can port the system ui from lollipop or marshmallow. I've seen it done for cm11 and the xperia e3. If we can't upgrade at least we could get some of the newer features?
[Sony Xperia E4 Questions & Answers] ziggioo:
Guys i Finally port a cyanogenmod 13 for xperia e4 https://www.androidfilehost.com/?w=...6bb7a3241f66f9235aee687d7f09d6a4b1c01c1831930
[Sony Xperia E4 Questions & Answers] Gongas99:
How to install it without modded kernel?

Edit: its fake, build. Prop shows cm_Rainbow as the product
[Sony Xperia E4 Questions & Answers] Gooby1337:
Any news guys ;)?
[Sony Xperia E4 Questions & Answers] Delta_44:
Apparently, this thread is dead because the custom recovery is impossible to install due to the size of the recovery image
[Sony Xperia E4 Questions & Answers] Swediseatball:
Not really.
[Sony Xperia E4 Questions & Answers] Delta_44:
Guys sorry for spamming but I have a urgent problem with my xperia e4 dual... please help me!

2 days ago I wanted to restore the original build.prop renamed in build.prop.original. I did everytime with 3c toolbox pro. I said: well I can restore it manually by deleting the build.prop and deleting the .original in the other file.

Yesterday morning I restart the phone and... wtf bootanimation repeating Always without end...

I read about a tool: flashtool. Wow I can restore my system since xperia companion (like every official tool for every thing is not working) cannot repair it. Now I've spend Yesterday and today trying to restore the firmware but... WTF?!?!??! Error: null. Or again: Flashing loader.sin end with error... or again!!!: ERROR: -!!!! WTF IS THAT? I don't want to bring the device in the assistance because this phone is good and since he have 2 years they can ask me for money for a simple reflash...

Please help me... I've tried with every version of flashtool... no results. oh wait: now remain on sony logo stuck here...

Sorry for my english... Please help!

EDIT: here a part of log file... I prepare the file except the system.sin (for trying since system.sin takes a bit to process) and the error is strange... maybe you can understand something. Uhhh yeah I'm using the pc of my mom because I have messed with the drivers and the pc cannot recognise the flashmode and the fastboot mode anymore.
[Sony Xperia E4 Questions & Answers] Swediseatball:
Where did you download the .ftf file from?

In the debug it says you have the 24.0.B.5.17 version,but the latest is 24.0.B.5.14. Download from here than try again:

http://xperiafirmware.com/8-firmware/110-sony-xperia-e4-dual-e2115
[Sony Xperia E4 Questions & Answers] Delta_44:
ahahha yeah wait I'll explain... From flashtool you can choose to open Xperifirm. You can download all of the available version for any xperia phone... I found this version from the "internal" carrier instead of "customized italy"... This is the newest version and I wanted to try it.. Anyway I've also downloaded the other version the .14...

Didn't work anyway. Same "error" null... wtf is this?

flashtool: https://drive.google.com/open?id=0B1zFa4nl9rSwV2gydlVSVEl2VHc

stderr: https://drive.google.com/open?id=0B1zFa4nl9rSwdEJPNTZjaHNBMzQ

stdout: https://drive.google.com/open?id=0B1zFa4nl9rSwVzdNVGlXLXBTMDA
[Sony Xperia E4 Questions & Answers] Delta_44:
:confused::confused::confused::(:crying:

Latest version now: this error: null

0.9.18.6: Cannot read device after having opened it. bootloader relocked. wtf?!?!?!?
[Sony Xperia E4 Questions & Answers] Delta_44:
RESOLVED!!!

Resolved by flashing it with flashtool 0.9.22.3
[Sony Xperia E4 Questions & Answers] ddsenlong:
Just saw this, i have not tried itbut may work
[Sony Xperia E4 Questions & Answers] LiaTheLittleDevil:
Hello, do you have the link for the flashtool app? Im trying to unlock my bootloader but i cant do it whit the default one in the website.
[Sony Xperia E4 Questions & Answers] Gongas99:
Maybe your e4 cant BE unlocked. I think the flashtool from the website is the better. Google to know if your Phone is bootloader unlockable
[Sony Xperia E4 Questions & Answers] Delta_44:
You can unlock it... Just search on google xperia e4 unlock bootloader and search the sonymobile developers blog... Select the device, put the email and sony will send you the code for unlocking.

You need now to open flashtool, click on the boorloader locking/unlocking button, fill the code, click on unlock and BAM you have the phone unlocked. WARNING!!!!!!!!

This procedure will do a factory reset of your phone... So backup all data and link the apps with the google account before proceed
[Sony Xperia E4 Questions & Answers] asx14:
Could somebody give a download link for phonebook.odex file? I deleted it by mistake and contacts and phone apps are gone. Any help would be appreciated. Xperia e2105, sorry my bad english
[Sony Xperia E4 Questions & Answers] Delta_44:
Hey I'm searchig the file right now! I hope I'll find it!

Edit: INCOMING FILE! Get the cover!!!!!!

https://drive.google.com/file/d/0B1zFa4nl9rSwZE1VQVlFbkhGV0E/view?usp=drivesdk

Let me know if you want other files!
[Sony Xperia E4 Questions & Answers] asx14:
Thanks a lot! I was wondering if I can install other versions of album, walkman and movies by deleting the apk from /system/priv-app and replacing them with some downloaded apks of these apps with older versions. Neither odexed or deodexed apks are working, apps are starting after reboot, but album doesn't show any photo and walkman and movies freeze after mp3's &mp4's are loaded. Older versions work only as downloaded apps and I would like to set them as system apps.
[Sony Xperia E4 Questions & Answers] Delta_44:
If you want for help contact me on pm since I can't post anything about "warez" software and I don't know other apps for make a system app. Sorry
[Sony Xperia E4 Questions & Answers] Delta_44:
Guys since month I'm seeing this page related to lineage os for xperia e4... https://forum.mantab.me/thread/9412...ny-xperia-e4-dual-unofficial-lineage-os.xhtml

Can you tell me if this is fake? I think is fake
[Sony Xperia E4 Questions & Answers] doctor-who:
I'm 99% sure that is fake
[Sony Xperia E4 Questions & Answers] Delta_44:
Guys I have a question... How can I build an android version for this phone? I want even to build the custom kernel... Well at least to try and maybe find why 2/3 months ago you have failed... Lack of source code? When I can find all the sources and how can I build everything? Sorry guys for the question but I'm curious these days XD
[Sony Xperia E4 Questions & Answers] Swediseatball:
There is no recovery partition on the phone so if you compile a recovery for it you cant flash it. Unless you compile the recovery with the kernel, which i dont know how to do.
[Sony Xperia E4 Questions & Answers] rhudsonsamuel:
Nougat?

Is there any custom Rom?
[Sony Xperia E4 Questions & Answers] Delta_44:
No... It's a shame, all of that because Android don't have generic drivers... It's all about drivers. Anyway I'm planning to buy a new sony device with less than 200 euros and that is supported by lineage os officially. For now the sony xperia l2 I think, it costs only 120 euros and is lineage os supported
[Sony Xperia E4 Questions & Answers] ajit bhai:
I tried to recovery my phone
[Sony Xperia E4 Questions & Answers] Delta_44:
How? It's all ok?
[Sony Xperia E4 Questions & Answers] johmart95:
guys do you think "FlashFire" might work as a custom recovery for our xperia E4 ?? I currently have an xperia e4 dual e2115 just collecting dust :(

oopps app is dead i think?
[Sony Xperia E4 Questions & Answers] johmart95:
hey guys, can you check if this is true or not ? I wanted to try it but on the link provided for the doomkernel, it seems like the link is expired or something. and I don't really know how kernels work (since imma newbie) but maybe others will work ? anyways can someone check this one out ? I really wanted to update our phone to atleast android 6.0, since some apps don't support android 4.4.4 anymore.

here is the link

XOSP Unoffical

here is the video proof of the said creator

creator is S.Balachandar
[Sony Xperia E4 Questions & Answers] dzordzduan:
How? Also, do you have to use external power supply? (for low power consumption devices, such as flash drives)

And second question: Did you have any problems when you were*installing Xposed framework?
[Sony Xperia E4 Questions & Answers] G15C:
First question: I did not, used a PS3 controller for Dead Trigger 2, and used an external hard drive for moving some applications, the phone did not use as much battery as expected. I used an adaptor and no extra application like OTG enabler or some stuff like that.

Second Question: No, no problem at all. Here are some modules that I tested:

•Xposed Installer It self

•GravityBox KK

•XBlastTools

•Serarj`s Blurred System UI

•XInternalSD

•OBB to SD

•iFont

•Wi-Fi Signal Indicators Hider

•Flat Style Colored Status bar

•XStana

•Boot Manager

•Greenify

Those are the modules that I used/use for my E4 D2105.

Are you having some issues?

---------- Post added at 04:16 PM ---------- Previous post was at 04:10 PM ----------

Got an USB adapter to fit my PS3 controller and just plugged the cable in the phone and baam.

Here are some games that I tested that do work with an OTG:

•Real Racing 3

•Asphalt 8

•Dead Trigger 2

•Gangstar Vegas

•Asphalt OverDrive

•Grand Theft Auto: San Andreas

•Grand Theft Auto: Vice City

•Asphalt 7

Those are the games that I have that work with an PS3 controler.

P.S: Also emulators work with OTG.

If you find any issues send me a message or install USB OTG Helper: https://play.google.com/store/apps/details?id=net.shajul.usbotg