yashsingh1/xdaforums huggingface dataset:
[Sony Xperia E3] vinay:
Don't flash z3 kernel.

It can do a hardware damage by overclocking cpu / gpu.

And also overvoltage will also happen.

Sent From My Sony Xperia E3 dual.

---------- Post added at 01:37 PM ---------- Previous post was at 01:32 PM ----------

This one is 100% my idea.

Sent From My Sony Xperia E3 dual.

---------- Post added at 01:40 PM ---------- Previous post was at 01:37 PM ----------

I always use adb drivers installer from. Adbdriver.com it works for me all time.

That tool i think that didn't work for me. But i am not sure.

You should type adb devices

Command to check device is connected or not.

Sent From My Sony Xperia E3 dual.
[Sony Xperia E3] ~Unify~:
command line plz....where I type the command in Dos or in any other software.
[Sony Xperia E3] vinay:
open a cmd window in folder were adb is located.

and type adb devices in cmd window.
[Sony Xperia E3] hell_lock:
z3 kernel wont work on the phone. You will get a black screen.
[Sony Xperia E3] hell_lock:
Exactly my thoughts.
[Sony Xperia E3] vinay:
hahaha:D:D:D:D

ok that,s fine i am also lazy in search.:p:p:p
[Sony Xperia E3] ~Unify~:
sorry but How can I open cmd in that folder ?
[Sony Xperia E3] vinay:
hold shift key on keyboard press right click

then select open command window here
[Sony Xperia E3] ~Unify~:
Okay, Sir...I'll try n reply bcoz I dont've PC, I'll try on my friend's...thanx 4 help..
[Sony Xperia E3] pranayberry:
Can I first make my own ftf of the current firmware running in my phone and use it in last step?

Sent From My Sony Xperia E3 Dual D2212.
[Sony Xperia E3] costel90:
System

System partition is System.sin?
[Sony Xperia E3] vinay:
if that was possible no one gonna unlock bootloader

only sony know,s how to make .sin and .ftf

i think .ftf is easy but .sin near impossible.
[Sony Xperia E3] mbc07:
Z3 hardware is completely different from E3, don't try that, it may (and probably will) damage your device. What I said about bootloop was regarding E3 variants only: they're identical except from 4G/3G support, that's why it's safe cross flashing their system/kernels...

Both FTF and SIN formats are well documented. FTF is simply a ZIP file with a lot of SIN files inside and a manifest generated by FlashTool with firmware info (device, version, market, etc). SIN is a proprietary format used by Sony, encrypted with RSA keys. In theory, it's not difficult to generate modded SIN files, but since they must be signed with Sony's RSA keys, any Xperia device will refuse to flash modded SIN files signed with other RSA key. In other words, generating modded SIN files that are accepted by Sony devices won't be possible until we get that RSA key Sony uses (and probably never gonna happen)...
[Sony Xperia E3] Shunfry:
So,

What is the best methode for getting the root for D2203 ?

Thank.
[Sony Xperia E3] pranayberry:
Fashtool Help

When I connected my device while pressing up vol flash tool recognized it. I started flashing ftf file then flashtool asked me to boot the phone in flashmode. It is not detecting my device in flashmode even if I have installed driver for it.

---------- Post added at 10:00 AM ---------- Previous post was at 09:56 AM ----------

That was my mistake I read somewhere on a forum how to create your own stock ftf then when I read that I realised that it includes downloading from XpreiFirm only ...
[Sony Xperia E3] ~Unify~:
Finally done.....with MSC mode.....tyanx Sir...#mbc0

07
[Sony Xperia E3] pranayberry:
Did it....

If you need detailed guide of first two steps tell me.

I rooted my phone in one go...

Thanks:

[MENTION=5604590]mbc07[/MENTION]

[MENTION=5494317]vinay[/MENTION]
[Sony Xperia E3] costel90:
what

What model do you have?
[Sony Xperia E3] cnagr:
If there is a final way of rooting D2203 it would be useful to post the whole, correct, procedure once more...
[Sony Xperia E3] Bilgaru:
Hello.

The only step I took that was not in the guide was to download the driver from Windows Update.

