yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] hansare:
I didn't flash at all till now because I can't write the Rootkit-zip on the SD-cards.

I see both (internal and external) cards in my Windows-explorer but I am not allowed to write to it.
[Galaxy S 4 Mini Android Development] Whosat:
Which ROM are you currently using?

Try transferring over WiFi? Use an app like ES File Explorer (FTP function) or Bittorrent Sync
[Galaxy S 4 Mini Android Development] hansare:
That's indeed what I did. Via ES File Explorer I moved the Rootkit to the internal sd-card.

Now I have root and CWM.

In the meantime I flashed Carbon rom.

After flashing the rom it still isn't possible to write to the sd-cards (int and ext).

Very strange. What to do?

And another problem.

I made a nandroid backup through CWM.

Looking at the free space of the internal card there is indeed a backup (it went down with about 2.6Gb).

But in the clockworkmod folder there is no backup-folder.

Where is the tar of the backup?

Please help.
[Galaxy S 4 Mini Android Development] ovimunt:
Is there a way to backup the stock kernel before flashing the custom one, just in case I want to revert at a later date?

I went into the custom kernel zip file and I saw what system files are beeing replaced in the flash process so I guess I can manually back them up but I'm not sure how to save the stock boot.img on a Samsung phone. I know on HTC I can do that using fastboot but (and I'm not sure if I'm corrent) it looks like you can't use fastboot on Samsung phones?

So can anyone suggest an optimum method to back up the stock kernel?

Thanks
[Galaxy S 4 Mini Android Development] marselcj:
I did reflash stock rom, toolkit and kernel. How could I delete those 3 apps mentioned in the first post, which give me this alert?

I tried to erase them with ES File Explorer but I can't!:(
[Galaxy S 4 Mini Android Development] DoriGuy:
Hi,

I installed the kernel and the picture showing the message i have.

what am i need to do?

Sincerely,
[Galaxy S 4 Mini Android Development] radicspeter:
Use root explorer ;)

U find them in the system/app folder

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] marselcj:
Thanks a lot. I did install Root Browser app and it worked.:) I erased them.:thumbup:
[Galaxy S 4 Mini Android Development] hansare:
Anyone?

Help would be very grateful.
[Galaxy S 4 Mini Android Development] dr_jerremy:
Second situation is the same for me,but when I backup rom on sd card,I can see my backup inside CWM folder
[Galaxy S 4 Mini Android Development] hansare:
In the meantime I've learned in an other thread the place of the backup on the internal sd

Check into /data/media/clockworkmod
[Galaxy S 4 Mini Android Development] ovimunt:
Stock kernel?

Can anyone please provide a flashable zip of stock kernel?

Thanks
[Galaxy S 4 Mini Android Development] hansare:
http://xdaforums.com/showthread.php?t=2375402
[Galaxy S 4 Mini Android Development] afterglow:
flashed but no root

Hello, i flashed my 9195 a few days back.it all seemed to be ok through the flashing procedure.i followed steps described in OP.

"

The procedure is as:

Copy the " S4Mini_RootKit_v1.zip" to your device SD card.

Turn off the phone.

Press and hold home, volume down and power. Download screen should appear.

Connect USB cable, and press volume up.

Start Odin, uncheck "F. Reset Time", and then click AP button.

Select "recovery-clockwork-6.0.3.7-serranoltexx.tar.md5" file that you previously extracted, and press Start button. The phone will reboot when finished.

After the phone resets (it vibrates) IMMEDIATELY hold volume up and home buttons to boot into recovery mode.

Select the option to install the ZIP file you have previously copied to your device and begin flashing it.

After flashing using CWM, reboot into system and enjoy your rooted device.

"

My phone though doesnt seem to be rooted.I cant recall which app i ran and it was giving me a status unrooted

also when i boot into recovery im getting the title Android system recovery <3e> and it doesnt seem to be CWM version..nn..i dont know which one im meant to be having....

