yashsingh1/xdaforums huggingface dataset:
[Sony Xperia C4 Guides, News, & Discussion] DangLeiChua:
[MENTION=7256069]AssossaGPB[/MENTION] can you add me in whatsapp ? Can you share to me step by step.how you did it ? Above instructions doesn't seem to work. I have E5353 too

---------- Post added at 12:56 PM ---------- Previous post was at 12:53 PM ----------

I have .169 build too and I can't seem to unlock my bootloader. I followed the instructions step-by-step and used fastboot from package. I tried the testing and got exactly the results then when I proceed to unlock my bootloader I always get error.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Screenshots and logs would be useful :good:
[Sony Xperia C4 Guides, News, & Discussion] guest7474:
Can we just flash fotakernel.img with something like flashify or rashr without unlocking bootloader?

My phone is rooted and i wonder if that is just working or not.
[Sony Xperia C4 Guides, News, & Discussion] sumitkhkh:
Hello Bigrammy Ji i need your Help

Please make apk so that i Can enable or add Engineer mode in Sony C5 ultra E5563

I want it i Flashed Engineer mode of Sony Xperia C and it Not Works on C5 and C5 has no Engineer Mode

Please do something to Enable Engineer Mode in C5 Ultra

Only this is the weakness of Sony C5

Help will be Highly Appreciated
[Sony Xperia C4 Guides, News, & Discussion] Ethan_Jay:
Hi newbie here. Ive successfully rooted my C4 and I want to go ahead and unlock the bootloader but i have a question. Once its unlocked will i be able to flash xposed framework onto my C4 or do i need to do something else?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I have not tried it on a locked bootloader and I am not sure if the apk's you mention support fotakernel flashing eg: by-name/fotakernel instead of the normal by-name/recovery so be sure to check their respective threads for compatability with Sony devices.

Wrong thread. I am not a rom dev sorry.

If you are rooted without bootloader unlock then you probably used kingroot.

No place in my tut did I use kingroot therefore I am unable to comment what will or won't work with that apk.

If following my tut then I believe xposed works fine.
[Sony Xperia C4 Guides, News, & Discussion] novoiperkele:
Can i use this for c5 ultra dual E5533 ?
[Sony Xperia C4 Guides, News, & Discussion] sumitkhkh:
my phone c5 dual charges when it is switch off only

when it is switch on it does not charge

any solution ?
[Sony Xperia C4 Guides, News, & Discussion] scotyard:
Will "fastboot flash boot fotakernel.img" work on a locked bootloader for temp recovery?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I very much doubt that will work.
[Sony Xperia C4 Guides, News, & Discussion] scotyard:
Is there a way to temporary boot into TWRP with a locked bootloader?
[Sony Xperia C4 Guides, News, & Discussion] Zohaib18:
Hello Friend I have C5 ultra Dual E5533 Android version 5.1 please help

Friend I did What you said But In the step ((((((Boot to bootloader via adb

adb reboot bootloader

Check the bootloader status

fastboot getvar all

output should show “(bootloader) secure: No” in the last few lines.

If it says No enter

fastboot flash fotakernel fotakernel.img

It should display a size and some seconds info with complete or success you should see NO warning or errors.)))))))))

Here Its says" error : Cannot Load Fotakernel.img" Please where to find fota kernel and if you dont mind can you send step by step pictures of this rooting.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Mate the whole point of a locked bootloader is to prevent this sort thing. :silly:
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Please don't quote the entire OP.

See this part in the OP which I just updated to try make it clearer.

When you have that ZIP file go to post #3 HERE and at the bottom see the DOWNLOADS HERE:

Get the one for your phone.

Now go to the first zip you downloaded from the OP "Recovery and ADB & Fastboot Files .zip" and swap the fotakernel.img that's inside for the one for Your device in post #3

You should then extract the "Recovery and ADB & Fastboot Files .zip" and run the cmd's given in the OP from within that extracted folder. :good:
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
Hello all, i did a quick search and didn't find my model in the answers, but maybe someone can tell me if i can open my bootloader.

My model, Sony Xperia C4 Dual E5363, actually with android 5.1, compile number 27.2.B.0.155.

I'm root user at the moment because i used Kingroot, before this Bootloader Unkock Allowed: was NO, but i just check it again and now said YES.

I'm a bit confused now :P

