yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] cojocar.andrei:
Hi guys,

I want to install a Philz recovery on a GT-I9195 and I am on stock kk, cnk1 baseband. I know it will void knox. The question is: is it sufficient to install the recovery through odin to have the original stock that I am on fully functional or there are additional steps to be made?

Thanks.
[Galaxy S 4 Mini Android Development] arco68:
Added version 6.0.5.1 to first post.
[Galaxy S 4 Mini Android Development] ladislav.heller:
Attached the version flashable from (older) recovery.
[Galaxy S 4 Mini Android Development] D0M1N13:
Arco,

Probably a stupid question but ...... do I need Samsung USB drivers for this ? Or Samsung Kies ?
[Galaxy S 4 Mini Android Development] arco68:
Yes, either standalone drivers, or kies (since drivers are installed with kies) will do.
[Galaxy S 4 Mini Android Development] Wiggz:
Guys

Great thread and is helping me on the way to hopefully fixing my Wife's battery drain on her S4 Mini.

However Arco's thread suggests that the Kernel is only for 4.2.2 devices, and not for 4.4.2 devices (KK) - acan anyone suggest a kernel that fixed the power drain on 4.4.2 please?

She lost 15% in just 30mins earlier and she wasn't even using the phone! According to her phone (using GSAM now) there was nothing out of the ordinary!
[Galaxy S 4 Mini Android Development] basilhs1985:
Root Not Achieved

I followed the instructions. Clockwork is installed. I installed rootkit from recovery mode. Odin showed success message.

But after reboot I don't have root access nor is SuperUser installed. Has this happened to others? How do I solve this?
[Galaxy S 4 Mini Android Development] _nicolas_:
hy

i have still cwm 6.0.3.7 and want to update to 6.0.4.8.

do you need odin for updating the recovery, or can you do it on the man in recovery.

does this version suport delete ART in stead off dalvick

thanks
[Galaxy S 4 Mini Android Development] hollandais:
The best way for me is with Odin. Take one of the latest recoveries.

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] Keon91:
[MENTION=3044346]arco68[/MENTION]

In 6.0.5.1 mount USB storage is still not working, I'm back to 6.0.4.6!
[Galaxy S 4 Mini Android Development] ladislav.heller:
In 6.0.5.1 both Power and Home button does the same: They both acts like "OK" button and there's is no Back/Cancel.
[Galaxy S 4 Mini Android Development] chrischa:
+1

its a funny fact:

i know the back key isnt working

i finished a backup to external sdcard

selection is set to [backup to internal sdcard] automatically

i stupidly press the [back button] this starts backup

backup is incomplete because of missing free space :D

knowing [back button] will no work i delete this faulty backup

want to restart system by holding [power button]

what will happen now? :D yes sure BACKUP starts again :'(

i'm clever now and reboot system by pulling out the battery

next time this will happen again :highfive::highfive:
[Galaxy S 4 Mini Android Development] michelsberg:
Why don't you use the back soft key to go back?
[Galaxy S 4 Mini Android Development] Haik0:
4.2.2. to 4.4.2

A question pleas ? :)

I guess it's not very tightly related to the topic, but if you don't mind? :/

So I have Galaxy S4 Mini GT-9195 with Android Version 4.2.2,, my Baseband version is 9195XXUBNB3 !

In sammobile I wound a 4.4.2 frimware for GT-9195 (for same carrier as mine is), but with the Baseband version of I9195XXUCNK1,, is this the version should I be flashing with Odin ?

Is the difference in baseband version means that it's just updated to newer version or should I be searching fro the firmware with the same baseband version ?

I am a bit confused as you can tell :) Could someone answer my question ?

Thank you.
[Galaxy S 4 Mini Android Development] luisbraz:
It's OK to go. The baseband will also be upgraded, it's the modem software.
[Galaxy S 4 Mini Android Development] Haik0:
Thank you very much :)

Done ! )))
[Galaxy S 4 Mini Android Development] OverdiveKill:
Does this work for 4.4.2? And what do I do with step 10? I don't get it...
[Galaxy S 4 Mini Android Development] Razvan:
Work without problem in mycase. Skip step 10 because kernel is only for 4.2.2
[Galaxy S 4 Mini Android Development] OverdiveKill:
What do I do in case of a brick? And can I install cm 11 right after rooting with this method? And this method will trip knox, right? Meaning my warranty will be void.
[Galaxy S 4 Mini Android Development] OverdiveKill:
I have a kernel of November 3rd, that will still work right? Because it doesn't work with towelroot..
[Galaxy S 4 Mini Android Development] rogier666:
(1) Hook phone to computer and flash stock ROM (always download the stock ROM for your phone model/country/carrier before rooting or flashing).

