yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] luisbraz:
But 20% just to flash the recovery?!! Anyway, I've flashed twrp from op using the latest know cwm based recovery (6.0.1.5, I guess).
[Galaxy S 4 Mini Android Development] jimbomodder:
I binned cwm years ago. Tried again this morning, made a backup which cannot be compressed nor restored so back to twrp. Also can't find gapps in cwm recovery.

Sent from my GT-I9505
[Galaxy S 4 Mini Android Development] bakers:
That's propably a silly question, but how do I know whether I have the LTE or 3G variant of the S4 mini?
[Galaxy S 4 Mini Android Development] holymoz:
The code of the phone

I9190 = 3g

I9195 =lte
[Galaxy S 4 Mini Android Development] ahmedghazi:
Thank you very much. You fix my all problems.
[Galaxy S 4 Mini Android Development] KevinX8:
The recovery seems to be quite finicky with every third boot failing to mount adopted storage. Have no idea why this is happening but it is most prominent when I use open recovery scripts with at about double frequency falling to mount adopted storage
[Galaxy S 4 Mini Android Development] flipeicl:
Unhappilly I couldn't paste it on pastebin or hastebin, so I upload the recovery.log file to tinyupload, it has 7MB.

http://s000.tinyupload.com/index.php?file_id=17280432486289997252
[Galaxy S 4 Mini Android Development] ne0zone75:
OK, i got the file :) !

I will keep you informed about it...,

Regards
[Galaxy S 4 Mini Android Development] sboida1:
[MENTION=5280400]ne0zone75[/MENTION] thank you bro, works perfectly on my GT-I9195, no errors whatsoever
[Galaxy S 4 Mini Android Development] jake3317:
Is it possible that the phone won't boot when the phone is charging? I used to have that with TWRP 2.8.6, but now experience the same with the 3.0.0 version. While charging from an empty battery, the phone is turned on. The Samsung logo appears for a second, then the phone turns off again and continues charging. I have to unplug the phone until the ROM bootloading image appears, before plugging the cable back in.
[Galaxy S 4 Mini Android Development] jimbomodder:
My son's having the exact same issue. Thought it was another cause but seems it's recovery based. Only the battery loads on display.

Sent from my GT-I9505
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening,

And what if...

-> Phone turned OFF

-> Press PWR button once in order to display the battery charging logo.

-> Press PWR again while battery logo is displayed until the device vibrates.

It should boot the ROM without displugging the smartphone from AC...

Just let me know if this is working...
[Galaxy S 4 Mini Android Development] jimbomodder:
No still boots to battery logo. I've currently reflashed 2.8.7.0 and it's sorted now. Still no brightness control but o well lol

Sent from my GT-I9505
[Galaxy S 4 Mini Android Development] jake3317:
This is what I see:

1x PWR: a very simplistic all white battery symbol is shown, filled white with the percentage charged

while battery visible, PWR Hold

white battery disappears after 1sec

3-4 seconds nothing (PWR still hold)

Samsung logo flashes up while phone vibrates (let go of PWR)

In a split second the logo is gone

2 sec later the phone vibrates again

A more fancy 3D shape battery is shown (empty looking)

2 sec later the simplistic battery icon is shown with the actual charge percentage (like in first step)

Working option

1x PWR: a very simplistic all white battery symbol is shown, filled white with the percentage charged

while battery visible, PWR Hold

white battery disappears after 1sec

Let go of PWR right after disappearing of battery symbol

Phone vibrates, shows Samsung logo and boots
[Galaxy S 4 Mini Android Development] der-domi:
Hi! Flashed LTE version with brightness control using Heimdall successfully!

THANKS!
[Galaxy S 4 Mini Android Development] syednawaz:
thank you i updated the old twrp to this new version. Its cool and working fine.
[Galaxy S 4 Mini Android Development] bobo1704:
TWRP 3.0.0.2 realeased with some new features... Will you compile it for out devices bro?

Thanks a lot for your work!!
[Galaxy S 4 Mini Android Development] ne0zone75:
Thank you ! But according to this web page, you can see that there is no new official upstream version of TWRP... Nevertheless, new commits have been merged since v3.0.0-0 and if any of you is experiencing any bug with my current packages which can be fixed by these commits, then i certainly will offer updates... otherwise i will likely wait a new TWRP upstream version bump to do so.

Thank you for your understanding
[Galaxy S 4 Mini Android Development] KevinX8:
Yeah I have said earlier that adopted storage tends to fail to mount and also boot time is extremely long for some reason too (about 3 minutes)
[Galaxy S 4 Mini Android Development] ne0zone75:
OK then, i will offer updated builds soon in order to see if it is better about it.