Also i have set superuser app to prompt for every root request and no notifications have occured. How can i find out what possibly went wrong?or should i retry the procedure?

p.s. didnt flashed kernel.

Thank you!
[Galaxy S 4 Mini Android Development] hansare:
I had the same.

Flash again according to OP.

Take care of restarting recovery when the phone vibrates (red sentence 7. in OP)!

The second time it was okay for me.
[Galaxy S 4 Mini Android Development] hansare:
[MENTION=3044346]arco68[/MENTION]

Thank you very much for this thread and making root possible on our I9195.

I have two questions.

1. Can you put SuperSU (of Chainfire) in your rootkit?

This because some apps (ie Titanium backup) have problems with SuperUser.

2. Can you bring BLN into your kernel?

That would be very nice for notifications through the hardware keys (menu and back).

Many thanks in advance if you could do the abovementioned.
[Galaxy S 4 Mini Android Development] kenshiro1:
Works perfect

Thanks for your work mate. I have one question: Which system apps i can remove without causing any bugs or crashes?
[Galaxy S 4 Mini Android Development] btnetro:
search my threads there is a script there, and check out the update script .
[Galaxy S 4 Mini Android Development] jimsiv:
Beware to all users that Samsung put the Knox counter in the last update today ver.I9195XXUBMJ7 Italy.
[Galaxy S 4 Mini Android Development] radicspeter:
OMG! It's bad News...

On the other hand thank you to report it! Now It's time to dont go back to stock rom (AMJ7+) because of knox security. If you install knox once your "hide" counter will 100% increase if you flash custom any custom rom.

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] ValenteL:
New Rom XXUBMJ7 whit KNOX bootloader (aboot.mbn) and aplications.

After flash this Rom we have on Download Mode:

KnoxKernelLock: 0x0

KnoxWarrantyVoid: 0x0

Like on Note 3 N9005, if we flash something, customer, root, KnoxWarrantyVoid: go to 0x1 and this is not reversible.

To Root

The Root-Kit-V1 install all superuser, SU and busybox but after reboot the SuperSU can't access to system, KNOX not permit.

To solve this we must flash after, on recovery the UPDATE-SuperSU-v1.86.zip from Chainfire. After we have root alright.

My case like on Note 3:

I not need the KNOX, the phone is only for me, then after root I delete all KNOX apk + odex from system/app.

Good luck
[Galaxy S 4 Mini Android Development] jimsiv:
Did you install Cwm before installing the supersu update?
[Galaxy S 4 Mini Android Development] ValenteL:
Like the Root-Kit-V1, the UPDATE from Chainfire must be flashed by Customer Recovery CWM.
[Galaxy S 4 Mini Android Development] junkyde:
[MENTION=3044346]arco68[/MENTION]

can you please provide me your source for GT-I9195_Kernel_v1.zip?

Because I would like to add bln mod to it and don't want to use the unmodified stock kernel from samsung.
[Galaxy S 4 Mini Android Development] arco68:
https://github.com/arco/android_kernel_samsung_msm8930-common
[Galaxy S 4 Mini Android Development] hansare:
I hope you succeed to add BLN.

That would be great.

Do you intend to share that BLN-upgraded kernel with us?

Thank you very much for that in advance.

---------- Post added at 01:15 AM ---------- Previous post was at 01:12 AM ----------

Does this mean that all earlier firmwares don't have the Knox problem?

So we can flash back if we want?
[Galaxy S 4 Mini Android Development] junkyde:
Of course! Like I did with the AOSP Kernel ;)
[Galaxy S 4 Mini Android Development] hansare:
THANK YOU!

Awesome.

Can't wait to flash it.
[Galaxy S 4 Mini Android Development] PIKO1982:
Hi all. I ve flashed the last itv firmware xxubmj7 and i flashed the v1 kernel. Is this the last kernel available for 4.2.2?

