yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] ne0zone75:
Very important announcement !

Good afternoon,

Today i am announcing that i am freezing again all my xda projects; i am really sad about it and i am feeling quite unlucky because after the data disaster that i did overcome, something really bad is happening to me : someone very close to me just get very badly sick ! So, i am absolutely not in mood to spend time for android anymore these days ! Futhermore i have a lot of work to do outside xda...

Nevertheless, i am not discontinuing all my my current xda projects yet ! I am slowing them down a lot that is all ! Updates will still come for each one !

-> TWRP for S4 mini and Transformer will get regular updates...

-> SlimKat for S4 mini and Transformer will get less frequent updates (maybe one in a month...) it will let me to have enough time to make things right !

Meanwhile, if any of you who is reading these lines would like to take ownership of my xda threads in order to go further with my work, then just PM me, just in case i would take the decision to definitely stop my work over xda !

Kind regards

PS : I will make a huge cleanup in each opening posts of all my current xda threads ASAP !
[Galaxy S 4 Mini Android Development] Ezylife:
While we all appreciate your time and effort real life comes first, do what you gotta do.

Good luck and I hope things go as well as they can.
[Galaxy S 4 Mini Android Development] impactor:
[MENTION=5280400]ne0zone75[/MENTION],

A technical question.

The recovery is quoted as supporting crypto. I assume this is regarding the standard android encryption. But Is there a way to mount a LUKS-ecnrypted partition (like an external SD card)?

Here is LUKS at PlayStore: https://play.google.com/store/apps/details?id=com.nemesis2.luksmanager&hl=en

And here's an init.d script to auto-mount such partition in a Android with LUKS installed:

#!/system/bin/sh

sync;
setprop lk.filesystem.ready 1;

mount -o rw,remount auto /
mkdir /mnt/sd-ext
echo ChangeMe | lm.cryptsetup luksOpen /dev/block/mmcblk1p2 sd-ext
mount -o rw,nosuid,nodev,noatime,nodiratime -t ext4 /dev/mapper/sd-ext /mnt/sd-ext/
ln -s /mnt/sd-ext /sd-ext
mount -o ro,remount auto /
[Galaxy S 4 Mini Android Development] smartxdev:
I'm deeply sorry to hear this... :(

I hope everything will turn out fine for you and your family/friend...

And the community here will handle you taking a break from android, after all it mostly "fun stuff".

The important thing is to take care of the people that you care about around you :good: .

Good luck!
[Galaxy S 4 Mini Android Development] semdoc:
For those who can't boot into recovery mode after flashing of flashable zips:

You can flash using a shell command as below (root access on the device is needed)

1. Extract recovery.img from flashable zip file then push this file to the root of your internal sdcard.

2. Run terminal shell, type su to gain the root access then type the command below:

dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p14

** Make sure you do not make any typos writting this command, because is an easy and fast way of briking your device !!!

Happy flashings...

[MENTION=1489189]dear[/MENTION] OP, hope that your friend/family member get well soon as possible and many thanx for sharing TWRP for us :)
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening,

I've just released an update of my SlimKAT port for GT-I9190 and GT-I9195 and i would like to know if there will be any audience for an update to my TWRP builds for S4 mini series... ?!

My sources tree is ready to build dedicated versions for each S4 mini variant : serrano3gxx/serranodsxx/serranoltexx...

All the best for 2015 :D
[Galaxy S 4 Mini Android Development] SilviuMik:
Welcome back. Of course ;)
[Galaxy S 4 Mini Android Development] ghuertasw:
Happy New year for you too!

Yes, of course! :thumbup:

Hope things got better :)

Enviado desde mi super i9190 usando F4K's Rom & kernel!
[Galaxy S 4 Mini Android Development] wolroc:
Would be absolutely welcome.

Thanks a lot in advance and Happy New Year 2015 also to you.
[Galaxy S 4 Mini Android Development] smartxdev:
Welcome back!!! And Happy New Year !!!

