yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] ne0zone75:
Good afternoon,

Full crypto. support has already been reported as working with current builds. AFAIK encrypted custom ROMs are properly handled by my latest packages, and on the other hand it seems that it is not the case with encrypted stock ROMs.

I will take this into consideration with upcoming updates.

Thanks for reporting back.

BTW i do remind you that it is mandatory ATM to disable TWRP brightness control in order to avoid kernel panic of the recovery...

Kind regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] Morthawt:
For some reason this latest version cannot mount my encrypted data directory. It does not even ask me for the password. It did, however, allow me to install supersu and root my phone, which is good.

Am I missing some step or something, in order to get encrypted data access? I wiped my phone and flashed the latest firmware, from May or something. Not sure if there will be any future updates on this S4 mini to mitigate the stagefright issues, but that's another story.

How can I get access to my encrypted data?
[Galaxy S 4 Mini Android Development] RuffBuster:
I've tried encrypted stock ROM and CM11 with this recovery. Think it was mentioned earlier in the thread that encrypted stock ROMs don't seem to work with this recovery. Super SU will install because the system partition is not encrypted so accessible from recovery.

I've tried CM11 and that works fine with this recovery when encrypted.

Make sure to decrypt your phone before flashing new firmware just to be safe. Else if you wipe the encryption key by mistake you will lose access to your data forever.

Just to note only stock let's you encrypt your external sd card.
[Galaxy S 4 Mini Android Development] smartxdev:
Hey, [MENTION=876872]neozone[/MENTION]

Just updated to CM12.1 (clean install after full reformat).

If I try to encrypt, the phone will hang for few seconds, and then just reboot back to system (unencrypted).

Googling through forums, people had very similar issues caused by certain TWRP builds unable to encrypt.

I used the latest build of your recovery with encrypted CM11 (the encryption was originally done with your TWRP 2.6.xxx). Now I formatted everything and installed clean CM12.1 (stable), but unfortunately I can't enable encryption now.

Can you have a look at it [MENTION=876872]neozone[/MENTION]? Maybe some flags got messed up? I also noticed that L also support using "pattern lock" to encrypt (was not possible before), so there has been changes on android's side regarding encryption. I tried with both PIN an pattern though - all behave the same.

Thanks!
[Galaxy S 4 Mini Android Development] ne0zone75:
Hi and thanks for your feedback,

As you certainly have already noticed, i am quite away from xda these days.

Nevertheless i am still planning to offer upcoming TWRP major updates for all S4 mini variants and i will take care of your LP encrypting issue while compiling new builds.

Thank you for your patience,

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] smartxdev:
Understandable, we all have other stuff to do ;)

Thanks for your (future) time anyways! :good:
[Galaxy S 4 Mini Android Development] LaShto34:
Thank you for this recovery. I have an i9195 phone with cm 12.1 official installed. Is there any chance to help me how to backup my sd-ext partition. Which by the way works great with link2sd and it's formated ext4. When I make a backup using twrp 2.8.7.0 it is just ignored.

Thanks in advance for any answer.
[Galaxy S 4 Mini Android Development] jimbomodder:
Ext sd cards cannot be backup as it could lead to very large backups.
[Galaxy S 4 Mini Android Development] LaShto34:
I said sd-ext - the partition used with link2sd, not the whole external sd-card.
[Galaxy S 4 Mini Android Development] jimbomodder:
O sorry lol. No unfortunately not
[Galaxy S 4 Mini Android Development] LaShto34:
Thanks. It appears that none of the recoveries (TWRP, CWM, Philz) do not do that.

That's sad.
[Galaxy S 4 Mini Android Development] wartomato:
Hi,

just a little question to [MENTION=5280400]ne0zone75[/MENTION]: Any Chance in getting a "beta" Version of TWRP based on the OmniROM sources for 6.0 in the near future?
[Galaxy S 4 Mini Android Development] ne0zone75:
Hello,

I think that i will have some time to spend for my xda projects during the first months of 2016. The problem is that android stuff is moving really fast and i am away from it since months now...

Once an updated TWRP version will be out (source code), i will try to update my packages quickly...

Anyway and AFAIK there is no marshmallow based custom ROM available for S4 mini yet, isn't it ?

Greetings

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] zlazaar:
AICP's devs have already begun to deploy nightlies.
[Galaxy S 4 Mini Android Development] ne0zone75:
... OK and have you already tried to flash it using one of my current TWRP packages ?

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] jimbomodder:
My son uses my old S4 mini running AICP11 ( CM13). Runs great for him and he's using your latest TWRP.