Thanks
[Galaxy S 4 Mini Android Development] ladislav.heller:
Is it possible to go back to old bootloader WITHOUT knox?
[Galaxy S 4 Mini Android Development] jimsiv:
You could just write your question in one thread....and no you can't go back now!
[Galaxy S 4 Mini Android Development] dtipuit:
Is there any thread where you didn't post this question???

Use search and you will find your answer.
[Galaxy S 4 Mini Android Development] ValenteL:
If on S4 Mini is same the Note 3 n9005 and the S4, we can't go back to an older bootloader from a KNOX bootloader.

You can make Nandroid Restores by customer recover well.

By Odin the KNOX BL controls all now.
[Galaxy S 4 Mini Android Development] Unjustified Dev:
I didn't know how to contact you but I want to ask something please. My email is android.c357@gmail.com if you use hangouts please add me so that we can chat much faster it has to do with some kernel things with msm8930-common it's about merging changes from another msm8930 called lt02 which is the tab 3

Here's a diff of the mach dropped on top of yours

https://github.com/TeamRegular/andr...mmit/007fec8484d1e87dcade876846fdf3d9ce8bdb32

Sorry if this is the not the best way to contact you.
[Galaxy S 4 Mini Android Development] kieronspitter:
I've recently purchased a galaxy express 2 device which is very similar in terms of specs as the s4 mini. Could anyone help me rooting this device?
[Galaxy S 4 Mini Android Development] Quigley:
I'm having trouble removing the three KNOX files. Maybe it's because I have the latest Samsung firmware installed?

I exactly followed arco68's steps. SuperSU app and binaries are installed. However, every time I allow root access the security information warning pops up with the little shield in the notification centre.

When trying to delete the files I enabled "Root Explorer" in ES File Explorer and chose "Allow" when it asked for root permissions, but I still cannot remove the files from /system/app. It just says it cannot remove them. Does anyone know what to do?

EDIT:

So I thought about this some more.... can't I just use CWM to delete the KNOX files?

Can I just make a script with something like

delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/ContainerAgent.apk");

put it in a zip on the sdcard, mount /system and run the script in CWM? I know next to nothing about scripting for CWM. Do I just put it in a zip file under the \META-INF\com\google\android\updater-script? Does it matter which binary I use?

If something could go very much wrong, please say so... otherwise I'm willing to try this.
[Galaxy S 4 Mini Android Development] Myke72:
Go to system/app with root explorer and enable mounten r/w. Then you can delete it.

sent from my GT-I9195
[Galaxy S 4 Mini Android Development] Quigley:
I tried, with mount R/W and all, but everything that requires root access just gets blocked apparently (by KNOX).
[Galaxy S 4 Mini Android Development] Quigley:
I tried with a script as follows. It works:

ui_print("Mounting system partition....");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");

delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/ContainerAgent.apk");

ui_print("Your warranty is now void! Enjoy!");

I put it in a zip on the sdcard in the META-INF/com/google/android directory, along with some update-binary I found somewhere and installed the zip in CWM.

The KNOX files are now gone along with the warning messages but:

- When I try to use root functions, they still fail, they continue to try to get root permissions, in a loop.

- When I open the SuperSU app, it asks me to update the su binary ("The SU binary needs to be updated. Continue ?"), but that fails too and cannot be used otherwise.

