yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] leripe:
Well it's pretty hard to explain it better than in the first post. Download the files that it says, odin is one of them and it's the program used to flash the recovery. If you just follow the steps you will get it done.
[Galaxy S 4 Mini Android Development] Interceptor One:
Well as I said above, it says nothing about where this Odin file gets installed? On the phone, on the PC? Which?

And what about the file versions question, is in this case newer not better?

Sorry, not very tech savvy when it comes to phones...

I grew up with those big boxes that sat on tables that one had to use a round dial thingy to dial numbers with,

and if you were not in your house when someone called you, then they didn't get hold of you, end of story,

and the SMALLEST "Mobile Phone" was the size of a briefcase... ;)
[Galaxy S 4 Mini Android Development] waldfee:
Odin needs to be extracted to the PC HDD, just create a folder and put it in there, you also might need to install the samsung drivers for windows first....
[Galaxy S 4 Mini Android Development] Interceptor One:
Thanks waldfee

I guess I can go ahead and try this later this afternoon then.
[Galaxy S 4 Mini Android Development] osvanberg:
Be aware of the nasty bug in 6.0.4.6/4.8 CWM. See my post a few post earlier #911 (and see the solution also there.) All credits to user "abalgo" who is the one how solved it, I just used his solution!).
[Galaxy S 4 Mini Android Development] tinko975:
i cant find anywhere recovery-clockwork-6.0.5.0-serranoltexx.tar.md5

is there place to download newest cwm for i9195 in zip file?
[Galaxy S 4 Mini Android Development] leripe:
Well the recovery is updated with the nightly update if you enable "update recovery" option from dev options. Nobody hasn't bothered to compile and upload separate file.
[Galaxy S 4 Mini Android Development] hansare:
Here you are.

Unzip and ...

Flash via Odin_309 with AP.
[Galaxy S 4 Mini Android Development] Victoria75001:
Newbie questions!

Hi guys

I've recently bought a 2nd hand S4 Mini which seems to be suffering from the notorious battery drain issue caused by a bad kernel. I'd like to install the kernel from this thread to fix it, but I've never attempted any custom stuff on a phone before. I've done a lot of Googling over the past few days, but I just want to check I've got everything right before I dive in and kill the phone! So would be very grateful for your help.

Firstly, my current setup:

S4 Mini i9195

Baseband version I9195XXUBNB3 with Knox enabled

Locked to EE network (UK)

No customisation done so far

So, my questions:

1. If I understand right, I shouldn't flash a custom ROM to a network locked device as it will have the wrong modem file which would prevent it connecting to the network afterwards, but installing CWM Recovery, the Rootkit and the Kernel from this thread should be ok as they don't affect the modem file?

2. I keep coming across mentions of locked vs unlocked bootloaders - do I have to do something to unlock the bootloader before I can follow the instructions in the first post of the thread?

3. Is it possible to install CWM Recovery and then flash just the kernel without rooting the phone? I'd like to avoid root as it will mess up my banking apps. Or is the kernel itself pre-rooted even if I don't install the rootkit?

4. Anything else I should do/not do/be aware of before I start? I know I'll trip the Knox flag but if the warranty is the only thing to suffer from that I don't mind as I don't have one anyway.

Many thanks for any advice!
[Galaxy S 4 Mini Android Development] marchrius:
Exactly. Keep in mind that Arco's kernel isn't the only one with battery drain patch, check out vikinger or brisk for example.

No, just follow the instructions.

Never flashed custom kernel on a non rooted phone, I assume yes but better wait for someone else who is 100% sure that can be done :D

you can't use knox apps after knox is triggered. If you don't use them, fine :good:
[Galaxy S 4 Mini Android Development] Victoria75001:
Thanks Marchrius (and hello again!)

I tried it last night and everything seems to have worked fine - well, I'm getting an error if I boot into stock recovery now, but that may have been there already, I don't know - I guess I shouldn't need to use it for anything anyway. I decided to root before installing the kernel just to be safe, then after using SuperSU to get rid of Knox apps I unticked the Enable Superuser checkbox, and my banking apps are working normally.

The kernel seems to have fixed the battery drain, it's gone from 4% an hour with everything disabled to 1% an hour with location, 4G/Wifi, sync and push notifications all running. (Thanks Arco!)

I haven't got down to the low battery warning yet to see if it's made any difference to the other problem we're having, but I doubt it since you're still getting it with the Arco kernel. I'll let you know.
[Galaxy S 4 Mini Android Development] marchrius:
Good. :good: however...

