yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] Ryu--X:
i live in Europe , and i had to get back to ck1 , for the same reason : battery drain.

This modem is c**p.
[Galaxy S 4 Mini Android Development] Miryu:
So what modem should I use with the latest ROM that works and doesnt drain so much? the full name please or point m to a download I cant find it :/ thx
[Galaxy S 4 Mini Android Development] tinko975:
is this rom debloated?
[Galaxy S 4 Mini Android Development] ladislav.heller:
Is not. You can do it by deleting unwanted APKs from ZIP and then flash the ROM.
[Galaxy S 4 Mini Android Development] jimbomodder:
Is this just a deoxed rooted stock version? I wanna have play about with this rom

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] ladislav.heller:
Deodexed, rooted, added busybox, enabled init.d support, some ads blocked, enabled custom bootanimations.
[Galaxy S 4 Mini Android Development] janla:
...knox removed

Thanks for your work lalislav.

COD1 is out - any plans?
[Galaxy S 4 Mini Android Development] jimbomodder:
I am on thar firmware if I flash stock ROM so will I need to flash modem as I'm from UK cheers :D

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] impactor:
Do those new incarnations of 4.4.2 TW roms give any real benefits? I am still on some older 4.4.2 version and I don't know if there is any point in updating.
[Galaxy S 4 Mini Android Development] sergiosch:
I have just installed latest release, my phone is baseband I9195XXUCOC2 on latest compilation I9195XXUCOC2 and I'm getting random reboots, even without activating Wifi and using 3G for data, phone is random rebooting after just some minute. Battery seems to be draining, very hot.

Anyone has this version working well? can anyone tell any fix for this? :(

thank you
[Galaxy S 4 Mini Android Development] tinko975:
should COC2 bootloader be flashed separatelly too?

or just modem?
[Galaxy S 4 Mini Android Development] sergiosch:
This is really weird

I changed version and flashed CNK1 and CNJ6 modem and rom, but still I'm suffering constant random reboots. Just can't use the phone at all

What can be happening? I followed tutorials, flashed twice the modem as recommended here http://xdaforums.com/showthread.php?t=2545784

Flashed the rom from cwm recovery 6.0.5.0

In about section I see baseband is updated to any modem I have flashed.

But still I can't use the phone. I have been almost two years without problem using CM11 and stock 4.2.2 rooted, always with original modem of course. Now I wanted a stock 4.4 rooted and I'm facing this, I will appreciate any help

I think I know where my problems are coming from, executing in terminal:

su

getprop "ro.bootloader"

returns:

I9195XXUAMH2

That's why I guess I'm having instant reboots. But no matter how many times I flash the modem packs from Odin, the bootloader is stuck in UAMH2. I'm coming from a non-KNOX rom. How could I succesfully update the bootloader please?
[Galaxy S 4 Mini Android Development] sasank360:
modem package includes non-hlos.bin (modem), rpm.bin and tz.bin

The latter 2 files are part of bootloader and contain wifi drivers.

You need not flash stock coc2 rom. Just flash the coc2 modem

package provided in this thread.

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

Go to settings > more > about phone and check the baseband version.

It should be coc2 or any modem that you flashed lately. If if is uamh2 or

something else then you need to flash the modem following the instructions

properly. When flashing modem with odin, make sure you disable "auto reboot"

and F.reset time options. Repeat the process 2-3 times.

If the baseband version is changed to coc2 and u still face reboot issues then it

is hardware problem.
[Galaxy S 4 Mini Android Development] sergiosch:
Thanks for the reply [MENTION=4517909]sasank360[/MENTION]

As I posted, the baseband is flashed correctly, I have tried 3 different versions of the roms posted in the first page with their respective baseband, all of them flashed OK following the instructions and the flashed baseband is showed in About section. So it is not a problem by a non correct baseband.. My problem seems to be related to what [MENTION=4612760]ladislav.heller[/MENTION] posted int he first page:

I flash OK the ROMs and basebands, but my bootloader (following the getprop "ro.bootloader" command in a terminal) is reported I9195XXUAMH2, so as ladislav says, there is some incompatibility, which is resulting in random reboots.

So my question is, how do you update the bootloader aswell so there is not this incompatibility? I have knox-free bootloader, never flashed a stock rom newer than I9195XXUAMH2 and I would not like to flash a 4.4.2 stock to activate the knox bootloader as a price to pay to have a newer bootloader compatible with these deodexed 4.4 roms.... I hope there is a better way to solve :)
[Galaxy S 4 Mini Android Development] impactor:
This is exactly what I'd like to know, too. My bootloader is I9195XXUAMG6, so even older than yours. I am certain this is the cause of random reboots on any 4.4.x TouchWiz rom when using any kernel other than SilvioMik's.
[Galaxy S 4 Mini Android Development] jimbomodder:
Have u upgraded to latest stock firmware from sammobile site? It should do your bootloader to. Then do all your rooting process again and try the bootloader and see what it says

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] impactor:
Of course it will. But it will also give me Knox bootloader, and the point is to avoid it as I still have 4 months of warrant on my phone.