Greetings

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] jeri2016:
I have a GT-i9195 LTE (Swedish) and wonder what TWRP I should use? openrecovery-twrp-3.0.0-0-serranoltexx-STABLE.tar.md5.7z or openrecovery-twrp-3.0.0-0-serranoltexx-STABLE-signed.zip?
[Galaxy S 4 Mini Android Development] artu72:
tar.md5 is used if flashed by means of Odin

zip is used if flashed in the recovery
[Galaxy S 4 Mini Android Development] jeri2016:
Sorry to bother again....but should I unzip the 7z file so that I get the extracted "recovery.tar.md5", and then point Odin to that extracted file?
[Galaxy S 4 Mini Android Development] artu72:
Yes. [emoji1]

Inviato dal mio GT-I9195 utilizzando Tapatalk
[Galaxy S 4 Mini Android Development] jeri2016:
It went fine in Odin :) but.....the phone restarted so I shut it down. Then hold volume up, home button and power buttons simultaneously to boot into recovery mode.

But I'm back into Android original recovery mode?
[Galaxy S 4 Mini Android Development] artu72:
Follow carefully these steps (I assume you have latest Odin version for S4 mini):

1) Unzip Odin.zip

2) Open the 'Odin.exe' file

3) Install samsung drivers

4) Put phone in download mode by powering off and holding volume up + volume down while plugging the phone into the computer

5) You should now see the first square in Odin turn yellow and say "Ready"

6) Click on the pda tab in Odin and select the recovery.tar.md5 you downloaded

7) Click start and wait for your phone to reboot

8) Done!
[Galaxy S 4 Mini Android Development] jeri2016:
I used Odin 3.10.7 and it does not have a PDA tab, but four buttons called BL, AP, CP and CSC. I clicked AP and picked the recovery file and then Start. All seemed to go fine, and the phone rebooted. But then back to original recovery...will try again.
[Galaxy S 4 Mini Android Development] artu72:
Be sure that options "Re-partition" and "F. Reset Time" are disabled.

I use usually heimdall in Linux, so I am not experienced with Odin.
[Galaxy S 4 Mini Android Development] ne0zone75:
Hi,

If you got a green "success" flashing notification message in Odin after having used the "AP" flashing mode with correct flashing parameters AND if you are booting in the default recovery afterwards, then do it one more time BUT when the flashing process is done AND when your device vibrates just before rebooting THEN press and hold the VOL. UP button of your phone in order to boot straightly into recovery mode instead of booting into system.

Let me know if this helped.

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] jeri2016:
It worked if I immediately went in to recovery after Odin's reboot. If not booting to recovery after Odin, it seems TWRP is being overwritten.

I did a backup to my internal micro-sd card, using default options, System, Data & Boot. When I rebooted TWRP said my device was not rooted and made something for that, and also renamed stock recovery to have TWRP stay in the device. When rebooted I was asked to install SU Root and then had it rooted. Fine.

Two questions;

1. Now, if I install a custom ROM such as 5.1.1, and later want to go back to the Stock 4.4.2, do I need to first flash 4.4.2 and then make a restore from my backup, or will a restore include stock 4.4.2 together with all my personal data/apps etc?

2. Does anyone know where a a late made 5.1.1 for i9195 LTE is to find?
[Galaxy S 4 Mini Android Development] KevinX8:
Forget 5.1 go straight to 6.0 it works much better. If you do a full backup (system, boot, data) everything will work just fine just make sure to wipe cache and dalvik-cache before hand
[Galaxy S 4 Mini Android Development] ne0zone75:
TWRP v3.0.0-1

Good afternoon,

You will find updated builds to latest TWRP for S4 mini below (v3.0.0-1) : they are TRYOUTS ! Let's check out if adopted storage handling is working better now among few other things...

3G | DS | LTE <=

still with brightness control feature

: NEW AND NEEDING FEEDBACK !

Let me know how it goes with them...

PS : Files above are made to be flashed from current recovery. Flash at your own risk ! Once new files will be reported as working as they should, i will also add Odin ready packages. Please keep a copy of a STABLE Odin ready file for your device if you want to test above files out : if the updated recovery is not working as it should, then simply flash back previous version (v3.0.0-0) through Odin. Thank you !
[Galaxy S 4 Mini Android Development] redjamesg:
On I9195 LTE, it is working perfect.

