yashsingh1/xdaforums huggingface dataset:
[Sony Xperia C4 Guides, News, & Discussion] ceferpa:
After I type fastboot getvar all cmd shows "waiting for device" and stop

After I type fastboot getvar all cmd shows "waiting for device" and stop. What should I do ? Xperia C5 Ultra Dual (Brazil). Thanks for those who may helpe me,
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Open your cmd window in the same folder as the fastboot.exe which you downloaded from the OP.
[Sony Xperia C4 Guides, News, & Discussion] sersomy:
Help me. There is a kernel from our 129 firmware and recovery made for this firmware. Who can pack the recovery in the kernel?
[Sony Xperia C4 Guides, News, & Discussion] abir099:
I followed every step and did all carefully but no luck for c5 E5533 ; tried many times but no twrp..my phone is unlocked, and tried both on 5.0 and 5.1.1..but no luck
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
It works fine for your device.

See HERE and HERE take the advice of the last one by [MENTION=5752640]aboyazan78[/MENTION]
[Sony Xperia C4 Guides, News, & Discussion] abir099:
I also have E5533 but no luck...did you get tarp installed?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
You are simply not following the instruction fully or you have not rolled back correctly if you were on 6.0 previously.

If you have never been on 6.0 then Pay special attention to the OP under the heading . THIS IS IMPORTANT which is near the bottom.
[Sony Xperia C4 Guides, News, & Discussion] hyugzz:
Hey guys, sorry if the question has already been asked, but I got a really big problem. For me everything is fine until the moment when I have to boot into recovery, this mode simply doesn't launch.

