yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] ne0zone75:
My TWRP build and custom ROMs for the I9195 should work just fine on it. The only thing is that the model number will be set as GT-I9195.

Anyway for CyanogenMod and since CM-11.0, [MENTION=3044346]arco68[/MENTION] added a routine which will identify which variant it is, and it will set the model number accordingly.

Look at this post for more info.

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] chenzen666:
many thanks worked a treat on my s4 mini si9195 :)
[Galaxy S 4 Mini Android Development] cdurex:
Awesome man thanks for this recovery!

Went from CWM-based Recovery v6.0.4.8 TO openrecovery-twrp-3.0.2-1-serranoltexx-STABLE-signed.zip.

And did this update from my old CWM recovery 6.0.4.8, I just flashed the zip file stated above, and everything went A-OK.

Just did a full backup and seams to be completed Ok as stated in the logs.

Haven't tried to restore or anything else.

I plan to install cm-13.0-20160418-SNAPSHOT-ZNH0EAO2NJ-serranoltexx.zip but I have a couple of questions.

Should I try to restore and see if it works. And then install CM. (But I'll be restoring over the same system so it should work with no problems probably)

And if I install CM and then try to restore and it doesn't work! Sad I will be if that happens then proceed to install stock with Heimdall and all that procedure.

So recapping questions

1) Try restore with current Stock Rom?

2) Try CM first then try restore Stock and see if works?

Or do nothing like this and Just install CM and never go back! :cool:

Like I always do:silly:

P.d.: Just asking cause I never use TWRP on a phone and that feeling of not knowing
[Galaxy S 4 Mini Android Development] luisbraz:
Restore function is OK. I've used a couple of times. If there's a problem with the flashed rom, go to recovery, restore to the previous backup, wipe cache and dalvik and that's it.
[Galaxy S 4 Mini Android Development] cdurex:
Awesome man thanks for the info! Will test flashing CM and report back with results!! :good:
[Galaxy S 4 Mini Android Development] Ily_:
Merci beaucoup, mais je ne peux pas trouver le bouton thanks! :confused::confused::confused:
[Galaxy S 4 Mini Android Development] mleo70:
Help I did everything according to procedure , but recovery does not appear, except the downloading message.:(
[Galaxy S 4 Mini Android Development] Guner24:
custom TWRP v3.0.2-1 MM enabled for S4 mini (3G variant) | STABLE (2016-04-13) :

custom TWRP v3.0.2-1 MM enabled for S4 mini (DS variant) | STABLE (2016-04-13) :

custom TWRP v3.0.2-1 MM enabled for S4 mini (LTE variant) | STABLE (2016-04-13) :

Okay, what is MM? What is DS? Which version do i need?

Why do you need 3g or LTE in a recovery anyway ?
[Galaxy S 4 Mini Android Development] milouk:
MM = Marshmallow

DS = Dual Sim (an S4 mini variant)

3G and LTE are reference for the s4 mini variants ...it has nothing to do with mobile data
[Galaxy S 4 Mini Android Development] Guner24:
Thx!

So the 3g is for the i9190?

DS is for the i9192?

And the LTE is for the i9195?
[Galaxy S 4 Mini Android Development] milouk:
Yes exactly...
[Galaxy S 4 Mini Android Development] mleo70:
No one can help me, maybe the problem is the knox?

Samsung 4 mini ve lte i9195
[Galaxy S 4 Mini Android Development] tchavei:
Downloading message? Are you pressing power + menu + volume up?

Enviado do meu GT-I9195 através de Tapatalk
[Galaxy S 4 Mini Android Development] mleo70:
It is just like that when I press the buttons for the recovery
[Galaxy S 4 Mini Android Development] ne0zone75:
Hello,

If your device is a S4 mini value edition like your quoted post seems to suggest it, then my packages will not work at all on it because regular S4 mini variants (GT-I9190/2/5) and S4 mini value edition variants or plus variants do not share the same SoC.

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] mleo70:
Then I can do, any advice.
[Galaxy S 4 Mini Android Development] ne0zone75:
Which S4 mini variant is yours ? Anyway, if it is one that is supported by my packages, you could install TWRP on it through 'Odin'. If you used it and got a green 'success' message with it but you cannot enter recovery once flashing procedure is complete, then try it one more time BUT press and hold 'VOL. UP' button when your smartphone starts to vibrate just before rebooting at the end of the flashing process, in order to reboot straightly into recovery and not into your OS (some devices need this step to properly write the new recovery image to recovery partition).

