yashsingh1/xdaforums huggingface dataset:
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Hey i figured out your situation.. See this.. It's in the op.. Now rejoice ! :p
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Are you suprised I am "tensed" :laugh:

Just for info "It's ALL in the op" I said it over and over. :eek:

If it does not translate well for some then I suggest starting your own thread's or PM each other in your own language's :good:
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
I saw what stated on OP post....but did u guys really READ on what i'm writing there??>> i'm stated my bootloader SECURE from status (no) now back to status (yes)....did u READ it....OP post is bootloader secure is still on the status (no)..Did it makes any different??!!!:eek::eek::eek::eek::eek:
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Dude the op meant that the bootloader status remained the same as before unlocking it .. So in your case you used pc companion and made the status to yes right? So now after unlocking it ... It shows the initial one as if nothing happened i.e. yes... In case of op the status was previously no.. So he got no again... For you it was yes.. So you got yes again..
[Sony Xperia C4 Guides, News, & Discussion] HumbertoMuniz:
Thank you, you really did a great job Everything is OK here, root done! the phone is running 100% smoothly

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] skylinestan:
1) i'm not saying the "bootloader unlocking status"

2)i am saying the "bootloader secure status"

3) op post stated after < done all included root the "bootloader secure status still remaining NO"

4) My post stated after < done all included root the "bootloader secure status back to YES"

5) And the recovery mode have been erase back to normal....Can't boot into recovery anymore....

Got it...??!!
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
Try repeating the whole procedure again. I did so several times before I was able to get into recovery.

Skip the unlocking bootloader part and once again open your command prompt and do the adb & fastboot commands.
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Well this problem showed up...

i had the message secure : yes

and when i started the procedure to unlock bootloader i get a return message that command not allowed(when using cmd)

and when using flashtool i got a reply that the bootloader is not officially supported to be unlocked any help ? or suggestions ?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Are you doing this part in the OP

If it's not in /system it maybe in /etc or just in the root dir /

SuperSu is normally able to disable it but if it misses it then your device will be rest.

You need to tell us your exact device model and firmware version so anyone else who has the same phone as you can help if they have been successful.
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Succesfully unlocked the bootloader and rooted :D thanks a ton op [MENTION=3924647]bigrammy[/MENTION] :*

now finally customizing and tweaking my phone :D
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
well..yeah I didn't do this part.. maybe I miss it, well is ok for me without recovery as now I already got rooted my phone.. very pain in the ass that need to redo all the things again..
[Sony Xperia C4 Guides, News, & Discussion] gsser:
Do you mean v79 sdk21 arm64?
[Sony Xperia C4 Guides, News, & Discussion] abominablebean:
Thanks for putting this guide together bigrammy, it worked perfectly on the E5303, I had the same notification in the service menu (Unlock - No) but still allowed me to unlock the bootloader. Its frustrating how little support there is for this phone, its good to see such a well put together guide.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
It's even more of a pain in the ass for me to repeat myself over and over again about following the OP :rolleyes:

Thanks bro your welcome even if you are from Lancashire :laugh: :highfive:
[Sony Xperia C4 Guides, News, & Discussion] AnandSadar:
Install xposedinstaller_alpha4.apk and flash xposed_v79_sdk21_arm64.zip
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
I'm still able to boot into recovery & I did not remove/disable recovery.from.boot. :)

Bootloader remains unlocked too. I'm using the very latest SuperSU 2.66 Beta. I advise others to use the same. It actually disabled the changes from happening, as in the change to the bootloader status and losing recovery...

Notice how much faster the device is and how much better the battery is when all that $hit is removed with Titanium Backup? :laugh:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
Ty
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
I get this weird thing now... I'm rooted and unlocked.. E5563

It happens only when apps are opened.. And not when nothing is opened...

I deleted plenty of stock apps from titanium backup.. If anyone knows the fix.. Please help me.. Or upload the stock app needed for this..
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
I get this weird thing now... I'm rooted and unlocked.. E5563