I tried all the keys combination, and I'm pretty sure I did everything well since the moment I have to flash fotakernel. (My bootloader is unlocked).
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Did you do this from the OP first before you flashed the TWRP recovery and did it boot to the stock recovery :confused:
[Sony Xperia C4 Guides, News, & Discussion] hyugzz:
I did according to the OP, I tried 4/5 times with the TWRP recovery, but I couldn't get anything but the sony logo and a boot. So I started researches on other websites, and I tried to boot the stock recovery, but even through ABD I can't get there :(
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Reflash the Stock recovery only Using FlashTool

Then try adb reboot recovery see if the stock recovery now boots (it should).

Now try booting to stock recovery using only the buttons.

If that all works then I suspect

[1]You have not read the OP with regard to MM 6.0 bootloaders as they do not unlock fully and your wasting my time. (Note If the devices has ever had 6.0 on it you will now have the 6.0 bootloader and you will need to read the other thread about rolling back)

[2]You flashed the wrong TWRP

[3]You missed or skipped some steps because everyone seems to know better than I do.

[4]You have a fake Sony

No offence but every one who posts here blames this that or the other but 99 times out of 100 most people simply do not read.

This procedure works 100% and many 1000's have been successful so I doubt your device is anything special.....

Also Please READ from this post https://xdaforums.com/showpost.php?p=64666523&postcount=28 to post number #35 if your certain you have never had 6.0 on the device.
[Sony Xperia C4 Guides, News, & Discussion] hyugzz:
My bad dude, I didn't know about the problem with the 6.0 version :(

I'm downloading the official firmware with Xperifirm, but I don't know the version, plus I searched on how to rollback to 5.0 and I don't find anything, even the ROM for my region.

Please don't get mad I know I probably ask newb questions but I'm kind of lost right now.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
The thing about 6.0 is in the very first sentences in big bold text of the OP. :crying:

I know these things can be difficult for newb's but my advice to all newb's is #1 rule READ READ and READ again until you get a full understanding.

This procedure and the other MM root and recovery thread for the Sony Cx are really for the more Advanced user. :eek:

IF you are willing to learn then READ the Other thread about Rolling back very carefully and at least twice. Your question here is already answered in the OP of that thread so you cannot of read it carefully.

If after studying and reading you still do not understand something ask in that thread and I or others will gladly help.

You must be precise with your questions and not just things like "it don't work" blaa blaa no detail

Things that HELP are details, screenshots, logs, etc, etc. :good:
[Sony Xperia C4 Guides, News, & Discussion] sersomy:
Hi guys. Is it possible to root C4 dual with an open bootloader on Android 6.0?
[Sony Xperia C4 Guides, News, & Discussion] sersomy:
Hello members of the forum. Who can explain in detail why there is no recovery and ROOT on Android 6.0 only on 2 phones: C4 and C5 ultra?
[Sony Xperia C4 Guides, News, & Discussion] joonkui:
unlock fail

hello can help ? i get FAILED (remote: Command not allowed) msg
[Sony Xperia C4 Guides, News, & Discussion] t.nt:
work on C5 using android 6?
[Sony Xperia C4 Guides, News, & Discussion] Waddaa13:
I have C5 with android ver. 6

I done all these steps with no problem but I can't get into the recovery mode from the beginning after I had unlocked the bootloader I couldn't get into it and even before I coudn't get into it also. can u help me please ?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
The OP is really quite clear that this will NOT work on MM 6.0 and you would need to roll back to LP 5.x.

Please take the time to read the first 3 lines at least. :rolleyes:
[Sony Xperia C4 Guides, News, & Discussion] sersomy:
And why can not modify the boot and put the recovery, such as XA, on 6 android?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
For the 1000th time the 6.0 MM bootloader does not UNLOCK FULLY thus prevents the TWRP Recovery from booting. NOTE: We have no "Allow OEM Unlock" in settings....

This has nothing to do with me my recovery's or boot.img's so you would need to ask Sony why the bootloader does not fully unlock.

For more details you need to read this thread https://xdaforums.com/xperia-c5-ultra/development/mm-root-advanced-volunteer-required-t3469204 as stated in the OP

I will not constantly repeat the same answers over and over because people simply do not read or understand the basics.

These TUT's are in the DEV section for good reason because they are quite advanced and the user should have a good understanding of their device and the OEM's software.

Sorry for sounding harsh but I do not work for Sony's Customer support center and give my time for free and ask for nothing in return so please don't waste it by not reading. :crying:
[Sony Xperia C4 Guides, News, & Discussion] sersomy:
Thanks for the explanation. But I'm not English, so your instructions https://xdaforums.com/xperia-c5-ultra/development/mm-root-advanced-volunteer-required-t3469204 look meaningless to me, with google translation. So I can not take advantage of her.
[Sony Xperia C4 Guides, News, & Discussion] :
opss

so we cannot unlock bootloader on mm ? thats sad
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Roll back to 5.0 or 5.1 LP unlock the bootloader flash TWRP flash MM boot.img and system.sin and your done.

It's all in the OP be sure to follow the links on rolling back to 5.0>5.1
[Sony Xperia C4 Guides, News, & Discussion] aness07:
I did everything but i'm facing a problem, ican't boot to twrp recovery, when i press and hold the volume - key and power key it lags on sony logo and after a few minutes it reboots to sony logo and continue to boot on stock android system, please help.

-Xperia c4 dual,

-stock android 5.1.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If your device has NEVER had MM 6.0 flashed then this tut will work 100%

If your device has previously had 6.0 on it then you will need to follow the MM 6.0 Guide on how to Roll Back fully to 5.1 the link to that tut is at the top of the OP.

If your 100% certain it has never had 6.0 on it then.

1. You Technic is wrong for booting to recovery check the OP for instruction.

2. You selected the Wrong recovery so double check your device model number and make sure it's not the Hong Kong version which has it's own recovery
[Sony Xperia C4 Guides, News, & Discussion] aness07:
thanks for replying , well i bought it with MM android already installed and i downgraded directly to 5.1 with flash tool , so i think i've to use this tut ??

after flashing 5.0 and trying to repair and leave to fresh 5.1 it shows that i'll get 6.0 MM

[IMG="after flashing 5.0 and trying to repair and leave to fresh 5.1 it shows that i'll get 6.0 MM !!"]https://preview.ibb.co/hqdbiw/12.png[/IMG]

and using the phone updater it shows that there is an update 27.2.b.0.155 android 5.1

please what should i do ?
[Sony Xperia C4 Guides, News, & Discussion] aness07:
Okey sir it's solved.

All I did was flashing 5.0 and upgrade to 5.1 using ota and following the op. Thank you :)

Now i'm wondering if there is a possibility to port or build a rom for c4 and c5 devices !!?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Sorry for the late. :o