Let me know if it helped

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] mleo70:
I mounted the TWRP-2.8.7.1-serranoveltexx.zip recovery and it works, but the rom for my no or am I wrong?

Thanks for the answers
[Galaxy S 4 Mini Android Development] ne0zone75:
I am sorry but i do not understand.

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] mleo70:
I say rom for my no, because the architecture is different.
[Galaxy S 4 Mini Android Development] :
If the phone you are trying to flash is a Galaxy S5 Neo as your signature suggests (SM-G903F), then you are looking in the wrong thread and none of the stuff (rom, recovery) for any of the S4 Mini-variants will work. I suggest you make sure what phone you have and look up the correct thread to see if a custom recovery or rom is available for your device.
[Galaxy S 4 Mini Android Development] ne0zone75:
I believe that you are referring to my signature ;)

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] :
Yes, indeedy... :D
[Galaxy S 4 Mini Android Development] mleo70:
Ok thanks for your support.
[Galaxy S 4 Mini Android Development] gaudence:
Thanks for great work..

Enviado de meu GT-I9192 usando Tapatalk
[Galaxy S 4 Mini Android Development] warcloudz:
thanks! already installed TeamWin recovery! :D

just want to know if there are more custom roms for my i257m or l9195 ? basically I want a custom rom without bloatwares, clean and neat and can save more battery than the stock roms. want to ask you personally in this matter :D TIA!
[Galaxy S 4 Mini Android Development] hussain2456:
Hi, I followed your guide and did everything fine. Odin says pass and all files looks ok but when i try to boot into recovery it says recovery booting at the top of the screen and then nothing happens. it just keeps looping the boot. wont go into recovery even after doing the odin thing

i tried different versions of the md5 too
[Galaxy S 4 Mini Android Development] ne0zone75:
What is your S4 mini variant please ?

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] other_reason:
Thanks! Works fine on my S4 mini duos (GT-I9192) :good:
[Galaxy S 4 Mini Android Development] TheKatCan:
Odin not seeing the the TWRP tar.md.7z

Good day,

Odin 3.0.9 does not see the openrecovery-twrp-3.0.2-1-serranoltexx-STABLE.tar.md5.7z file. What simple thing am I missing.

Thanks for all the great mods and helping in extending the great life of our phones.

---------- Post added at 04:32 PM ---------- Previous post was at 04:18 PM ----------

LOL figured it out. Never fails after I post a question always find the answer that was staring me in the face the whole time.

Once again Thank you for the great work.:good:
[Galaxy S 4 Mini Android Development] pankartofel:
I have two questions:

1) When you say this recovery has crypto support, it means that you can encrypt backups within the recovery, right? For both EXT4 and F2FS? Or we're talking about support for the encryption available from the OS level (settings->security->encrypt).

2) If I want to switch from EXT4 to F2FS I should wipe everything, then format only cache and data partition to F2FS (leave system and the rest formated as EXT4) and then install OS like usual?
[Galaxy S 4 Mini Android Development] lOtz1009:
1) both (backup encryption and backup of encrypted partitions)

2) yes
[Galaxy S 4 Mini Android Development] Mrkblo:
Strange thing. I'm trying to download this recovery and everyime Windows says it has a trojan and won't allow me to donwload.
[Galaxy S 4 Mini Android Development] niklus101:
use chrome and disable your antivirus temporarily.
[Galaxy S 4 Mini Android Development] fahrer17:
I'm sorry to sound like a complete n00b but I don't have any experience concerning Samsung phones. So my question is this:

I use Ubuntu on my PC (no Odin but Heimdall) - now can I simply unpack the openrecovery-twrp-3.0.2-1-serranoltexx-STABLE-signed.zip and flash "recovery.img" to get TWRP on the S4 Mini? If so what about the folder "META-INF"?
[Galaxy S 4 Mini Android Development] KevinX8:
The galaxy s4 mini uses download mode as it's flashing interface and not fastboot so a recovery.img is useless. The meta-inf folder contains the binaries that run the installer commands. Why do you not just use the .md5 provided it's much easier. Also why don't you just flash this with flashify or rashr which are also much easier
[Galaxy S 4 Mini Android Development] fahrer17:
Thanks for your reply! But to be honest: It confuses me more than clarifying things... :confused:

Maybe I should add that my flashing experiences cover only my Nexus 4+6 and a few Moto Gs so far.