(2) Yes.

(3) That depends on your current firmware version. If it's old enough, nothing will trip the knox flag. If it's too new, tough luck.
[Galaxy S 4 Mini Android Development] N0Ntoxic:
Hi guys,

Could you tell me which CWM will be suitable for my s4 mini GTi9195 running on stock kitkat CNK1?
[Galaxy S 4 Mini Android Development] marcooleo:
Running latest nightly and works fine so far, no bugs what i can see, and this build is much faster than the previous one, highly recommended! I have a question if someone know if it is posiible to install in any way the stock camera that comes with the I9195 KK 4.4.2? I have the zip of that camera but last time i try to install the camera the whole system broke down so i had to restore a backup from CWM. So my question is, is it possible to install it sucessfully and in that cas how?
[Galaxy S 4 Mini Android Development] sasank360:
:D Where are you my dear ?? LOL WRONG THREAD.

Anyway stock samsung touchwiz apps do not work on aosp / cm roms.
[Galaxy S 4 Mini Android Development] dotuletz:
I'm a bit confused:

1. by flashing recovery-clockwork-6.0.5.1-serranoltexx.tar.zip Knox will be tripped, right ?

I'm trying to root and unlock an GT-9195 as per attachement without tripping Knox which brings me to

2. Would I be able to flash with Odin a kernel like KERNEL_I9195XXUCNF7, then root it with Towelroot ?

3. Will I need to flash stock original kernel XXUCNJ5 after root ?

4. Would I be able to use RegionLock Away v1.3 to unlock the device ?
[Galaxy S 4 Mini Android Development] 2010radams:
Yes is the answer to your first three questions. I dont know the answer to your 4th question. Maybe someone else will answer that one.
[Galaxy S 4 Mini Android Development] dotuletz:
Ok. Thanks for the reply. I'll go and try with Towelroot and I'll see about the rest as some users reported unlocking with RegionLock Away successful and some didn't had too much luck with it. Thanks
[Galaxy S 4 Mini Android Development] rogier666:
That depends on your firmware. My ancient MH (august 2013) firmware is still knox-free, so for obvious reasons I won't allow samsung to update it. MJ (october 2013) seems to be the turning point.
[Galaxy S 4 Mini Android Development] ginepro85:
- edit -

sorry wrong thread.
[Galaxy S 4 Mini Android Development] AndroidxWolF:
Thank you for 6.0.5.1 recovery it's working fine :D
[Galaxy S 4 Mini Android Development] marcooleo:
A backup that can be sucessfully being restored.

Not sure where to ask but i give it a try here.

1.) I have used Titanium Backup, Online Nandroid Manager for restoring the entire system (except for the external SD-card)

2.) I have performed a full system backup both via CWM or TWRP and saved to external SD-card

3.) I always get the errormsg while doing the backup from CWM: Android Secure is missing skipping backup program or Apps. How come it´s missing and not doing the full backup?

4.) When doing a factory reset, flashing stock ROM via Odin with success, i flash the rootkit V2 etc from Odin, then reboot and installing Busybox Pro properly, and update to SuperSU Pro without any issues. System works just fine. But i can never do a properly backup of the entire system correctly. And i cannot restore the entire system with Nandroid Manager or Recovery either. So my question is:

How do i make a properly backup of the entire system except the external SD-Card and then restore it properly as it was before?
[Galaxy S 4 Mini Android Development] darckmin93100:
Hi !

The menus and submenus are the same as the 6.0.4.6 version?

Thanks in advance !

Envoyé de mon iPod touch en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] dotuletz:
Well, as far as I know it's a leftover from stock Froyo. It usually holds apps that you move from internal memory to sdcard memory with apps like App2SD (now called App Manager) and maybe even Titanium Backup (never tried moving apps with TiBu). This folder is on your SDCARD, that is why CWM can't find it for backup (and because it's on sdcard, you probably don't need to back it up anyway).

You can go in the folder and delete the apps you don't use anymore, you can delete the folder altogether or just make a copy of the folder and rename the copy if you really want to backup the folder.
[Galaxy S 4 Mini Android Development] ginepro85:
Hi,

I installed last nightly of CM12 and I followed the instructions in the first post (Odin+recovery+S4Mini_RootKit_v2.zip) but I can't root the device.