It happens only when apps are opened.. And not when nothing is opened...

I deleted plenty of stock apps from titanium backup.. If anyone knows the fix.. Please help me.. Or upload the stock app needed for this..

It's kinda annoying
[Sony Xperia C4 Guides, News, & Discussion] mekar07:
1. Can u list out what stock apps u deleted?

2. what apps u use to make time show AM/PM??
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Hi thanks for your info. :good:

My reasoning and experience:

Regarding SuperSU versions The reason I used the version I did is because "I know it works" for all my "Mediatek" devices and "Sony" devices and since this TUT is/was beta it's important that we all follow the same script. If we all follow the same script any glitches or ROM differences will become evident and they will be easier to trace.

If we all start using different SuperSU versions from the start I may end up chasing problems that have nothing to do with the procedure but are instead related to SuperSU which is still "BETA" . :eek:

Regarding the recovery.from.boot.p the reason I said to find it and remove it is because I do not have every Xperia Cx version phone and experience has taught me that the only sure way to prevent the recovery been overwritten by stock is to manually remove it.

The recovery.from.boot.p is triggered by install.recovery.sh which is replaced by SuperSU thus preventing the recovery.from.boot.p running but SOME kernels in the Mediatek world have been known to overwirte the install.recovery.sh file on every reboot thus putting back the original and triggering the recovery.from.boot.p (If it exists that is ;) )

I have also come across recovery.from.boot.p.bak and install.recovery.sh.bak files which again can run if the originals are missing or renamed. So it seems the manufactures are playing a little game of cat and mouse with SuperSU all the time. 98% of the time SuperSU is enough and requires no user input but as this device is new and the Sony engineers have been on it I thought it best to be 100% sure. :D

I hope that makes my advice thinking and reasoning a little clearer.

NOOB's

If you deviate from the OP then you are on your own which is cool by me :D

For the experienced I am not going to try teach anyone to suck eggs but do your research on Mediatek SoC first.
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Using gravity box...

And i can't list all the apps.. But yeah the xperia home.. Sony video.. play video..google video.. Lounge. Pass . and yeah I don't know how but the analog clock also doesn't show up... :/
[Sony Xperia C4 Guides, News, & Discussion] cahyadi80:
working on my c5 ultra dual card.....thanks
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
This is OT (Off Topic) start your own thread please. :good:
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
OT not here :(
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Sorry :) Chill wont spam ;)
[Sony Xperia C4 Guides, News, & Discussion] Neemia86:
Anyone did this job with a E5303 27.1.A.1.106 ??
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Yes me does nobody read the op. :laugh:
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
I feel you [MENTION=3924647]bigrammy[/MENTION] bro ?
[Sony Xperia C4 Guides, News, & Discussion] androbie:
I have successfully rooting my Xperia C4 dual using this method, but after unlocking bootloader its seems my bravia engine and super vivid no longer work(yes my bootloader status still unlocked allowed no)

Btw big thanks to [MENTION=3924647]bigrammy[/MENTION] for your hard work.
[Sony Xperia C4 Guides, News, & Discussion] gsser:
1 question for everyone, how will i be able to relock the bootloader again? And where can i firmware file?

Edit: http://www.xperiablog.net/forum/resources/xperia-c5-ultra_e5553_29-0-a-1-55_australia_generic.465/

Would this work even if im in turkey?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
What brings you to the decision that bravia engine and super vivid no longer work :confused: Mine seem just fine did you select them on in display settings as default is off after factory reset which happens when you unlock the bootloader :confused:

You could use Sony's official PC Companion to "repair" your phone. Here

I have not used the dev Flashtool to flash a factory .tft according to dev sony our device is not supported yet Here

You should start your own thread for this topic as it may become rather large.
[Sony Xperia C4 Guides, News, & Discussion] gsser:
Maybe sony mean the emma program¿ idk but i have downloaded the ftf file. Gonna try when android m comes out