We are definitely up for the new versions of TWRP!

And especially with all the CM12 (LP) upgrades in the foreseeable future, having an up to date and working recovery is pretty crucial :)
[Galaxy S 4 Mini Android Development] thejester123:
Would love to see an lte updated twrp :cool:
[Galaxy S 4 Mini Android Development] Valittaja:
You just got one more person in your audience. ;)

Keep up the good work, whenever you feel like it,

Thank you.
[Galaxy S 4 Mini Android Development] koboltzz:
And one more for audience :)

Very nice work.
[Galaxy S 4 Mini Android Development] ne0zone75:
About my TWRP updates availability...

Good afternoon,

New files will be released for sure before the end of this month and maybe around next week-end ;)

Thank you for your interest in it !
[Galaxy S 4 Mini Android Development] DeusEx80:
Have you considered the problem identified by thomson.aa, with the commit https://gerrit.omnirom.org/#/c/8471/, that causes the recovery not booting bug on S4 Mini?

For more info, read here:

http://xdaforums.com/showthread.php?t=2972989
[Galaxy S 4 Mini Android Development] ne0zone75:
Absolutely, i already know what code to modify for it :good: (it was causing the recovery to not always boot correctly...)

Thanks to [MENTION=5739341]thomson.aa[/MENTION] for having found a workaround to this and to [MENTION=3261191]F4k[/MENTION] for letting me know the solution...

PS : the details are here ;)
[Galaxy S 4 Mini Android Development] DeusEx80:
Great news :)

I'm waiting for your new TWRP release!
[Galaxy S 4 Mini Android Development] pakster67:
Hi and thanks for your great job!

Just a note for you.

Modifying that code can cause the loss of ability to change the brightness.

What unfortunately happened on last F4k-s TWRP 2.8.1.0 F2FS MOD.
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening and thank you for making me aware of this :good:

Anyway and AFAIK, this fix is currently the only way to get up to date TWRP to property boot on S4 mini. (omnirom android-4.4 branch, android-5.0 branch is not working at this time...)

Greetings

Tapatalked from my XT1068
[Galaxy S 4 Mini Android Development] pakster67:
seems to be you are right (unfortunately ;))
[Galaxy S 4 Mini Android Development] koboltzz:
Just a question of interest: as far as I understand now, unofficial twrp 2.8.x.x for galaxy s4 mini is not able to flash cm12 (Android 5.0 branch).

Why is the old cwm able to do that?
[Galaxy S 4 Mini Android Development] thejester123:
I use twrp 2.8.1 and it flashes Android 5.0 with no issues
[Galaxy S 4 Mini Android Development] ne0zone75:
Good afternoon,

No ! There are two omnirom TWRP branches :

-> android-4.4 one is properly working on S4 mini when slightly altering its source code (like discussed previously, this fix seems to cause the inability to adjust recovery brightness) : its current version number is 2.8.1.0

-> android-5.0 one is not working on S4 mini so far : its current version number is 2.8.3.0

Any TWRP 2.8+ build should be able to flash lollipop based custom ROMs (regardless of its source code branch and target device, knowing that only kitkat one is OK for S4 mini).

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] impactor:
[MENTION=5280400]ne0zone75[/MENTION],

Would you consider adding an option to restore backups made by PhilZ recovery (especially those compressed with tar+gz)?

Forgive me if this option is already there, but I am not very familiar with this recovery yet.
[Galaxy S 4 Mini Android Development] ne0zone75:
AFAIK regular/PhilZ CWM recoveries backups are not compatible with TWRP...

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] impactor:
Yes, I am aware. This is why I ask if you could add this feature.