Please help me.
[Galaxy S 4 Mini Android Development] dotuletz:
Not sure how the first post could be any more clear, especially if it states in RED and CAPITALS : S4Mini_RootKit_v2.zip (contains SuperSU v1.89 and BusyBox v1.21.1) ONLY FOR STOCK ROM! NOT FOR CM OR OTHER AOSP BASED ROMS!

I really think you should read the first post before flashing something
[Galaxy S 4 Mini Android Development] complience:
I've copied the " S4Mini_RootKit_v2.zip" to your device SD card.

Turn off the phone.

Press and hold home, volume down and power.

The Download screen appears but it never progresses past this point.

I believe it is a stock rom, I just got the device new.

Other information shown on the screen

Odin Mode

Product name: GTI9195

Current Binary: Samsung Official

System status: Official

KNOX Kernal Lock: 0x0

KNOX Warranty Void: 0x0

CSB-Config-LSB: 0x30

Bootloader AP Swrev: 2

Write Protection: Enable

Downloading....

Do not turn off target!@
[Galaxy S 4 Mini Android Development] sasank360:
You have entered download mode. To flash that rootkit zip you need custom recovery like cwm or twrp.

CWM must be flashed using odin and the phone, in download mode, connected to pc.

Once cwm is flashed you must boot to recovery by pressing volume UP + Home + Power.

Follow this video to root s4 mini.

