yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Michgocr:
Help

Help, before I unlock bootloader, I had to write my nip before the system starts, but when I unlocked , the option desapeared, the phone doesnt show the option to write my nip and starts normally, is it a bug or an option that loses when unlock the bootloader?
[Miscellaneous Android Development] Zoreak:
.8

How long do I have to wait for step 8 "waiting for device"?
[Miscellaneous Android Development] kovakovi2000:
[IMG="And this time?"]https://scontent-fra3-1.xx.fbcdn.net/v/t34.0-12/18518720_1311819615592309_1176802995_n.png?oh=c825e02cb8a567f75ddec45664520cf7&oe=591CA36F[/IMG]

[IMG="OEM is ON!"]https://scontent-fra3-1.xx.fbcdn.net/v/t34.0-12/18492595_1311818542259083_272244812_n.png?oh=614b948a23b6f164afbc2f0e6f5f3927&oe=591BC425[/IMG]

What now? This time not "bootloader unlock allowed=yes"

I'll try:

C:\adb>fastboot flash boot boot.img
target reported max download size of 134217728 bytes
sending 'boot' (9302 KB)...
OKAY [ 0.903s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.919s

What the problem and how can i fix it?
[Miscellaneous Android Development] Zoreak:
error?

Now it says C:\Users\********\Desktop\e5 root\adb\Signed_so0118_driver>fastboot flash boot boot.img

error: cannot load 'boot.img'
[Miscellaneous Android Development] Michgocr:
Help

How can I install busybox in my xperia e5? Lucky Patcher wont work without it :(

---------- Post added at 02:42 AM ---------- Previous post was at 02:39 AM ----------

Before I unlocked bootloader, my phone asked me a pin before the system can be loaded, but now doesnt appear this option, What can i do?
[Miscellaneous Android Development] 32th System:
I have a question: why do I need to flash a new boot image? Will the stock one do it too?
[Miscellaneous Android Development] 32th System:
I have a question. Why do I need a modified boot image? Will the stock one do it too?
[Miscellaneous Android Development] marvinalnashi:
You need a modified kernel to bypass dm-verity.

The stock kernel has dm-verity on by default and that makes the system unbootable after rooting the device.
[Miscellaneous Android Development] marvinalnashi:
Set up a new pin in settings, the bootloader unlock will always wipe your data so you'll have to set your whole phone up again from the beginning, keep that in mind.

And for busybox, you can simply download the busybox app by stericson in the play store.
[Miscellaneous Android Development] marvinalnashi:
Download the boot.img again and enable allow OEM unlocking in the developer settings on your device.

Unlock the bootloader again and use the code for the Xperia E4g.

Also check if all of your drivers are installed correctly.
[Miscellaneous Android Development] Raphsodyz:
This twrp root support all functions? like backup/restore, factory reset?
[Miscellaneous Android Development] Michgocr:
I know, just now my phone have a pin, but never ask me the pin before the system loads, only when my phone loaded all (lockscreen pin), i cant found the option to allow these pin
[Miscellaneous Android Development] marvinalnashi:
I've tried everything except backups, everything seems to work.
[Miscellaneous Android Development] marvinalnashi:
It should be in settings, enable it in the same way you did it the first time.
[Miscellaneous Android Development] marvinalnashi:
I've been trying to compile LineageOS 13 for this device, there's a problem with the .156 build compilers, but even with the .108 ones I can't build the rom, due to the lack of proper sources.

Can anyone link me all the sources please?

I have a Linux Environment set up and ready for compiling.

If the sources are indeed not released, we'll have to start a petition against Mediatek.

Android is an open source project, so why would Mediatek not release the source and open up the ability to develop for this device?
[Miscellaneous Android Development] Raphsodyz:
When i'm enter in twrp it say for me put a password, What password is that?

My twrp don't mount my internal storage, when i'm select, it don't show nothing. How to fix it?

And when i'm try a backup it say that backup have a 17gb. I'm think this is a bug, our m5 have only 16 gb of internal storage.

How to get back Stock boot.img to use magiskSU?
[Miscellaneous Android Development] marvinalnashi:
In twrp, when it asks for a password just tap on cancel.

The pass isn't necessary.

Don't mount anything, just leave everything as it is when performing a task.

If you really want to revert back to the stock kernel, you'll have to flash a compatible firmware in flashtool.

Doing that will wipe all of your data though so be careful with it.
[Miscellaneous Android Development] Raphsodyz:
Thanks for the answer bro.

But, twrp cant open internal storage? My twrp only open my sd card.

And, u don't have the stock boot.img of f3313? If u have it,do another full flash will be not necessary for me. Or, if u know please teach me how to extract boot.img from f3313 .ftf file. (F3313 .ftf file don't have a kernel.sin)
[Miscellaneous Android Development] Fly_7113:
Drivers?

Hi all

I was asking myself: what are all the drivers you need? In the guide-post was written "sony, adb, fastboot, etc.". What does "sony" mean? And "etc"? :confused:

And I was also thinking: is heimdall the same as using fastboot?

Thanks in advance :D
[Miscellaneous Android Development] Poolam:
Really root E5?

Hi my friend

Your really root E5?
[Miscellaneous Android Development] MunchyFlex:
too late

If I download the latest version of supersu? will there be problems?
[Miscellaneous Android Development] Budrick:
problem inf driver

Hi ,I'm new to the rooting scene and I have been looking for a way to root my E5 (f3311) for ages because my E5 has decided to seize total control of my SD card and I want my card back in MY control, not google and their android system , I thought it wasn't possible until I saw this page a couple of weeks ago. With everything going on I was delayed in trying this out as I had everything downloaded and had installed all that was needed and tonight when I was able to have some free time I began the rooting process but i seem to have hit a snag. I'm running Win 7, my phone has oem unlocked, debugging enabled, correct downloaded drivers copied to where they should be, etc, etc and yet when I start (after vol+ and usb connection) I get a popup in device manager with that lovely little yellow triangle over a device called "S1 Boot Fastboot", that there is no driver installed for it . no matter what driver I download to install it comes up with an error stating that while it can see the driver it cannot update / install or find the file specified and the device somehow changes to a Android ADB Interface. Do you have any idea whats going on or will I need to un-install the device and then reinstall it? I hope that you can help, thanks in advance. (edit: when in normal mode win 7 picks it up no problem showing it as a sony E5)

Update: I managed to get it sorted through some trial and error, the driver finally took and i have rooted my phone but the dammed sd card is still inaccessible so all i need to do now is load lollipop on it.
[Miscellaneous Android Development] marvinalnashi:
I'm glad you've managed to get the drivers installed.

As for your sd card, you have now rooted your device, there are modules for Xposed Framework that give you back the full control of the sd card.

Lollipop will most likely never be available on this phone as it came with Marshmallow pre-installed and downgrading isn't something developers are looking forward to.

I'm currently working on LineageOS 14.1 (nougat) for this device.

My Linux is ready for compiling and I've managed to get the kernel tree loaded.

This device lacks vendor blobs and a stable device tree, which means I'll have to start from scratch, which is a hard job.

If anyone can extract the vendor and device tree from his device and send it to me, I can investigate it to see if they lack anything and then I'll build this device's first rom!

If anyone can do this for me send me a private message.
[Miscellaneous Android Development] Budrick:
Thanks for the reply and the info on the Xposed Framework modules, after a quick search on the net I found this site "www_xposedinstallerapk_com/xposed-installer-for-marshmallow/" (underscore are dots)... Is this the module site that you were talking about? I'm about ready to shred my locked out 32gb sd card as nothing I have tried so far has worked, not even the sd windows format tool.

Again, Thanks in advance.
[Miscellaneous Android Development] marvinalnashi:
Yeah, but get it from the xda thread instead here.

Install the apk, install the framework from within the app, reboot and go to the download section and search for the module you need.

Edit: I think this or this module can fix your problem.
[Miscellaneous Android Development] Raphsodyz:
Nougat for our e5 device is possible?
[Miscellaneous Android Development] marvinalnashi:
Not yet, I need a working device tree.
[Miscellaneous Android Development] marvinalnashi:
Mediatek devices are mostly unsupported by devs and building it from scratch is difficult and time consuming.

I will notify you about the progress, but for now any help with building the tree will be appreciated.

I've made roms in the past, most of them were based on stock, but I've also made cm11 based roms for personal use, so I do know how to do this.

Like I said before, my system is ready and set up to compile, but with the lack of files I cannot get Nougat or even a marshmallow-based rom for this device.
[Miscellaneous Android Development] aninstall:
can i use superSU newest version???
[Miscellaneous Android Development] lucas_54:
^ I've used v2.82 SR1 and it worked fine.
[Miscellaneous Android Development] Allamande:
All these tutorials should lead with this. It has been some time since I flashed a ROM and I forgot about this small detail.
[Miscellaneous Android Development] le2b:
hi, root ok, can i format sdcard and delete supersu?

Also, i would like to find a guide to manage the recovery

thanks
[Miscellaneous Android Development] marvinalnashi:
You can format the sd card, but never delete supersu from the system partition.

If you meant the basic usage of the recovery, there are plenty of guides which cover that. I'll not write one cause I'm working for this specific device.
[Miscellaneous Android Development] le2b:
Back the phone

ok, if i would have back to the factory settings how can i do it?
[Miscellaneous Android Development] Jemec26:
Excellent job bro! thanks for giving your own time to build this.! In regards to the kernel tree I was looking at this post: https://xdaforums.com/android/software-hacking/how-to-create-device-tree-android-rom-t3498355 and it seems you can get it yourself. I do not have linux, otherwise I will try to run it. I am pretty sure your should have already try it. I just want to help by giving ideas, let me know how can we be of help so we can get lineage on our device
[Miscellaneous Android Development] lucas_54:
[MENTION=5938145]mrmarvin_16[/MENTION]

Can we flash newer twrp ?
[Miscellaneous Android Development] MAREK10747:
If you all looking for a custom rom try to install https://xdaforums.com/android/development/clean-os-xperia-e5-f3311-f3313-stable-t3651455/post73284574#post73284574 this rom.
[Miscellaneous Android Development] HEKER510:
@ mrmarvin_16

I question for you brother

we could help make boot.img and recover.img for xperiu L1 G3311

This is so BIG thank you very very thankxxxxxx bro

Firmare download this: https://mega.nz/#!n9pDjLob!m9_A4L4ijXp1PSo-ZqsEN07c9aYJT8nabHmx3-1mwQA

Link: for xda this https://xdaforums.com/xperia-l1/how-to/root-unlocked-bootloader-t3670750

Very Please help if you can brother
[Miscellaneous Android Development] ermal666:
How to enable developer options? tapping build number 7 times does not work for me. Any Suggestion?
[Miscellaneous Android Development] yang61:
My experience

After following the instructions I had my mobile rooted for several weeks and I was very happy. During this time I noticed that the camera whitin Whasapp didn't work. It got hung if I wanted to take a picture and send it to some contact. I didn't associate the problem to this kernel . After inverstigating I decided to do a factory reset but it didn't work, because when the mobile was restarted the apps kept in the mobile. I went to TRPW recovery and tried to wipe data and cache. My surprise was that I couldn't wipe cache, the TPRW said it couldn't unmount the partition. I don't know if that is a normal behaviour. So I decide to go back to install the kernel and recovery but once I installed Whatsapp again the problem persisted. Finally I flashed a stock firmware from Sony.

A true pity, because the only problem I had was with Camera in Whatsapp. Has anyone had this problem?

Greetings
[Miscellaneous Android Development] JivanP:
[MENTION=5938145]mrmarvin_16[/MENTION] :

To clarify, should I flash the replacement kernel first, and then TWRP, or vice-versa? Previously, you confusingly said:

Also, if possible, can you provide images/ROMs for the stock kernel, stock recovery (if any), and stock OS?

I haven't been on the Android development scene in some time, so I'm new to Magisk, but am interested in using it. Instead of flashing SuperSU, would it suffice to install Magisk or the Magisk Manager via APK?

Cheers!
[Miscellaneous Android Development] marvinalnashi:
Yeah first you'll have to flash the boot.img which is the kernel and straight after that flash the TWRP recovery.

If you want to revert to the stock images, I'd download a firmware package from Xperifirm (Google it), select what components you want to revert back to stock and flash it in Sony's Flashtool.

Good luck!
[Miscellaneous Android Development] Othinus:
Engineermode

Hi, Any way to install the engineermode?
[Miscellaneous Android Development] Xomka-LOLka(4PDA):
what about rom on .248 based?
[Miscellaneous Android Development] MidNightZ_Z:
Déblocage Bootloader impossible

Bonjour , récemment j'ai essayé de débloquer mon bootloader avec la méthode officiel de sony mais il y a eu cela :

< waiting for any device >

c'est bizarre car j'ai fais toutes les étapes correctement: :(
[Miscellaneous Android Development] dodonovnikolay1983:
Please give the kernel for assembly 37.0.A.2.248

And yet, how on this assembly you can install the root and the recovery? Thank you in advance!
[Miscellaneous Android Development] MAREK10747:
Kernel .248 Is better some than original .
[Miscellaneous Android Development] scousethief:
Can anybody tell me which 5g channels/bands the Xperia E5 can use.?

I can access my router using 5G without any real issues but I have a drone/camera that use channels 149 and 153 on the 5ghz set of frequencies but the E5 cannot see the drone/camera AP. The camera can be picked up on my daughters iPhone and on a Xiaomi note 2 so I know the camera works and is transmitting as it should it us just that the E5 cannot see it for some reason.
[Miscellaneous Android Development] piratsko:
I hope this has helped people with rooting their Sony Xperia E5.

I'm here if you need support, unless it's something dumb and/or already mentioned

Have a good one!

I finished all the step SUpersu installed succeful then device reboot and i'm stuck in bootloop 10 minutes nothing happened.

1. unlocked bootloader with sony they send me the code.

2.then install boot.img then

3. twrp recovery.img after that i go to

wipe>advanced>data wipe then

4 install super su Succefull

http://prntscr.com/iepp4h

but im still stucked in bootloop
[Miscellaneous Android Development] Blakcsock:
hello i followed every step but after installing SU and rebooting my phone its stuck in the logo screen forever, can anyone help me with this
[Miscellaneous Android Development] marvinalnashi:
To everyone who's getting bootloops, the reason the process is failing is because Sony released a new security update for this phone a while ago.

The custom kernel is built and based on the sources of an older firmware version.

You MUST downgrade to version 37.0.A.2.156 in order to root your phone!

Otherwise the entire system partition will get corrupted and you'll have your device soft bricked, so be careful.

To fix a bricked device, you can always download a firmware from Xperifirm and restore to that.

This will wipe all of your data.

You must download build 37.0.A.2.156 or nothing stated in my original post will work!
[Miscellaneous Android Development] dodonovnikolay1983:
So and on the last assembly 37.0.A.2.248 there is still no root?
[Miscellaneous Android Development] marvinalnashi:
There is no root for it and there won't be.

Build 37.0.A.2.248 only got some security patches, I'm not going to update the custom kernel for only security patches...

So just stick to 37.0.A.2.156.
[Miscellaneous Android Development] dodonovnikolay1983:
Yes, no problem
[Miscellaneous Android Development] piratsko:
i succeful root my xperia e5 build number 37.0.A.1.151

thank alot man
[Miscellaneous Android Development] dodonovnikolay1983:
Please share somebody with this assembly 37.0.A.1.151
[Miscellaneous Android Development] marvinalnashi:
I personally recommend you to use 37.0.A.2.156, it's rootable too and has some fixes that weren't present in 37.0.A.1.151.

Both can be downloaded from Xperifirm though.
[Miscellaneous Android Development] laurent.emery.59:
all operation its succes but reboot my xperia its lock on bootloader xperia animation not starting i restart twrp wipe data unmount data ....... after one hour xperia not starting not bootloop sure ????? you can have official boot.img
[Miscellaneous Android Development] marvinalnashi:
If you're getting a bootloop it means you've either done something wrong, or you've tried to root build 37.0.A.2.248.

This new build is unrootable for now, cause the kernel has been upgraded. You must downgrade to build 37.0.A.2.156 and then repeat the whole rooting process.

I will update the OP with everything you'll need to know soon.
[Miscellaneous Android Development] laurent.emery.59:
thank to help me !i have use flashtool androxyde download an ftf e5 .good and restart my build is 37.0.A.2.108 its good for flash and root or no ...?
[Miscellaneous Android Development] gadgetstechnician:
Thank you its tested :)
[Miscellaneous Android Development] laurent.emery.59:
ok nice

after flash, root e5 restart good smartphone is root ;) by google apk great
[Miscellaneous Android Development] marvinalnashi:
I've finally managed to fix the decryption password problem in TWRP. I'll open up a new thread soon specifically about this. It also fixed the internal storage bug, which used to make the recovery unable to mount the specified partition.