PhilZ offers backup and restore to TWRP format. I think it would be only beneficial to TWRP if you introduced the opposite feature, since Philz CWM is a very popular recovery and there are many backups that are in this format. Not to mention other popular tools like oNandroid, which does online nandroid backups in this classic format.
[Galaxy S 4 Mini Android Development] imarco2:
[RECOVERY][UNOFFICIAL][STABLE&DEV] TWRP [S4 mini] and theme materialised

I created a version of TWRP RECOVERY for samsung gt-i9195

*serranoltexx___en version 2.8.1.0 and 2.8.3.0 versions ..... and

themed materialised
[Galaxy S 4 Mini Android Development] ne0zone75:
What a way to let us all know about it !!! Nothing else to say ! :angel:
[Galaxy S 4 Mini Android Development] ne0zone75:
Good afternoon,

It is very interesting indeed but i must confess that adding such a feature to official TWRP source code is far away from my developing skills limit ATM, nevertheless it would certainly be a good idea to suggest adding such feature to it by PMing [MENTION=912474]Dees_Troy[/MENTION] who is one member of the TWRP coding team (lead)...

Greetings
[Galaxy S 4 Mini Android Development] ne0zone75:
TRYOUT : TWRP 2.8.1.0 for S4 mini series is released !

Good evening,

You will find download links below from AFH ! :good: (as usual, for each device there is a 7zipped file for use with Odin and a signed flashable zip file for use with your current recovery...)

Now a few explanations and one warning (which is coming first...) :

->

WARNING

: since S4 mini series is absolutely not comfortable with a specific TWRP commit about brightness control (identified by [MENTION=5739341]thomson.aa[/MENTION], thank you BTW ;)), i disabled it in this update but by another way that [MENTION=5739341]thomson.aa[/MENTION] did in his TWRP build for serranoltexx : the result should be the same => recovery will certainly properly boot BUT brightness control will be disabled sadly... because i used another workaround (thanks [MENTION=912474]Dees_Troy[/MENTION] !) for it, any feedback on this TRYOUT will be greatly appreciated !

->

kernel used in this update is latest CM-11.0 one for S4 mini series, officially featuring F2FS

! :good: Any feedback about F2FS features will also be welcome...

-> encryption is fully supported for /data BUT ONLY if, and ONLY IF EXT4 is used as filesystem for it !

GT-I9190 : Odin / Recovery

GT-I9195 : Odin / Recovery

NB

: both versions should be compatible with GT-I9192, nevertheless please do prefer a GT-I9190 one if you are interested in flashing this update on your serranodsxx ! (i have not built a dedicated GT-I9192 version, like i was about to, because this device is not officially supported by CM and also because [MENTION=3261191]F4k[/MENTION] is already offering one with his TWRP MOD...)

Happy flashing !
[Galaxy S 4 Mini Android Development] DeusEx80:
I flashed the i9195 version. All seems working very good :)
[Galaxy S 4 Mini Android Development] sasank360:
Thanks [MENTION=5280400]ne0zone75[/MENTION]

i chose the odin package and flashed it.

Working fine. BTW there is no option to backup "MODEM". But there is option to backup preload partition... which i think does not exist on s4mini.:what:

And maybe thats the reason recovery log shows error mounting preload.

Other than this 'not so serious' issue... rest is working fine.
[Galaxy S 4 Mini Android Development] ghuertasw:
Thanx!

Flashed on 9190 and everything perfect.

Enviado desde mi super i9190 usando F4K's Rom & kernel!
[Galaxy S 4 Mini Android Development] ne0zone75:
Good afternoon,

-> /modem backup feature is easy to add i think, i will maybe do so...

-> AFAIK a partition named /preload does not exist for S4 mini series, you are absolutely right ! :good: Neverthess, it does match mmcblk0p23 block device in my TWRP updates and if i do remember correctly it appears as 'hidden' in APPs like 'DiskInfo' which are showing partitions info. from Android. but i have to admit that i looked at [MENTION=3261191]F4k[/MENTION] twrp.fstab for this part...

