yashsingh1/xdaforums huggingface dataset:
[XDA Assist] lavinius.magdici:
Hello everyone, I tryed reflashing stock firmware to a samsung sm-g318h with odin, and all i get is this error

<ID:0/004> Added!!

<ID:0/004> Removed!!

<ID:0/005> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> G318HXCU0APB1_G318HROM0APA1_G318HXCU0AOL1_HOME.tar.md5 is valid.

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/005> Odin v.3 engine (ID:5)..

<ID:0/005> File analysis..

<ID:0/005> SetupConnection..

<ID:0/005> Initialzation..

<ID:0/005> Get PIT for mapping..

<ID:0/005> Firmware update start..

<ID:0/005> boot.img

<ID:0/005> NAND Write Start!!

<ID:0/005> cache.img

<ID:0/005> hidden.img

<ID:0/005> recovery.img

<ID:0/005> sboot2.bin

<ID:0/005> sboot.bin

<ID:0/005> FAIL!

<OSM> All threads completed. (succeed 0 / failed 1)

I have tryed with diffrent versios of odin, diffrent roms and another computer, I can't get into recovery, only in download mode, pc recognises the phone, but does not want to flash:( neither boot up...

From what i've read on the internet and on this forum, it might have something to do with a corrupted nand, but i have no ideea how to solve that.

Please help me with any ideas as to what might be wrong with it.

Thank you, in advance!
[Xiaomi Mi 5 Questions & Answers] kalliffen:
hi..

My MI5 pro ( white ) is on this ROM MIUI by xiaomi.eu 7.2.13.0 (MAACNDB) . i have some small issues like screen not turning when i turn the phone ( even if the setting is on )

double tapping to wake up the screen seems to have its own life somehow.

Now my question is..

would it be possible to change from this ROM to either Developer ROM Version: 6.9.8 (MIUI8) or to Stable ROM Version: V8.0.2.0.MAAMIDG (MIUI8). ?

or would any of you recommend a different ROM ?
[Xiaomi Mi 5 Questions & Answers] d3xtr0:
Hi mate. I'm on 6.9.8 from Xiaomi.eu and everything is fine except WiFi signal strength. If you can test it with your current Rom against other device and then test with miui8.

Don't know any Rom better than Xiaomi.eu but if you discover it just tell me :)
[Xiaomi Mi 5 Questions & Answers] The-Hulk:
Thread move to Q&A pleas post all future questions in there

Thanks
[Samsung Galaxy S7 Edge Questions and Answers] Havik1453:
I bought the phone from out of my country and I'd like to flash my country's firmware (without triggering KNOX) for getting better signal, proper connection info (Lte+ , 4.5G)

I flashed the firmware via Odin (putting BL, AP, CP and CSC in their area) and nothing has changed in the phone (CSC etc.). Is there something should be done before flashing stock firmware via Odin?
[Samsung Galaxy S7 Edge Questions and Answers] amar95353:
Before you flash through odin make sure you wipe data and cache through stock recovery on the s7 edge, then flash your countrys stock firmware when its done dont let your phone complete the first boot. Make sure you wipe data and cache through the recovery after this let it boot up. It now should be on your countrys csc.
[Samsung Galaxy S7 Edge Questions and Answers] Havik1453:
So I need to go into stock recovery by pressing volume up + home button + power button and select wipe cache partition, power down the device, volume down + home button + power button into download mode, flash stock firmware. After flashing the firmware it automaticly restarts and boots up. How can I wipe cache before it boots up?
[Samsung Galaxy S7 Edge Questions and Answers] amar95353:
You need to wipe cache and wipe data factory reset before and after the stock firmware flash. Also when it says pass on odin or it disconnects have your phone ready in your hand so when the screen goes black hold the recovery button combination and let go when you see the samsung logo. If the phone stars turning on just hold power + volume up + home button, when the phone shuts off let go of the buttons and very quickly hold them again and let go when the samsung logo appears.
[Samsung Galaxy S7 Edge Questions and Answers] Xode:
It's easier to just untick "Auto reboot" on Odin ....device will not start after Odin do its job.... [emoji4]

Sent from my SM-G935F
[Samsung Galaxy S7 Edge Questions and Answers] amar95353:
Didn't know about that. Good to know
[Samsung Galaxy S7 Edge Questions and Answers] mocsab:
I don't want to sound contradictory, but I have flashed quite a few different firmwares on my S7 Edge and I never had to go through the steps you suggested to get a successful flash.

Here are the steps I have done:

1) Make sure phone has OEM unlocked in Developer Settings

2) Select USB Debugging in Developer Settings