The only bug left is the /cache partition not being able to mount cause of the busy device/resource, but I'm working on that too. Stay tuned!
[Miscellaneous Android Development] CreponCreeper:
If i press sound- and power, it starts a software wich ask me for a password. But i dont have a password.
[Miscellaneous Android Development] marvinalnashi:
I've fixed this issue, I'll be uploading a recovery update soon.

In the meantime you can just ignore the password request by pressing cancel and carry on with the rooting process.
[Miscellaneous Android Development] CreponCreeper:
Android destroyed

I installed everything and i startet recovery and patchet supersu. I tried to start. There comes the Sony screen , the android screen and restart and then gos to the xperia screen for avout 8 hours. I loaded Emma from Sony and flashed a new Android and it works but is not rootd (becouse its a complete new android) and the recovery thing isnt working anymore. Is there a way to backup all my data that if it fail again i restore it and i have my android with all my apps, data,....?
[Miscellaneous Android Development] Creepso:
Hi, could we pm please [MENTION=5938145]mrmarvin_16[/MENTION] i don't wan't to make my phone in a bootloop or something like that, thanks
[Miscellaneous Android Development] marvinalnashi:
OP updated for the latest kernel and firmware versions!

Updating from rooted 37.0.A.2.156 to rooted 37.0.A.2.248 requires a data wipe, dirty flashing will corrupt the system.