So why does CM then advices flashing an image?

7.On the computer, open a terminal (or Command Prompt on Windows) in the directory where the recovery image is located and type:
[I]heimdall flash --RECOVERY recovery.img --no-reboot[/I]

Found here: http://wiki.cyanogenmod.org/w/Install_CM_for_serranoltexx#Installing_a_custom_recovery

Flashify+rashr require root which I don't have yet.

And: What do you mean by using the .md5? I always thought this is for checking a file's integrity? What else can I do with it?
[Galaxy S 4 Mini Android Development] KevinX8:
Oh ok I have never used heimdall before so if that is the case then yes just extract the recovery.img and flash it. The .md5 is a two in one file with a md5 hash and the files required for Odin inside so Odin can verify that the file is not corrupt and then use the files inside the .md5
[Galaxy S 4 Mini Android Development] ne0zone75:
Hello,

If you do not have flashed a custom recovery to your device yet, you must use the download mode of your phone to install TWRP : to access it, simply press and hold the 'PWR' + 'VOL. DOWN' buttons of your smartphone when it is powered 'OFF'. Then you have several tools available to flash the recovery image to it : 'Odin' (which is strongly recommended, even if you are running 'Ubuntu' : you can run it from a 'Windows XP' virtual machine by using 'VirtualBox' for example...) or 'Heimdall'.

FYI, .md5 is referring to 'Odin' ready files : it is a recovery image which is packed inside a 'tar' archive, along with its md5 information : file extension is usually '.tar.md5' like it is the case for mines (which are also 7zipped because of file naming considerations...). You have to unpack them in order to use them.

Finally, 'fastboot' command cannot be used with SAMSUNG devices, instead of Nexus or MOTOROLA ones.

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] csendre:
Make that PWR + VOL DOWN + HOME for the S4 mini
[Galaxy S 4 Mini Android Development] fahrer17:
Thanks for your assistance guys, it's really appreciated!

Well, it's a friend's phone, maybe we can use his Windows machine; especially since it seems Odin can be run without installation (I think he has Kies anyway).

So we will probably go this way, seems a lot easier; Heimdall will be our plan B.

I'm going to give a feedback as soon as it's done but he still needs to backup his stuff.
[Galaxy S 4 Mini Android Development] Quimicax:
Excellent Work
[Galaxy S 4 Mini Android Development] skokkk:
It does not work for me. I have used odin, adb, emulated terminal and heimdall but none of it works. I have a GT-I9195I (LTE S4 Mini). It just reboots back into the OS when I try to boot into recovery.
[Galaxy S 4 Mini Android Development] redjamesg:
There is no support for GT-I9195I
[Galaxy S 4 Mini Android Development] vinicentus:
Nice work :)

Thanks! It works fine on my GT-I9195 (LTE version). Maybe you should contact the TWRP team and try to make this an official build?
[Galaxy S 4 Mini Android Development] :
Read this.
[Galaxy S 4 Mini Android Development] vinicentus:
Oh, didn't know that...
[Galaxy S 4 Mini Android Development] siddware:
Just a clarification

Will installing TWRP wipe the data, or more specifically will Knox do so? I am using a completely stock phone with Knox intact, so if I flash it via Odin in Download mode(I don't care about Knox voiding warranty), will the process of tampering Knox in anyway touch the data in the device?

Thanks.
[Galaxy S 4 Mini Android Development] :
No. Your data will be fine
[Galaxy S 4 Mini Android Development] Migual12:
Wipe/Full Wipe with SD card as internal memory

After flashing CM13 nightly and Gapps I get the error message Process system isn't responding. Bevor flashing i did a Full Wipe of

Dalvik, System, Data, Cache

. I included a screenshot of TWRP wiping options. Would i have to wipe additionally the

Internal Storage

and the

SD Card Adopted Storage

to do a Full Wipe and hopefully get rid of the error messages and problems as sudden boot of the Phone? Would wiping the Adopted Storage wipe all data on the SD like pictures etc.? Does it reformat the SD with the encryption? I included a screenshot of the TWRP wipe options. Is there any possibility to check, if an SD card configured as Internal Memory works or has a physical defect? I understood that the SD should not be removed from the device to check it with the PC.

THANKS, I don't know what I can do. :confused: :(
[Galaxy S 4 Mini Android Development] ne0zone75:
Hello,

IMO this kind of error is likely caused by the CM nightly itself which could be bad. I do not use adopted storage at all and i do not know much about it but i would like to say that this is a private and encrypted data area, so i think that it is not involved in your issue. Nevertheless you might be forced to set it up again in order to use it with your new Android system.

AFAIK FCing issues could be caused by a bad ROM installer (in which some components are broken) most of the time : the solution is simply to download and flash a new CM nightly after having performed a full wipe again (system, cache, dalvik cache and data) like you did.

Of course, there are a lot of other reasons for an Android system to FC like it does in your case.

Are other users facing the same issue when using the same nightly ?

Finally i think that you really should to back up your /data and adopted storage partitions.

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] bakeLit:
How long should it take for Odin to flash the recovery? I've been stuck at RECOVERY for more than 15 minutes here, do I just unplug and try again?
[Galaxy S 4 Mini Android Development] ne0zone75:
It is a matter of a few seconds...

