yashsingh1/xdaforums huggingface dataset:
[Sony Xperia C4 Guides, News, & Discussion] REDISBLOOD:
Cant get recovery working,when i tried to boot into recovery it shows sony boot logo for 10 sec and boot into system

E5363 dual

(bootloader) max-download-size: 0x8000000
(bootloader) partition-size:flashinfo: 1000000
(bootloader) partition-type:flashinfo: raw data
(bootloader) partition-size:system: 9f980000
(bootloader) partition-type:system: ext4
(bootloader) partition-size:userdata: 32000000
(bootloader) partition-type:userdata: ext4
(bootloader) partition-size:cache: c800000
(bootloader) partition-type:cache: ext4
(bootloader) partition-size:oem: f800000
(bootloader) partition-type:oem: ext4
(bootloader) partition-size:apps_log: 800000
(bootloader) partition-type:apps_log: ext4
(bootloader) partition-size:gen: 100000
(bootloader) partition-type:gen: raw data
(bootloader) partition-size:metadata: 2000000
(bootloader) partition-type:metadata: raw data
(bootloader) partition-size:tee2: 500000
(bootloader) partition-type:tee2: raw data
(bootloader) partition-size:tee1: 500000
(bootloader) partition-type:tee1: raw data
(bootloader) partition-size:expdb: a00000
(bootloader) partition-type:expdb: raw data
(bootloader) partition-size:logo: 800000
(bootloader) partition-type:logo: raw data
(bootloader) partition-size:para: 80000
(bootloader) partition-type:para: raw data
(bootloader) partition-size:secro: 600000
(bootloader) partition-type:secro: ext4
(bootloader) partition-size:boot: 2800000
(bootloader) partition-type:boot: raw data
(bootloader) partition-size:fotakernel: 2800000
(bootloader) partition-type:fotakernel: raw data
(bootloader) partition-size:ltalabel: 1000000
(bootloader) partition-type:ltalabel: ext4
(bootloader) partition-size:lk: 100000
(bootloader) partition-type:lk: raw data
(bootloader) partition-size:seccfg: 80000
(bootloader) partition-type:seccfg: raw data
(bootloader) partition-size:protect2: a00000
(bootloader) partition-type:protect2: ext4
(bootloader) partition-size:protect1: a00000
(bootloader) partition-type:protect1: ext4
(bootloader) partition-size:nvram: 500000
(bootloader) partition-type:nvram: raw data
(bootloader) partition-size:proinfo: 300000
(bootloader) partition-type:proinfo: raw data
(bootloader) partition-size:ta: 200000
(bootloader) partition-type:ta: raw data
(bootloader) partition-size:preloader: 40000
(bootloader) partition-type:preloader: raw data
(bootloader) version-preloader: 0.1.00
(bootloader) version: 0.5
(bootloader) secure: no
(bootloader) version-baseband: 1292-1564_27.1.B.1.106
(bootloader) version-bootloader: 1292-1556 S1_Boot_MT6752_TC9SP_208
(bootloader) serialno: NEVERMIND
(bootloader) product: E5363

is there any way to get magisk working on 6.0 MM?? by patching boot and reflash?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Which 6.0 firmware version are you on (by date) and which boot.img are you using??

The last time I checked Magisk did not work very well with Sony's stock boot.elf so it will fail to patch the boot correctly.

You must first convert the boot.elf to boot.img then run Magisk.
[Sony Xperia C4 Guides, News, & Discussion] REDISBLOOD:
yea,its already mention in magisk thread,currently i am on 5.0 LP and planning to update to 27.3.B.0.173 6.0 MM

But i cant even get the custom recovery working in 5.0 27.1.B.1.106

it just hangs in sony boot logo and then boot into system
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Please re Read the OP. If your device has ever had 6.0 MM flashed by you or others you will still have that 6.0 MM bootloader installed unless you follow the instructions 100%.

In short you "MUST" have the 5.0 or 5.1 bootloader installed or it will not work.

Read From step 5. Install a custom recovery (TWRP) for booting to recovery advice.

See this thread for MM 6.0 specifically https://xdaforums.com/xperia-c5-ultra/development/mm-root-advanced-volunteer-required-t3469204
[Sony Xperia C4 Guides, News, & Discussion] REDISBLOOD:
how can i know that if i have MM bootloader?

(bootloader) version-preloader: 0.1.00
(bootloader) version: 0.5
(bootloader) secure: no
(bootloader) version-baseband: 1292-1564_27.1.B.1.106
(bootloader) version-bootloader: 1292-1556 S1_Boot_MT6752_TC9SP_208
(bootloader) serialno: NEVERMIND
(bootloader) product: E5363