I tried the other flashtool and there was the bootlock unlocking feature and other firmware flashing options but i didnt try.
[Sony Xperia C4 Guides, News, & Discussion] scandare:
Yess, Finally got root for this monster. my phone is C5 ultra dual E5563.. credit and thanks a million to bigrammy for complete guide.. for those who want to do it soon, just follow the guide (OP) step by step. read it clearly than it can be done in 1 shoot. thanks again.. cheers
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Thanks bro,

Good advice indeed lets hope some people listen :good:
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
@ bigrammy, just a one off question, related to saving battery. It would be interesting to know what running system apps I can safely hibernate via Greenify.

The following system apps are awake & running 24/7. Even when putting the phone to sleep they are in use. Which of the following could I put into hibernation without running into any issues:

USB Connectivity

Overheat Control

Diagnostics Tool

Device Usage

Enterprise Service

SmartcardService

Google Play Services

Are there any I can even remove that won't affect the running of the phone? SmartcardService, Enterprise Service & Diagnostics Tool sound like junk to me...

Even with very few apps installed (around 22) and many deleted system apps/bloatware, I have an average of around 600mb free ram. Is this normal? I've read people having an average of 800mb or so of free system ram. I've never had any more than 760mb free ram...

Thanks bro.
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
OT (Off Topic) Please start a new Thread for anything not related to the Bootloader or my Recovery.

RAM tweaks, mods, App's, SuperSU versions, ROM ports, etc etc etc should ALL get a new thread if it doesn't exist then start one so others can contribute. Thanks...

To All: This is a FORUM and not Facebook please try to understand how they work :crying:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
^_^
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Any guesses how to relock the bootloader?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
OK I do not wish to re-lock my bootloader just now so I can not confirm anything works but if you really really need to mess with things. :silly:

These are the things I would try in this order but be warned if you screw up or it does not work you could end up with a soft bricked device.

If I were you I would probably wait for an advanced or brave user to confirm things first but it's up to you. :eek:

1.

fastboot -i 0x0fce oem lock

If not working then

2. Sony PC Companion "Repair function" (Should work as software still thinks bootloader is locked)
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Wait... If i do get this messed up.. I can use flash tool right ?

If so .. I can try one day... For sure.. What say?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
C4/5 is not in the supported devices list so there are no guarantees it will work :confused:

We are supposed to have S1 bootloader which Flashtool use's so in theory it should work but I am not 100% convinced only trial and error will prove anything. :eek:

All other xda Xperia tools are set up for qualcomm CPU's tools like PFR Creator etc does not use

/dev/block/platform/[COLOR="Blue"]mtk-msdc.0[/COLOR]/

but uses

/dev/block/platform/[COLOR="blue"]msm_sdcc.1[/COLOR]/

Qualcomm

We are kind of between things just now Not 100% Mediatek and not 100% Sony so we will need to develop hybrids for ourselves which will take time so be patient.

Hopefully we will attract more dev's soon to help out as this is not my full time job but just a hobby :eek:

That's all I will say on this matter here so If you want to discuss these and other topics start a New Thread PLEASE. :o
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Oh okay.. But i know it's not supported..but then again.. My E5563 was in the device list and i used it to flash my phone and see if in case of 'emergency' this procedure works.. I am tinkering with my phone now so it was a must for me.. And yeah i will try it sometime soon... For me too.. All this is just a hobby so gonna make some free time first..

And btw.. I guess you should make an edit in your signature or something.. "For all off topics please for heaven's sake START A NEW THREAD" ???

Peace out ! ?
[Sony Xperia C4 Guides, News, & Discussion] scotyard:
ROFL. Append it to the OP if it's not already there.

mayanks15603 I hope I'm not wrong in assuming you're tinkering with an Indian Xperia C4. Pls keep us posted of your progress and could you let me know if you figure out a way to go back to complete stock from a soft bricked device?
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Yes ! Although it's an indian c5 ultra dual

And sure I'll post any updates as soon as the need arises :)
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
All,