This is why I am looking for what was the last firmware for i9195 that came without Knox. Then I could upgrade my old bootloader (incompatible with never TW KK roms due to random reboots) to something newer, but still pre-Knox.

It will probably be some firmware starting with I9195XXUB... Just need to know which one exactly.
[Galaxy S 4 Mini Android Development] sergiosch:
Same situation for me!

I think the latest knox-free bootloader is the one I got installed, UAMH2. Hope I'm wrong and there is still some step forward which will work fine with these roms.

Enviado desde mi GT-I9195 mediante Tapatalk
[Galaxy S 4 Mini Android Development] impactor:
But this would mean that every person on this forum* who uses TouchWiz 4.4 and does not experience reboots, has bootloader with Knox and thus voided their warranty with 0x1 knox flag tripped.

(* - except people who flashed SilvioMik's kernel)

That would be really strange.

Also, I don't know what would be the point of removing knox bootloader by creators of every custom TW rom, since everyone for whom such ROM would work properly would already have to have Knox bootloader.
[Galaxy S 4 Mini Android Development] SilviuMik:
As i replied to u in PM . For 4.4.2 U NEED NEW BOOTLOADER in order not to have random reboots OR a combination of all this :

- Kernel with Knox removed from source / ramdisk with knox/tima/container mentions removed from files

- build.prop from /system/ with knox/tima/container mentions removed

- Knox apps / folders removed . Follow this link for what u need to delete

Old roms ( that don`t have knox ) don`t have aboot.mbn and sbl files present ! ( bootloader )

So in order to have new bootloader u must have either knox 1.0 present in roms 4.2.2 from late nov dec 2013 or knox 2.0 in 4.4.2 roms

Hope u understand now. Tell Thebootloader to remove all knox from source, he can clone my I9195 kernel source , and then diff his ramdisk with mine and then u have a choice ! :)

Either way his kernel is same as mine , but with "less" knox removed.
[Galaxy S 4 Mini Android Development] impactor:
How new?

Are you saying that yours is the only i9195 TW kernel around XDA with all those removed, while kernels like briskor stock kernels in those custom ROMs do not have this removed?

Because that still means that everyone who is using those ROMs without issues must have warranty void due to tripped Knox bootloader OR be running your kernel.
[Galaxy S 4 Mini Android Development] jimbomodder:
If u only got 4 months warranty left why even worry about the Knox? Just flash a custom ROM and be done with it. I got my phone off someone at 3 month old and tripped knox but that's just me. Knox is deep within samsung system and is not easy to remove .

Sent from my GT-I9195
[Galaxy S 4 Mini Android Development] impactor:
I am using custom roms since I bought the phone as new, so there is no need to having knox at all.

The only issue I have is not being able to use other than Silvio's kernel when using TouchWiz custom ROMs newer than 4.2.
[Galaxy S 4 Mini Android Development] SilviuMik:
*yawn* ... i just said U NEED KNOX 2.0 bootloader

Indeed . Or custom rom builders forgot to delete those lines i mention in build.prop or some knox apks :)
[Galaxy S 4 Mini Android Development] impactor:
Ok, all clear now. Thanks!
[Galaxy S 4 Mini Android Development] sergiosch:
Sorry [MENTION=4344511]SilviuMik[/MENTION], could you please detail the process of solving the random reboots by using your kernel? I mean, it seems it is not only needed to flash your kernel after flashing 4.4 rom + baseband, you seem to mean there are some files that have to be deleted / modified in the filesystem apart.