I think that i need to start from the "Unlock Bootloader" step, since i'm already root, but i'm not sure if this root level is the same and the one you show in the tutorial.

What do you suggest me to do?

I'm attempting to open the booloader to be able to install a custom recovery and then xposed.

Another question, doing this will leave me with my stock Android 5.0? Since i like it, i think that i don't need a custom rom right now.

Thank you in advance
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If you are already rooted then follow this:

1. Backup your ta partition using adb shell

adb
adb shell
dd if=/dev/block/mmcblk0p1 of=/sdcard/ta.img

2. Now unlock the bootloader using the OP instructions. (You do not need to be rooted to do this.)

3. Flash the recovery (fotakernel) using the instructions in the OP and Use the C4_Dual_E5363_27.1.B.1.115_R7A-OTG.zip in post #3 under Downloads.

4. After you're done you can restore your ta partition using adb again.

dd if=/sdcard/ta.img of=/dev/block/mmcblk0p1

Remember when you unlock the bootloader all your data will be wiped so backup anything important.
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
Hi again!

First of all thanks to use your time to help me, i appreciate that!!!!

I'm actually on the fist step (after getting Android SDK, upgrade the Fastbook driver as Sony saids, checking that my phone drivers are up to date).

adb
adb shell
dd if=/dev/block/mmcblk0p1 of=/sdcard/ta.img

I'm having a problem. First i needed to use "su" after "adb shell" because if i don't do this i get "Permission Denied" and nothing happend (i already allowed the ADB program to work in the KingRoot Root Manager). With the "su" command all seems to be fine, but i can't find the "ta.img" file, i suppouse that i must see it in my SD Card right? I try with /sdcard and with /sdcard1 but nothing happend, still no file. I wonder if i'm doing something wrong. Just to be sure i try the "adb devices" command to see if my phone was there, and i saw that model number in the attached screenshot, i was expecting E5363.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
According to your screenshot the ta.img did copy to your sdcard so it should be in the root of the sdcard. :confused:

Look for it using a root file manager as sometimes they do not show on mtp for some reason but it will be there. :good:

I gave the adb and fastboot in the OP see this part.
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
wow, this ia amazing!!!!!

The ta.img file was there but invisible as you said.

Then i follow all the steps, my phone reboot, then i install the custom recovery that seems to work fine because i was able to flash the archive for SuperSu, but it is not working, it said something about some binary files, i try the "normal" install for this problem but an error pops.

I also check root status with "Root Checker" and it said that i'm not a root user.

Seems i'm missing one last step!
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Hmm seems like a SuperSu issue

Use this SuperSu Version UPDATE-SuperSU-v2.65-20151226141550.zip

Just to be sure you did boot to TWRP recovery right??

It should look like this.
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
Hey!

Flashed that one but the problem persist, still no root and also binary update message.

Should i need to remove the other SuperSu and then flash this one?

If so, how can i do it?

Edit: i did the TWRP install part, but mine is v.2.8.7.0. From Install i search the .zip file and it install correctly, then i reboot.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Yes TWRP version is correct :good:

Your problem is KINGROOT's so called survival which prevents SuperSu from installing :mad:

Search xda or google for how to fully remove kingroot as I never used it.
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
That was the problem!

I installed KingRoot again and then use an option to remove it and the root the app installed.

Then i check with "RootChecker" again and green light, everything is ok! Root Access properly installed on this device.

But SuperSu still shows the binary problem. Anyway with this problem without solution SuperSu seems to manage permissions correctly since i needed to accept RootChecker's one.

So i'm not really sure how to solve this, i already try with Normal process and also with Recovery option.

But at this moment this is a particular problem of myself, i'll try to gather information to make this fully work.

Thank you very much for your time, and for helping me, now i have an open bootloader, a custom recovery and can progress with Xposed Modules!!!!

Confirm that this method work in Xperia C4 E5363!

Too bad i can only press "Thanks!" button only one time! :)

***EDIT***

Just if someone is having the same problem as me, i unistall kingroot via the own app, and then use SuperSu Me.

Seems that this app remove KingRoot Completely, now SuperSu binary files installed correctly and all is working perfect!

*happy!!!!*
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Glad you solved the Kingroot issue and thanks for sharing how. :good:

I am sure others will find it very useful. :highfive:
[Sony Xperia C4 Guides, News, & Discussion] arjun.arora:
Hey buddy, can you add recovery to the fotakernel of XA Ultra. I tried the C4 & C5 versions both are not working. I can test it if you do compile it.

Do you have a guide or a tutorial on how to do it.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Sorry I do not own a XA Ultra and it would very difficult for to create the recovery without the phone in my hands. :(
[Sony Xperia C4 Guides, News, & Discussion] arjun.arora:
I can send you the stock fotakernel file. If not please guide me through the process on how to compile it. Thanks.
[Sony Xperia C4 Guides, News, & Discussion] mothi01:
Finally got it...😀😀😀

Atlast I'm in twrp now..?? thank you bigrammy..??
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Please check the spellings you have kernel and kernal in your screen shot.
[Sony Xperia C4 Guides, News, & Discussion] shekarbasha@gmail.com:
Anybody pls give me link for fotakernel.img for C5 ultra 5533. The link in the post#3 says no such file exists in onedrive. pls help. I tried to flash c4's fotakernel.img on my C5 Ultra.. now it is struck at the sony boot Logo.. pls help
[Sony Xperia C4 Guides, News, & Discussion] okolyigit:
How can we update our phones if Sony gives us marshmallow?
[Sony Xperia C4 Guides, News, & Discussion] shekarbasha@gmail.com:
sir, the link u provided in post#3 for the C5ultra says the file dint exist. So i flashed c4 fotakernal on my c5. from them it is struck at the boot logo. Kindly upload

the c5 recovery kernal please. i am struck with no other option. Only you can save me by giveing the kernal. please help
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
First. Please do not Quote the my entire post for such a simple request.

Next. Why would you flash the C4 recovery :silly: there is good reason for having different recovery's else I would've just posted one recovery for all CX devices. :rolleyes:

I have checked all the links and they work fine so the problem maybe on your side. :confused:

Next your bootloader must be unlocked for the recovery to work as a locked bootloader will not allow it boot.

Here is the Long Download link for the C5 Ultra https://1drv.ms/u/s!AtAFzpgL7As6hEVPOoViA3RcfURt
[Sony Xperia C4 Guides, News, & Discussion] gsser:
Whatabput making double speaker? I mean mixed paths. As you know there are 2 front facing speakers but we can only use 1 speaker at a time, what do we need to do to make it work both speakers?
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
Hi again Bigrammy!

I wanted to ask you about removing root from my device, the opposite process of the tuto. How can i proceed? Can a Sony Ccompanion reset remove it? Or maybe i need to flash something? Thank you in advance!
[Sony Xperia C4 Guides, News, & Discussion] sakurals:
I answer myself XD hahahaha

Yes, system repair via Sony Companion erased everything, so i'm not rooted anymore.

Hope this could be usefull for someone!

Xperia C4 E5363
[Sony Xperia C4 Guides, News, & Discussion] darksoul79:
C4 single marsmallow 27.3.A.0.122 not working twrp

:crying:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
cause its for 5.1 and sdk versions are diffrent. another port needed for marshmallow. good thing it didnt brick your boot.img
[Sony Xperia C4 Guides, News, & Discussion] sauaditi:
How we are gng to update 6.0 on rooted 5.1 c5 ultra?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
MM Update!!

Note to all:

If you wish to keep your device with custom recovery then please wait. :rolleyes:

When I get some time in a week or so I will look at the best way to update to MM and hopefully keep a custom recovery so please be patient. :o

If anyone else figures it out in the meantime then please feel free to share it. :good:

Many Thanks.
[Sony Xperia C4 Guides, News, & Discussion] gsser:
Wait for release for your phone,relock bootloader if its unlock, but first unroot device and restore stock system(backup from before as bigrammy mentioned) then do a factory reset. Go to flash tool click on blu then follow instructions and relock bootloader. Do a repair via xperia companion. It will update and wipe your system to the latest one

If you dont understand and need a detailed guide i just opened a new one in this section
[Sony Xperia C4 Guides, News, & Discussion] okolyigit:
Can someone share system backup for Xperia c4 E5303?
[Sony Xperia C4 Guides, News, & Discussion] zarniphonechit:
Waiting

Waiting

Waiting

[MENTION=3924647]bigrammy[/MENTION]
[Sony Xperia C4 Guides, News, & Discussion] kreznik:
Can i install custom recovery without unlocking bootloader?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
No.

Put simply it will not boot to the recovery as the bootloader checks the recovery prior to allowing it to boot and if it is not stock then it kicks it out. :(
[Sony Xperia C4 Guides, News, & Discussion] gsser:
https://drive.google.com/file/d/0B4oI7YeGtWdba3ZuWUJHVmFYbGM/view?usp=drivesdk

Here is the boot and fotakernel for e5553 if you need [MENTION=3924647]bigrammy[/MENTION] those are from marshmallow
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Thanks but I think we maybe stuck for a while with MM :(

To All.

Here are my findings so far:

Option:

1> Partial Update by FlashTool of the System, boot, etc etc works

+ side Old Recovery Still works. :good:

- side Causes bugs in MM such as Settings/Lockscreen and Security crashing and who knows what else.

Option:

2> Full Repair by Sony's Xperia Companion (You need to relock the bootloader for this to work. You can use FlashTool for relocking)

+ side Everything works with no more crashes

- side We receive only a partial bootloader unlock :(

- side The recovery is prevented from booting :(

So to sum up the recovery is not the issue but it's Sony's security checking of the recovery partition.

I noticed we do not have the OEM Unlocking Allowed switch in our ROM's so unless we get a update where this is available then I am afraid we are stuck without custom recovery for now and must search for a alternate method of rooting MM
[Sony Xperia C4 Guides, News, & Discussion] gsser:
If we cant then we are going back to lp...
[Sony Xperia C4 Guides, News, & Discussion] aidy.lucas:
Can't be that hard if the xa has working twrp recovery with dm-verity and Sony ric to worry about c4+c5 only has Sony ric and stock mm encryption I think, it all needs turning off in the kernel either via unpacking and modifying ect or it needs building from source. Have a look at the xa root threads it may give you a idea of where to go next
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
C4 also has verity which I already disabled it has no forceencrypt set by default.

Not sure about Sony RIC I will look into that one. :good:
[Sony Xperia C4 Guides, News, & Discussion] vinaybecool:
Anyone else call shere plzz how to root xperia c5 ultra E5563 after update mm..... And need custom recovery too for mm
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
That is as it should be on mm so don't worry about it as long as you have TWRP recovery your OK.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Try Flashtool again and ensure you issue the correct commands for fastboot no typo's or extra spaces.

It's working for myself and everyone else I think. :confused:
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Ok Mate I see you are trying to unlock the "full stock" MM ROM yes :confused:

If so then this is not possible :(

You need to be in this Thread and get back to FULL Stock 5.1 HERE Read the first Post very carefully.

Most seem not to grasp how to roll back and or simply ignore instruction.

So using FlashTool Flash as much of the earliest possible rom that you have for your device 5.0 or very early 5.1 will do.

I got back to 5.1 by using this method here http://xdaforums.com/xperia-c5-ultra/development/androxydes-flashtool-features-xperia-c4-t3292650/page15 but I had 5.0 rom for the C4 sadly no one tested with early 5.1 so I cant say if it works or not.
[Sony Xperia C4 Guides, News, & Discussion] tejjoshii:
It is not working for my xperia c4 dual e5363

I got stuck on fastboot :

C:\adb>adb devices

List of devices attached

WUJ01JTA2E device

C:\adb>adb reboot bootloader

C:\adb>fastboot getvar all

< waiting for device >

The device stays in fastboot mode and cmd keeps saying waiting for device

WHAT SHOULD I DO?? I am on Marshmallow 6.0

I also checked with dialer code and it says bootloader unlockble: Yes:confused:
[Sony Xperia C4 Guides, News, & Discussion] Kenzi BNH:
[MENTION=6461632]tejjoshii[/MENTION]

You have to install the fastboot driver :good:
[Sony Xperia C4 Guides, News, & Discussion] tejjoshii:
I can't find fastboot drivers...

[MENTION=7750166]Kenzi BNH[/MENTION]

I am pretty sure i have installed adb drivers but i can't find fastboot drivers

can you give me the site from where i can download them

thanks for the reply in advance..:o
[Sony Xperia C4 Guides, News, & Discussion] Kenzi BNH:
Try this tool: 15 sec ADB (& Fastboot) installer

If you're on Windows 8.1/10 you will have to do this

before start driver installation. :good:
[Sony Xperia C4 Guides, News, & Discussion] tejjoshii:
Android version doesn't matter right?

I recently updated to MM 6.0

Will it work on it?

Umm...Its still not working

I'm still stuck at waiting for device

I have attached screen shot
[Sony Xperia C4 Guides, News, & Discussion] oday.ot:
Neeeeeeeed help

I have damaged my c5 ultra preloader can any one provide to me a solution or

a sptool flash files for it

I can still get a com port connected when I connect it to the pc

and I have searched every where for the files but no luck

the damage happened when I was flashing the phone with flash tool
[Sony Xperia C4 Guides, News, & Discussion] Techy4198:
This doesn't seem to work on the C4 after installing Marshmallow (I had no other option). The recovery key combo just makes it sit on the Sony logo for 30 seconds (even before trying TWRP). Did I break the bootloader somehow, or is it just not working on this ROM?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
No it does not work on stock MM :(

Reflash/Repair with Xperia Companion tool :good:
[Sony Xperia C4 Guides, News, & Discussion] Techy4198:
That's a shame...

Xperia Companion is exactly the reason it went to MM :(

Anyway, I just totally bricked the device by trying to flash the bootloader with Androxyde's Flashtool, and now not even flashmode or fastboot work... Do you happen to know of any way to revive it? I expect my only options now are to send it off for JTAG repair or buy a new one :(
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Man I feel for you bro but there are plenty of warnings about using the wrong version of FlashTool :crying:

Take it back to Sony and say it happened while flashing a repair with the Official Xperia Companion tool. I do not think even they can recover the phone and need to replace the board so they cant prove anything.

Had they left it Mediatek preloader enabled it would not be a problem. :mad:
[Sony Xperia C4 Guides, News, & Discussion] Kenzi BNH:
remove message

off topic sorry​
[Sony Xperia C4 Guides, News, & Discussion] Techy4198:
I know there are plenty of warnings and I fully accept that it's entirely my fault.

Unfortunately I already water damaged this phone so Sony certainly won't take it. There's not really anything on there that needs recovering as such (other than the bootloader :D ), so if I can source a good board from somewhere e.g. one with a broken screen going for scrap on eBay then as long as the main board is good I'll swap it out.

On the subject of the Mediatek preloader though, it is enabled. Windows sees it as a MTK something device when connecting. Flashtool also sees the device but says USB debugging is disabled. Anything I can do with this?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I already tried everything I know to get a bricked C4 dual phone to connect to SPFlashtool but I just get "Secure Base Band please load file" To get to that stage I had to make a scatter file and edit the stock preloader.sin down. I have no idea what "File" to load maybe some kind of factory file needs loading :confused:

If I do find a way to revive it I will be sure to let everyone know...
[Sony Xperia C4 Guides, News, & Discussion] Techy4198:
I'm getting a fresh from-the-factory C4 in the next few days, anything helpful I could get from it?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Nice!

Did they exchange it for you?

Anyway nothing can be got to revive a KILLED C4/5 sadly.

If it ships to you with android 5.0 :fingers-crossed: be sure to get your bootloader unlock before you do any ota updates. This will make it so easy for you to have a fully working and rooted MM. See Here http://xdaforums.com/xperia-c5-ultra/development/mm-root-advanced-volunteer-required-t3469204 You would not need to roll back which seems to be the most difficult part for some users. :rolleyes:

Also be sure to use flashtool with the unlocked bootloader so it can get the code

So you would.

1 Root and backup ta

2 Bootloader unlock

3 use flashtool at least once

4 reflash system with 5.0 with flashtool

5 lock Bootloader with flashtool

6 update via OTA.

7 follow MM tut skipping roll back part.

:D
[Sony Xperia C4 Guides, News, & Discussion] Techy4198:
No exchange, just had to bite the bullet and buy a new one :( Coming from Amazon so likely old enough stock to have 5.0.

I'm newer to all this than I probably seem, so could you possibly please explain the process in more detail? (Ideal way to root, what to back up, where to get stock 5.0 system etc)

Thanks for the good support on this though :)
[Sony Xperia C4 Guides, News, & Discussion] NADIR1982:
sony xperia C5 ultra dual e5533

Can I flashing sony xperia C5 ultra dual e5533 marshmallow 6.0.1 help for root-recovery removal