Could you please post mounting errors for /preload from your recovery.log, no hurry... thank you !
[Galaxy S 4 Mini Android Development] sasank360:
Hi [MENTION=5280400]ne0zone75[/MENTION] Zipped and attached recovery log... thanks again for your work.. :)
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening,

I will look at your recovery.log file soon, thank you for sharing it !

Regards
[Galaxy S 4 Mini Android Development] tostep:
Thanks! Recovery version of 2.8.1.0 is successfully flashed on my GT-I9192.
[Galaxy S 4 Mini Android Development] mielletseed:
And, are you able to flash a ROM without editing the zip-file?
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening,

I've checked your recovery.log file at last... ;)

I:Can't probe device /dev/block/mmcblk0p23

... it seems that this block device does not exist on your device or that there is a serious issue with its filesystem... AFAIK this block device does exist on every S4 mini variant ! :confused:

My advice is to use some third party APP like 'DiskInfo' (freely available from the Play Store) and to display advanced properties for this block device (if it does exist !), then report back the results please, thank you ! (over PM if you want to...)

PS

: is anybody else having issues with /preload mounting ?! Thanks ! :good:
[Galaxy S 4 Mini Android Development] tostep:
Yep. I have GT-I9192 Black Edition. I booted into TWRP v2.7.1.0 and flashed v2.8.1.0 for GT-I9190 from http://xdaforums.com/showpost.php?p=58219668&postcount=249 without editing zip-file. :)
[Galaxy S 4 Mini Android Development] mielletseed:
My question was whether you can install a ROM (e.g. CM12) with the new TWRP for i9190 or not? There is a device check and it could be your device now thinks it was a i9190 ...
[Galaxy S 4 Mini Android Development] tostep:
Now I understand your question. And my answer is no, cause I use TWRP for nandroid backup and flashing moddings' zip-files (not ROM).
[Galaxy S 4 Mini Android Development] ne0zone75:
To any GT-I9192 user !

Good evening,

As [MENTION=5522383]mielletseed[/MENTION] did point out well, please let me write a little reminder aimed to all GT-I9192 users who would like to flash any of the TWRP builds that i am offering :

-> recovery will work on your S4 mini DS, BUT :

-> it will be identified by flashable ZIPs (if device code checking is inside them... mostly for custom ROMs installers...) as S4 mini 3G or LTE, depending on which of my files you did install, THEN : 2 options

removing device checking code from inside the ZIP you would like to install onto your device (in this case, be sure to remove it from a flashable ZIP that is intended for your GT-I9192)

flashing a recovery build that is made exactly for your phone (in this case, after new recovery is installed, your device will be correctly identified by flashable ZIPs with device checking code)

So, if you are a 'power flasher' i would like to suggest that you install one of the [MENTION=3261191]F4k[/MENTION]'s MODs for GT-I9192, in any other case you can keep running one of my TWRP builds (GT-I9190 version is recommended) !

All the best
[Galaxy S 4 Mini Android Development] sasank360:
Thanks [MENTION=5280400]ne0zone75[/MENTION]

Diskinfo does not show preload (p23)

It only shows system,cache,data and sdcard.

Then I installed partition app from playstore. I attached the screenshot.

It says hidden partition(36mb) is not mounted.
[Galaxy S 4 Mini Android Development] ne0zone75:
As you can see on your screenshot, there is no info. about filesystem used for /dev/block/mmcblk0p23 and it is maybe because there is a problem with it...

I would suggest that you boot into recovery (device plugged to your computer...), then input the following commands :

adb devices

... it should return your device's serial number..., if it is OK :

adb shell

... it launches a shell session on your phone..., then :

e2fsck -fDp /dev/block/mmcblk0p23

... it will scan /hidden for filesystem errors and try to fix them if there are any ! :fingers-crossed: :good: Once above commande is finished :

exit

... exits from the shell session, finally reboot into Android and let us know about the results of all this ! ;)