Flashtool Thread Started. here http://xdaforums.com/xperia-c5-ultra/development/androxydes-flashtool-features-xperia-c4-t3292650
[Sony Xperia C4 Guides, News, & Discussion] AnumEndzeit:
Hi, and thank you in advance for any help you can give.

I'm relatively experienced with this stuff so dont be afraid to throw some jargon my way.

I tried to unlock my C5 Ultra and all i can come with is command not allowed.

i've installed all the drivers, sony companion, Android Box, Android SDK, Java SDK and JDK (from previous use) I followed the instructions on the sony page, i can insert fastboot commands.

What I think is rather funky is that the Sony dev page asked me to insert their driver into the /usb-driver folder

fastboot getvar all: http://pastebin.com/PTGjFaJa
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Hmm seems weird goto my thread on FlashTool HERE and try use that as it's been reported to unlock bootloader also use it to install the sony fastboot driver correctly. The fastboot driver can be a pain in the ass. Also note if you have another fastboot.exe (not sony) in your path it may conflict with the sony one :rolleyes:

EDIT: You can get the fastboot package from HERE
[Sony Xperia C4 Guides, News, & Discussion] AnumEndzeit:
Hey, thank you for your suggestions but it's still a no go. I'm rather stumped. Fastboot drivers are correct, I installed the correct android-winf.inf file and tried using the flashtool. Even used the flashtool to check if the drivers were correctly installed.

Log from the Flashtool: http://pastebin.com/qqBFiVic

---------- Post added at 09:41 AM ---------- Previous post was at 09:26 AM ----------

EDIT: Didnt see your edit, my mistake. I used the fastboot.exe from the source you provided along with the drivers from the same source. I uninstalled driver information from my previous fasboot drivers and installed the one from the source you provided and still, no luck.
[Sony Xperia C4 Guides, News, & Discussion] AnumEndzeit:
Reset and repaired device and still no luck. Oh well, ill just chalk this up to bad luck, then. Thanks again and for your development, it's much appreciated, nonetheless!
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
I had the same problem as you... A was stuck with this...

What was more of a miracle was for me that.. I just fiddled around with different flashtool methods to root phone... I selected my device in flashtool and then tried the root methods.. The adb restore and the various ones.. They all failed but to my surprise my boot loader unlock allowed status went from no to yes... Now i again booted into fastboot mode and voila ! I could unlock my bootloader successfully!

I hope this works for you too.. It just happened by chance for me and I'm glad it did!

Be sure to report back :)
[Sony Xperia C4 Guides, News, & Discussion] gbssengo:
So I have the Canadian variant, E5506. It can't be unlocked. I'm hoping there's a way to unlock the bootloader so that I can at least install another firmware. They blocked LTE on this firmware, which is awful. I have the Wind Mobile firmware.
[Sony Xperia C4 Guides, News, & Discussion] AnumEndzeit:
Nope, fiddled everything around the flashtool, and still saying command not allowed.