_what kind of error are you getting while booting in recovery? Keep in mind that you should have CWM recovery now, no longer stock one

_unticking "enable superuser" only disables superuser app, but your device is still rooted. In superSU, if you scroll all the way down in settings you'll find an unroot option. Use it if you don't need root anymore, otherwise some app may detect it (that's not the case with your current apps since you said that they still work fine :good: )

Yeah... it should be the same, luckily my device never reaches 15% or below, it happens only if I don't charge it on purpose.
[Galaxy S 4 Mini Android Development] nunein:
IMHO having a rooted device with NO Superuser app active is a very risky thing!

As marchrius wrote your device is still rooted. But there is NO Superuser app active which is controlling which app obtains root rights - that means every app may obtain root access, you will not be asked whether to grant root access and you will not even notice it.
[Galaxy S 4 Mini Android Development] Victoria75001:
Ah, ok - my understanding was that unchecking this option is SuperSu temporarily disabled root access - Root Checker says my device isn't rooted, and the SuperSu options to notify me if an app requests root access are still enabled. If this is wrong I guess I can leave it enabled and just disable it when I need to use those specific apps, which is rarely.

---------- Post added at 12:24 PM ---------- Previous post was at 12:08 PM ----------

CWM recovery only lasts on my phone until it's booted up normally once, then the stock one takes over again. As I discovered when I wasn't quick enough to get into recovery after first flashing CWM, and had to do it over again! I was then able to use it fine to install the kernel, but after booting the phone normally I was back to the stock recovery. Seems to be a known issue, with a solution on the second post from the bottom of this page, but since I've done all I need to for now I don't want to mess about any further!

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

.

.

Ok, now this is weird - I tried recovery last night after installing the kernel as I said, and got the broken looking stock one (can't remember the exact wording, but it basically got as far as a line mentioning CSC, then said "No command" and "Error" near the bottom.... but I just tried it again to get the details for you and this time CWM has stayed!
[Galaxy S 4 Mini Android Development] marchrius:
Basically, if superSU is enabled, when an app requests root, a prompt will appear, and you can deny or allow the app its operation. If superSU is disabled, no prompt will appear; every app can perform root operations without your permission, which of course is not indicated. So, I suggest you to leave superSU enabled if you want to keep root access. Otherwise, simply unroot the device. superSU will uninstall and root access will be gone (of course you'll keep CWM recovery and custom kernel).

Never had this issue, glad it's working now. :good:
[Galaxy S 4 Mini Android Development] arco68:
Recovery version 6.0.5.0 added to first post.
[Galaxy S 4 Mini Android Development] sasank360:
Thanks [MENTION=3018996]acro6[/MENTION]8. Tested it. flashed via odin 3.10. Works perfectly.:good:
[Galaxy S 4 Mini Android Development] D0M1N13:
Questions

Hi Arco68 !

First I would like to thank you for this post and your effort in explaining to everybody here how to root our Samsung Galaxy S4 Mini devices. :)

Second, there are some quick questions that I have towards your procedure:

The following questions are as follows:

1. Do I need to download the USB Drivers from Samsung Keis before I do any of your steps ?

2. Do I need to enable USB Debugging mode ?

3. Do I need to remove my SD Card from my Samsung before rooting ?

4. I just got the Samsung Galaxy S4 Mini and I haven't turned it on yet. Can I do your steps without going through setting up my phone for the first time ? Or do I have to first set up my phone in order to get your procedures to work ?

I would appreciate your response. :cyclops:
[Galaxy S 4 Mini Android Development] leripe:
1. Do I need to download the USB Drivers from Samsung Keis before I do any of your steps ? Yes.

2. Do I need to enable USB Debugging mode ? Just enable it, cant remember if it was necessary.

3. Do I need to remove my SD Card from my Samsung before rooting ? No.

4. I just got the Samsung Galaxy S4 Mini and I haven't turned it on yet. Can I do your steps without going through setting up my phone for the first time ? Or do I have to first set up my phone in order to get your procedures to work ? Well if you want to install the drivers and enable debugging then yes you need to boot the phone up and setup it a little.
[Galaxy S 4 Mini Android Development] D0M1N13:
Leripe,

Thank you for answering my questions. ;) I really appreciate it.
[Galaxy S 4 Mini Android Development] tinko975:
6.0.4.8 works ok but in 6.0.5.0 power button dont return to previous menu as it have to..

return to 6.0.4.8..

how about TWRP?

i tryed it on htc, works perfect.. there is awaylable 2.7.1.2. for s4 mini.. have anyone try with that?

https://www.mediafire.com/folder/3vc8l4x3q102j/Serrano-TWRP
[Galaxy S 4 Mini Android Development] hollandais:
I use TWRP on my I9195, actually 2.7.1.0. and I'm very happy with it.

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] leripe:
I have always used home button and back button to navigate on s4mini cwm, where do you need power button?