Have a nice day !
[Galaxy S 4 Mini Android Development] sasank360:
Thanks. will do what u suggested once i get back home.:)
[Galaxy S 4 Mini Android Development] ne0zone75:
Alternatively you can also try the 'repair filesystem' option of TWRP from the 'wipe/advanced wipe' tab... this option is available after having clicked on 'repair or change filesystem' at the bottom of the screen...

Good luck !

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] sasank360:
Thanks for your help bro. :good: I think I solved my problem. In TWRP i tried to repair preload. It said error repairing preload.

Then I wiped preload partition and then tried to repair. SUCCESS. :D :victory:

Next I rebooted back to recovery and in LOG there is no ""error mounting preload"" message. Thanks for your concern and help. :cool:
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes ! Wiping this partition (formating it in fact) would have been my last advice for your issue because i do not know what it was containing... :confused:

Anyway, if you need to restore it some day, you will ever able to do it by flashing back stock firmware to your phone by using Odin. Such suitable file can be freely downloaded from SAMMOBILE... before doing so, just pay attention to the CSC.

Enjoy ! :good:

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] ne0zone75:
Huge cleanup of opening post is done !

I made a lot of cleanup in post #1. Files for which download links have been removed from it are still available for download by browsing my AFH page : here...

Greetings
[Galaxy S 4 Mini Android Development] Mlen:
OK

Thank you.

I download "openrecovery-twrp-2.7.1.0-STABLE-I9195.tar.md5" and flash with Odin 3.09 in: GT-I9195 Rom stock 4.4.2 XXUCNK1. It's OK.

My S4 mini was without recovery due a ... not good attempt with "recovery-clockwork-6.0.4.6-serranoltexx.tar.md5"

Thank you again

Regards from Canary Islands
[Galaxy S 4 Mini Android Development] niwia:
id like to use your twrp recovery for mt s4mini duos running cm12

and I read in your posts there are some issues or something which I quite didn't understand so could you help me out??
[Galaxy S 4 Mini Android Development] ne0zone75:
Good evening,

If you flash my recovery made for GT-I9190 for example then your phone will be identified as a 3G variant from inside TWRP only...

CM ZIPs installers do have device checking code inside them, just to be sure that the file you are trying to flash is suitable for your device. If you try to flash a CM ZIP installer made for GT-I9192 (your phone) without modifying it a little bit with my TWRP build for GT-I9190, then the flashing process will fail and you will have an error message saying that your CM ZIP installer is made for GT-I9192 and that your device is a GT-I9190.

Good night

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] niwia:
Oh that very much helped sir, is there a way to midify zzip file for flashing??? Or is it possible that you could make a GT I9192 twrp?
[Galaxy S 4 Mini Android Development] ne0zone75:
Without extracting your flashable ZIP file (just open it with an archive manager), simply edit the 'updater-script' file with a text editor; it is located in the 'META-INF/com/google/android' directory of the archive. Then simply

delete the very first line of the script

which should be :

assert(getprop("ro.product.device") == "serranods" || getprop("ro.build.product") == "serranods" || getprop("ro.product.device") == "serranodsdd" || getprop("ro.build.product") == "serranodsdd" || getprop("ro.product.device") == "serranodsub" || getprop("ro.build.product") == "serranodsub" || getprop("ro.product.device") == "serranodsxx" || getprop("ro.build.product") == "serranodsxx" || getprop("ro.product.device") == "GT-I9192" || getprop("ro.build.product") == "GT-I9192" || abort("This package is for device: serranods,serranodsdd,serranodsub,serranodsxx,GT-I9192; this device is " + getprop("ro.product.device") + "."););

... finally, save your modified script and close your text editor and archive manager.

That's it ! You have just removed device checking code of your ZIP file and are ready to flash it with one of my TWRP builds (GT-I9190 recommended) ! ;)

NB :