A500FU using AICP
[Galaxy S 4 Mini Android Development] zlazaar:
Yes Sir, already flashed two builds successfully using your TWRP v2.8.7.0
[Galaxy S 4 Mini Android Development] wartomato:
I'm flashing flashing [MENTION=3860593]semdoc[/MENTION] 's unofficial nightlies of AICP11 for two weeks with your 2.8.7.0 Version. Everything is fine so far.

Only minor issue is that I cannot Access the extSDcard, because I (mistakinly) converted it to internal storage using this new feature of MM.

It works omehow, because TWRP recognizes only the "real" internal Memory and not the external. So copying files for flashing to the internal storage works...

Any other probs like OTG are kernel based, as far as i know, and the kernel used in AICP is CM stock.
[Galaxy S 4 Mini Android Development] aceclift:
can you link me the rom please, I would like to use it but cannot find it
[Galaxy S 4 Mini Android Development] WaKaManG:
I have same issue after converting extSDcard to internal storage. TWRP file manager shows /extSDcard as empty.

After making a nandroid backup (on external storage) i see the backup folder with contents, but in MM i can't.
[Galaxy S 4 Mini Android Development] wartomato:
There you go: https://basketbuild.com/devs/semdoc/AicpMM/serrano

---------- Post added at 08:58 ---------- Previous post was at 08:47 ----------

Sooo... MM finds my files to flash (and I can copy from & to) using a file manager and the path "/data/media/0/" from the root path of the system.

But it is true, that the TWRP does not find any "external" storage that has been converted. So everything backed up in TWRP will be only on the internal storage (the "real" one) and it is quite small...

My current workaround for that is: Backup in TWRP or on MM, connect to PC, copy to PC, boot the desired storage (boot in recovery or just boot) and copy the backup to where you want it.

These issues where the reason for my first posts: I wanted to know, if we might get a TWRP that can deal with this SDcard prob...
[Galaxy S 4 Mini Android Development] WaKaManG:
Ill try ur solution next time. For now i formatted my sdcard as normal storage again. Im sure the devs will tackle this problem soon.

I noticed that copying files in MM and creating nandroid backup in TWRP was much faster when the sdcard was formatted as internal storage.

Being a flash-a-holic is a pain in the ass sometimes :)
[Galaxy S 4 Mini Android Development] smartxdev:
Hi, thanks again for your time maintaining TWRP for our devices :)

I just want to point out few important points:

The mentioned MM's "storage merging" feature (dev. info) seem very promising for devices like S4 Mini that have a (very!) limited internal memory size.

I think it is important to have a close look at it and any potential caveats. Especially to have a good look on encryption options, and make encryption usable again. (best case - being able to encrypt the merged storage and then unlock it in TWRP, allowing backups, etc.)
[Galaxy S 4 Mini Android Development] Zakariasz:
Guys does it support S4 mini I9195I or not yet ?
[Galaxy S 4 Mini Android Development] arsm74:
TWRP 2.8.7.2

[MENTION=5280400]ne0zone75[/MENTION] ..any plans to upgrade this version to 2.8.7.2 in 2016?
[Galaxy S 4 Mini Android Development] _cosi_:
According to this article: (http://www.droidviews.com/twrp-2-8-7-2-on-nexus-6p-now-supports-decryption-guide/) version 2.8.7.2 supports decryption and F2FS that is required to mount the adopted storage on the external SD card.
[Galaxy S 4 Mini Android Development] jimbomodder:
I got 2.8.7.0 on my a5, runs fine after I formatted as removable storage on 6.0.0. now I can switch between 5.1.1-6.0.1 without issue

Sent from my SM-A500FU
[Galaxy S 4 Mini Android Development] ne0zone75:
First of all, let me wish you all a happy new year.

Now and according to android-6.0 branch of omnirom source code which is available on GitHub : latest code is still 2.8.7.0; higher minor versions are device specific like it the case for hammerhead for example because latest official build is 2.8.7.1.

I will offer TWRP updates for S4 mini again when a new version of TWRP code will be officially out and i will take all reported bugs of my current packages into consideration while building updated images (crypto. issues, etc...).

All the best.
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=5280400]ne0zone75[/MENTION]..thanks for the detailed update...will be waiting for it.....Happy new year to you too.....
[Galaxy S 4 Mini Android Development] hollandais:
Aussi une bonne année 2016 a toi, Parisien 75.

Happy new year to you, Parisien.

Thanks,