https://www.youtube.com/watch?v=A0uJw6Mr6wY
[Galaxy S 4 Mini Android Development] dotuletz:
Quick advice, once you flash a recovery so that after you can flash the root package (or anything else) the KNOX Warranty Void: 0x0 will become KNOX Warranty Void: 0x1 and your warranty will be gone (although when I took my phone in for service they didn't even check that and they fixed it).
[Galaxy S 4 Mini Android Development] t5s:
Knox is about secure boot, the term "warranty" has nothing to do with repair issues in this context. https://www.samsungknox.com/de/blog...ox-enabled-devices-and-knox-warranty-void-bit
[Galaxy S 4 Mini Android Development] dotuletz:
Yes,it does check for a secure boot and checks bootloader and kernel, but from what I read on xda & everywhere else, in the US they do check for the flag and they can refuse warranty. But that depends on many factors, like where you bought the phone, what service center you go to, even in what mood the guy checking your phone is (some do check it, some don't). Anyway he can always go to another service center.
[Galaxy S 4 Mini Android Development] complience:
Thanks - this solved my problem installing CM 12.

But I noticed I was getting poor battery life (less than a day with no use)

So I decided to flash the kernel now the phone does not boot.

I'm guessing this because the kernel doesn't support CM12 - yet.

Is there a different kernel I can use or a link to the stock kernel?

Looking at Brisk which shows support for Kitkat

Noticed my phone is not the international version.. is that a problem for flashing firmware?

I9195ZKABTU
[Galaxy S 4 Mini Android Development] dotuletz:
If you just flashed a new rom it's normal to get battery drain quite fast because the battery is not calibrated yet, plus you probably are downloading / playing with the phone a lot to discover the rom. A couple of days should fix that.

Flashing stock sammy kernel on CM rom or vice versa will make the device not boot. You can get the CM12 kernel and flash it back or install the rom again, or get junkyde's kernel (called Vikinger ) to flash, just be careful for what rom you are flashing as he made different threads for stock / aosp kernels (ps.: i'm not sure if Vikinger works on CM12, as I see the version for CM11 is 'outdated', and I can not try it as I don't have an S4 at hand anymore)
[Galaxy S 4 Mini Android Development] complience:
Hi Dotuletz

I think you might be right.

How do I go back to the stock kernel?

The downloads ive found from samsung appear massive 200mb+ zip files

I've actually got the CM12 ROM working after deleting my userdata and reflashing it.

However I'm seeing a number of strange bugs I assume are related to it not being supported.
[Galaxy S 4 Mini Android Development] complience:
This is really upsetting.. how do i get to a kernal that supports 5.0 lollipop on I9195?

Can CWM apply a custom kernel or do i need to be using Odin?

If so which one should I apply?
[Galaxy S 4 Mini Android Development] dotuletz:
Forgot, you cannot flash aosp rom over stock without wiping data, leads to no boot / app crashes etc.

The ROM will have a kernel in it, so by flashing the rom you want you are also flashing the kernel.

Kernel can be flashed via Odin or CWM.

I feel like we are hijacking the thread here, so I will send you a private message and continue from there
[Galaxy S 4 Mini Android Development] Smiff2:
thanks installed CWM 6051 fine using Heimdall in Xubuntu 14.04, used the Heimdall from PPA, be good if there were instructions in 1st post for Heimdall, i used part of the CM instructions basically:

http://wiki.cyanogenmod.org/w/Install_CM_for_serranoltexx

and this PPA is slightly newer than what's in Ubuntu repos:

https://launchpad.net/~modycz/+archive/ubuntu/heimdall

if you get errors try different USB ports!

Also a warning about Knox would be good as i had no idea what that even was, got a message from SuperSU said yes, then next time in CWM got message about losing root, said yes to that too. seems ok, I don't think i care about Knox and i'm in EU so warranty should be good anyway but 1st post could make clear that flashing this recovery will permanently flip that bit, i realise probably any custom recovery will do that but should probably mention it.

Now to try CM12.1 maybe..
[Galaxy S 4 Mini Android Development] dotuletz:
Yes, any custom recovery / kernel will trip Knox flag to 0x1. It is found in Download mode (Vol. down + home + power). What you are referring to as messages from SuperSU about disabling Knox are some annoying notifications that your system (phone) has been hacked and apps can now have root access (root can be dangerous if you get a virus on your phone). Basically there are 2 different things: the Knox flag that shows warranty is void (or not in some countries) and Knox apps that are there to secure your phone and prevent malicious attacks https://www.samsungknox.com/en/products/knox-workspace/technical but if you don't use your phone to access secret files from your company you won't miss it
[Galaxy S 4 Mini Android Development] complience:
Would flashing my kernal back to the Initial import of GT-I9195_JB_Opensource.zip kernel allow for me to use a lollipop rom such as cm12?
[Galaxy S 4 Mini Android Development] dotuletz:
No. CM ROM is a special kind of ROM that has it's own type of kernel. Stock ROM has a different kind of kernel. Also you can not put different kernels lets say from 4.2 to 4.4 or vice versa.

Like I said in my pm, the ROMs you download already have their own kernels build in ( I didn't find one without kernel yet and I had a few devices by now) so you do not need to worry about it, you are making things too complicated: Download ROM, download gApps if needed (not needed on stock rom), put those 2 on phone, go to recovery and wipe data, cache, dalvik and system partion, install rom & gapps, reboot. Don't care about battery life for 2 days, because roms needs to settle the battery stats file. Any errors are due to improper wipe or flash (improper flash will probably just not boot), or just bugs in the rom (cm12 is nightly, not stable release).

The first post in this thread is how to root i9195 on STOCK firmware, if you are flashing a new rom, then it's no point to follow it, maybe just to install recovery, stop thinking about kernels.

But if you still are thinking about them, and want tot flash a custom one, you need one for that ROM and version (read each kernel thread and description), find it in the index http://xdaforums.com/showthread.php?t=2590976
[Galaxy S 4 Mini Android Development] PrinzEugen:
if i want to restore to stock rom using factory default option , will supersu (root) be overridden ?

how to update official firmware manually when lollipop is released?

is this possible option:

apply update from external storage from android system recovery

sry for noob questions.
[Galaxy S 4 Mini Android Development] dotuletz:
1. Factory default deletes /data partition, it means it deletes all apps & data that are 'non-system'. SuperSU is integrated in /system partition so it will not get deleted.

2. I would recomand checking SamMobile for when it will be released, then download the update and extract it, go to recovery (even if you only have stock) and do wipe data/cache or factory reset (whatever it's named), pull out the battery / shutdown the phone so it would not reboot (it will create /data again and make factory reset useless), power on phone in Download mode, connect it to pc, on pc open Odin and put what you downloaded from SamMobile in PDA and start. There are a lot of tutorials & youtube videos out there, maybe watch a couple before. Also backup your phone / apps / data just in case.

3. Don't really want to answer wrong, but i would not recomand it. Please see answer 2.
[Galaxy S 4 Mini Android Development] PrinzEugen:
tnx for info,

ive accidentally update supersu app via google store.

now when im in cwm recovery and want to reboot it says something:

do you want supersu fix something ,waring, maybe root will be lost ?
[Galaxy S 4 Mini Android Development] dotuletz:
Just press No / Cancel / Reboot anyway. The recovery tried to find SuperSu app, fails for who knows what reason(maybe not system app?), and asks you if you want to correct it and install SuperSU, but you already have it. SuperSU is better installed from Play Store because it updates more easily
[Galaxy S 4 Mini Android Development] PrinzEugen:
ok, here is photo to corroborate the story.
[Galaxy S 4 Mini Android Development] dotuletz:
Yes, I know. If you already have a working Superuser / SuperSU app just press No. If you did press Yes, fix it, then check if Superuser / SuperSU is still installed or not, if it's still ok then leave it, if not just root again
[Galaxy S 4 Mini Android Development] complience:
I'm noticing the battery life is still bad for this rom.. less than a day.

Looking at the battery use.. I'm seeing a huge drain from google play services.. im not sure why.

I'm also seeing a drain from google play sound search?

While ive no idea why a service I never use would show, I disabled it completely but it still drains.

I think there is a bug in CM with it..

Any ideas?
[Galaxy S 4 Mini Android Development] dotuletz:
Betterbatterystats is an app that will give you more info about what is draining your battery. You can get it on xda or store and ask support on its own thread. Don't know how a disabled service can still drain battery...?!

Anyway my advice is to disable location services and / or use something like AppOps to disable location permission on per app basis. Also look in the apps that are draining batt and disable record audio maybe you have an app listening for the "ok Google" words all the time

If you download lot of apps battery will drain, it's normal.

Btw: as far as i remember cm has something like appOps already in, permission manager?... Don't remember
[Galaxy S 4 Mini Android Development] complience:
CM has appOps but not permission manager and doesn't seem to have functionality for blocking the functionality of certain apps.

Betterbatterystats is a paid for app.

Think the disabled service is still draining battery because it has a bug

Not sure where to report it.. CM thread i guess
[Galaxy S 4 Mini Android Development] dotuletz:
You don't have Settings > Privacy > Privacy Guard ? things must have changed from cm11, but I'm sure I've read it on cm12 also. Maybe just ask the question about it on their thread.

Betterbatterystats is available to xda users, use search, and if you like it you can donate to dev.

Maintaining main thread, root is ok and everything works now, any future developments about CM should be posted to their thread as I haven't used it in a while and thus they will provide better help. Any other problems regarding rooting i9195 please reply in this thread (pm me only if necessary as I do not have the device anymore, and i can give only limited support, wasn't even mine: only had it for like a day or two)
[Galaxy S 4 Mini Android Development] Vilam:
Hello, I can't fellow the 8. step because I don't have the "install from sdcard" option, I only got 6 option in my recovery :

reboot system now

apply update from ADB

apply update from external storage

wipe data/factory reset

wipe cache partition

apply update from cache

Anybody knows something about that ?

Nevermind, I missed to enter recovery mod right after the step 6 !
[Galaxy S 4 Mini Android Development] hollandais:
Is your device really root?

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] dotuletz:
He forgot to flash recovery or maybe a failed Odin flash and he needs to redo steps 5 and 6. Doesn't have anything to do with root, as that is step 8 and only after that step your device will be rooted. You can also have a device with root and stock recovery, there is nothing wrong with that except you can only flash things through Odin or Mobile Odin.

I don't know about the red step 7, I never do that, i let my phone boot normal mode, let it settle a few minutes (5 should do it), then shutdown and boot in recovery, this way i know the flash didn't screw something up and if it did i know where to look. Didn't had problems for now using this method but this could be a tricky flash.

Also if you do not want your device to reboot after flash with Odin in step 5 you can untick the Auto Reboot option ( i thought it's self explanatory) and after flash you can do a manual reboot (keep power button press for 10-15 seconds) or unplug data cable and yank battery out.
[Galaxy S 4 Mini Android Development] marcooleo:
I have got a ota update for the Finnish latest 4.4.2. Now i can't root my phone anymore. Shall i flash a older stock firmware and get root again?
[Galaxy S 4 Mini Android Development] dotuletz:
well, we don't know. You are only telling us it's not working without any info. What step are you stuck on ? You should be able to flash the clockwork recovery no matter what you have and from there be able to flash any custom rom, and 99.99% of them are rooted.

Method in this post should work with any 4.2.2 but tested on MF6, MF7, MFA, TowelRoot method should work with kernel I9195XXUCNF7 (this leaves Knox intact).
[Galaxy S 4 Mini Android Development] yukdav:
Hi, I have the following problem.

The phone went to boot loop for no reason whatsoever (still on stock rom, nothing fancy).

Plus the recovery mode is inaccessible: when I boot into it it shows the background image with the dead android and the red exclamation mark and says "no command", then it goes back into boot loop.

I flashed the stock rom again from odin and nothing changed.

I flashed CWM-recovery following the instructions in this post and nothing changed.

What else can I do?

Thanks

Davide