So be sure to make a backup, before rerooting.

I've also managed to fix the bug in TWRP, which was causing the failing password check and the internal storage options to be disabled.

I'll be adding a link for the zip that you'll want to flash later. The fix is optional, but without it, you won't be able to flash zips like Viper4arise and Magisk. So after applying the fix, you should be able to flash those too. :)
[Miscellaneous Android Development] Tu_Angel:
I can answer this post, I could not do it because I needed a post to confirm that it was not bot.

Boot V2 release now Dowload
[Miscellaneous Android Development] Tu_Angel:
maybe would you like to try this

[PORT-Oreo- to F3311-F3313 " Stock Firmware"] Sony Xperia XZ Premium Audio Processing

;)
[Miscellaneous Android Development] Kantilo:
Hello, i have the version : 37.0.A.2.108, how can i use the root guide ?
[Miscellaneous Android Development] marvinalnashi:
Update to a newer firmware, I'm not supporting 37.0.A.2.108 or older.
[Miscellaneous Android Development] Kantilo:
Looking for updates he tells me that I have the latest update is normal?
[Miscellaneous Android Development] marvinalnashi:
No it isn't, in that case you'll need to update your firmware with Flashtool and download it from Xperifirm, there'll be a list of firmwares, just pick the latest one of your country.
[Miscellaneous Android Development] Kantilo:
I bought my phone on a high-tech online store, not an operator, so I can still flash with the version of my operator I use?

For my phone I have:

- Customized FR : 37.0.A.2.108 / R10A

- Orange FR : 37.0.A.2.248 / R10A
[Miscellaneous Android Development] marvinalnashi:
Go ahead and flash the Orange FR firmware, even if you have a different carrier/operator it shouldn't be a problem.

I was using the latest Dutch T-Mobile firmware on a Vodafone device till the update came out without any problems.
[Miscellaneous Android Development] deSSy2724:
Im stuck at: " Flash the encryption fix zip file,".... where am I supposed to find that?*
[Miscellaneous Android Development] marvinalnashi:
I haven't uploaded it yet, cause I've encountered a few problems with it.

I'll fix and upload it soon.
[Miscellaneous Android Development] Alex89796:
Error while unlocking bootloader (using Flashtool)

I'm trying to unlock the bootloader using Flashtool. My computer OS is Windows 7 x64. Version of the Flashtool 0.9.24.4. Flashtool shows "ERROR - Device connected in flash mode but driver is too old". The driver installed from the folder where Flashtool installed. How to solve this problem?

Sorry for my English, it's not my native language.