3) Download firmware that I want to us - Unzip and place AP, BL, CP and CSW in the correct slots in Odin.

4) Flash via Odin

5) Reboot

Also make sure you are using the latest Odin - "Odin-3.12.3"

I don't know if enabling USB Debugging is necessary but I have always included that step - I beleive making sure OEM unlock is selected is necessary. (do this in developer settings - to activate developer settings go to About Phone, Software Info, click on Build Number a bunch of times until you see "developer settings has been enabled".

I have updated firmware at least 7 times since I purchased the S7 EDge, maybe more, following those same steps every time and never had an issue. Not once.

That was my experience - as anything when flashing roms, YMMV.

Good Luck
[Samsung Galaxy S7 Edge Questions and Answers] NonXtreme:
OEM unlock and usb debugging is unnecessary when flashing stock firmware.

You need OEM unlock only when you flash something custom (TWRP, custom rom, root, etc) or else phone won't boot.
[Samsung Galaxy S7 Edge Questions and Answers] amar95353:
You don't need to do what I am saying for a successful flash. You only need to do this when you want to change your csc without root
[Samsung Galaxy S7 Edge Questions and Answers] mocsab:
thanks - I always did have those done but glad to here it isn't necessary. thanks

---------- Post added at 06:13 AM ---------- Previous post was at 06:07 AM ----------

Sorry if I misunderstood -
[Samsung Galaxy S7 Edge Questions and Answers] liquidguru:
Check this thread : http://xdaforums.com/s7-edge/how-to/official-stock-firmware-update-odin-t3335065. It should answer all your questions.
[General Questions and Answers] pottu221:
So i was thinking that we dont have any thread to this device so i made this.

Can someone help me to unlock bootloader to this beatiful device. i cant get it open.

when im trying to unlock it with the code(adb or flashtool) it gives me error saying "command not allowed" i have tried many times and re installing the drivers and tried different os and nothing helps.

tried to make some research from google etc like stackflow but just cant find nothing. i have the imei right and everything. and tried to unlock with the sonys dev site. and i did out the device as e4g or e4. nothing
[General Questions and Answers] GameboyZA:
command not allowed

to my device xperia e5 f3311 but it also writes in the service menu * # * # 7378423 # * # * service info\configuration is line "rooring status:" bootloader unlock alloved: yes

I'm now looking for a custom recovery for my xperia e5 f3311 and install an supersu.zip and rooting proces is complete but
[General Questions and Answers] pottu221:
Solved the command not allowed proplem :D. just go in your phone top the developer settings and enable the oem thing. and make sure that usb debugging is on. thats it! :D hope it helps you out
[General Questions and Answers] GameboyZA:
pottu221 thanks....
[General Questions and Answers] toinedu27:
Hey, does the root works with your method?

If this work how do you proceed for that (Install CWM and install super su ?)?

Thanks ;)
[General Questions and Answers] pottu221:
aint gonna happen. none of the tools doesnt support mtk 6735 with android 6.0. so we should have rooted phone to get recovery.img so i think that our only hope is to wait that kingroot or something will work on our device :(
[General Questions and Answers] ch3mn3y:
You don't need to wait for the Kingroot as it is not possible to root locked bootloader with drm-verify enabled.

What You need is to create recovery.img to flash on /recovery partition (it should exist, as Sony started to adding them before E5).

There are autotools for MTK devices (they create recovery for specific SoC/CPU not model), but I'm not sure if it is safe to flash on Sony firmware as it is different than generic firmware used on standard (Chinese) devices.

Than using it should be possible to root it by flashing SuperSU zip.
[General Questions and Answers] pottu221:
The proplem is that cant get the recovery.img out from anywhere :/
[General Questions and Answers] iHack10:
So there's still no way to root this phone ? I really need to install Viper4Android on it ^^
[General Questions and Answers] toinedu27:
Hey,

I saw the "Dirty Cow" fault on the Linux systems.

I also saw that fault should works on Android, I will see if I can root my device with that ;)

I will be back soon ;)
[General Questions and Answers] marvinalnashi:
Have you managed to root your device?

I've been trying to make a working cwm or twrp recovery, but I need to extract the stock recovery.img to do so.

And that requires root.

Can you send me a dm if you managed to root it with the dirty cow exploit? Thanks.
[General Questions and Answers] toinedu27:
Hey,

I didn't find time to try this exploit but the thing I should do is just install the package dirty cow for android (released on github) and after use the "run-as" command for install super su...

I'm not certain that can work but it should if Sony didn't correct this fault, else I will always can recover via FlashTool to a factory version.
[General Questions and Answers] marvinalnashi:
Can you check if it works?

