yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] dotuletz:
Is your phone actually a i9195 ? I belive you have the US i337 with locked bootloader. What were you doing when it happen ? (try the 3rd option first as some people got results with it)

1. Please post a screenshot of result of flashing latest stock through Odin.

2. Try to "pull the battery, wait a minute and put it back in. Turn the phone on , when the Samsung logo appears, press and hold volume down button. Keep pressing it until it reaches the home screen."

3. Flash CWM with Odin but untick auto reboot. After flashing wait 1 minute and pull usb cable and battery out so your phone will die. Put battery back in and try to enter recovery.
[Galaxy S 4 Mini Android Development] yukdav:
thank you for your reply. I will try and let you know soon.

My phone is I9195, I've seen the logo 200 times in these days while it reboots, I hate it!

I bought it unlocked and use it with an italian WIND sim. Nothing special.

I boarded a plane in New York and I believe I put it in plane mode (can't be sure) and throw it into my hand luggage.

When I landed in Milan, 9h later, it was off. When I tried to start it, it started boot looping.

Cosmic rays?
[Galaxy S 4 Mini Android Development] dotuletz:
Not really. happened to a lot of users out of the blue or when just trying to clear cache in recovery mode or by installing custom recovery, but it appears to have different "degrees of magnitute" as some had their devices bootloop and some just the recovery bit. Never knew this problem existed until now but if you search you'll find more info (i just put togheter different solutions from what i could find)

Problems affects mostly moto devices
[Galaxy S 4 Mini Android Development] yukdav:
Ok, I have tried your suggestions now:

1) please see attachments for Odin's logs and screenshot after flashing the latest stock ROM.

2) No effect whatsoever

3) No effect whatsoever

Please does anybody have any other suggestion? I'm stuck without phone since almost a week now :(
[Galaxy S 4 Mini Android Development] jimbomodder:
Hopefully in a few days I will be getting an S4 mini, is they a fully working recovery yet from cwm or philz touch ?
[Galaxy S 4 Mini Android Development] hollandais:
Yes, there are full recoveries. I use TWRP, and make a new recovery each 2 or 3 nightlys I flash. And in case of troubles, and I had, I van go back tot an earlier nightly.

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] jimbomodder:
Ah good good. Its still stock until I can get my hands on it. Once you've rooted a phone u can never use stock again :D
[Galaxy S 4 Mini Android Development] hollandais:
I think you're wrong. It is still possible tot go back to a ROM stock Samsung with Odin.

But then the root is gone.

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] jimbomodder:
Ops :) I meant as in once u rooted u would hate using a stock ROM again if not rooted
[Galaxy S 4 Mini Android Development] rpr69:
I had a similar problem yesterday. Try the ODIN flash of recovery again, but uncheck 'auto-reboot' this time. Then just use the power button to reboot.
[Galaxy S 4 Mini Android Development] yukdav:
I'm not sure I understand. Compared to what I just did, you are suggesting that after flashing CWM without autoreboot I should try to boot normally instead of entering recovery? I don't see the logic, but logic was gone long ago on my phone, so... sure, I can try that too!
[Galaxy S 4 Mini Android Development] sasank360:
The thing is you should repeat procedure with "auto reboot" and "F.Reset Time" options UNTICKED.

When you have those two options enabled odin will not wait for feedback from device after the latter downloads

those packages. So ODIN just disconnects the device. This is the reason why flashing modems on many samsung

devices is done more than once. The bootloader response to odin is cut short by those 2 options.

Do what couple of the dudes mentioned.

EDIT :: So when you are flashing CWM or TWRP or the entire ROM again the odin should look like the pic below.
[Galaxy S 4 Mini Android Development] rcunningham:
I need to be rooted right? I am doing this for a friend so I have no idea what to do.
[Galaxy S 4 Mini Android Development] dotuletz:
Don't really understand what you are trying to get. This is how you root your phone, so... No, you don't need to be rooted to get it rooted
[Galaxy S 4 Mini Android Development] rcunningham:
Ha. I was not thinking at the time I posted. Sorry...
[Galaxy S 4 Mini Android Development] rcunningham:
I keep getting the FAIL! thing.
[Galaxy S 4 Mini Android Development] jimbomodder:
Have you made sure USB debugging is on in developer options?
[Galaxy S 4 Mini Android Development] yukdav:
Ok, I tried to untick also "F.Reset Time" this time.

I also tried to restart just with power button or into recovery.

Nothing changed, I still get "no command" and boot loop.