Envoyé de mon GT-P5110 en utilisant Tapatalk
[Galaxy S 4 Mini Android Development] ne0zone75:
Merci :)

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] semdoc:
Hi :)

Actually; you can check here: https://github.com/mdmower/twrp/commits/cm-13.0

This is fork of omni repo's... + fixes for CM13.. Products can be used on all CM based, also on all other ROM's I guess..

Fixes are done by [MENTION=4258433]mdmower[/MENTION] & [MENTION=2385005]invisiblek[/MENTION] - well known CM maintainers..

I built TWRP based on this source and I'm running these on my deb & shamu...

But we need f2fs TWRP for serrano's.. serrano supports oficially F2FS (CM-13.0)

Maybe you can help us?

Kind Regards,

doc
[Galaxy S 4 Mini Android Development] John_Edward:
TWRP 2.8.7.0 doesn't really seem to work with the new "SDcard as internal storage" stuff that comes with MM.

I'm left with only seeing the old internal memory with only a "TWRP" folder in it, with around 3GB of space free.

MicroSD Card shows 0MB and cannot be used. Can't find the files with the file manager either.
[Galaxy S 4 Mini Android Development] wartomato:
That is a known issue with MM. So as stated many times before: do not concert the SD card when the system offers it...
[Galaxy S 4 Mini Android Development] tioguda:
Did the sdcard test as internal memory, the problem is only that we can not have access to store files, photos etc ...

Look at the screenshot after converting SD card to internal memory, it was his location.
[Galaxy S 4 Mini Android Development] RomanSkyline:
Hi, I see that when the screen turns off if I touch the screen it turns on, this not possible to implement in a kernel for the feature doubletap2wake?

Enviado desde mi GT-I9195 mediante Tapatalk
[Galaxy S 4 Mini Android Development] Ryu--X:
TWRP 3.0.0-0 Released ?!! :eek:
[Galaxy S 4 Mini Android Development] niklus101:
i hope we get the update :fingers-crossed:
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes ! TWRP v3.0.0.0 is out :)

I will offer updated builds soon :p

Stay tuned

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] csendre:
This will be awesome, from what I read, version 3 can read the SD card formatted as internal in MM
[Galaxy S 4 Mini Android Development] ne0zone75:
TWRP v3.0.0-0 TRYOUTS for S4 mini are now out !

Good afternoon,

You will find updated builds to latest TWRP for S4 mini below (v3.0.0-0) : they are TRYOUTS ! They will maybe not boot because i tried to restore the brightness control feature which was causing a kernel panic. Anyway new builds are compiling ATM without it and they should be OK...

3G | DS | LTE <=

with brightness control feature

: UPDATED AND NEEDING FEEDBACK !

3G | DS | LTE <=

without brightness control feature

: ALREADY REPORTED AS WORKING BUT STILL 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 booting, then simply flash back previous version (v2.8.7.0) through Odin. Thank you !
[Galaxy S 4 Mini Android Development] jimbomodder:
i dont have my lte anymore as i gave it my son so will try it out later and report
[Galaxy S 4 Mini Android Development] mfPPC:
It doesn't boot to recovery. Tried the LTE version.
[Galaxy S 4 Mini Android Development] ne0zone75:
Thanks for your feedback :).

Post #733 has just been updated. You will find builds without brightness control feature and they should be working as intended ;).

Kind regards
[Galaxy S 4 Mini Android Development] Whitest:
Tried LTE version, without bightness control, working fine here! :) Seems first boot takes a bit on TWRP curtain, so don't panic ;) Adopted storage recognized :highfive:
[Galaxy S 4 Mini Android Development] ne0zone75:
Thanks for reporting back :good: :).

Can you post some screenshots if you do have some time ? Thank you !
[Galaxy S 4 Mini Android Development] niklus101:
just tested the updated version on my i9192 (duos) works great. tip. just swipe to grant twrp access to the system partition. mine did not hang at boot as reported before.
[Galaxy S 4 Mini Android Development] mfPPC:
I'm on CM13 giving TWRP access to system will not cause any problems on updating to the next nightly or so?
[Galaxy S 4 Mini Android Development] niklus101:
i'm on cm13 (unofficial) so idk about the nightlies, but it should not cause any problems.
[Galaxy S 4 Mini Android Development] arsm74:
installed on my i9192 and works well...thanks [MENTION=5280400]ne0zone75[/MENTION].
[Galaxy S 4 Mini Android Development] Whitest:
Here come the screenshots:
[Galaxy S 4 Mini Android Development] ne0zone75:
Post #1 has just been updated ! TRYOUT section is now redirecting to post #733. Once some more feedback will done to these v3.0.0-0 TRYOUTS and when my updated v3.0.0-0 packages could be flagged as STABLE, i will update opening post again accordingly (and also add Odin ready files...) :good:

Can some of you post some screenshots of latest builds ? Thanks
[Galaxy S 4 Mini Android Development] ne0zone75:
Allright !

Thanks for this :good: I will update again post #1 with them :).

Greetings
[Galaxy S 4 Mini Android Development] csendre:
I can also confirm, it works well on the 9192 and worls with 128GB SD just like before.
[Galaxy S 4 Mini Android Development] 1of16:
seems to work with my i9192 and i9195.

tested backup and install a rom update...

thank you!
[Galaxy S 4 Mini Android Development] tchavei:
Working fine here. I don't use internal sd feature but it boots just fine. Thank you.

Enviado do meu GT-I9195 através de Tapatalk
[Galaxy S 4 Mini Android Development] jimbomodder:
tried on my sons i9195, flashed via flashify and caused infinite recovery loop. flashed a prev tar via odin to fix
[Galaxy S 4 Mini Android Development] piskor:
Flashed .zip file on my i9195 from inside previous ne0zone75 TWRP version. Works fine
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening,

Which package did you flash through Flashify ? With or without brightness control ? (post #733) The second one has already been reported as working for your S4 mini variant. Anyway, if you flashed this version, Flashify flash process is maybe involved...

As you already flashed back a previously working TWRP version, what you can try next is also to flash again a TRYOUT from post #733 (with brightness control disabled) directly from recovery.

Let me know if you need further assistance...

Thanks for testing new build out and for reporting back :good:.

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] jimbomodder:
was 1st package with brightness control. will flash second :D
[Galaxy S 4 Mini Android Development] ne0zone75:
OK ;).
[Galaxy S 4 Mini Android Development] Andi46:
Hi,

my device is the LTE variant GT-I9195 and I'm using the internal sd feature. Flashed the second one with Flashify because in TWRP 2.8.7.0 I didn't get access to the folder where I stored the .zip file. 1st recovery boot took a while.... Everything is working fine now with cm13. Thanks a lot 4 ur work,even sundays - TOP! :good:;)
[Galaxy S 4 Mini Android Development] sasank360:
Welcome back [MENTION=5280400]ne0zone75[/MENTION] :D

Flashed latest tryout zip on my I9195.

Recovery boots fine. Made a nandroid backup of aicp mm rom.

Then wiped data,cache,system and dalvik. Wiping works.

Later restored the nandroid. No issues. Back on aicp mm.

Flashing works, i flashed latest supersu zip.

Great work. Thanks. :cowboy: :good:
[Galaxy S 4 Mini Android Development] tioguda:
A big thank you for your hard work and effort by providing us be with the recovery always updated, despite not having the device.

Working perfectly, thanks for the translation option, there were no problems in converting memories, working of First.

file transferring running after conversion memories (in v2.8.7.0 there were many errors).
[Galaxy S 4 Mini Android Development] umuturunc:
How did you get screenshots in recovery mode

GT-I9190 cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy S 4 Mini Android Development] Trafalgar Square:
Volume down+ Power
[Galaxy S 4 Mini Android Development] artu72:
Nice work. Just a curiosity, why TWRP on S4 mini is not official? If it is a matter of some missing resource, I would like to contribuite. I am an experienced linux user, even if I have never built anything related to Android platform. I have some curiosity and interest to start, however...

---------- Post added at 03:42 PM ---------- Previous post was at 03:09 PM ----------

Installed working version (no brightness control) and is working fine: CM updates, access to adoptable storage, and backups. Thank you!
[Galaxy S 4 Mini Android Development] ne0zone75:
Hi,

The answer is simple about S4 mini official support : Team Win team is limited in human resources like any other team because there are too many android devices available and also because it is not possible to buy every smartphone for any DEV team (in order to test new builds before releasing them...).

FYI i submitted my working S4 mini TWRP sources tree to official team some time ago and i never got an answer about it...

Finally i'm happy that you are satisfied with my latest packages.