In fact, as you and Impactor are suggesting it, I tried just flashing one of your kernels ( this one I9195-LTE-Custom-Kernel-Silviu-v3-CWM-NK5-KitKat.tar.zip from http://xdaforums.com/showthread.php?t=2592308 ) after flashing the deodexeds 4.4 roms + its modem, and I still got random reboots.

I don't have a clue of these steps:

Should the flashing of your kernel mean that issuing the command getprop "ro.bootloader" in a su terminal will return other bootloader higher than I9195XXUAxxx? I guess.... no?

thank you very much, there seems to be light at the end of the tunnel thanks to this lately posts from you and impactor
[Galaxy S 4 Mini Android Development] SilviuMik:
U need a build.prop editor / file editor and root. Open that file and search for all the LINES that contain this words : knox , container , tima . Delete them ( if i remember good there are around 5 )

Then delete the apps that i posted earlier on pastebin. U should be good since u have my kernel also
[Galaxy S 4 Mini Android Development] FastGas:
Following your advice, but with kernel f4ktion-NF7(with original modules), it seems that there were no more random reboots, try again now also its kernel
[Galaxy S 4 Mini Android Development] sergiosch:
Today I followed [MENTION=4344511]SilviuMik[/MENTION] procedure. I just can say THANKS!

I have been running all this evening the CNK4 rom without any problem. It's only some hours but in this lapse not a single random reboot or app FC. The process has been as follows:

1-from odin flashed CNK4 modem twice as recommended (first flash, power off, reflash)

2-reboot to recovery, do all wipes and then install .zip from CNK4 ROM already copied to my microSD card

3-from within recovery, select reboot to download mode option. Again from download mode, flashed from odin the SilviuMik kernel NK5 for my i9195.

4-Now for the first time reboot and let the phone start the long first boot.

5-As soon as I could with Root explorer mount system as R/W and follow SilviuMik procedure editing \system\build.prop, deleting all lines that contain know, tima, container

6-Delete all of the content from thehttp://pastebin.com/JCKYULfp list. In my case, most of the files already didn't exist, I suppose because ladislav already wiped them from the rom .zip.

system/app/Bridge.apk

system/app/Bridge.odex

system/app/ELMAgent.apk

system/app/ELMAgent.odex

system/app/KNOXAgent.apk

system/app/KNOXAgent.odex

system/app/KNOXStore.apk

system/app/KNOXStore.odex

system/app/KnoxAttestationAgent.apk

system/app/KnoxAttestationAgent.odex

system/app/KnoxMigrationAgent.apk

system/app/KnoxMigrationAgent.odex

system/app/KnoxSetupWizardClient.apk

system/app/KnoxSetupWizardClient.odex

system/app/RCPComponents.apk

system/app/RCPComponents.odex

system/app/UniversalMDMClient.apk

system/priv-app/SPDClient.apk

system/priv-app/SPDClient.odex

system/priv-app/KLMSAgent.apk

system/etc/secure_storage/com.sec.knox.seandroid/

system/etc/secure_storage/com.sec.knox.store/

system/tima_measurement_info

system/preloadedkiosk/

system/preloadedsso/

system/container/

After finished, did another reboot as precaution and then started to configure everything, remove samsung apps with Titanium Backup, install all my backed up apps, No problem at all.

In summary, my rom is a stock deodexed 4.4.2 by ladislav, I chose CNK4 which shows fine in about section, also baseband is OK. Kernel is also well printed as Silviu's and the bootloader is still UAMH2, but doesn't seem to be anymore incompatibility.

Again, thank you SilviuMik and also Imperator for your comments and PMs
[Galaxy S 4 Mini Android Development] impactor:
Where did you get this f4ktion-NF7 kernel?
[Galaxy S 4 Mini Android Development] FastGas:
[MENTION=3452123]impactor[/MENTION] visit my page in signature [MENTION=4344511]SilviuMik[/MENTION] you can upgrade your kernel to the latest release OD1?
[Galaxy S 4 Mini Android Development] SilviuMik:
Since i DO NOT modify prima_wlan i do not need to update my kernel ramdisk ( nothing changes between releases anyway ) . U can use latest version on earlier 4.4.2 roms or newer
[Galaxy S 4 Mini Android Development] Ryu--X:
Pro ?

To use advanced BLN features download and install this ???? :confused:
[Galaxy S 4 Mini Android Development] sergiosch:
Check silviumik kernel post. If I remember well, I think he gives not support for advanced features like that
[Galaxy S 4 Mini Android Development] Tirofog:
I've flashed the NF7 modem package (twice) and then the corresponding rom but after booting I get a message in Slovak about 'data area has been damaged' and then a bootloop. I have the Knox-free bootloader, and coming from CM12.1, everything has been wiped and wiped again but still no good. Anybody able to help?

Edit: So, after a little translating and a lot of googling I got it sorted. Seems that custom recoveries don't format the data partition in the same way as stock recovery, which can cause a corruption. The solution was to Odin flash the stock recovery, go in and wipe data/cache, then Odin again back to custom recovery, re-flash rom, reboot and enjoy!
[Galaxy S 4 Mini Android Development] Teracotta:
can you do a deodex for the Android 4.2 I9195UBUBNE2? it has the 4.4. bootloader so you can flash back to it

4.4 framework is incompatible with the tmserver app
[Galaxy S 4 Mini Android Development] ladislav.heller:
New version: I9195XXUCPB2

Download ROM - flash from CWM/TWRP.

Download MODEM - flash from Odin.
[Galaxy S 4 Mini Android Development] Panagos90:
Hi. Could someone give me a mirror for I9195XXUCNH5 or I9195XXUCNF7 rom? thank you.
[Galaxy S 4 Mini Android Development] ets2_volvo:
Bootloop.
[Galaxy S 4 Mini Android Development] ladislav.heller:
Thread close request

Hi!

Since I sold my S4 mini device I will no more create deodexed ROM's, I think this thread can be closed.
[Galaxy S 4 Mini Android Development] Yassine Akalmouni:
Can you update the links ?
[Galaxy S 4 Mini Android Development] Adzkii:
update the links pls
[Galaxy S 4 Mini Android Development] venci78:
Link not working

May I get a working link for the Deodexed/zipaligned version from GT-I9195XXUBML1 stock ROM?
[Galaxy S 4 Mini Android Development] FastGas:
test it https://xdaforums.com/galaxy-s4-mini/development/rom-gt-i9195xxucob1-03032015-deodex-t3045847
[Galaxy S 4 Mini Android Development] agustin.farias:
I dont use other widgets, but calendar 2x3 can be resized full screen, splanner sets itself to 5x4 and can be resized, google search can be resized (the transluscent one, not the other), keep and now resizable, picture frame too.

Email 4x4 cant be resized
[Galaxy S 4 Mini Android Development] targsx:
And one more thing I noticed.. beside NFC, 4G icon is also gone, no matter what I do I cant connect to 4G anymore, even tho I flashed stock and did full wipe...cant get 4G to appear anymore :confused:
[Galaxy S 4 Mini Android Development] ladislav.heller:
MODEM + RIL info

Found following article about modems and RIL (Radio Interface Layer):

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

It seems that it's not enough to flash only NON-HLOS.bin via Odin to have a new modem. There are also some library files which are needed.

But the article is about Samsung Galaxy S2 and we have S4 mini and a little bit different library files.

We need to identify all the needed library files for S4 mini and create a CWM flashable package using them.

Some of them on S4 mini:

1|root@android:/data/local # ls -l /system/lib/*ril*.*
-rw-r--r-- root root 25760 2013-11-08 13:32 libreference-ril.so
-rw-r--r-- root root 3841740 2013-11-08 13:32 libril-qc-qmi-1.so
-rw-r--r-- root root 5060 2013-11-08 13:32 libril-qcril-hook-oem.so
-rw-r--r-- root root 53488 2013-11-08 13:32 libril.so
-rw-r--r-- root root 13352 2013-11-08 13:32 libsecril-client.so
[Galaxy S 4 Mini Android Development] Sanj3k:
one question [MENTION=4612760]ladislav.heller[/MENTION] I have read from german threads a ML1 firmware has been released and it seems the users have better battery life (can't imagine mine now is very good so far :D) do you plan somehow in the next time to switch/update your deodexed firmware? :) It seems the ML1 has again knox in it so it needs again a workaround :D just curious about it and wanted to ask it whether you plan or not ;)
[Galaxy S 4 Mini Android Development] ladislav.heller:
Yes, of course I will release new versions.

Be patient and check the first post periodically.

;)
[Galaxy S 4 Mini Android Development] charliebigpot:
It works like a charm! I wonder though, could you do a 4x5 and a 5x4 version? The only thing that bothers me is that some widgets that I use can't be resized, like Spotify :(
[Galaxy S 4 Mini Android Development] zegovernator:
That's brilliant. Alike the SGS 2 article, someone could perform a backup of the original ril-files. Then we could use them to replace the mismatching ones to make at least the earlier stock roms working...
[Galaxy S 4 Mini Android Development] flywithme:
I come to this thread every day to check for updates :p

Thanks for the great rom~!
[Galaxy S 4 Mini Android Development] EwOkie:
will this work for the i9195 LTE version?
[Galaxy S 4 Mini Android Development] junkyde:
the thread title says "GT-I9195"
[Galaxy S 4 Mini Android Development] EwOkie:
Yeah i know that :mad: But if you did read the avove post you would see another user mentioned LTE
[Galaxy S 4 Mini Android Development] junkyde:
I still don't know what you want sorry :D

There is only one GT-I9195 variant and it has LTE. Other S4 mini variants have different names like GT-I9190 (without LTE).

Btw: if you are referencing to a post, not directly above your reply (especially if it's on another page) maybe you should quote that post :p
[Galaxy S 4 Mini Android Development] EwOkie:
Page was a few pages behind didnt see a reason to quote the page as users should be reading posts before asking questions :laugh:
[Galaxy S 4 Mini Android Development] Sir_gpm:
Is there a way to flash modem via cwm?.

Enviado desde mi Nexus 4 usando Tapatalk 4
[Galaxy S 4 Mini Android Development] spitya:
Not resolved for now :(
[Galaxy S 4 Mini Android Development] Sir_gpm:
Do I have to change the modem or can keep mine?

Enviado desde mi Nexus 4 usando Tapatalk 4
[Galaxy S 4 Mini Android Development] spitya:
No need.
[Galaxy S 4 Mini Android Development] svs57:
Are you planning make ML1?
[Galaxy S 4 Mini Android Development] android.zealot.fervor:
I have a question sir..... if i simply take out the system/apps and framework folder from the zip and replace with mines . Will my phone deodexed then ? Please reply. Thanks
[Galaxy S 4 Mini Android Development] lavero.burgos:
You'll keep yours because the ROM doesn't have modem included, It is provided apart to flash in odin .
[Galaxy S 4 Mini Android Development] agustin.farias:
I'm not sure if there are other S4 Mini LTE variants. I'm aware only of the i9195/i9195L/i9195T as being LTE. The ROM base for other variants is "serrano" and for the 95's it's "serranolte".

This ROM is working OK with my GT-I9195L LTE.

The phone is working without problem, BUT there's no LTE service near me, so I haven't seen any LTE signal icon in the notificaction bar. Not before flashing this ROM and not after.

---------- Post added at 12:50 PM ---------- Previous post was at 12:48 PM ----------

You can keep your modem if it's working fine.

I kept mine and have had no problem.

---------- Post added at 01:08 PM ---------- Previous post was at 12:50 PM ----------

Not being an expert, I think that overwriting the apps and framework folders of your stock odexed ROM with the ones in this deodexed ROM you are risking bricking your device or loosing much functionality.

This ROM is a newer version, with who knows how many changes. It also includes support for Gear and Knox. Your old libraries and support files may not work with the new jars and apks.

It's less riskier to nandroid-backup your device in it's actual state and flash this ROM. If you are not comfortable with the resutls, you can always go back.

Why would you want to have deodexed files without flashing the whole ROM?
[Galaxy S 4 Mini Android Development] ladislav.heller:
Yeah! In january 2014 :)
[Galaxy S 4 Mini Android Development] android.zealot.fervor:
can someone please share samsungcamera.apk deodexed version from s4 mini ?

I shall be so far thankful.

THANKS........
[Galaxy S 4 Mini Android Development] flywithme:
I recommended my friend to this rom, but the download link in first post is not working anymore.

It bring you to the deposite page but when you click download, it will say file is removed.
[Galaxy S 4 Mini Android Development] radicspeter:
A few hours and Xmas ML1 is coming here guys!!

/know from the dev... /

Tapatalk-kal küldve az én GT-I9195-el
[Galaxy S 4 Mini Android Development] ladislav.heller:
I removed it. Sorry.

But uploading the new version ;)
[Galaxy S 4 Mini Android Development] flywithme:
Thank you so much for the update !!

By the way, can this work on our rom? (VulpiX Tweak & MOD)

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

I have asked the developer and he said as long as we have rooted our phone, have init.d support and busybox installed.

This could take our phone to another level.

Thank you for your great ROM~!
[Galaxy S 4 Mini Android Development] mickael91210:
Thanks a lot ...

So it directly contains BLN?
[Galaxy S 4 Mini Android Development] ladislav.heller:
You can add busybox support by installing/running this - do this FIRST!

Add init.d support by installing/running this.

Only contains a kernel which supports BLN feature. You must either download this or buy this to use BLN.

I think I will update the first post since your questions guys are falling in the category of FAQ :)
[Galaxy S 4 Mini Android Development] charliebigpot:
Thanks,