and before i flash the custom recovery to fotakernel partition i can access stock recovery with key combination
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I am not sure about the bootloader versions because of all the various models. I only have the C4 (UK Single SIM Version) :rolleyes:

I must of explained things a thousand times already in this thread :crying:

So here goes again.

If You are on 5.0 LP then

1. re lock your bootloader using flashtool only.

2. Make sure you have stock 5.0 LP boot.sin recovery.sin and system installed.

3. Wait for and take the OTA's checking your Android version each time until you get the 5.1 OTA then take no more updates.

4. Now unlock the bootloader again using flashtool

5. Flash the TWRP recovery for your device and follow the recovery instructions in the OP

:fingers-crossed:
[Sony Xperia C4 Guides, News, & Discussion] REDISBLOOD:
Ok i got recovery working in 5.1
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Great :good:

Now you need to go to the MM Root Thread Here and continue from step 3

NOTE: ONLY flash the MM 6.0 boot, oem, userdata and system of the latest 6.0 MM using FlashTool.

Make sure all is working as it should be before starting the root process.

If the MM firmware version you are using is dated 2018 then you will need to use a updated boot.img for rooting so will need to upload the boot.sin from the firmware for me to patch it for you when I get some time. :eek:

You can view the last few pages of that thread to get some idea of what is going on. :eek:
[Sony Xperia C4 Guides, News, & Discussion] REDISBLOOD:
Thanks for the reply.as in that thread the step 7 says unlock bootloader using flashtool,but now i flashed twrp i am already on unlocked bootloader.so do i need to relock before flashing MM boot.sin and system.sin??
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I switch you to the other thread now for you questions or people will become confused :)

Give me a little time to reply there.
[Sony Xperia C4 Guides, News, & Discussion] sk1120:
Hey i have c4..when i use cmd "fastboot getvar all" its displayin "waiting for any device". Even i tried to update driver software in device manager .Still no change.can u suggest me a solution for this.
[Sony Xperia C4 Guides, News, & Discussion] Tricxster19:
Thank You OP! WORKED!

✅ Unlocked Bootloader + Installed TWRP

WORKED ON:

Phone: Xperia C5 Ultra

SIM: single

Model: E5553

Android version: 5.1 Lollipop

Build number: 29.1.A.0.101
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I clearly stated in the OP Not to use my work in Other FORUMS you even use my download links :mad:

No one will come to this thread if they have everything they need enjoy :(
[Sony Xperia C4 Guides, News, & Discussion] gsser:
But if they come, they cant do anything cause they dont know english. Even there are people who dont know what adb is...
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
1. Google Translate.

2. If they do not know what adb is they should not be rooting phone's.

There is no valid reason at all to copy my work and post it elsewhere.

You can do what you like as I can't stop you but doing this sort of thing will just stop dev's from sharing me included.

I don't charge or ask for donations my download links are spam free with no signup required yet you and others still want to take it away. :rolleyes:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
Its not like i steal nor copy your work. People who cant or dont understand english cant root this phone if they want to. One day someone will do the same what i did. Im just saying i dont want any donation or something about money. Im just helping turkish people. Google translate sucks. Everybody knows this. And i have never seen any body flashing or rooting a phone reading a guide with google translate

And even devs wants appreciate and thanks, i know that. But what could other people do? You guys are here to help us but what about others?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Remove the download links and you can leave the rest just point people to post #3 for the downloads. :rolleyes:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
You can check again. Directed links to here. All the downloads will be from here as you said.
[Sony Xperia C4 Guides, News, & Discussion] mauroqueiroz:
Everything is OK here, root done!

product: E5343 (Dual/Brazil)

(bootloader) version: 0.5

(bootloader) secure: no

(bootloader) version-baseband: 1295-6700_27.1.B.1.106

(bootloader) version-bootloader: 1292-1556 S1_Boot_MT6752_TC9SP_11
[Sony Xperia C4 Guides, News, & Discussion] mekar07:
i just want to know if im not proceed to unlocked bootloader, can i root my e5563?
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
No, in order for root, you MUST unlock your bootloader...

@ bigrammy and other users. I'm also happy to report that Xposed is working absolutely fine including several modules!

Finally able to used Xposed with Gravity Box, Apps Opps Xposed, Greenify & Volume Steps.

Also, after having removed a $hitload of bloatware via Titanium Backup, I'm left with 89% free internal memory storage, previously was around 79% . Phone is definitely snappier, faster and more responsive.

Apps Opps Xposed is an excellent module preventing wake locks from programs such as Google Play, Google Services, Viber, Skype, Talk Ray, etc...

Last night I fully charged my phone and it's almost been 12 hours and the battery is still at 100%

Having root access and full rights over the C5 Ultra has made such a great experience and feels like a new phone again yet far better than it was in every possible way.

Once again, thank you so much bigrammy for making this possible, your efforts are much appreciated. :good:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
What if my device gets bricked? How can i flash stock rom?
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
Extremely unlikely to get bricked, just make sure you follow the instructions.

If it was bricked, you would have to manually flash a rom via recovery or by fast boot commands.
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Damn..i still can't unlock my bootloader..on the part when i fastboot unlock and put in my code..i get this error (FAILED remote command not allowed)

and after reboot to bootloader again..the status still on secure : Yes . So is not working on my E5563 bootloader unlock (No) status... :(
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
Did you check to see if your bootloader can be unlocked? Check the 1st page where it tells you how to check whether or not you can unlock your bootloader. Perhaps your C5 Ultra does not allow it to be unlocked.
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
As i say it before..my C5 Ultra E5563 bootloader unlock = NO...and some user with same as mine can unlock the bootloader here
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
I'm also pretty confused about the process for my c5 ultra E5563

For me too it says in status that unlock allowed is no
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Well this C5 ultra is my most fustrated and damn useless phone i ever brought.Can't get flashtool to flash others firmware and now bootloader cannot be unlock and no root...i'm going to throw this damn phone away!!!
[Sony Xperia C4 Guides, News, & Discussion] yuweng:
[MENTION=3924647]bigrammy[/MENTION] When will you stop buying MediaTek devices, there are plenty of other SoC out there... :laugh: Just learn these from the Russian instead of getvar all... :cowboy:

fastboot getvar unlocked
fastboot getvar secure

Get the driver from here...
[Sony Xperia C4 Guides, News, & Discussion] mekar07:
In your device, open the dialler and enter *#*#7378423#*#* to access the service menu.

Tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step.

--->>>>If it says No, or if the status is missing, your device cannot be unlocked.<<<<<---

NO CHOICE...
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Thanks for the help..unfortunately is still can't get into bootloader unlock...well i think i have to wait until further marshmallow upgrade or someone that have solution for our bootloader unlock status (NO)..
[Sony Xperia C4 Guides, News, & Discussion] yuweng:
You are most welcome my friend... :highfive: What mekar07 says is correct, having said that, on the MTK there have been exception.... Theoretically, if someone backup the unlocked preloader & secro & load it on yours then it might work... :fingers-crossed:

Lets wait for bigrammy to come back as he has more experience than me on the Xperia C4/ C5... :o
[Sony Xperia C4 Guides, News, & Discussion] mwerkz:
Thanks! Root Success!

C5 Ultra E5553 29.0.A.1.55
[Sony Xperia C4 Guides, News, & Discussion] Kosteykin:
Thank you OP!

My C5 Ultra Dual E5533 succefull rooted!
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Bro as you have been advised already by my friend [MENTION=4478781]yuweng[/MENTION] I am 99% sure it is your Fastboot drivers that are not correctly installed especially since sony Flashtool also has problems.

1. I would advise to uninstall all USB mtp and adb then manually boot to Fastboot then connect the phone to the PC. In device manager check to see what loaded. Select it and and update the driver manually pointing to Fastboot drivers. If that fails then

2. Use a different USB Lead.

3 Use USB 2.0 port

Sony did quite a lot of bootstrap modifications to the USB Pid and Vid numbers for various configurations which may be conflicting so your PC thinks fastboot is some other device.

Hi bro :highfive:

Yes I am still Mediatek :laugh: :laugh:

Sony did quite a lot of mods compared to other Mediatek ROMs and I think they must of modded the pre-loader and bootloader since there is no SPFlashtool on these Sony's no matter how I try the theory is sound but I would not like to test it as I am unsure just how much modding they did. :eek:

Lucky for us they seem to of messed up a little on the bootloader :laugh:

Just back in from a long day at work and my brain is a little fried as we are on with a glass cockpit mod :eek: I wish we could just stick a few Android devices on the dashboard instead :laugh:

Thanks for visiting and helping out bro it's much appreciated. :o :cool:
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Thanks for the help bigrammy unfortunately i think only me has this problem for unlocking bootloader..since i have follow all your instruction to reinstall new usb mtp and adb but still no avail here...well i think i have to stop here...Thanks again so much for your help ..cheers :)
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
08/008/2016 23:08:04 - INFO - Please connect your device into flashmode.

08/008/2016 23:08:16 - INFO - Device connected in flash mode

08/008/2016 23:08:16 - INFO - Opening device for R/W

08/008/2016 23:08:17 - INFO - Reading device information

08/008/2016 23:08:17 - INFO - Phone ready for flashmode operations.

08/008/2016 23:08:17 - INFO - Opening TA partition 2

08/008/2016 23:08:17 - INFO - Current device : E5563 - XXXXXXXXX- 1296-9001_R4A - 1295-8228_29.0.B.1.55 - GENERIC_29.0.B.1.55

08/008/2016 23:08:17 - INFO - Closing TA partition

08/008/2016 23:08:17 - INFO - Start Flashing

08/008/2016 23:08:17 - INFO - Processing loader.sin

08/008/2016 23:08:17 - INFO - Checking header

08/008/2016 23:08:17 - INFO - Flashing data

08/008/2016 23:08:17 - INFO - Loader : S1_Root_4154 - Version : MT67X2_19 / Boot version : S1_Boot_MT6752_TC9SP_16 / Bootloader status : NOT_ROOTABLE

08/008/2016 23:08:17 - INFO - Max packet size set to 8192K

08/008/2016 23:08:20 - INFO - Making a TA backup

08/008/2016 23:08:20 - INFO - Opening TA partition 1

08/008/2016 23:08:20 - INFO - Start Dumping TA partition 1

08/008/2016 23:08:20 - INFO - Finished Dumping TA partition 1

08/008/2016 23:08:21 - INFO - TA partition 1 saved to C:\Users

08/008/2016 23:08:21 - INFO - Closing TA partition

08/008/2016 23:08:21 - INFO - Opening TA partition 2

08/008/2016 23:08:21 - INFO - Start Dumping TA partition 2

08/008/2016 23:08:21 - INFO - Finished Dumping TA partition 2

08/008/2016 23:08:21 - INFO - TA partition 2 saved to C:\Users

08/008/2016 23:08:21 - INFO - Closing TA partition

08/008/2016 23:08:21 - INFO - Parsing boot delivery

08/008/2016 23:08:21 - INFO - No flash script found. Using 0.9.18 flash engine

08/008/2016 23:08:21 - INFO - Opening TA partition 2

08/008/2016 23:08:21 - INFO - Writing TA unit 00002774. Value : [01]

08/008/2016 23:08:21 - INFO - Closing TA partition

08/008/2016 23:08:21 - INFO - Processing partitions.sin

08/008/2016 23:08:21 - INFO - Checking header

08/008/2016 23:08:21 - INFO - Flashing data

08/008/2016 23:08:21 - INFO - Phone boot version : S1_Boot_MT6752_TC9SP_16. Boot delivery version : 1292_1556 S1_Boot_MT6752_TC9SP_16

08/008/2016 23:08:21 - INFO - Going to flash boot delivery

08/008/2016 23:08:21 - ERROR - missing

08/008/2016 23:08:21 - INFO - Some files are missing from your boot delivery

08/008/2016 23:08:21 - INFO - Opening TA partition 2

08/008/2016 23:08:21 - INFO - Processing boot.sin

08/008/2016 23:08:21 - INFO - Checking header

08/008/2016 23:08:21 - INFO - Flashing data

08/008/2016 23:08:21 - ERROR - Processing of boot.sin finished with errors.

08/008/2016 23:08:21 - INFO - Ending flash session

This is what i get evertime when i try to flash a new firmware for my C5 ultra E5563...Damn fustrated !!..Does anyone know whats the reason i get this error....Please shed some lights here
[Sony Xperia C4 Guides, News, & Discussion] gsser:
yo guys, in xposed it say that 64bit is not supported. how can i install xposed ?
[Sony Xperia C4 Guides, News, & Discussion] aboyazan78:
i guess as we have Mediatek chipset u cant use flash tool to install software to ur device

there is a tool for mediatek platforms i cant remember its name it is a chinese tool .. search in xda im sure u will find it
[Sony Xperia C4 Guides, News, & Discussion] AnandSadar:
Install xposed version and flash sdk21 64bit provided in this link http://xdaforums.com/showthread.php?t=3034811
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Oh yeah...I remember now,there is two version of C5 Ultra (one with mediatek and one with qualcom chipset)...no wonder I can't flash firmware using flashtool... BTW anyone with mediatek chipset can get along to flash firmware by using others tool?
[Sony Xperia C4 Guides, News, & Discussion] AnandSadar:
I'm also having mediatek, but still flashtool worked.
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Really.. Then I think is my laptop problem here... As I am using window 10 atm..Maybe I need to try it on others window...
[Sony Xperia C4 Guides, News, & Discussion] mekar07:
ROOTED SUCCEED!! BIG Thanx to bigrammy....u are great!!

(bootloader) version: 0.5

(bootloader) secure: no

(bootloader) version-baseband: 1295-8228_29.0.B.1.55

(bootloader) version-bootloader: 1292-1556 S1_Boot_MT6752_TC9SP_16

(bootloader) product: E5563
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Fastboot driver for the final time :crying:
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Well [MENTION=3924647]bigrammy[/MENTION].. I'm not really good at adb stuff.. Can u tell me how to fastboot-driver?
[Sony Xperia C4 Guides, News, & Discussion] aboyazan78:
[MENTION=3927084]skylinestan[/MENTION]

search for this tool : Wmshua software

its a chinese tool for mediatek platforms
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Thanks for the info..will try to search it and test it

Edit: Tested..not good,the apps very buggy...can't get into flash firmware...not a good apps to flash
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
As far as i remember there was sp flashtool for mtk phones.. The one with scatter loading and stuff

---------- Post added at 03:17 PM ---------- Previous post was at 03:16 PM ----------

Could you please share the steps to unlock bootloader and then root the phone ?
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
The SP Flashtool is not supported our MT6752 chipset..it will brick our device if using it to flash firmware
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
EDIT

Finally!!! I've sucessfull to ROOT my C5 Ultra E5563....:laugh::laugh::laugh:

Well, seems i have done some stupidly things in the past..for all people with C5 E5563 bootloader unlock status (No)..please follow my instruction in order to get it work as bootloader unlock status (Yes)..

1)As i brought my C5 ultra..i have updated the firmware by OTA...and it went well and i just leave it that way until now