I just need a confirmation that you got your phone rooted safely with that fault, then I'll start working on twrp and hopefully we'll have our first rom on this device soon.

But since I recently bought this phone and I can't get my pc to work (for flashtool, in case anything goes wrong), I need someone to test if the dirty cow fault still works on our devices.

If you have time, please check it out.
[General Questions and Answers] toinedu27:
Hey,

I try but I need to install a tool called "NDK" for the "NDK-Build" command ;)

I'm progressing :)
[General Questions and Answers] GameboyZA:
I am waiting for a miracle. I also installed Kingroot and in it I found that in 1497 people have applied for root so that we are not alone. ?
[General Questions and Answers] marvinalnashi:
Hey there,

I've managed to set up fastboot and finding alternative drivers to work on our device.

Finally, I can now use adb with full fastboot access.

I've also managed to unlock my bootloader, so now I will have to find a recovery that will work on our mediatek 6735 chipset, build based on API 23 (marshmallow).

If necessary, I can try to port cwm from some different device.

When we have a working recovery, we can most likely flash anything, so I might make a prerooted version of the stock firmware.

Expect the first development for this device any soon.

Edit1: Due to health reasons, I might have to delay this for a week, my appologies.
[General Questions and Answers] toinedu27:
I'm sorry I don't have the time to exploit the Dirty Cow fault (lot of Home Work) and I don't have the knowledges that I need :/

I hope [MENTION=5938145]mrmarvin_16[/MENTION] will got the root access :) (Thanks a lot ;) )
[General Questions and Answers] diansru@gmail.com:
Hello. Excuse me for my English writing through translayte google. I am writing with Russian Forum 4PDA. We were able to unlock bootloader is a link to my post on this forum 4pda.ru/forum/index.php?showtopic=753685&st=160#entry54277601 . And TWP recovery we also gathered, the download link yadi.sk/d/Vq0jgohxymPCG . Problem Only here we do not know how to sew it into the phone itself.
[General Questions and Answers] GameboyZA:
I flash recovery but i dont have boot to recovery menu
[General Questions and Answers] diansru@gmail.com:
And as you flashed? I just have all the time an error in piercing through ADB.
[General Questions and Answers] GameboyZA:
In adb is all ok "Fastboot flash recovery recovery.img"

Is ok.. write is ok....

Xperia healt is ok.

if I want to go into recovery are only 3 vibrates and will not turn on recovery... http://talk.sonymobile.com/t5/Xperi...rated-3-times-continiously/td-p/341881/page/3
[General Questions and Answers] diansru@gmail.com:
And if you do not give me this recovery which pierced my phone?
[General Questions and Answers] GameboyZA:
Sorry I do not understand
[General Questions and Answers] toinedu27:
Does the recovery needs an unlocked bootloader?? :/
[General Questions and Answers] GameboyZA:
https://goo.gl/photos/hw5gug83SbxEm4JTA my bootloader is unlock
[General Questions and Answers] urca1988:
recavi

hello, help with installation rekaveri ready to terrible tests

---------- Post added at 05:48 PM ---------- Previous post was at 05:41 PM ----------

hello, help with installation rekaveri ready to terrible tests if awakens all ok money not Bijou

---------- Post added at 06:01 PM ---------- Previous post was at 05:48 PM ----------

I let me give your PC via applets with TeamViewer and phone
[General Questions and Answers] GameboyZA:
Someone has already functional root???
[General Questions and Answers] CronosCR:
I have a f3311 and anything works! i try with kigroot,kingoroot,geniusroot,oneclickroot and nathing!!!! y have a bootloader unlock
[General Questions and Answers] victhor343:
Obviously ? will delete king root Chinese and replace to superuser using command prompt Android I made same with Xperia E1, now I readed enough, I start to root my Xperia E5

f3313
[General Questions and Answers] Ezo0Ns:
has root been gained?

---------- Post added at 05:44 PM ---------- Previous post was at 05:43 PM ----------

has anyone created a way to gain root
[General Questions and Answers] victhor343:
First Delete all ads are annoying appearing in full screen install Xposed framework but I don't know Architecture processor is
[General Questions and Answers] iHack97:
Looks like the root access will never be avaliable on this :/
[General Questions and Answers] victhor343:
I tried with kingroot and... Cannot root the phone, the message say

Wait the update patiently...

It's a shame?

---------- Post added at 05:28 PM ---------- Previous post was at 05:27 PM ----------