But all of them work for me, I'm on 6.0.5.1. (power button does the same as home button)
[Galaxy S 4 Mini Android Development] tinko975:
home? on my device home button means enter, confirm. power button means return to previous.

on 6.0.5.0. power button dont react..
[Galaxy S 4 Mini Android Development] xuleca:
Today I made a CWM backup to SDCARD1, but the date is incorrect.

Why?
[Galaxy S 4 Mini Android Development] hollandais:
Check the date in your recovery

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] xuleca:
On recovery I cannot see any date :(

On my CMW backup folder I open a file called recovery.txt

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting recovery on Sun Jan 6 15:24:31 2013

framebuffer: fd 4 (540 x 960)
CWM-based Recovery v6.0.5.0
recovery filesystem table
=========================
0

.....
[Galaxy S 4 Mini Android Development] leripe:
Back button is previous in cwm.
[Galaxy S 4 Mini Android Development] osvanberg:
It's a know bug! Nothing to do. Just rename after backup if you wish.....
[Galaxy S 4 Mini Android Development] hollandais:
Sorry, you can do that under TWRP...

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] D0M1N13:
Installation of other custom roms

Hi Forum,

I rooted my device :) Thank you Arco !! ;) One question I do have is after I root my device, can I install any custom ROM i want for my samsung galaxy s4 Mini ? Or should I first unlock the bootloader in my samsung galaxy s4 mini ?
[Galaxy S 4 Mini Android Development] tinko975:
Install cwm 6.0.5.0.
[Galaxy S 4 Mini Android Development] D0M1N13:
Ok, will try. Will get back to you. But if I install CWM, and if the bootloader is locked, will it help ?
[Galaxy S 4 Mini Android Development] tinko975:
It is samsung not htc.. No blocked boatloader.
[Galaxy S 4 Mini Android Development] t5s:
After reading more than 960 posts I still have not found a decisive answer to this simple and straight question asked in #812. Judging from the experience shared in http://xdaforums.com/showthread.php?p=54083927 I assume that flashing CWM increases the Knox counter from 0 to 1. Can anybody confirm this? If so, maybe it would be a good idea to state this clearly in the OP? Please anybody? Thanks guaranteed.
[Galaxy S 4 Mini Android Development] leripe:
Every custom thing found here can trip knox, and by here i mean xda.
[Galaxy S 4 Mini Android Development] t5s:
I assume this means *flashing* anything custom (recovery, kernel, baseband or rom) trips the Knox wire irreversibly. I used the towelroot exploit before on my month-old i9195 and have xposed/xprivacy installed and still it shows a Knox counter of zero. Probably because I didn't flash anything until now.
[Galaxy S 4 Mini Android Development] nunein:
Correct. Flashing unsigned/custom stuff triggers Knox flag.

And if you want to keep Knox 0x0 AND root permissions (by using Towelroot) you should not further update your firmware because versions with build date starting June 3rd are patched (Towelroot is no longer working).
[Galaxy S 4 Mini Android Development] smspop:
Hi,My Daughters phone took OTA update 4.4.2 she had problems with it freezing so I have just downloaded and flashed the rom below from sam mobile

after flashing I tried the root instructions from this post http://xdaforums.com/showthread.php?t=2364980 but it says "super user stopped working" when I select it on the phone after reboot. Is it possible to root this version ? Thanx.

Version: Android 4.4.2

Changelist: 1646188

Build date: Tue, 27 May 2014 08:17:05 +0000

Product Code: VOD

PDA: I9195XXUCNEA

CSC: I9195VFRCNE4

MODEM: I9195XXUCNEA
[Galaxy S 4 Mini Android Development] t5s:
Towelroot could work with that, just try it, you can't do anything wrong with it AFAIK.
[Galaxy S 4 Mini Android Development] fish72:
Thank you very much for the clear instruction and easy root tools.

All works well but every time I backup my rom via the 6.0.5 cwm, Before I reboot it asks me "Root access possibly lost. Fix ?"