I type here the screen I get in dowload mode, in case anything is out of ordinary:

ODIN MODE

PRODUCT NAME: GT-I9195

CURRENT BINARY: Samsung Official

SYSTEM STATUS: Official

KNOX KERNEL LOCK: 0x0

KNOX WARRANTY VOID: 0x0

CSB-CONFIG-LSB: 0x30

BOOTLOADER AP SWREV: 2

WRITE PROTECTION: Enable
[Galaxy S 4 Mini Android Development] rcunningham:
Yup.
[Galaxy S 4 Mini Android Development] dotuletz:
*** Edit: Sorry post was for yukdav

Ok, i assume you have Kies not installed / disabled in Task manager and it is not a connection problem.

Also did you try an older recovery ? 6.0.4.8 or 6.0.4.6

If nothing worked, we will try to go a different way, using http://glassechidna.com.au/heimdall/ and flashing http://xdaforums.com/attachment.php?attachmentid=2288299&d=1380363758 ... please report if it worked. You can go stock too by downloading a stock rom from Sammobile, extracting recovery.img from it (i use winrar for that but whatever) and flashing in Heimdall (please use a stock recovery from the same rom version or if you can't remember what you had use latest).

Also for rcunningham and yukdav, maybe try redownloading the recovery ?
[Galaxy S 4 Mini Android Development] sasank360:
from that info it is clear that you have NOT tripped knox counter. So u can use warranty. I recommend taking phone to service centre. They will fix everything for free.

Also i think there is some problem with your flash storage. Let the guys @ service fix it.
[Galaxy S 4 Mini Android Development] yukdav:
Kies is not installed and connection seems fine from what I see in Odin.

No, will try now.

Are you telling me that an alternative to Odin exists that works on MAC??? I have been asking for this before, I had to install ****ty windows 8 with bootcamp (a pain in the a$$!!) in order to use Odin. In which way are Odin and Heimdall different?

The point here is trying TWRP recovery? I tried the stable one already (mentioned above), 2.8.5.0 with Odin, it did not work.

Do you think 2.6.3.0 can be better? I'll try.

---------- Post added at 12:25 PM ---------- Previous post was at 11:53 AM ----------

You are right, it should be covered, but the service centers are not close to where I live and they would keep it for 2 weeks minimum from my past experience. So, sure I will do that, but first I'm trying your other suggestions.

---------- Post added at 12:45 PM ---------- Previous post was at 12:25 PM ----------

Mmm, I'm confused. I checked instructions for Heimdall in this thread:

http://xdaforums.com/showthread.php?t=1922461

where it says Heimdall requires a pit file for flashing, while you pointed me at an img file for TWRP which heimdall does not recognize :confused:

Also: a pit fille will repartion the memory right? I guess this will void my warranty which in this case should be preserved.
[Galaxy S 4 Mini Android Development] dotuletz:
try cwm 6.0.4.8 or 6.0.4.6 who knows.

"Are you telling me that an alternative to Odin exists that works on MAC???" <- yes.

"The point here is trying TWRP recovery?" <- yes. "Do you think 2.6.3.0 can be better?" <- don't think so, didn't knew you tried already.

"service centers are not close to where I live and they would keep it for 2 weeks minimum" <- yes they will, but it is probably a good shot.

"Will i lose warranty from using a pit file" <- not that I'm aware if using stock and Knox 0x0, but you can ask on Heimdall main thread. Should be like Odin, if only flashing stock warranty should stick, if flashing CWM / twrp, custom roms etc then warranty void.

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

Guide to Heimdall

(as best as I can):

To use Heimdall you need a pit file so that the software will know where to write the data. You will need the pit file like this ONLY FOR i9195 and unzip it. In Heimdall go to the Flash tab -> in PIT section hit browse and locate the unzipped file -> press Add on right side and the Partition Details section becomes available -> here you select Recovery from the drop-down menu -> press Browse and select the recovery you want and press Start. Same steps to flash pretty much everything.

Also in Utilities you have Detect device (must be in download mode) to check connection, Print pit will show you info from pit file (what to flash where like Partition Name: MODEM - Flash Filename: NON-HLOS.bin, so for modem you will flash the non-hlos.bin file etc.), and Download PIT (give a location where to download it and it should download the right pit file for your device, needs to detect the device first... also only works for some devices but you can get pit files by searching on xda).

Found a stock recovery but don't know anything about it (jb / kk etc.) https://db.tt/1E0VaojE . I think best option is to download latest stock from Sammobile, extract it TWICE (once to get the tar.md5 and again to get the .bin files) and start flashing.