Yes ! Unplug your device and repeat the entire process. Also, do not use a USB hub to connect your smartphone to your PC, connect it to your computer through a USB connector which comes directly from the motherboard of your PC.

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] bakeLit:
Somehow, it was my computer that caused trouble. I tried flashing it on my laptop and voilá, clicked in a second. Thank you!
[Galaxy S 4 Mini Android Development] CyberCaptainKaz:
Can someone pls say which version should I use?

I have a s4 mini which has a dual sim slot and supports 3g.

Please help me as I am confused on which version should I flash.
[Galaxy S 4 Mini Android Development] ne0zone75:
Your device should be a DS (dual sim) variant AKA GT-I9192. Use any of my packages made for it.

Have a nice day

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] CyberCaptainKaz:
Thanks bro :)
[Galaxy S 4 Mini Android Development] Tanzim Abir:
Hi! I've been using the latest build for this particular device.

I am running CM13 unofficial builds from k2wl/Csendre.

The thing that I noticed Is that booting into recovery takes a LOT of time sometimes even 2:30 minutes! Is this normal?

Thanks for all your efforts. :D

TIA
[Galaxy S 4 Mini Android Development] KevinX8:
Yes if you have adopted storage, decryption is very slow in twrp
[Galaxy S 4 Mini Android Development] Tanzim Abir:
Yes! I do have adopted storage. It's a non-brand (Brand: Symphony) 32GB class 10 card. And I'm willing to upgrade to a Samsung EVO+ 64/128GB model. Is it worth it? And will my loading times go up?

Also, is there any chance that in any future release, these loading times are going to be reduced? Thanks a lot!
[Galaxy S 4 Mini Android Development] KevinX8:
No loading times will pretty much stay the same no matter what sd you use maybe +- a couple seconds but not worth paying for. You can always switch to apps2sd if you find the loading times to be unbearable. For me anyway I only use the recovery every few days so an extra 2 minutes for adopted storage doesn't bug me at all
[Galaxy S 4 Mini Android Development] Tanzim Abir:
Thanks for the suggestion :D
[Galaxy S 4 Mini Android Development] Migual12:
Meanwhile I flashed everything again (cm-13.0-20160708-NIGHTLY-serranoltexx and open_gapps-arm-6.0-nano-20160709 ) without SD, put in a new micro SD and put it as internal memory and copied back all data by USB with PC. Than I updated to cm-13.0-20160712-NIGHTLY-serranoltexx and the S4mini started without problems. Than I wanted to start TWRP to check if CM13 does a backup of the system. Unfortunately I pressed Vol Down instead if Vol Up and the Stock Rom download page appeared. I selected reboot without going into download mode. After start, I got again the error message Process system isn't responding. Do you want to close it? WAIT OK. Can someone help what to do? In case the cause is the stock rom download page how can one prevent this if someone presses the wrong button by accident? Thanks

Additional info: After the Stock Rom download page ans starting TWRP there was a starting page from TWRP with a red Warning and selection read only or read. I selected read only and Swiped. Then the usual starting page of TWRP appeared.
[Galaxy S 4 Mini Android Development] ne0zone75:
I think that you can forget the download mode prompt as a cause to your issue.

AFAIK the TWRP RO/RW prompt is displayed when the ROM installed on your device is stock.

What you can do next is (assuming that you backed up everything that you do not want to loose) :

-> format /data from TWRP and reboot back into your recovery...

-> wipe /system + /data + /cache + dalvik cache from TWRP and use default filesystem types for your device's partitions...