Sideload, mounting Internal formated sdcard, no problems what so ever.

Flashed from twrp 3.0.0.0

Sendt fra min GT-I9195 med Tapatalk
[Galaxy S 4 Mini Android Development] mfPPC:
Didn't try any operation, just installed and booted into recovery, and it works... ;)
[Galaxy S 4 Mini Android Development] redjamesg:
Sendt fra min GT-I9195 med Tapatalk
[Galaxy S 4 Mini Android Development] KevinX8:
Can someone please confirm how long it takes to boot twrp with adopted storage?
[Galaxy S 4 Mini Android Development] ne0zone75:
Is it booting correctly each time now ?

Thanks

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] KevinX8:
I don't know the adopted storage failing to mount was completely random so will tell you if it fails in this version also my boot time is still some 2-3 minutes. Is this something to do with adopted storage because my phone almost boots to system faster
[Galaxy S 4 Mini Android Development] DerMoeJoe:
works like a charm in i9195 (y)
[Galaxy S 4 Mini Android Development] arsm74:
seems to work well on the i9192..have not finished doing ALL the functions but restoring a nandroid backup worked.

will update later when more functions are tested on the i9192.

edit:

All normal functions, like restore, backup and install work ok on i9192.
[Galaxy S 4 Mini Android Development] rionline:
Hui, windows defender is telling me that the 9195 odin 3.0 twrp package does contain a virus. Just wanted to mention.

Greetings
[Galaxy S 4 Mini Android Development] wartomato:
Oh, Windows defender detects something? (Sarcasm)
[Galaxy S 4 Mini Android Development] ne0zone75:
Well,

Once unzipped, an Odin ready file like mines is nothing more than a compressed recovery.img with md5 info. bundled into it. Furthermore, i do not have any computer running some MICROSOFT OS... i am running a 64 bits Linux OS... it would be very unlucky if a virus would have safely landed on any of my computers... Finally, some other free antivirus software are far better than MICROSOFT embedded one. It is likely a false positive...

Regards
[Galaxy S 4 Mini Android Development] kamikaze702k:
This TWRP recovery is not only amazing but also beautiful.

Thanks [MENTION=5280400]ne0zone75[/MENTION]
[Galaxy S 4 Mini Android Development] rionline:
hmm. i am active in a few other forums and do often download recoveries and roms. Never got a "false positive" before.

nevermind.

greetings
[Galaxy S 4 Mini Android Development] ne0zone75:
IMO it is likely a false positive because as i already said i am not using any MICROSOFT OS.

To be sure, i can eventually submit my files to some solid AV online scanner...

Thanks

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] KevinX8:
Obviously it's a false positive like in hell can "windows defender" mount an ext 4 partition disk and then scan the files for malicious code. All it is is meaningless garbage to an antivirus especially windows defender. Also I've had so many false positives with the few days I had windows defender enabled, every second file was apparently "dangerous"
[Galaxy S 4 Mini Android Development] rionline:
Just wanted to bring it up for users that are not as confident as you guys about this, so that you can ease of the fraidy-cats ;)
[Galaxy S 4 Mini Android Development] ne0zone75:
... and you were right to do so... just in case :good:! Now, to make things clear there is no risk about it for our S4 mini devices (ARM architecture) but a slight one for your computers if you are using a MICROSOFT OS... it would be interesting to know if any of you already got a similar issue and if so, thank you for reporting it back by mentioning your antivirus software name...

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] topocastor:
Doubt

This recovery will work with the Stock Rom without issues??
[Galaxy S 4 Mini Android Development] jimbomodder:
As long as your rooted yes

Sent from my GT-I9505
[Galaxy S 4 Mini Android Development] Thorn16:
Hello, I just tryed to flash the version 3.0, everything went fine but my recovery still show the old version number on the top even after a reboot. Anything I can do?

Thanks
[Galaxy S 4 Mini Android Development] KevinX8:
Try and wipe it first then flash it again.
[Galaxy S 4 Mini Android Development] ne0zone75:
Try what is explained here...

Let me know if it helped ;)

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] caueint:
Why can't I install GApps with this Recovery?

ERROR 10: Failed to set-up busybox
[Galaxy S 4 Mini Android Development] Thorn16:
Tryed it directly from the recovery on the phone and it worked, saw after that the files we need to flash from the computer isn't the same :P
[Galaxy S 4 Mini Android Development] ne0zone75:
OK ;)

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
It is weird because my TWRP packages do have full busybox support... what kind of GAPPS package are you trying to install ?

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Believe82:
Hi guys I just tried flashing through Odin and I get a pass and everything runs fine.