Someone method for root, without pc?
[General Questions and Answers] iHack97:
Just forget the one click root app (such as kingroot, kingoroot etc)... they will never develop a root strategy (in fact, you have to wait a certain amount of request)

I'm still waiting for a twrp/cwm recovery. After that, the root acces will be easier
[General Questions and Answers] marvinalnashi:
I've made a new rooting guide, can anyone confirm if this works?

http://xdaforums.com/crossdevice-dev/sony/root-rooting-method-f3311-f3313-t3513142
[General Questions and Answers] iHack97:
nope it does a bootloop
[General Questions and Answers] vinokirk:
Hello all, I'm a bit stumped here. My mum hs just bought an Xperia E5. During the set up process it asked her to set a password. She has now forgotten this password.

If this were any other phone I would just go into the bootloader, and factory reset from in there. But for the life of me I can get into the bootloader.

I have found this page:

http://www.hardreset.info/devices/sony/sony-xperia-e5/

1st Method - Cant do as cant get into phone

2nd Method - This program wont install on my computer (I'm still looking into this option)

3rd Method - I've tried this from the emergency dialler but it doesnt work

4th Method - The program advises me the phone is locked so it cant do anything.

Any help would be appreciated!
[General Questions and Answers] ch3mn3y:
[MENTION=910108]vinokirk[/MENTION]

Use Repair option in Xperia Companion to reflash the firmware. It will remove all files from the device.

Repair function shouldn't need normally booted device, but one in flashmode.
[General Questions and Answers] marvinalnashi:
After performing what step did you get a bootloop?

If it's after flashing the recovery, you might need to try flashing an other one which is compatible with our chipset.

Make sure to flash it on the recovery partition, it does exist on our phone.
[General Questions and Answers] iHack97:
I just flash the .img file (compatible with lg k10 which also has the mk chipset) then it does à bootloop.

Can you explain me how to do it properly ?
[General Questions and Answers] urca1988:
Hi I after the command adb disable-verity produces errors TYPE BUT EMULATOR
[General Questions and Answers] iHack97:
Well then there's no root for this ?
[General Questions and Answers] Kozyr007:
Recovery Xperia E5 link: h t t p s://yadi.sk/d/ECn_UdSk35JN5w

Link: https://yadi.sk/d/ECn_UdSk35JN5w press only download.

ATTENTION!! Recovery in test mode. Use is possible only if bootloader is unlocked.

Flash in category "fotakernel"

Changes in noroot system Android 6.0, the system will not boot. Be careful with this and in this case, ready to reflash the system... yet Root could not be obtained. You need to try...

It is recovery focused to the Russian forum 4pda.

TWRP 3.0.2 for Sony Xperia E5 : recovery.img (11,69 Mb)

Recovery assembled on the basis of the kernel of the Android 6.0 firmware version 37.0.A.2.108 / Wed Oct 12 14:08:21 CST 2016
[General Questions and Answers] victhor343:
We are waiting method root for F3313 Xperia E5 all models

I hope the wait will end like you and many Xperia E5 users
[General Questions and Answers] FirstMn:
Hello, tried you flashing su via recovery? Because i have Huawei Y6 Pro with same chipset MT6735 and flashing su via recovery not works, because phone stuck in bootloop..
[General Questions and Answers] marvinalnashi:
Do you mean this recovery can be flashed on the f3311, but we cannot use it to obtain root access?

Is there a way to avoid bootloop when flashing the supersu zip?

It's caused by dm-verity and appearently, it can't be disabled with adb.

A working recovery is a big step forward though!

---------- Post added at 04:11 PM ---------- Previous post was at 04:09 PM ----------

Can anyone with an unlocked bootloader test the recovery and try to root our device?

This needs testers, but my bootloader is relocked.
[General Questions and Answers] Kozyr007:
Recovery works starts but as our programmer which brought him Jemmini does not run Android, due to changes in the noroot system. You have to alter the firmware, flastool.

Programmers try to poke around in the boot recovery kernel.Happy new year from Russia with love!)))
[General Questions and Answers] marvinalnashi:
So I undersrand that there's a patch to get supersu working without having a bootloop.

Do you have a download link or anything so I can give it a double check?
[General Questions and Answers] Kozyr007:
No patch Supersu . I am bad english Sorry . only recovery Twrp start: https://yadi.sk/d/ECn_UdSk35JN5w

Twrp https://yadi.sk/d/ECn_UdSk35JN5w
[General Questions and Answers] GameboyZA:
how to enter to recovery mod on xperia f3311 ?????

---------- Post added at 08:28 PM ---------- Previous post was at 08:21 PM ----------

abd reboot recovery