Plug the phone with USB Debugging enabled and Windows problaby will download the driver automatically. At least that's what happened here. The driver was named "D2212".

Sorry I can't be of more help. :(
[Sony Xperia E3] costel90:
hello

What model do you have d2203 or d2212
[Sony Xperia E3] Bilgaru:
I just open the batch file and select "2" for SD Card, since the internal memory won't be enough for the file.

I'd post a print, but I can't yet. :(

When it's "installing packages" I get the message "No such file or directory" for both SuperSU and Disable RIC. Is that normal or that's my exact problem?

After that I just turn off the phone through the "off" button on the back and flash the FTF with FlashTool. (excluding SYSTEM)

And I get stuck. T_T

Thanks again!

EDIT:

I feel so stupid that I didn't think something so obvious as to just COPY the darn message from the cmd window... :P

---------------------------------------------------------------------------

Initializing ADB [DONE]

Waiting for device [DONE]

Waiting root access [DONE]

Preparing script [DONE]

Pushing system image [DONE]

Stopping device [DONE]

Mounting system image [DONE]

Installing packages...

- SuperSU v2.46 (SELinux) cp: can't stat '/data/local/tmp/ddFlasher/system/bin/s

h': No such file or directory

[DONE]

- Disable RIC (Kernel) cp: can't stat '/data/local/tmp/ddFlasher/system/bin/moun

t': No such file or directory

rm: can't remove '/data/local/tmp/ddFlasher/system/bin/mount': No such file or d

irectory

[DONE]

Saving changes [DONE]

Flashing image [DONE]

System partition updated.

Reboot your phone into flash mode to finish.

NOTE: device won't respond in current state, that's

normal, pull your battery or use Off/Reset switch.

Press any key to exit...

-------------------------------------------------------------------------------------------

I figure that is not how things were supposed to go, right? :(
[Sony Xperia E3] pranayberry:
D2212
[Sony Xperia E3] pranayberry:
I made a noob friendly guide of the first two steps for D2212 if you would say I shall post it.

Sent From My Sony Xperia E3 Dual D2212.
[Sony Xperia E3] Vynikal:
I think this is useless, because in my case (not only in mine) I DON'T HAVE /proc/last_kmsg

I am very curious why, but cmd ALWAYS throws cat: /proc/last_kmsg: No such file or directory

I have attached the list of files in /proc directory, no, there isn't any last_kmsg.

Seriously, wtf is Sony doing :rolleyes:
[Sony Xperia E3] Wajs:
Here are mine cmd logs, normal and safe mode from d2203. It didnt work.
[Sony Xperia E3] mmcvip:
Same as above, there's no /proc/last_kmsg. Tried a total of 9 times: 3 normal, 3 safe mode and 3 with the cross flashed D2203 kernel, logs pretty much identical.

Might it have something to do with the fact that my bootloader is not unlockable?
[Sony Xperia E3] mbc07:
Ok guys, I did a quick search and discovered that /proc/last_kmsg only exists in the device if that "feature" was enabled in kernel config at compile time. Unfortunately, that's not the case with Xperia E3 and that's why last_kmsg doesn't exist. From the terminal output you guys gave me, getroot binary is exiting silently too, without any output at all.

From what I talked with zxzO0O, he can't really find the issue without /proc/last_kmsg or getroot output, so, I'm officially dropping support for LTE variants. It doesn't mean I'm not working on it anymore, but it's more like a task with very low priority now. Gonna finish the guide for non-LTE variants and finish the stable version of dd Flasher, then I may see if there's anything else left to try in LTE variants.

Let's reuse this thread as a think-tank now, if you guys know of something that may be worth trying or that may help figuring out why the tool doesn't work in LTE variants, post here, I'm still following this thread...
[Sony Xperia E3] costel90:
regarderly

My d2203 have a last_ssr_kmsg because my bootloader îs unlockable i think. I post logs here tomorrow maybe îs useful at last.
[Sony Xperia E3] vinay:
If someone has a unlocked bootloader. I can make a kernel with last kmsg support then you can get last kmsg file.

Should i make one.
[Sony Xperia E3] Vynikal:
This log is empty and useless

Actually a good idea, but it should be a kernel based on .1.26 sources (the oldest ones).
[Sony Xperia E3] mbc07:
I think it's unlikely to work. Modifying kernel in any way will change their function's static addresses and giefroot won't be compatible anymore since it relies on that. Also, it would require an unlocked or unlockable bootloader and the main purpose is getting root access with locked bootloader. I also dunno the issue is only kernel, otherwise crossflashing D2202/D2212 kernel would be enough to get the exploit running and from what other users reported, that's not the case...
[Sony Xperia E3] nortonex:
I actually have tried all D22XX crossflash combinations, like: d2203 kernel + d2203 system, d2212 kernel + d2203 system, d2203 kernel + d2212 system, d2212 kernel + d2212 system. Unfortunately none of them worked. I have tried to root 5 times each configuration.

[MENTION=5604590]mbc07[/MENTION] maybe it's possible to crossflash parts from other firmwares (for example from M2)? I could try this, but I'm afraid of bricking my phone. I can remember that similar situation was with SE LWW 4.0.4 root, where you had to flash 4.0.3 exploitable kernel from Xperia Ray.
[Sony Xperia E3] costel90:
crossflash

I tried to crossflash m2(d2303) kernel but flashtool gives me an error i dont rememember the error .
[Sony Xperia E3] mbc07:
Again, these two devices probably were veeery similar, that's why they worked.

Xperia E3 and M2 are completely different. That's why FlashTool gives you an error...
[Sony Xperia E3] hp28190:
If it's only that folder who cause a fail, it's not possible to create it ?

because it's only memory and if it 's needed only to move folder, it could be a solution, no ?
[Sony Xperia E3] Ambychy:
how about flashing xperia e or e1 kernel and rooting, i was waiting for this root method but how may i help mbc07?
[Sony Xperia E3] Shunfry:
Hi guys,

Any news ? :)

Thank.
[Sony Xperia E3] hp28190:
Anyone have an idea ? or found a way to root in an other version of android
[Sony Xperia E3] vinay:
i have an idea. flash whole d2212 ftf on d2203.

root

flash d2203 kernel from ftf.

what mean by whole ftf is flashing system/kernel/userdata/fota-reset/cust-reset/partation-image/fotakernel/loader/cache/amss_fsg/amss_fs1/amss_fs2/elabel-D2212_2014089.../boot_delivery.xml

all.
[Sony Xperia E3] nortonex:
I think this isn't so good idea - in my case, after flashing d2212 system I couldn't connect to my network, and Wifi didn't work at all. Even if you will be able to root phone, you probably need to reflash system to d2203, what will make su disappear.
[Sony Xperia E3] vinay:
what about flashing system with dd flasher
[Sony Xperia E3] nortonex:
Well I forgot about it - this could be an option. I will try to do this today or tommorow.
[Sony Xperia E3] vinay:
:angel: hope it works.
[Sony Xperia E3] mbc07:
I didn't recommend flashing the whole D2212 FTF in D2203 before because there's a small chance of hard brick since different modem/baseband generally causes that. Since [MENTION=4868069]nortonex[/MENTION] reported his device boots fine, without hard bricks at all, this may change something in modded giefroot because it needs "Allow mock locations" to work.

Said that, LTE users could try flashing the whole D2203 FTF and setup the required options (mock locations, ADB interface, verify apps, etc) and then flash the entire D2212 FTF except data partition. Flashing D2203 FTF first to setup is necessary because flashing D2212 FTF directly in LTE variants result in non-working touch/LCD screen. So, LTE users, try that and report to me if it changes something.

About the noob friendly guide, it's already finished, should be online very very soon...
[Sony Xperia E3] hp28190:
I tried with ftf file of D2012 but giferoot thay isn't root and the same message like before

last_kmsg etc

but I wait for an other personn test, I coul'd miss a step.
[Sony Xperia E3] nortonex:
Well another try failed: I've flashed entire D2212 FTF, booted up phone, waited about 10 minutes, turned off phone, flashed D2203 kernel, turned on phone, enabled mock location and debugging, reflashed D2212 kernel, tried giefroot 5 times with no luck.
[Sony Xperia E3] costel90:
Access root granted D2203

I managed to root my d2203.

So i flashed xperia m2 jellybean kernel and after that i run install.bat from easyroottool v12.4

after that i flashed back the kernel from 18.4.c.1.26.

And it worked.

Tommorrow i'll make a tutorial.
[Sony Xperia E3] vinay:
try this again with latest firmware 18.5.C.0.26

---------- Post added at 03:48 PM ---------- Previous post was at 03:01 PM ----------

as alll xperia with locked bootloader is rooted i would like to next step is to get recovery for locked bootloader.

i don,t have locked bootloader but i would like to suggest try recovery form xperia m2 thread.
[Sony Xperia E3] nortonex:
CONFIRMED - I have just rooted D2203.

- I flashed latest D2203 firmware

- set up everything (usb debugging, allowed to debud, unknown sources, disable app verify, enabled mock locations just in case)

- flashed kernel.sin and loader.sin from Xperia M2 D2303 18.0.C.1.13 (link: https://mega.co.nz/#!lkMmQaaR!1JTy5pnlUkK7Qc5QiBFZNIlgqYeKT0wMohkDu38I5uo )

- booted up phone

- used rootkitXperia ( http://xdaforums.com/showthread.php?t=2559009 ) - I had to maually reset the device when rootkitXperia showed 'Rebooting'

- flashed back my kernel.sin and loader.sin from D2203 firmware

And I have root access :)

EDIT:

Sad thing - probably can't mount /system as RW right now
[Sony Xperia E3] Ambychy:
Can you send me a link to the ftf please. cant find it anywheer
[Sony Xperia E3] vinay:
can be fixed easily.

use a root explorer to open /sys/kernel/security/sony_ric/enable file and edit it. change 1 with zero save and exit.

reboot

do it again.

now you can mount /system as RW

NOTE: if you reboot you have to do this again.

thare is permanent fix but i deleted it.

maby some one have backup of NS script he can upload it.
[Sony Xperia E3] nortonex:
Well it's probably not so easy... I have no rw access to Sony_ric folder, on the other hand that folder is empty though.
[Sony Xperia E3] vinay:
x-plore can edit enable file.

are you sure it is empty check again with x-plore.

(ANYONE HAVE MY SYSTEM RW FIX BATCH FILE I DELETED IT AFTER MAKING SONY_RIC DISABLED KERNEL IF YOU HAVE UPLOAD IT ON THIS THREAD)
[Sony Xperia E3] atomicr:
I have just bricked my E3 trying that root method [MENTION=4868069]nortonex[/MENTION] mention.

How to restore my device to life? Can't flash any firmware from flashtool.. :crying:
[Sony Xperia E3] nortonex:
Did you turn off your device? Take out the back cover, and push 'off' button with the needle. This should help.

No luck - Xplore shows empty folder (I turned on showing hidden files and root access). When I, for example, try to delete sony_ric folder or copy something into it, Xplore says "ok", but no operation is performed, so I don't have RW access.
[Sony Xperia E3] vinay:
it,s sony ric which prevent it from copying.

open terminal emulater or adb shell and type su -c "echo 0 > /sys/kernel/security/sony_ric/enable" then reboot do it again.
[Sony Xperia E3] nortonex:
Still no luck - situation as on the screenshot - attachment below.

[IMG="screenshot"]http://dl-1.va.us.xda-developers.com/3/2/5/0/2/6/7/Zrzut_ekranu_2015-04-07_16.59.40.png?key=SX90k1strDF2EtqKSAUFwQ&ts=1428419042[/IMG]
[Sony Xperia E3] vinay:
show me output of this command in adb shell ls /sys/kernel/security/
[Sony Xperia E3] atomicr:
'Verify apps over USB' to be checked or unchecked?
[Sony Xperia E3] vinay:
Not important but unchecked is better.
[Sony Xperia E3] hp28190:
It's necessarily too flash latest firmware or stay in 18.4.C.1.26 could work?

And what problems would cause not mount /system as RW?

I need root to improve space, so is it linked ? or needed

Sorry for my bad english, I hope you could understand
[Sony Xperia E3] nortonex:
Nothing special - just one empty folder - "sony_ric" and nothing more...
[Sony Xperia E3] vinay:
Try

exit adb shell.

And type this

In adb

adb shell su -c "echo 0 > /sys/kernel/security/sony_ric/enable

If won,t work then try again after

This command

adb shell su -c "mount -o remount,rw /"
[Sony Xperia E3] nortonex:
Still no luck - I think we need to find another way...

Maybe we shall ask [MENTION=6384520]costel90[/MENTION], if he has gained RW access to / and /system.
[Sony Xperia E3] Shunfry:
YEAH ?

Yop,

So, we need to uptade to the last firmware 4.4.4 ? Or stay at the 18.4.C1.26 [4.4.2] ?

The R/W mouth it will be work for me ? Or for everyone, he will do this methode ?

Can be hard brick the phone ?

Thank for find the methode and answer my questions ^^

PS: Sorry for my bad english ^^'

EDIT : My phone is D2203 variant, you have the same variant ? It's will be work if you don't have the same variant ?
[Sony Xperia E3] mbc07:
While I was working with [MENTION=3975929]zxz0O0[/MENTION] in the modded giefroot, [MENTION=5494317]vinay[/MENTION] method didn't work either (at least with D2212). If you guys already have root access in D2203/06/43 you could try applying only the kernel module included in modded giefroot. Extract the modded giefroot somewhere, cd inside files folder and run the following commands:

adb push modulecrcpatch /data/local/tmp
adb push systemrw.sh /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
su
chmod 755 /data/local/tmp/modulecrcpatch
chmod 755 /data/local/tmp/systemrw.sh
/data/local/tmp/systemrw.sh

If the code finishes without errors, your system partition shold be writable now, even after reboots. This code was originally written by [MENTION=3975929]zxz0O0[/MENTION] and consists in patching a pre-compiled kernel module made by [MENTION=2011359]MohammadAG[/MENTION] to match the current device's kernel. This module completely disables Sony RIC protection at kernel level, it gets loaded once whenever mount binary is called (generally at startup). After loading this module, RIC is gone...
[Sony Xperia E3] vinay:
Well i seen my method was working on unlocked bootloader,s well.

What is different in locked one,s why they dont have enable file in /sys/kernel/security/sony_ric
[Sony Xperia E3] atomicr:
[MENTION=4868069]nortonex[/MENTION]

Can you please write step-by-step procedure for rooting D2203 variant with locked bootloader?

Which kernel to flash and how, by what flashing program, etc...

Many of us will be grateful.
[Sony Xperia E3] Vynikal:
Root worked! Finally! But the "noob-friendly" guide should be super long to cover all the little steps :D

:victory:
[Sony Xperia E3] atomicr:
Take your time, and please make that noob friendly guide for us who are not experienced in flashing these things.
[Sony Xperia E3] nortonex:
I confirm - mbc07's code works perfectly! Thank you people for all help and / or ideas :)
[Sony Xperia E3] Shunfry:
Yop,

Please make a noob friendly guide, with the firmware & all steps <3

Thanks :)
[Sony Xperia E3] nortonex:
For tutorial, check this: xdaforums.com/xperia-e3/development/root-xperia-e3-d2203-locked-bl-t3075559
[Sony Xperia E3] mbc07:
I'm not sure but it may be related to the bootloader state, there's the possibility the stock Xperia E3 kernel only exposes /sys/kernel/security/sony_ric/enable on unlocked bootloaders. In the stock firmware from my Xperia M, for example, it has a early version of RIC service in form of a small binary included in the RAM disk. This binary gets executed at startup and it's relaunched after some seconds if you kill it somehow. If your device bootloader is currently locked, it'll instantly reboot the phone whenever you remount a filesystem (e.g. system partition) or mount another partition (e.g. Link2SD secondary partition). If the bootloader is unlocked, the binary is still here, running, but nothing occur...
[Sony Xperia E3] vinay:
Sony is smarter than i thought.

They wont let people get root/stuff on a locked bootloader. So no one cheat with warranty. But we all bricked sony,s security.

Is it legal.
[Sony Xperia E3] costel90:
Yes i have gained RW access to system beacause after i rooted my phone i used RIC Killer v2 and it worked allready i deleted some system apps and modify platform.xml.
[Sony Xperia E3] mbc07:
Just posting to notify you guys that my noob-friendly guide is finally live! I apologize for the huge delay in posting this, got some tough troubles personally and didn't touch in the guide for a loooooong time...
[Sony Xperia E3] mbc07:
Well, [MENTION=3975929]zxz0O0[/MENTION] released a new exploit for Xperia Z3v. Apparently it's not device dependant (like giefroot is) so it may work in both variants. Anyone wiling to try? I don't have access to Xperia E3 anymore...
[Sony Xperia E3] zxz0O0:
Actually it is device dependent and using the kernel exploit of giefroot. Just the system level exploit is new and will work on more 4.4 firmwares than the one bundled with giefroot tool.
[Sony Xperia E3] MAROCANU:
Hi, I have succesfully root my experia e3 d2203 kitkat 4.4.4 with locked bootloader using kingroot.apk. Now only need is cwm or twrp. Can anybody give me the twrp or cwm recovery.img? I don't need the boot.img only twrp or cwm.img which i flash with rashr. Thank you.
[Sony Xperia E3] rakshakb:
Is anyone can provide com.sony.device.jar and com.sony.device.xml, colorextracton.jar and xml shared library by any chance?
[Sony Xperia E3] MAROCANU:
I have sent you the requested files. Now i see you need another.
[Nexus 6 Q&A, Help & Troubleshooting] urnamese3:
Hi everyone, my Nexus 6 has been behaving weirdly from a week or so, I had the same problem months ago but it stopped happening and now it's back again: sometimes the power/lock button stops working. Like right now I'm typing this and I can't lock the phone by pressing the button but I've to wait 1 minute so it locks automatically, I can't keep reproduce the problem it just happens randomly. Another thing I noticed is that once it locks automatically it starts working again.

I'm on chroma rom, lean kernel and flashed viper4android and xposed.
[Nexus 6 Q&A, Help & Troubleshooting] urnamese3:
Any way to troubleshoot this when it happens again? Are there any logs which could tell what the problem is when it happens again?
[Nexus 6 Q&A, Help & Troubleshooting] CalculatedRisk:
I think the first thing to do would be to diagnose whether it is a hardware or software issue. If you are willing, you could try flashing back to pure stock and see if it still happens. Then you will know whether it is a hardware or software problem.
[Nexus 6 Q&A, Help & Troubleshooting] bendotson:
Happened to me several times on an older version of Chroma. Two versions ago I think. I haven't had it happen since updating to the latest version.
[Nexus 6 Q&A, Help & Troubleshooting] SAW_JOK3R:
I guess it's a software issue as you're using custom ROM. I'll recommend you to flash stock firmware and see if the issue continues or not. If continues then ask for a replacement
[Nexus 6 Q&A, Help & Troubleshooting] urnamese3:
It stopped happening by flashing the latest Chroma build.
[Nexus 6 Q&A, Help & Troubleshooting] urnamese3:
Nevermind it still happens from time to time.. I really don't know what is causing this

Which logs could give me an int?
[Nexus 6 Q&A, Help & Troubleshooting] Scott:
I have this same problem with mine. I thought maybe it was the case... And removing it seemed to help but it would still do it without the case. Its very rare. My gut instinct tells me its software. If it were hardware I think it would be more pronounced.

I will continue to monitor and update this thread.
[Nexus 6 Q&A, Help & Troubleshooting] urnamese3:
Which rom are you on? I tried switching kernel by using Franco's but the bug still happened
[Nexus 6 Q&A, Help & Troubleshooting] Scott:
My own stock based ROM. I think its a firmware flaw.

Only happens rarely.
[Nexus 6 Q&A, Help & Troubleshooting] bendotson:
I had gotten rid of it for a while with a fresh install of chroma but I had to restore the phone to stock and then reinstalled the largest version of Chroma and its back with a vengeance. Seems every time I wake my phone from deep sleep there is a couple second delay before the power button turns the phone on.