Yes some already reported that the Updated version Xperia Companion tool Now skips some updates which it did not do before. :(

Hopefully they will not fix the OTA service which still does things incrementally :fingers-crossed:

Glad you figured things out for yourself :highfive:
[Sony Xperia C4 Guides, News, & Discussion] aness07:
nerve mind at all and thanks for your great work :good: :laugh:
[Sony Xperia C4 Guides, News, & Discussion] Tony Garcia Morales:
Que archivo es o que apps es para poder poner un recovery twrp
[Sony Xperia C4 Guides, News, & Discussion] asnachan:
THIS IS IMPORTANT

The rom has

Code:

recovery.from.boot.p

can you tell me what do you mean with this last point? what i have to do i'm stucked there after i flashed the recovery..
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If TWRP will not boot up at all then you have a locked bootloader or you are on the MM bootloader which does not unlock and hence the need to roll back.

recovery.from.boot.p replaces the custom recovery (TWRP) with a probably broken stock recovery.

This happens if you accidentally boot to system just after you installed TWRP or you did not flash SuperSU while in TWRP or rename it to recovery.from.boot.p.bak for example.
[Sony Xperia C4 Guides, News, & Discussion] asnachan:
idk why, but i can't use recovery.from.boot.p as a code, the prompt can't found that command.

i get all good and with no errors until i flash twrp, then i have the phone in fastboot mode that is saying me that the process goes ok, and on adb i have that size and oks you were talking about with some times of waiting, and i don't know how to proceed i tried to reboot but i can't go in recovery via adb or via hard keys, if i do that the phone just stay on the logo for some minutes and then restarting by himself normally.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If thats the case then you have the MM bootloader installed which does NOT unlock fully and so prevents the TWRP from booting as stated about 100,000 times in this thread. Read the thread about MM root which is linked at the very top of the OP.
[Sony Xperia C4 Guides, News, & Discussion] asnachan:
i am rolling back right now thanks a lot!

---------- Post added at 01:49 AM ---------- Previous post was at 01:34 AM ----------

well i installed the 5.0 original fw and now the phone is dead, can't go in download mode and he can't boot in any ways..it's just off. what the hell?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If you used the FlashTool version in the OP then your device will be ok.

There is a hidden hard power off button by the sim tray a tiny hole in which you can insert a sim ejector pin or similar. Press that for a second or two then power on as normal. :fingers-crossed:
[Sony Xperia C4 Guides, News, & Discussion] asnachan:
i tried that and i tried that another time now, no ways unluckely...
[Sony Xperia C4 Guides, News, & Discussion] eslibrito:
how to reblock the bootloader in xperia c4?
[Sony Xperia C4 Guides, News, & Discussion] jeoff.sibs:
will this disable mxtp?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If your bothered in anyway about security then LEAVE your device alone and use it as the Manufacturer intended because unlocking the bootloader, root and custom recoveries are all weaknesses in the security chain by default.

mxtp is still available after performing the above but the main security offered by performing the above actions is the criminals themselves because they are mostly too stupid to work things for themselves and instead search for answers on forums such as this so obviously there will be no details offered by me and I hope others too which will help or assist a scumbag to steal someones phone. :silly:

I am not saying you are a criminal BTW but just explaining why I will give no details. :highfive:
[Sony Xperia C4 Guides, News, & Discussion] basherx444:
does this file of c5 dual work with mm c5 6.0 unlocked bootloader without twrp recovery
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Yes it works but the MM 6.0 bootloader does Not unlock fully and causes "security and settings" to force close.

Providing you have the 5.1 bootloader installed then everything will work as it should.

See my MM Root and recovery thread for all the details.
[Sony Xperia C4 Guides, News, & Discussion] basherx444:
pls could you reupload the file again c5 ultra pls and thank
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
C5 All Versions link is working please try it again.
[Sony Xperia C4 Guides, News, & Discussion] basherx444:
thank first pls could you help me install magisk on my sony c5 e5533 pls pls pls
[Sony Xperia C4 Guides, News, & Discussion] Rue9x:
Hey bigrammy, thanks for all of the hard work! Your guide worked for a Xperia C4 (e5306) with Lolipop on it with one minor revision -- I had to flash 'recovery' instead of 'fotakernel'.

Unforunately I didn't read ahead and I installed Marshmallow -- so now I'm on the unrooted waiting list. :)
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Root for MM is already done HERE is the TUT for that Sadly for everything to work as it should on MM you have to roll back to Lolipop :rolleyes: Just follow the TUT carefully and everything should be fine. :fingers-crossed:
[Sony Xperia C4 Guides, News, & Discussion] Rue9x:
... or I can just immediately hard brick it. Doh! Ahahha! :(

I actually managed to use the version of Flashtool that you're not supposed to use (the one with the risk of bricking) when I originally got Marshmallow running. When I read the post you linked, I interpreted the following:

as "Don't bother downloading the Flashtool I provided!"

Lesson learned. Now I've got an extra $200 phone that lights up a red, reads as USB COM3, and does nothing else when it's plugged in.

Anything I can salvage from the C4 that's valuable?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
I am sorry to here that but I have stressed the importance of only using the version of flashtool I posted in the OP a thousand times :crying:

Other versions of Flashtool WILL flash the "boot area" (ta partition and others etc) this is not to be confused with the boot.elf which has a separate partition and is fine to flash with flashtool and recovery.

I have a bricked C4 sent to me by a user but have been unable to recover it :( The COM port PID D1 D1 appears to be a MediaTek COM port but sadly not the preloader one which would allow us to use SPFlashtool to recover the phone. :rolleyes:

Beware the fakers who say they have a fix but want you to pay them first as I doubt they can really fix it without a j-tag or some such device.

So put the phone in a drawer and wait until someone finds a fix :fingers-crossed:

Or Buy one off ebay with a damaged screen and swap over the mother board. ;)
[Sony Xperia C4 Guides, News, & Discussion] basherx444:
you can fix it by setool box
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Sorry is that a question or a statement :confused:

Did you have your phone fixed by SETool box?? :fingers-crossed:

It would be nice to confirm if these C4/C5 phones can be fixed by the setool. :fingers-crossed:

Many people reported they needed to have the mother board replaced but I find that hard to believe.
[Sony Xperia C4 Guides, News, & Discussion] basherx444:
i have same problem with my device e5533 and no sulation becaus emmc is dameged and setool box can repair emmc or any mobile box jtag can repair but setool can repair without dissample the device by usb cable

as riff box it need to dessemple the device and emmc ic then regoin it

by setool box you can reflash dead phone and repair them

as me:fingers-crossed:

i work in repair device by hard and software and i briced my device but the problem the box is out of sell you must search for how have one

---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------

i need root for my device or magisk could you help me pls:crying:
[Sony Xperia C4 Guides, News, & Discussion] vinaybecool:
Can you please team up for volte support.... Still Xperia c5 ultra dual in lte mode.....after long wait of updates still no updated lte to volte.... Voice over calling
[Sony Xperia C4 Guides, News, & Discussion] Monarkmn007:
Help to unlock bootloader

Can u please tell me how to unlock bootloader on my xperia c5 ultra dual which is updated to marshmallow 6.0.

I tried all steps from above but i am not able to unlock my bootloader so i can't open my recovery mode.

Thank you.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If you read the OP you would of noticed it says in the very first few lines and in big bold letters about MM 6.0 and it gives you a link to the thread which covers how to achieve custom recovery (TWRP) and rooting of MM 6.0

You MUST read things very carefully or you will end up with a brick.

Link to MM Rooting and Recovery thread https://xdaforums.com/xperia-c5-ultra/development/mm-root-advanced-volunteer-required-t3469204
[Sony Xperia C4 Guides, News, & Discussion] prometheusss:
I cant root my e5363 at adoroid 5.1. the recovery doesnt appear after i do the "fastboot flash fotakernel fotakernel.img". it just show the sony logo then my device just boot up to home menu
[Sony Xperia C4 Guides, News, & Discussion] daynight91:
Hi,

First thank you bigrammy for your work!

I got following message: "fastboot: unknown option -- i" (I only wrote "fastboot -i ...." as instructed here and on Sony website)

My device is visible when typing "fastboot devices", unclock bootloader is "yes" in settings when I composed *#....... When I type "fastboot getvar all" there is no error and i have "secure=yes".

What have I done wrong? Until here all worked as expected.

Many thanks in advance!

---------- Post added at 06:45 PM ---------- Previous post was at 05:52 PM ----------

I don't know how to delete the post. I had some troubles installing FastBoot driver. I am running on WIN10 and I managed to install it by manipulating the sdkmanager file. That manipulation caused the error. I used the adb and fastboot posted by bigrammy and all worked apparently. Now I wait the phone to restart..
[Sony Xperia C4 Guides, News, & Discussion] daynight91:
Confirmation of unlock bootloader + root

Thank you bigrammy again for this tutorial. I successfully unlocked bootloader, installed new recovery and rooted my Xperia C5 running on Android 5.1.

I didn't installed any other OS. I don't know if it's possible. But the device is really slow. I installed beta SuperSu 2.52 from the zip file. I don't know if the issue comes from old version of SuperSu. My PlayStore don't work properly. I installed gapps but it's still the same. I would like to install an alternative OS like cyanogenmod or something similar, but I am afraid of bricking the phone. I posted a thread in Q&A and would be glad if someone replies.

Thanks again. The phone is rooted but I don't know why it's so slow.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Glad you managed to get sorted by yourself :good:

After first install of any new system the phone can seem a little slow while the device rebuilds all the data and cache back. The phone should become more fluid after a few days use so just persevere and see how it is after a few days of use. :fingers-crossed:

Regarding cyanogenmod, LineageOS, AOSP, etc etc sadly there is none that I know of, well nothing stable and 100% functional that is. :(

The best you can hope for is a Custom STOCK ROM.

You could update to 6.0 MM by flashing ONLY the boot, system and userdata but Please Make sure you protect your 5.1 preloader, lk etc etc Sony patched these badly in the 6.0 update so the bootloader only partly unlocks and cause lots of issues. So do not take any OTA's from Sony should they appear.

Use ONLY the FlashTool version posted in my other thread HERE Lucky for you you do not need to do the roll back so you can skip that part. :highfive:
[Sony Xperia C4 Guides, News, & Discussion] Na007:
I have try to unlock bootloader Sony Xperia X4 E5303 and have now bootloop.

Hello! I have try to unlock bootloader Sony Xperia X4 E5303 and have now bootloop.

I think not correct have be installed drivers.

Help me how I can restore it.

Trouble is the following: Windows 7 64 bit flashtool drivers. In Flashtool driver installer too mach drivers but I not understand what of it I need.

Because when I hold down volume key in turned off Xperia C4 e5303 and connect it to USB PC indicate unknown device (

Screen shot in attached.

Can you help me ?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Try install the C4/C5 drivers from here https://developer.sony.com/develop/drivers/

I am unsure if they have the FlashTool driver included or not so you will just have to try and see if FlashTool recognises the phone after you install them.

Other wise install all the FlashTool drivers.
[Sony Xperia C4 Guides, News, & Discussion] Na007:
Just windows does not see the device. Not Flashtool.

When I hold down volume key in turned off Xperia C4 e5303 and connect it to USB PC indicate unknown device in Windows device manager ! And Xperia Companion same not detect Xperia C4 e5303 with hold down volume key !

This driver I think need to working device !
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If this is the case seems like you bricked the device. :(

When you plug in the usb cable do you have a red led with no blinking ??
[Sony Xperia C4 Guides, News, & Discussion] Na007:
Red led not bliking when I connect to USB !
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
So you have Red LED on and not blinking (flashing on and off) :eek:

If this is the case then you have bricked your phone :crying:

As far as I know it's not recoverable by normal means and will require a specialist to re flash the phone with a Jtag box.

Normally these phones are only usually bricked when flashing them with the incorrect FlashTool version which means you must of had FlashTool working. ???

Or you managed to install the custom recovery and flashed something totally wrong for your phone. :eek:

Well you live and learn. :crying:
[Sony Xperia C4 Guides, News, & Discussion] REVELLIOM:
;)it what happens is that you have to refresh the fastboot driver, that's the correct word.

This happens very often, but we ignore it because our pc terminals are already preconfigured. But for someone who works with devices of different brands on windows this is vital.

1) device manager

2) android device> fastboot _---> click update software driver

3) select list driver -> click android device -> select fastboot bootloader

4) reinstall while your device connected in fatboot mode

5) done, continue