twr on my F3311 is ready :laugh: :laugh::laugh::laugh::laugh::laugh:
[General Questions and Answers] marvinalnashi:
Did you manage to root or flash anything with it?

What is working in that recovery and what isn't?

Backup/restore functions? Encryption?

Do you get a bootloop too when flashing supersu?

What about scripts?

Please provide more details of it.
[General Questions and Answers] GameboyZA:
yes bootloop
[General Questions and Answers] Kozyr007:
Programmers need to climb in or boote-fix to avoid bootloop. And create patch Supersu.
[General Questions and Answers] GameboyZA:
i use UPDATE-SuperSU-v2.79-20161211114519 but bootloop too

i set pin to unlock android but in twr dont work to decrypt

"default_password" dont work
[General Questions and Answers] GameboyZA:
i only sweep to allow modifications in twrp and reboot system ... ...and bootlop too...

for the last two hours flash three times my f3311 in flashtools :)
[General Questions and Answers] Kozyr007:
Try not to allow changes in the system. Passport us Jemmini we were not given without it it seems to work.
[General Questions and Answers] marvinalnashi:
How did you guys unlock your bootloader?

I'm trying to unlock it again with adb, but I keep getting an error: incorrect format for unlock, should be in form 0x.

Please help.

EDIT: I installed different drivers and that seemed to have done the trick.
[General Questions and Answers] marvinalnashi:
How do I flash the recovery to FOTAkernel?

At first I flashed it to the wrong partition, so I had to reflash the whole system.

But I need to flash twrp to FOTAkernel.

Any instructions?

Happy new year to all xda members!
[General Questions and Answers] ch3mn3y:
[MENTION=5938145]mrmarvin_16[/MENTION]

fastboot flash fotakernel xxx.img should work.
[General Questions and Answers] marvinalnashi:
Thanks, it worked after 3 attempts.

---------- Post added at 01:18 AM ---------- Previous post was at 01:16 AM ----------

Do we need the password to be able to make modifications to the system?

The default one doesn't work.

Can anyone contact Jemmini on 4pda to fix the bootloops?

---------- Post added at 01:22 AM ---------- Previous post was at 01:18 AM ----------

Update: I tried to reboot system but now I'm getting the sony logo and screen turns off and on again.

Probably a bootloop.

Final edit: I had to reflash the system.

fastboot flash fotakernel recovery.img booted up the recovery, but gave a bootloop afterwards.

What's the right way to flash this recovery?
[General Questions and Answers] Kozyr007:
Guys we need root.
[General Questions and Answers] marvinalnashi:
Instead of flashing the latest supersu, flash version 2.56, which should work.

Try and report.

I can't test it, cause I wasn't able to flash the recovery.
[General Questions and Answers] marvinalnashi:
I have a new idea to get root access.

It should be possible, since twrp is working (partially).

I'll update this post when it's ready.

Edit: I found that the recovery is bugged.

Even when just flashing or booting twrp, without using it to flash anything within the recovery, it will always result in a bootloop, no matter what.

I've made a flashable prerooted stock firmware including a bootfix, but we can't flash it until the recovery is fixed and all good to go.

We have to wait until decryption is fixed or the recovery pass is given before we can root this device.
[General Questions and Answers] trevj:
Sounds good! Really looking forward to things developing with this :)
[General Questions and Answers] Soulman2017:
Recovery

Hi Marvin are u fixing the recovery are you thanks if u are mate I have tried myself
[General Questions and Answers] GameboyZA:
i instal twrp with adb...

...

-adb restar bootloader-

-fastboot flash recovery recovery.img- (recovery image save to folder c:\adb\

after flash:

-fastboot reboot-

android work correctly

next step was in adb

-abd restart recovery-

recovery work correctly if I do not restart the device

followed bootloop.... :(

I think that this recovery.img not for us E5

---------- Post added at 12:43 PM ---------- Previous post was at 12:40 PM ----------

what is FOTAkernel
[General Questions and Answers] ch3mn3y:
Partition Xperia's has since 2012 (or was it 2013?) series and at it doesnt have any important taks it is very often used as place for Recovery.

Sent using XT1562 - Resurrection Remix/Optimus Kernel
[General Questions and Answers] marvinalnashi:
I had exactly the same, looks like we need to build a new recovery.

But at least we now have a working recovery.img, perhaps we can use it to port cwm?
[General Questions and Answers] GameboyZA:
I found this but I can not get the necessary files from smartphone

https://builder.clockworkmod.com/

http://xda-university.com/as-a-developer/porting-clockworkmod-recovery-to-a-new-device

I will try to extract the firmware that I downloaded with flashtools