However I cannot enter recovery mode. Whenever I try I get the screen:

Could not do normal boot

ODIN MODE

Product name: GT-I9195I

Current Binary: Custom

System stauts: custom

Reactivation lock(KK): OFF

Knox waranty void: 0x1 (4)

Dualcom Secureboot: Enable (CSB)

RP SMREV: S1, T1, H1, R1, A1, P1

Secure Download: enable

and then I get this everytime I restart the phone.

Only way I can return to normal is by reflashing twrp but I never get to run recovery.

Any ideas?
[Galaxy S 4 Mini Android Development] ne0zone75:
When the phone starts to vibrate at the end of the Odin flashing procedure, press and hold the VOL. UP button of your device in order to reboot straightly into recovery (some variants requires that to install custom recovery properly).

Afterwards you should be able to enter recovery mode correctly.

Let me know if it worked...

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
DELETE
[Galaxy S 4 Mini Android Development] DonQuichotte:
Hello,

he simply has the wrong phone, take a look at Product Name.

bye DonQ
[Galaxy S 4 Mini Android Development] ne0zone75:
Hey ! Thanks ! You're right ! I will go buy me eyeglasses right away ;)

[MENTION=7353521]Believe82[/MENTION] : Your device is a S4 mini value edition and it has not the same hardware as regular S4 mini series. My packages will not work at all with it. I don't know if there are custom recoveries available for your smartphone BTW.

Greetings

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Believe82:
Well thank you for letting me know!

I am saddened to hear about that.

Thank you for your time!
[Galaxy S 4 Mini Android Development] arco68:
[MENTION=5280400]ne0zone75[/MENTION]

Can you make a new recovery build with a change to fstab, so encryption will work?

The length parameter needs to be added to the /data flags, like this:

wait,check,formattable,encryptable=footer,length=-16384

Without, after one format /data, encrypting the device will fail because there's no space for the key.
[Galaxy S 4 Mini Android Development] ne0zone75:
Good afternoon and thank you for giving me this info. :good: I will build new packages ASAP. If i do remember correctly and during KK time, this FS flag has been removed...

Is the 'formattable' flag has also to be somewhere else for another block device ?

Kind regards
[Galaxy S 4 Mini Android Development] Herr Harro:
Sorry for asking this again... :) still not sure after searching the thread. Does the stable version of 3.0 support f2fs? Or only the tryout version? Thanks!!
[Galaxy S 4 Mini Android Development] arco68:
Take a look at the latest fstab file here: https://github.com/CyanogenMod/android_device_samsung_serrano-common/blob/cm-13.0/rootdir/fstab.qcom
[Galaxy S 4 Mini Android Development] KevinX8:
TWRP 3.0 on all devices supports F2FS but make sure you ate either running a custom kernel or android 6.0
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes it does ;)

Cheers

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
OK i will ! Thanks again for letting me know about it :good:

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Herr Harro:
Thanks! :) the first post says that the stable version supports ext4 only. Wouldn't it be good to change that then? Or do I get it wrong?
[Galaxy S 4 Mini Android Development] ne0zone75:
Opening post is stating that my builds are supporting EXT4 + F2FS but crypto. support is limited to EXT4 ATM... :)

Have a nice day

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] KevinX8:
But android sdcard 6.0 encryption is f2fs and twrp 3.0 supports that
[Galaxy S 4 Mini Android Development] ne0zone75:
I was thinking about /data encryption which is limited to EXT4 in my packages ATM because it is declared that way in my 'BoardCommonConfig.mk'.

AFAIK it was not possible to make /data encryption working over F2FS because of the way 'makefs.f2fs' is formatting a partition (it does not let some free space at the end of it, so decryption key cannot be stored like for EXT4).

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
New TRYOUTS are ready for download (v3.0.0-1... again !)

Good afternoon,

Following [MENTION=3044346]arco68[/MENTION] information about making crypto. to work properly in my builds, i am offering new TRYOUTS builds now ;) !

3G | DS | LTE <= NEEDING FEEDBACK !

All new commits from OmniROM MM sources tree since my previous release have been included.

For those of you who are intested and using crypto., please try these out and report back :good:,

Thanks
[Galaxy S 4 Mini Android Development] arco68:
Thanks for the new recovery build. I've tested encryption, and it now works as it should. Notice though, that data might need to be formatted first, so it will make room for the encryption footer.
[Galaxy S 4 Mini Android Development] ne0zone75:
Allright, huge thanks to you again for helping me on this :good: !