What's going on?
[Galaxy S 4 Mini Android Development] keekooceeaou:
I had the same problem (couldn't update SuperSU from Google Play).

I updated SuperSU by flashing in CWM and problems with SU disappeared (on I9195XXUBMJ7 firmware).
[Galaxy S 4 Mini Android Development] ValenteL:
It's normal. See my post #436 page #44.

Flash on recovery the UPDATE.SuperSU-1.65.zip from Chainfire. This solve the root problem.

And about KNOX I delete also the .odex files on Stock Roms.
[Galaxy S 4 Mini Android Development] Quigley:
Thanks, ValenteL! With the UPDATE-SuperSU-v1.65.zip installed via CWM I finally have root access!

I have no idea why the original binaries didn't work.... are they old and incompatible with newer firmware?

To arco68: Do you know why it didn't work?

Can new users install the UPDATE-SuperSU-v1.65.zip without installing the rootkit v1? Could you add this information to the start post?
[Galaxy S 4 Mini Android Development] ValenteL:
I always flash before, the RooKit V1 because it install the busybox 1.21.1 and the SuperSuNoNag-v1.00.apk also, a appl recommended by Chainfire to Dev.s on same Thread from SuperSu.

After I flash the UPDATE-SuperSU-v1.65.zip.
[Galaxy S 4 Mini Android Development] jimsiv:
Arco68 does this kernel GT-I9195_Kernel_v1.zip is also working in the newest version MJ7 with the knox counter?
[Galaxy S 4 Mini Android Development] ladislav.heller:
As far as I know Arco68's kernel is THE ONLY solution, if you want to root your device.

I made prerooted firmwares before MJ7 and all worked well, but with MJ7 doesn't work anymore.
[Galaxy S 4 Mini Android Development] sandey2k:
not rooted

Hi Guys, I'm new to samsung and I don't have yet the confidence that I used to have with HTC.

I was trying to follow the procedure described, but after installing S4Mini_RootKit_v1 I can't install CWM or other superSU.

In fact, it appears that the phone is not rooted yet! Is this because I installed the latest update from samsung before rooting?

I'd appreciate any help thanks.
[Galaxy S 4 Mini Android Development] sandey2k:
please forget my previous message, for some reason I was not rebooting in CWM... but bootloader, I keep VolumeUp and Home button pressed for too long, now it seems that everything is working fine, thanks a lot!
[Galaxy S 4 Mini Android Development] PIKO1982:
I've MJ7 and i haven't problem with rooting my i9195 lte. My procedure is:

1: Flash stock firmware with odin 3.07 and make the configuration for the first use.

2: Flash old Arcos Kernel with odin (extract attached) and reboot.

3: Flash Last CM recovery with odin and After the phone resets (it vibrates) IMMEDIATELY hold volume up and home buttons to boot into recovery mode. Click on reboot system,subsequently appear question: root device? Yes and reboot.

4: With file manager hd I enable in the program settings the root explorer mode, go in system-app and delete all Knox programs ( all programs with the icon depicting the yellow shield and with the name "Knox": they should be 5 or 6 files in total).

5: go in play store and download supersu app.

6: open super su app and update superuser file with twrp mode.The phone will restart and install the new files.

7: on play store download and install (in normal mode) Busybox. Reboot your phone.

8*: If the supersu does not work enough to enter the supersu program and disable and re-enable the supersu.

9: Flash the v1 arcos kernel with recovery in the first post.
[Galaxy S 4 Mini Android Development] ladislav.heller:
Oh yeah, I've rooted my device with MJ7 almost the same way like you.
[Galaxy S 4 Mini Android Development] Snowgay:
Hi, do you have the yellow notification on boot with MJ7 too?

And I noticed that in the MJ7 we have a new app "Gear Manager"

Can we use Samsung Gear now?
[Galaxy S 4 Mini Android Development] ladislav.heller:
Yellow noti - yes

Gear mgr - no
[Galaxy S 4 Mini Android Development] mackowiakp:
I have a strange problem after rooting. My phone was Bought in France, so default language is French. I live in Poland and S4 mini is equipped in Polish language support. But each time I reboot my phone, the display language is French. I try to use "Locale and language set" etc apps, but nothing resolved my problem.

I made factory reset and reinstalling of my apps - still the same. After reboot language is back to default.

Does anybody know howto resolve such problem?

---------- Post added at 10:37 PM ---------- Previous post was at 09:57 PM ----------

---------- Post added at 10:41 PM ---------- Previous post was at 10:37 PM ----------

After rooting, I got info from security subsystem:

"The phone has detected that the application tries to perform unauthorized actions"

But there is no information what security system that detects such situation and what application try to run unauthorized actions.

Any Idea what to do?
[Galaxy S 4 Mini Android Development] cheech01:
Flash samsung firmware with odin from your country. Code "XEO"

http://live.samsung-updates.com/index.php?device=GT-I9195

---------- Post added at 11:59 PM ---------- Previous post was at 11:51 PM ----------

Check you modem...or call *#1234#.....if you update to last Firmware **J7....

See here.....

http://xdaforums.com/showthread.php?t=2523800
[Galaxy S 4 Mini Android Development] mackowiakp:
At the first look it seems to help!
[Galaxy S 4 Mini Android Development] davisan1:
Latest version supersu has a bug that reboots phone into wrong language
[Galaxy S 4 Mini Android Development] mackowiakp:
So we have to wait for bug fixing as I understand...
[Galaxy S 4 Mini Android Development] davisan1:
If you installed s4_mini_rootkit you have supersu good version in rom so simply remove the playstore updates.
[Galaxy S 4 Mini Android Development] radicspeter:
Or try Chanfire today released version. Now he fixed this bug.

Other:

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] mackowiakp:
OK. Language problem resolved. But still after rooting, I got info from security subsystem:

"The phone has detected that the application tries to perform unauthorized actions"

But there is no information what security system that detects such situation and what application try to run unauthorized actions.

Any Idea what to do?
[Galaxy S 4 Mini Android Development] Quigley:
That's not just the KNOX security system? If so then just delete the KNOX apps (.apk files in /system/app)....
[Galaxy S 4 Mini Android Development] mackowiakp:
Knox

I really dont know is it KNOX or not. Can I check it in any way?
[Galaxy S 4 Mini Android Development] Quigley:
Well I'd say just delete the KNOX apps and see if the warnings disappear :)
[Galaxy S 4 Mini Android Development] mackowiakp:
Knox

Can not delete KNOX*. Read-only filesystem :(
[Galaxy S 4 Mini Android Development] hansare:
Download ES File Explorer from Play Store.

In ES you can change read/write and then delete Knox-files.
[Galaxy S 4 Mini Android Development] Quigley:
I believe in ES file Explorer that option is now called "Root Explorer"
[Galaxy S 4 Mini Android Development] mackowiakp:
Knox

I dont think so. I try to change file mode from terminal console but it rapports that whole filesystem is read-only. So no way to do anything with any file located on such filesystem, without remounting it (or mount during boot) as read/write.
[Galaxy S 4 Mini Android Development] micelve:
"Solid Explorer (Trial)" worked for me, i went to jump:device/system/app/ and clicked knox*.apks and the containeragent.apk, went to properties, changed them to "read write" (sticky) and renamed them...

sorry for german english... :o
[Galaxy S 4 Mini Android Development] mackowiakp:
Knox

OK. It seems to resolve my problem. As I understand KNOX is not necessary for my everyday life? So what is for?
[Galaxy S 4 Mini Android Development] ValenteL:
Because I'm a retired man I need my S4 Mini for my personal use only. Not for Enterprise or Government working, then I don't need the hateful KNOX.

After customer recovery install and root access, the first thing I make is delete all apk and more from it (whit Root Explorer):

1 - From system/app I delete:

ContainerAgent.apk + odex

ContainerEventsRelayManager.apk + odex

KLMSAgent.apk + odex

KNOXAgent.apk + odex

KNOXAttestationAgent.apk + odex

KNOXStore.apk + odex

KNOXStub.apk

SPDClient.apk + odex

From system/containers I delete:

All .apk + .zip file and 2 apk inside subfolder framework

Wipe cache + dalvik on recovery and all work for me (not for Knox :) )

PS: I make the same always on another device that have also the Knox, is alright always.
[Galaxy S 4 Mini Android Development] newarkoz:
Deleting these files will not brick the phone? What are they used for?
[Galaxy S 4 Mini Android Development] ValenteL:
I delete always that on my Note 3 N9005 and here on S4 Mini. Both are alive (until now) ;):)
[Galaxy S 4 Mini Android Development] afterglow:
flashed twice -> root ok.