uncheck 'signature verification' in TWRP before flashing because modifying your flashable ZIP like described above has 'unsigned' it

...

PS : i will not offer a dedicated GT-I9192 TWRP build, please use [MENTION=3261191]F4k[/MENTION]'s GT-I9192 TWRP MOD instead, thank you !
[Galaxy S 4 Mini Android Development] piticlini:
NTFS

My SD card is formatted in NTFS because I need to copy large files as the image of Linux on it to run it in a virtual machine. His recovery is great just do not know me well formatted SD. Is there any solution I found overlooked or do you incorporate this compativilidad planned in future releases? Thanks in advance.:good:
[Galaxy S 4 Mini Android Development] ne0zone75:
Good afternoon,

In my current TWRP release, the kernel used (sources and defconfig) is latest CM-11.0's one. This kernel sources do have support for these filesystems (alphabetically) : exfat, ext2/3/4, f2fs, fat,

ntfs

and many more... BUT ntfs is not enabled in CM-11.0's defconfig file... :confused:

It will be very easy to provide ntfs support in an upcoming update BUT it may take some time because TWRP development has switched from omnirom's android-4.4 branch to android-5.0 one : no more updates for the branch i used to build current TWRP release AND current development branch (v2.8.4.0) does not boot on S4 mini for the moment sadly...

Regards
[Galaxy S 4 Mini Android Development] pakster67:
Really sadly (

But we will hope...
[Galaxy S 4 Mini Android Development] alexax66:
I made small changes in your recovery for repair device checking.

Now nothing should be done with flashable ZIP file for flashing ROM.

Custom TWRP v2.8.1.0 JB/KK/LP enabled for S4 mini DUOS
[Galaxy S 4 Mini Android Development] ne0zone75:
Good morning,

You did modify 'build.prop' file from inside recovery ramdisk ?!

Thanks for it anyway ! :good:

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] alexax66:
Yes!

I changed everywhere in default.prop serrano3gxx -> seranodsxx and I9190 -> I9192 and enough
[Galaxy S 4 Mini Android Development] ne0zone75:
Nice initiative for S4 mini DUOS owners ! :good:

If you want, i could add a link to your 'S4 mini DUOS' post in opening post of this thread...

Kind regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] semdoc:
Hi,

Do you plan to build F2FS ready TWRP recovery for S4 Mini after last updates to TWRP?
[Galaxy S 4 Mini Android Development] ne0zone75:
Theorically, my latest release for S4 mini (v2.8.1.0) IS F2FS enabled ;)

Now, if you would like to know if i will offer TWRP updates matching current upstream version (v2.8.4.0 so far...) with F2FS, it all depends if lollipop branch of TWRP source code will become bootable on S4 mini because it is not the case ATM... only kitkat one is... and there is no more development on it.

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] alexax66:
Yes, it will be very good for all
[Galaxy S 4 Mini Android Development] ne0zone75:
Okay, i will do this very very soon...

Thank you ! :good:

Tapatalked from my D821

EDIT : opening post is updated !
[Galaxy S 4 Mini Android Development] niwia:
so we can use the alexxis twrp and flash new roms without modifying their combability ??
[Galaxy S 4 Mini Android Development] ne0zone75:
Yes ! Once [MENTION=5925090]alexax66[/MENTION] version is flashed, device is identified as a serranodsxx, so no need to remove GT-I9192 device checking code from ZIPs anymore... :good:

Regards

Tapatalked from my D821
[Galaxy S 4 Mini Android Development] drumshero:
update

Will TWRP version 2.8.5.0 be ported to this device? Needed for OTA CM12. Thanks anyway.
[Galaxy S 4 Mini Android Development] ne0zone75:
TWRP lollipop branch (v2.8.5.0 ATM...) is not booting on S4 mini so far...

Only TWRP kitkat branch is working (my builds are compiled from this one) and there is no more development on it...

Regards

Tapatalked from my D821