2)try to unlock bootloader but not successful at all by using plenty of flash tool...

3)The cuplrit here....is that i head over to Sony PC companion and straight away repair my C5...:fingers-crossed:

4)That's it!!! it works!! i went back to ADB and check on bootloader status and it went to (Yes)!!

5)Starting from there i follow [MENTION=3924647]bigrammy[/MENTION] tutorial and its finally ROOTED my C5 Ultra!!! :good::good:

Thanks [MENTION=3924647]bigrammy[/MENTION] [MENTION=5752640]aboyazan78[/MENTION] [MENTION=6156986]AnandSadar[/MENTION] for helping me out alot in this post..Thank you so much for all your contribution here...CHEERS!!!
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I would not advise using any other software on these MTK Sony modified Phones.

Read the OP :rolleyes:

SPFlashtool does not even detect the Sony C4 or C5 as Sony have modified the firmware for use with their own flashtool. :eek:

I am glad you got there in the end but please don't tell people to do anything different to my OP as that works 100%. You seem obsessed by the bootloader status which I already stated in the OP has no effect on this procedure. :rolleyes: Your phone will still show the same Status in the software before and after the procedure. Correct?

The only thing you did was use Sony PC Companion which probably just installed your drivers Correctly :good:

So for anyone having problems flashing commands with fastboot just install Sony PC companion then retry the procedure in the OP. (Thanks to [MENTION=3927084]skylinestan[/MENTION] for this advice on installing the correct drivers should you have problems. )