yes you are right.flashed for second time.this time it did load CWM when i hold volume UP and home,just right after it vibrates (Step 7)

:)

thanks!
[Galaxy S 4 Mini Android Development] newarkoz:
I deleted the files you mentioned on previous post, but everytime i reboot my phone the language is setted to Greek lol Can you tell me how to fix this? (I didn't wipe cache and data after deleting the files....)

Thanks

EDIT: After googling a bit found out that it was a problem of SuperSu. Setting in the options of SuperSu the language to Portuguese fixed the problem :D (before it was default)
[Galaxy S 4 Mini Android Development] ValenteL:
What Rom you have flashed and from what Country? See on system/csc/sales_code.dat what CSC is there. And on system/csc if You have the TPH Portuguese. (TPH have the 3 operators, see system/csc/customer.xml if are there).
[Galaxy S 4 Mini Android Development] newarkoz:
I flashed this official firmware (then rooted it with rootkit from this topic):

Build Date: 07.08.2013 -> Region: TPH (Portugal) PDA: I9195XXUAMH2 Changelist: 1310925 Android: 4.2.2

And i have the TPH csc so i guess the problem was some incompability from SuperSu. On the internet i found other people with these problems, one way to fix is to root again... I didn't try that because chnaging the language on SuperSu solved the problem.
[Galaxy S 4 Mini Android Development] Marcio366:
Battery drain even after flashing Arco's kernel

Hi there, I just wanted to mention that the Arco's kernel did not solve the standby battery drain for me...

Is wiping cache + dalvik necessary after flashing it?

EDIT:

Another thing... I made a backup in CWM, but where can I find it? The Clockwordmod folder has one little file. After another backup I got the error that I have not enough free space. So I tried to find where is the first backup, but I cannot find it anywhere. But the system is crying that it has not enout space left.

Please help.
[Galaxy S 4 Mini Android Development] newarkoz:
It is in /data/media/clockworkmod

Thats the problem of using CWM to backup roms, you can't define the location of the backup. The TWRP recovery has this option but i don't know if it working good on S4 mini...
[Galaxy S 4 Mini Android Development] ValenteL:
For backup Rom's on CWM, on Backup and Restore...

1- I choice default backup format to TAR (never dup)

2- backup to external sdcard

And I have the backup on /storage/extSdCad/Clockworkmode/backup/2013.11.19.23.27.10

(Date for example. I rename the hour to .XXUBMJ7. This name can't have spaces).

Choice always Tar format to have all backup Rom in one folder only.

On Backup and Restore, if You choice first option Backup, the backup go to /data/media/clockworkmode/backup but this is on internal storage. Here we havn't space. I have free on it now, 2.05 GB not enough .

Choice the external.

---------- Post added at 12:19 AM ---------- Previous post was at 12:06 AM ----------

See my post to [MENTION=4415326]newarkoz[/MENTION], last chapter.
[Galaxy S 4 Mini Android Development] Marcio366:
Oh thank you guys, thanks a lot!

It is possible to backup to external card. I also managed to delete useless backups via recovery.
[Galaxy S 4 Mini Android Development] junkyde:
there is an option called exactly like this in cwm ;)
[Galaxy S 4 Mini Android Development] Chriss123456789:
Is your S4-Mini-Rootkit compatible with XXUBMJ7?

Gesendet von meinem GT-I9195
[Galaxy S 4 Mini Android Development] ValenteL:
Yes, the Root-Kit-V1 but You must make like THIS.
[Galaxy S 4 Mini Android Development] Nic.Nebude:
Hi ValenteL

unfortunetly these files i cant delete. I try root manager, but it cant run, because waring stop run the aplication :( SU is instaled.

Solved: Instaled newest SuperSU ;)