Also you can use the pit file in Odin and latest stock in all sections (BL / AP / CP / CSC just to know for certain) and should overwritte everything.

To be honest I'm running out of ideas, you should look into the possibility of going to service with it specially if you say warranty is intact
[Galaxy S 4 Mini Android Development] jimbomodder:
Okay so I now have my phone and looking for the best recovery to flash with doing. Which is best?

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] dotuletz:
that is like answering which is the best phone. try cwm, try twrp and see which you like. Some roms can be flashed only with a specific recovery so if you are looking for a specific rom read it's thread first
[Galaxy S 4 Mini Android Development] jimbomodder:
:D very true. I have cwm on my tab 3 and s2 so kinda used to it but heard somewhere support for the cwm recovery has been dropped??

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] dotuletz:
Don't know, did not hear that yet. any link ? Maybe it's for some older devices
[Galaxy S 4 Mini Android Development] jimbomodder:
I got odin v4. 38 multi downloader which opens up fine but doesn't find phone. Odin v3. 09 doesn't open

Comes up with yellow triangle and a load of squares. I used the link here to download odin then extracted the exe file. I only got the phone this morning but need my root as been on rooted s2 for so long now.:(

Sent from my GT-I9195

---------- Post added at 02:14 PM ---------- Previous post was at 01:53 PM ----------

Okay I got cwm recovery sorted now need a zip file for root access and Sammy zip not showing up EDIT : moved Sammys zip to exe so card and now all sorted :D

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] yukdav:
I'm using this pit file found in an attachment from b0g in the thread you linked:

http://xdaforums.com/attachment.php?attachmentid=2301148&d=1380889349

I followed these instructions, the device is detected, but I get the following error, both when trying to print device pit file and when trying to flash a recovery.img extracted from the stock rom:

Initialising connection...

Detecting device...

Claiming interface...

ERROR: Claiming interface failed!

---------- Post added at 02:06 AM ---------- Previous post was at 01:58 AM ----------

It came to me that I do have Kies installed on the MAC partition (not running as I use Heimdall), while I don't on the Windows partition where I used to run Odin.
[Galaxy S 4 Mini Android Development] jimbomodder:
A little help please..

ODIN MODE

product name: GT-i9195

Current binary: custom

System status:, custom