My best regards
[Galaxy S 4 Mini Android Development] redjamesg:
Tested on I9195 LTE, everything is working as expected.
[Galaxy S 4 Mini Android Development] Whitest:
Tested latest LTE tryout build with a nightly update, all good & working nice here.

One question to those using adopted storage: does the recovery boot process also last very long for you? Dunno if it's just related to adopted storage but it boots to recovery in more than 90 seconds

sent from CM 13 on my S4 Mini using Tapatalk
[Galaxy S 4 Mini Android Development] ne0zone75:
Hi,

It seems that v3.0.0-1 TRYOUTS are working fine and i think that i will tag them as STABLE this weekend if no issue is reported back until then. OP download links will be updated and Odin ready packages will be added.

Greetings

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] redjamesg:
I see the same tendency, although I'm not sure if its related to adopted storage or TWRP-3, I decided to activate adoptive storage at the same time I went with TWRP-3 so not conclusive on what's causing it.

But I do know that on TWRP-3 it seems to take 2min for the recovery to boot.
[Galaxy S 4 Mini Android Development] Snofru1:
It is a little bit less than 60 seconds here without adopted storage (I measured the time from pressing restart to recovery from my homescreen until TWRP 3.0.0-1 started).
[Galaxy S 4 Mini Android Development] smartxdev:
Great news! I've been waiting quite a while for it (and just the perfect timing with CM13 stable releases)!

However, regarding arco68's reply: "... Notice though, that data might need to be formatted first, so it will make room for the encryption footer."

Is it Recovery build related, and we should wait for the updated builds for it to get "best stability" version? Or does he imply that we (users) should do a full wipe/format on our devices prior to enabling encryption with TWRP3/CM13?
[Galaxy S 4 Mini Android Development] szerwony:
Hi.

I have problem with flashing zip files with TWRP. I always get "Updater process ended with signal: 7 Error installing zip file ..."

I flashed CM and kernel few times, but now it stopped working. I tried flashing TWRP again but it didn't help.

EDIT

I booted to system then rebooted to recovery. Now TWRP is rebooting every time I try to flash zip.
[Galaxy S 4 Mini Android Development] ne0zone75:
Hello,

Please download and flash v3.0.0-1 Odin ready file for your S4 mini variant which is available from my AFH profile. I've not updated opening post yet but all my v3.0.0-1 packages are already available from this Web page. :good

Check out if this is better with it. If it's not the case, please reproduce the issue and once done, please try to save TWRP log file to your microSD card. Then, post it as an attachment to your reply to this message.

Good luck ;)

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] szerwony:
I managed to repair it by formatting my SD card, there were some problems with partitions, I don't know why.
[Galaxy S 4 Mini Android Development] VooDoo`:
Can TWRP v3 restore backups made with twrp 2.8.7.0 ?

Gesendet von meinem GT-I9195 mit Tapatalk
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes ! It does.

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
Opening post is updated !

I've just updated OP download links with STABLE v3.0.0-1. All previous files have been removed, except from project downloads tab, where you can still find v2.8.7.0 packages. v3.0.0-1 files have also been added to this tab.

Have a nice day !
[Galaxy S 4 Mini Android Development] masantula:
Quick question, i am on stock 4.4.4 ROM and want to flash cm 13, so can i just flash recovery using ODIN to get the custom recovery or do i need to do something before like root or any prerequisite? thanks
[Galaxy S 4 Mini Android Development] ne0zone75:
Absolutely ! First, flash one of my Odin ready package suitable for your variant and perform a full NANDROID backup from TWRP. Then, perform a full wipe not only a factory reset (/system + /data + /cache from advanced wipe menu) and once done flash your custom ROM installer + suitable GAPPs package (they can be in the same TWRP flashing queue).

That's it !

PS : download your stock FW in Odin ready flavor from SAMMOBILE before installing TWRP... just in case ;)
[Galaxy S 4 Mini Android Development] masantula:
Ahh perfect, i got you. Thank you!

Sorry for the NooB question but i haven't flashed using ODIN in awhile, do i need to extract the 7z file or there is no need?
[Galaxy S 4 Mini Android Development] glkanth77:
You have to extract the files first then flash it in odin
[Galaxy S 4 Mini Android Development] masantula:
Fantastic thank you for clarifying this.
[Galaxy S 4 Mini Android Development] KevinX8:
Yay twrp 3.0.1 has been released when should we expect the update?