TO ALL: Sony will no doubt fix this loophole very soon so THINK before you do any firmware updates as you may lose root forever if we are unable to downgrade the firmware in the future :eek:
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
I don't know why but i can't get fastboot commands to work.. Adb commands work for rebooting to bootloader but when in fastboot the command - fastboot getvar all just returns 'waiting for device'

I tried fastboot devices and no devices was shown to be connected .. I know it's a very nooby question but help me out please ? This is kinda frustrating as i can't use your steps for the recovery or bootloader unlock until then... :(
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Edit after ROOT

Seems like theres some root apps that culprit making the bootloader status to change..i now on the bootloader secure status from (No) become back to (yes) and i have lost the TWRP recovery.Apart from that my phone is still in ROOT mode..i can use any root stuff but is that i can't boot into recovery mode...
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Fastboot driver! Read the post you quoted :confused:

Sorry I GIVE UP you just don't listen or follow the OP so forget it :crying:
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
OP relax bro :*

And no worries fixed the fastboot issue.. It was a windows 10 pro driver fuss.. Solved it.. Thank you anyway ! :)

---------- Post added at 10:34 PM ---------- Previous post was at 10:32 PM ----------

I guess what the OP is trying to say is practice the timing of entering recovery.. And you'll be good to go...

He seems a bit tensed so take it easy on him.. ;)