Looks like me and gbssengo are in the same boat. I've got the same Wind Mobile E5506.
[Sony Xperia C4 Guides, News, & Discussion] androbie:
[MENTION=3924647]bigrammy[/MENTION] today my E5333 got system update to lollipop 5.1 hope you will add custom recovery on this kernel too
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Carrier/Contract based phones are going to be locked down tighter I have no doubt :(

Not sure if flashing a Non carrier based full firmware with FlashTool would help you in unlocking the bootloader in theory it should but in practice who knows :laugh:

I would need the 5.1 fotakernel and boot for that let me know when it's on xperifirm or if you managed to capture the OTA update ;)

PS: did the bootloader remain secure = No after the 5.1 update. ?
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
Hmm, You could try another package I know it's a little hit and miss as I had the same sort of errors with some packages on my Xperia ZL some would flash without error and others failed. :eek:

Normally it's just the boot_delivery.xml that gives problems. Search the main FlashTool thread also :good:

Sorry I can't be more helpful. :(
[Sony Xperia C4 Guides, News, & Discussion] basta75:
Hello first thank's a lot

i have root my device xperia c 5333 and now i have message to upgrade my system to a new version i have tried and don't work do you think that I will let m'y system with the old version.?

Envoyé de mon E5333 en utilisant Tapatalk
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
If you wish to upgrade right now then I think you will need to flash your Stock fotakernel. :eek:

You will lose root and maybe the bootloader will be re-locked permanently so it's up to you.

Personally I will wait for the rom to be released on xperifirm then we can pre root it and flash via custom recovery or fastboot :D

To be honest there is not much noticeable difference between 5.0 and 5.1 anyway. :silly:
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
Users report that the rom is on xperifirm now...

I will cross check and report

---------- Post added at 10:46 AM ---------- Previous post was at 10:41 AM ----------

Also one BIG doubt

I unlocked and rooted the phone... And then flashed the stock .ftf using flashtool and xperifirm... Surprisingly my bootloader status remained the same i.e. it remained unlocked.. I didn't have to reflash the fotakernel.. Neither anything else... Also my data remained intact too.. Eg my lock screen password and my contacts..

I also cross checked that if the phone was actually flashed properly so yeah.. All the stock apps deleted by tb were back.. Bootanimation was restored too.. So yeah ?

In theory it should've replaced the fotakernel while flashing right ?

But in practical use it didn't i guess? :confused:

So maybe.. Just maybe.. There is a slight chance to still keep twrp and root while flashing the new firmware downloaded from xperifirm
[Sony Xperia C4 Guides, News, & Discussion] skylinestan:
Bro..what u say here is that u have flash the new firmware with flashtool and everything remains untouch (Bootloader and the recovery)?
[Sony Xperia C4 Guides, News, & Discussion] mayanks15603:
No no not the new one.. I haven't even checked the new one.. I was talking about the old firmware.. Will update if it works for the new one too.. ;)
[Sony Xperia C4 Guides, News, & Discussion] bigrammy:
For OTA's

Just to make clear my earlier answer/post above :rolleyes:

If you want to flash the new 5.1 ota update being pushed to Some devices. :rolleyes:

1. You will need to re-flash the stock fotakernel.

2. You will lose root.

3. The bootloader will probably get re-locked during the process and you may not get the option to unlock it again. :eek:

Wait for XperiFirm version. :good:

1. I recommend waiting for XperiFirm release of the 5.1 update. :good:

2. I my experience with mediatek the boot and recovery Kernel versions need to match for it to boot into recovery. So we will probably need a new 5.1 recovery patch. :rolleyes:

3. With XperiFirm and FlashTool we can choose what parts of the ROM we want to flash as said by [MENTION=5106618]mayanks15603[/MENTION] :cool:
[Sony Xperia C4 Guides, News, & Discussion] gsser:
No need to flash stock kernel...

Just wipe all the data and restore your twrp backup. Then put your device in flashmode and connect it to pc. Open flash tool and click on blu. Select relock. Done...

You dont need to use xperifirm or ftf file....

You will be able to use pc companion to upgrade..

I did t and not even bricked. Everythings working fine. And it says bootloader unlock allowed yes

Just dont mess with cpmplicated things such as reflashing etc etc

---------- Post added at 01:11 AM ---------- Previous post was at 01:05 AM ----------

Actually there is.

First thing is camera opening improvements.

Second thing is smooth ui anims.

Third thing is new ui

Fourth thing is there is 600mb free space of ram. Even you dont clean it, it just remains 600. Thats the biggest difference between them.
[Sony Xperia C4 Guides, News, & Discussion] gui2361:
Available in xperia firm

Xperifirm update release 5.127.2.B.0.155

Android 5.1:o
[Sony Xperia C4 Guides, News, & Discussion] kanej2006:
This. I'm personally waiting for Marshmallow 6.0 with root before I bother updating. Though there will be improvements, they will be minimal and not worth losing root for. :D

With regards to ram improvements, I've ALWAYS had between 600-700mb free ram...

Waiting for Marshmallow 6.0 with root before I bother updating. I choose having 5.0 with root than 5.1 without root...