Knox kernel lock: 0x0 ( what's this)

Konx warrenty void: 0x1 ( what's this)

Csb-config-lsb: 0x30 ( what's this)

Boot loader ap swrev: 2 ( this mean unlocked)

Write protection: enable ( what's this)

I get this in boot loader mode. My old S2 was much easier to understand. Any and all help much appreciated :)

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] dotuletz:
Well, things are getting more and more complicated with more OSs and all. Kill Kies before trying to flash anything in any OS. BTW: why don't you try getting Kies to flash the latest rom in Emergency mode ?

Current binary: custom <- you flashed custom recovery / kernel / rom or all of them

System status:, custom <- same as above

Knox kernel lock: 0x0 ( what's this) <- carries lock the kernel so you can't flash another one, but it's not.

Konx warrenty void: 0x1 ( what's this) <- because you flashed custom you warranty is now technically void, practically many services still take your phone (Europe/Asia is ok, US sometimes they take them, sometimes no). You can not get Knox warranty back to 0x0 atm and maybe you will never do, except if you take it to be fixed at a Sammy service, they have the tools (probably a rig of some sort)

Csb-config-lsb: 0x30 ( what's this) <- no idea.

Boot loader ap swrev: 2 ( this mean unlocked)

Write protection: enable ( what's this) <- bootloader protection so you won't be able to flash a bootloader from another device
[Galaxy S 4 Mini Android Development] yukdav:
as I wrote above Kies is not running, shall I uninstall it!?
[Galaxy S 4 Mini Android Development] 2010radams:
Hello, you seem the most knowledgeable on here, and with you talking about pit files i thought i would ask you a question just in case i ever break my phone- On a I9195 running kitkat, if the phone breaks can you use the pit file from a I9195 running jelly bean? Or as the pit file got to be from a kitkat firmware?
[Galaxy S 4 Mini Android Development] jimbomodder:
As far as ive read tou cant go back to jb firmware after kk. Please dont quote me as i could be wrong

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] dotuletz:
At this point I don't have any other ideas. Sorry but I'm starting to think the best option is to service your device even if it takes about 2 weeks.

First you should try to flash without pit file, just download same rom you already have / latest stock rom from sammobile and flash it in Odin as Odin is more compatible with most phones. If that doesn't work go Odin with pit or Heimdall (requires pit). Try to use compatible pit with rom: jelly bean pit with jelly bean rom, kit kat pit (if you got one) with kk rom etc. because the update could change how the partitions are made and read. For example I know that on other devices you can't use lollipop pit with older rom version because of big changes and to be honest most android versions change partitions. I'm not sure in your case,never tried, but if I would have a jb pit file I would first install a jb stock rom, then update with Odin to kk.
[Galaxy S 4 Mini Android Development] Werner der Champ:
Encryption errors

I flashed the 6.0.5.1 Recovery you described in the top, but I got issures with device encryption. Before flashing it, I unencrypted my device, and after sucessfull rooting I encrypted it again. But then I heard that nandroid backup can't backup data if encrypted. But it seems like the costum recovery dosn't really support this and therefore nothing happened. Guess waht happened when I tried to boot my phone when seeing that the screen was black after 10 min :crying:

Now I wanted to encrypt it again, but when I started it, the screen showed the encryption icon and went black. I didn't dare touching anything (because I don't want to brick my phone again) and noticed, that after around 15 min the phone booted normally, without beeing encrypted. A second try ended up with the same result.

Does anybody know how to fix this, or is it just not possible (however it worked one time:good:)

Thanks in advance
[Galaxy S 4 Mini Android Development] Keon91:
ota update cm12.1

Dear [MENTION=3044346]arco68[/MENTION]

Thanks for your great work!

I've tried to install a new update of cm12.1 using ota

This does not work and a I get the error:

finding update package...
E:unknown volume for path [@/cache/recovery/block.map]
E: can't mount @cache/recovery/block.map
Installation aborted.
Rebooting

Manually installing it trough the recovery works but It would be great if this can be fixed!

The cyanogenmod team is encourage the user to "dirty flash" see post: http://www.cyanogenmod.org/blog/all-about-l-part-2

So fixing this would speed up this updating process!

I'm currenty still running v6.0.4.6 (because mount usb works) but other users report the same problems with the latest 6.0.5.1
[Galaxy S 4 Mini Android Development] dotuletz:
As you found out it is not possible to backup an encrypted device. Not sure why it doesn't want to encrypt it back though. Maybe someone else would help.

A... wrong thread ? Or maybe there is a connection between rooting on stock rom and cyanogen.

Anyway I would always try to flash via recovery, i think you have more chance of succes than ota (ota fails even on major companies). Use a file explorer to check if you can access /cache/recovery/block.map . if it's there but still get the error maybe try different recovery
[Galaxy S 4 Mini Android Development] Keon91:
I don't think I've put it in the wrong thread because it's very recovery related.

Teamwin fixed this issue in 2.8.5.0: https://twrp.me/site/update/2015/02/12/twrp-2.8.5.0-released.html

So maybe this is also fixed in a newer cwm recovery...

I prefer to stick with cwm, because the one arco68 made always were very stable.

And I know that wiping everything is more safe and could result in more stability, but the cm team want's you to dirty flash...
[Galaxy S 4 Mini Android Development] dotuletz:
I was referring to the fact that this is not CWM / recovery thread and it is not a Cyanogenmod thread either, it's on how to root your device via a recovery, but hopefully someone (with more knowledge) will answer
[Galaxy S 4 Mini Android Development] AT-Mio:
fail with odin

Today I have upgraded S4 mini from jelly bean to KitKat I9195XXUCNEA. I went easy.

When trying to flash recovery-clockwork-6.0.4.6-serranoltexx.tar.md5 with odin I receive a message that this failed as could not go through COM port.

I don't know what it means or the problem can be. I did everything exactly the way it was written.

Odin showed the message added, I uncheck the “F. Reset Time” also. USB debug was done as well.

Can someone help me? Please explain things in detalis as I am not a pro.
[Galaxy S 4 Mini Android Development] walttheboss:
Usually a com port error is on your computer side not the phone. That is good. Just try other ports and other cables. Windows 7 may be better than 8 and USB 2 better than 3. Just keep trying.
[Galaxy S 4 Mini Android Development] PhamDung:
how about the i257?

can do like that?
[Galaxy S 4 Mini Android Development] oneearleft:
EDIT: others have experienced similar problem: additional searching gave me this: http://xdaforums.com/showpost.php?p=60155289&postcount=57

Thank you for this guide. Unfortunately, I can not get to step 8.

I have installed usb drivers (device is recognised in odin), and downloaded (and extracted) the files linked to in the first post.

Then I follow the steps, flash recovery and I can see the blue bar progressing to (what I assume is 100%), but

when the device reboots (while pressing volume up and home buttons), instead of seeing CWM, the following error message is displayed on the phone screen:

Any hints to what I am doing wrong? Is it because I have the GT-I9195I version? Thx.
[Galaxy S 4 Mini Android Development] 2010radams:
You should be careful. It says its for I9195 only. You will brick your phone if you keep doing silly things. Lol ?
[Galaxy S 4 Mini Android Development] oneearleft:
Ha ha, yes, .....
[Galaxy S 4 Mini Android Development] DeNarco:
Hi guys, with install custom recovery KNOX is triggered or not? Thanks
[Galaxy S 4 Mini Android Development] michelsberg:
Yes, it is.
[Galaxy S 4 Mini Android Development] rogier666:
With most firmware versions: Yes.

With some old firmware versions: No.
[Galaxy S 4 Mini Android Development] kladde:
Will it work for 9195xxucoc2?

And what is S4Mini_RootKit_v2.zip (contains SuperSU v1.89 and BusyBox v1.21.1) ? Should I also install it?
[Galaxy S 4 Mini Android Development] forgetmyname:
Flashing had no effect

Hi,

I had this result from flashing recovery-clockwork-6.0.5.1-serranoltexx.tar.md5.

<ID:0/011> recovery.img

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

<ID:0/011> RQT_CLOSE !!

<ID:0/011> RES OK !!

<ID:0/011> Remain Port .... 0

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

<ID:0/011> Removed!!

However, the stock 3e Samsung recovery remained installed!

This is my second i9195 and I had no issues flashing new recovery s/w before on my old version.

Confused lots.

---------- Post added at 12:05 PM ---------- Previous post was at 12:00 PM ----------

Problem solvd.

recovery-clockwork-6.0.5.1-serranoltexx.tar.md5 did not work but flashing recovery-clockwork-6.0.5.0-serranoltexx.tar.md5 did!
[Galaxy S 4 Mini Android Development] kladde:
Someone please? Is there any activities here?

Can I root if my phone has version 9195xxucoc2?

And copy file to sdcard is it internal sd or external?
[Galaxy S 4 Mini Android Development] hollandais:
Yes, there is a good activity here. Check date and hours of the post.

I can copy from int sd card to ext without my computer. I don't know if you can root your device. I think yes, because it's an I9195.

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] DeNarco:
can You ( or someone else) suggest me an old firmware?

i dont want trig the knox
[Galaxy S 4 Mini Android Development] kladde:
So I should have rootkit on internal sd?

Can I damage the phone if my phone will not be able to root?
[Galaxy S 4 Mini Android Development] hollandais:
You should root your device if you want flash another, non Samsung, ROM.

Go to the top of this thread and you'll find all you need.

Once you've flashed your ROM you can select another one.

Envoyé de mon GT-P5110 en utilisant Tapatalk

---------- Post added at 03:34 PM ---------- Previous post was at 03:31 PM ----------

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] kladde:
I have now successfully rooted my phone. Please tell me what to do to make my phone faster without lagging. I am new in this. Should I install another rom?
[Galaxy S 4 Mini Android Development] jimger:
Doesn't cwm exist in flashable zip?

As I can understand these are only odin flashable
[Galaxy S 4 Mini Android Development] Tirofog:
Try this:

http://xdaforums.com/showpost.php?p=58869392&postcount=107
[Galaxy S 4 Mini Android Development] jimbomodder:
I have both on my android file host site. I'll grab u a link

Sent from my GT-I9195

---------- Post added at 01:15 PM ---------- Previous post was at 01:14 PM ----------

https://www.androidfilehost.com/?fid=23991606952600402 cwm zip

And this one gets u all the need root zips

https://www.androidfilehost.com/?w=files&flid=31506

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] ladislav.heller:
That rainbow mode in CWM 6.0.5.1 is funny :)

BTW effect of home and power button is the same: Trigger an action. Is that OK ?
[Galaxy S 4 Mini Android Development] RuffBuster:
Home and power button action trigger is normal
[Galaxy S 4 Mini Android Development] NxtGenCowboy:
Has anyone been able to get recovery on 4.4.4? I9195IXXU1AOD, apparently this is the i9195 Plus or 2nd Gen variant with the Quad core.
[Galaxy S 4 Mini Android Development] ladislav.heller:
OK but where is "back" button, when U want to cancel an operation or go back to parent folder?