-> flash the most up to date CM13 installer for your S4 mini WITHOUT flashing any GAPPs package from TWRP...

-> boot into CM13 and check if you are still getting FCs : if it is the case you should report this to the CM13 thread for GT-I9195 and if it is not the case then boot back into TWRP and flash the GAPPs package of your choice then boot back into Android...

-> if you are beginning to get FCs just after having installed your GAPPs package then report this back to the corresponding thread...

-> if everything runs fine at this point (NO BACKUP RESTORED AT ALL) then maybe that your issue is caused by something bad in your backed up data... you will have to restore your APPs and their data STEP by STEP in order to know which one is bad... (how do you back up your APPs and their data BTW ?)

Good luck

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Luz #Rafa:
Hello everybody.

If someone sends me a backup of the original ROM , I can restore my phone to the original rom ?

I can not go back to Stock ROM.

I use the CM 11 .

And odin does not work .. It seems that something does not pass files via odin, only recovery .

Please help me! :crying:

My Device : Samsung Galaxy S4 mini GT-i9195 LTE
[Galaxy S 4 Mini Android Development] ne0zone75:
If you want to install the latest SAMSUNG FW back to your device, then check SAMMOBILE website. You will have to create an account to be able to download it.

You will have also to choose the correct country and provider from which you bought your S4 mini (if any) in order to download the right file (which is Odin ready).

Good luck

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Luz #Rafa:
Friend does not work , unfortunately.

I've tried everything .

I never had this kind of problem . Simply nothing works in my ODIN ...

So I thought I'd take the backup of another person and go on my way TWRP .

Searching the internet and asking for help on facebook groups ( android ) , one person is helping me and said that after all the attempts I have done, for me to try other windows .

I use Windows 7 Ultimate 64-bit , but always used this Windows and never had any problems.
[Galaxy S 4 Mini Android Development] Migual12:
Thank you for your help. I will follow your instructions asap. It is the S4 mini of my daughter and I need to wait a bit.

How can I choose default filesystem types during wipe? I think I can only choose what to wipe in the advanced wipe options.

You asked how I did backups: I copied all folders (or the complete SD card) were I found media files (pictures, sound data, mp3...) per USB to the computer. Did WhatsApp Backup to SD and via Gmail account, did synchronize the app data, calender, addresses etc. via Gmail account. In fact I am not very systematic in that and sometimes lost data. I would appreciate tips how to systematically backup data. A complete backup with TWRP does not really help as I cannot extract the important data. Thank you for your help. :good:
[Galaxy S 4 Mini Android Development] ne0zone75:
If you never changed the filesystem type of your device's partitions, then it is default.

Try to back up your APPs and their data with Titanium Backup for example. It is a great APP which is widely used and it allows you to restore each APP with or without its data individually.

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
I am afraid to not understand what you want to do...

Anyway, if Odin is failing and if it was working previously on your computer, you can try to :

-> disable temporarily your antivirus protection

-> plug your S4 mini on a USB 2 port which is connected directly to the motherboard of your PC (do not use a USB hub).

Good luck

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Migual12:
Thank you. I will try titanium, hope it is possible to store the backup on the PC. Is there a possibility that I have a virus in the app data and would it be possible to check the backup data on the PC with Anti Virus software able to detect Android viruses?
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes ! You can store your TB backups wherever you want and No ! You will not be able to scan for viruses over your S4 mini data by using the AV software of your PC. Your computer and your smartphone have different architecture : x86 vs. ARM !

Now let me say for everyone that this thread is dedicated to TWRP for S4 mini : please be kind to check if your next message will not be off topic before posting it.

Thanks

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Migual12:
Sorry, I will try to put my questions only in the concerning thread. Assuming this is the right thread: I never changed the file system by TWRP but changed the SD card to internal memory. This means that the file system is reformatted and encrypted by CM13. Could this be the reason for the "system" error and conflicts with TWRP? Would it than be necessary to change it again with TWRP. Could I just flash TWRP with Heimdall again to see if it helps without loosing data?

Thank you also for hints if I address questions to the wrong thread, I try to learn
[Galaxy S 4 Mini Android Development] ne0zone75:
I am sorry but i have no experience at all with adopted storage. Maybe someone else will have an idea about it being or not being involved in your FCs issue.

Meanwhile you can try what i suggested to you a few posts ago in order find out what is going wrong.

Good luck

Tapatalked from my SM-G903F