I tried it once but it keeps repeating asking me. Except that all works ok. Is there a way to bypass it ? maybe flash 6.0.4.8 ?
[Galaxy S 4 Mini Android Development] onimorza:
just click NO ;)
[Galaxy S 4 Mini Android Development] osvanberg:
No click YES !
[Galaxy S 4 Mini Android Development] tinko975:
Fix it!
[Galaxy S 4 Mini Android Development] seboo107:
This method works on 4.4.2 ??
[Galaxy S 4 Mini Android Development] osvanberg:
I'm pretty sure that it does (not 100% though).
[Galaxy S 4 Mini Android Development] leripe:
http://xdaforums.com/showthread.php?t=2785750&page=8 You can test this one too.
[Galaxy S 4 Mini Android Development] seboo107:
I have root. I want to upload only CWM ;)
[Galaxy S 4 Mini Android Development] leripe:
Then yes it works.
[Galaxy S 4 Mini Android Development] seboo107:
I must upload only CWM via odin ??
[Galaxy S 4 Mini Android Development] tomohe:
I'm coming from HTC and trying to get my head around rooting my new S4 mini. Is SU built into the CM ROM as with HTC, and so will I have two SUs if I follow this rooting/recovery guide?
[Galaxy S 4 Mini Android Development] :
The guide in this thread is meant for rooting the stock rom. You need to follow it if you want to be able to flash a custom rom like CM, because you need a custom recovery (CWM as in this guide; you can also use TWRP). As a result of flashing CM or another custom rom, the stock rom will be completely wiped. CM and other curstom roms come fully pre-rooted, so SU is available (you can install SuperSU if you want more options). There will be only one SU, because your phone has only one rom on it. Carefully read the guide to root your phone and carefully read the guide to install CM or another custom rom of your choice. Good luck!
[Galaxy S 4 Mini Android Development] viaimpedita:
i not read this before flash "On the CWM install guide there's a S4Mini_RootKit_v2.zip, it's meant for stock samsung rom and not for CM11."

Now i have flash S4Mini...v2 and then CM11. it's for that reason that when i go in settings of superuser force close the menu???
[Galaxy S 4 Mini Android Development] :
Do you mean you flashed CM 11 first and then installed the rootkit? If that's the case, flash CM 11 again on top of your current configuration and see if superuser works. If superuser still fc's, wipe your phone (system, data, cache and dalvik) and then flash CM 11 (and Gapps ofcourse). CM 11 is pre-rooted, so there's no need to install a rootkit.
[Galaxy S 4 Mini Android Development] leripe:
Superuser force close is fixed on the next nightly, 7th or 8th October.
[Galaxy S 4 Mini Android Development] viaimpedita:
Thanks all
[Galaxy S 4 Mini Android Development] Keon91:
Mount usb storage is still broken in 6.0.5.0 like it was in 6.0.4.8

So I'm back to 6.0.4.6!

Date of backup is also still not correct, but that is a rom issue I think?
[Galaxy S 4 Mini Android Development] leripe:
Working fine on 6.0.5.1. with latest updates.
[Galaxy S 4 Mini Android Development] Keon91:
6.0.5.1 is not in the first thread?

Did you build it yourself?
[Galaxy S 4 Mini Android Development] leripe:
To get the latest version and updates to the CWM recovery at the same time you update to newer nightly, unlock developer options by tapping build number 10times from About phone settings and then tick the Update CM recovery option on from the developer options.
[Galaxy S 4 Mini Android Development] electromel:
multiple reboot

Hello,

I tried your method. Odin tell me it pass and I've been able to install rootkitv2 but then when I reboot system the phone keep rebooting after 10 seconds and so on

Any idea?
[Galaxy S 4 Mini Android Development] nibb-1:
Hello all, i have rooted my phone with success with this, at least that is what i think, however Root checker by joeykrim is saying that setuid attribute is not present, is that normal :confused:

salute and thanks all
[Galaxy S 4 Mini Android Development] :
Dear fellows,

I hope this is a right place to ask my question here. If not please please tell me and head me over to an other thread where this has been discussed.

I've rooted the S4 mini successfully (thanks to arco68). Right after the rooting process and installing ARCO's CWM I backed up the stock 4.4.2 rom in any case. I did a factory reset and flashed CM 11 also successfully and everything was good. After a week I wanted to go back to stock. So I restored the backup I made previously. Everything went out good, but now the whole system is inconsistent and instable. I have problems with the WiFi, SD card problems and so on.

What am I did wrong? Any advise is very welcome [emoji106]

I will flash stock via Odin tomorrow and root it again. But I want to avoid this process in future ;)

Thanks
[Galaxy S 4 Mini Android Development] charliebigpot:
Why live with it if you can fix it? :)

On page 2 of this thread is the fix for this:

Delete KNOX apps (containing KNOX in their name), I think there are 3 of them, in system/apps, that would do it. You can use ES file explorer of course with root permissions
[Galaxy S 4 Mini Android Development] pitajax:
I have an I9195XXUAMF6 version of firmware installed, is it safe to go with this procedure listed on OP post #1 ??
[Galaxy S 4 Mini Android Development] jonasb_dk:
DOH! :eek:

Thanks buddy... I guess I was a bit hasty there. :good:

Everything seems to be working now. :D
[Galaxy S 4 Mini Android Development] arco68:
It should work, but you might loose wifi. Depends on how much the kernel in MF6 has changed. Kernel modules lives under system/lib/modules, and are thus not included in the boot image, and if using them on another kernel than they're built against, might cause them to fail to load. You can of course replace them all with the versions from a MF5 rom. That should fix it.
[Galaxy S 4 Mini Android Development] jonasb_dk:
It worked for 10 minutes - then I got the pop up again. I checked with ES and the knox files were still there. It seems like SuperUser doesn't work properly or something when wrong. Because the phone seems rooted and CWM is installer properly - but the files are still write protected.

I downloaded the ChainsDD SuperUser app from Market... it that the correct one?
[Galaxy S 4 Mini Android Development] Norris5:
You have to mount the system partition as writable. In ES File Explorer go to Root Explorer (left menu), then choose Mount R/W from the popup menu. Then delete the files.
[Galaxy S 4 Mini Android Development] jonasb_dk:
Thanks buddy - that did the trick. :)
[Galaxy S 4 Mini Android Development] anonymous724:
Great work sir Arco:D:good:
[Galaxy S 4 Mini Android Development] Chriss123456789:
Have the S4 Mini a EFS-Partition?

From my Galaxy W I don't find that folder but all new devices should have a efs-partition ,shouldn't it?

How to backup EFS?

I don't want to lose my IMEI..

Because the S4 Mini is a expensive device (at the moment) and I don't want to buy a new one if something broke the IMEI.

--Sent from Galaxy W I8150 CM10.1--
[Galaxy S 4 Mini Android Development] arco68:
Yes, it has an EFS partition, which is mounted under /efs

You can back it up either by copying out all files from it, or copy the complete partition with: dd if=/dev/block/platform/msm_sdcc.1/by-name/efs of=/sdcard/efs.img
[Galaxy S 4 Mini Android Development] Chriss123456789:
Thanks ! :)
[Galaxy S 4 Mini Android Development] NikePershing:
Arco,

Can you please make a cwm-root-kernel for the MG4 firmware?

Gesendet von meinem GT-I9195 mit Tapatalk 2
[Galaxy S 4 Mini Android Development] ahmadblu:
hi master arco

plise make recovery & root for I9190

i very glad for you working on this superfone

thank for all yor works speciali for Wonder
[Galaxy S 4 Mini Android Development] Rackell:
+1

Yes i think too,please make for 9190.
[Galaxy S 4 Mini Android Development] chrischa:
youre right. i lost wifi too, i try to fix this with your workarround
[Galaxy S 4 Mini Android Development] volksieboi:
+1 +1 :fingers-crossed:

Thanks to all the devs for the hard work that they do for us noobs.

Getting my i9190 today hopefully and would love to have Cmod on it.
[Galaxy S 4 Mini Android Development] metaxaos:
Just to leave it here - this root method was successfully tried by volunteers from 4PDA on i9190 model and it seems it's more or less working.

I cannot explicitly recommend it to anyone as toolkit is made for 9195 model so it might possibly harm your system. It was only an experiment.

But anyway, just the same method as for 9195 was used, "as is" and with the same 9195 kernel and instruction, at person's own risk.

The only difference is that it was reported step 10 "All you need to do now, is to download the Superuser app" was unsuccessful so it was proposed to download SuperSU_1.34 zip package and install it from CWM recovery via "Install ZIP" instead.

After that root access seems to be fully working.

But again, please be extremely cautious until dedicated i9190 toolkit is out.
[Galaxy S 4 Mini Android Development] fenerbuuh:
any updates on cm arco?
[Galaxy S 4 Mini Android Development] b0g:
yes, is sadly ... no more news, even is alfa or beta version :(
[Galaxy S 4 Mini Android Development] Rackell:
Hi sir Arco

We want recovery and root for gt-i9190,please dont forget us.

GT-I9190 cihazımdan Tapatalk 2 ile gönderildi
[Galaxy S 4 Mini Android Development] luisbraz:
Try to do a factory reset, because you just recovered from CM to stock.