I just flashed it and will report back in case of clear improvements / problems.

Edit1:

AnTuTu Benchmark now says 19410. Unfortunately I didn't think of testing it before flashing the tweak. Which score do you guys get?
[Galaxy S 4 Mini Android Development] Flare_91:
With mj7 stock, nothing root, very stock xd about 21300
[Galaxy S 4 Mini Android Development] ladislav.heller:
Without the tweak:

- Quadrant Standard benchmark: 5443

- AnTuTu benchmark: 15344

- 3D Mark IceStorm 720p benchmark: 5544
[Galaxy S 4 Mini Android Development] charliebigpot:
Ok, I re-ran the same tests as you did a couple of times:

- Quadrant Standard benchmark: 6688, 6749, 7068 and 7150.

- AnTuTu Benchmar: varies between 19410, 20643 and 20460.

- 3D Mark IceSTrom 720p benchmark (only 1 time since it takes quite some time): 5667.

:good:
[Galaxy S 4 Mini Android Development] blunatic:
install only only over old Version ?

clean dalvik and cache?

Or need it a full wipe ?
[Galaxy S 4 Mini Android Development] ladislav.heller:
Coming from CM or variant -> full wipe + clean dalvik

Coming from older stock -> just flash in CWM
[Galaxy S 4 Mini Android Development] blunatic:
Coming from older stock. Just flash in CWM

Thank you for answer;)

onTheRoad