Greetings

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] niklus101:
that's weird, they're asking for contributors and they won't reply :confused:
[Galaxy S 4 Mini Android Development] jimbomodder:
2nd works a treat, thanks pal
[Galaxy S 4 Mini Android Development] Breathewave:
The one w/o brightness control works great on my GT-I9192 :)
[Galaxy S 4 Mini Android Development] tioguda:
I want to once again give a great big thank you, with this release the cartãoSD continues as internal memory even after changing ROM or do a clean install (without clearing the internal storage).
[Galaxy S 4 Mini Android Development] Anwar105:
I have cwm 6.0.51 installed. Do I just need to flash this zip via recovery ?
[Galaxy S 4 Mini Android Development] Breathewave:
Yes, no matter which ROM you currently use.
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes ! It should work with regular CWM. If it is not the case, then use an Odin ready file of current STABLE branch (TWRP v2.8.7.0) and finally flash latest TRYOUT from inside it.

Regards

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] Anwar105:
I m stuck in recovery.IMG in Odin (2.8.7.0) Odin way..
[Galaxy S 4 Mini Android Development] tioguda:
The file for Odin is recovery.tar.md5, download the version for use in Odin
[Galaxy S 4 Mini Android Development] DarkFrenzy:
How much disk space is needed to build twrp?
[Galaxy S 4 Mini Android Development] arco68:
What path are you using to the brightness node? If using the following, it should simply work.

/sys/class/leds/lcd-backlight/brightness
[Galaxy S 4 Mini Android Development] ne0zone75:
Well, it depends because you can use OmniROM ROM tree for example (it is my case and needed storage size is about several GB...) but you can also use sources trees dedicated for TWRP building (needed storage size is smaller, nevertheless i never used such one).

Regards

Thanks for the tip [MENTION=3044346]arco68[/MENTION]. I will check the one i tried to use without any success. If i do remember correctly it was not the one you have suggested above. Then, maybe it will work with it.

Greetings

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] ne0zone75:
I am wondering if any of you has experienced any bug so far with latest TRYOUT ?

Thanks for reporting them back if any :good:.

I will maybe flag it as STABLE at the end of this week and of course i will rebuild a new set of TRYOUTS on the same basis as current one before then by including [MENTION=3044346]arco68[/MENTION] suggestion about brightness path.

Stay tuned

Tapatalked from my SM-G903F
[Galaxy S 4 Mini Android Development] tioguda:
Upon entering the recovery and restart by the "system" rather than restart when just installed a file, it shows that the device has no operating system installed even if you have, the only detail that I noticed so far.
[Galaxy S 4 Mini Android Development] ericlnu:
Works flawlessly, thank you. The no brightness version. However, I saw something in the settings about the brightness. I assume it's disabled and is a NO-OP?

Edit: silly auto-complete errors.

Edit: my procedure was simply: install via the 2.8.70 TWRP; reboot to system as suggested; reboot to recovery; give permissions; muck around a bit - the terminal works really good now, yay - reboot to edit this post.

Awesome stuff everyone involved, thank you again :).
[Galaxy S 4 Mini Android Development] ne0zone75:
When i use your suggested path, then i get a compilation error :

target thumb C: libminui <= bootable/recovery/minui.old/graphics_overlay.c
target thumb C: libminui <= bootable/recovery/minui.old/events.c
arm-linux-androideabi-gcc: error: ": No such file or directory
make: *** [/mnt/IHDD/DEV/Android/5.0/TWRP/sources/OmniROM/out/target/product/serrano3gxx/obj/STATIC_LIBRARIES/libminui_intermediates/graphics_overlay.o] Erreur 1
make: *** Attente des tâches non terminées....
arm-linux-androideabi-gcc: error: ": No such file or directory
make: *** [/mnt/IHDD/DEV/Android/5.0/TWRP/sources/OmniROM/out/target/product/serrano3gxx/obj/STATIC_LIBRARIES/libminui_intermediates/events.o] Erreur 1

If i use this path : /sys/devices/platform/mipi_samsung_oled.1281/lcd/panel/backlight, then i do not get any compilation error but recovery is bootlooping.

Regards
[Galaxy S 4 Mini Android Development] lars85destroyer:
[MENTION=5280400]ne0zone75[/MENTION]

Are these tryouts twrp f2fs compatible ? Thanks
[Galaxy S 4 Mini Android Development] niklus101:
yes they are. my /data and /cache is f2fs
[Galaxy S 4 Mini Android Development] ne0zone75:
Binaries needed to handle F2FS partitions are included into them, like basic kernel F2FS features. Yes ! It should be OK...

Let me know if it is working, thank you !
[Galaxy S 4 Mini Android Development] ne0zone75:
OK ! Thanks for the feedback :good: !
[Galaxy S 4 Mini Android Development] vbShellX:
thanks, so i need a cwm-recovery flashable zip ?

tried new rom but twrp is still there.