yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] fidoedidoe:
Hi

I've have experience flashing rom's (mainly HTC's) but seem to have hit a issue that for me google/search draws a blank. To before installing this ROM I decided to do a full wipe (TWRP 3.1.1.0) on my GF's phone (G800F) and this is where i hit an "issue". Selecting Wipe/Format data (where you have to type "yes" to format), generates this error:

Error:unable to wipe /data unknown file system 'auto'

unable to format encryption.

I attempted to change filesystem (from EXT4 to something else like F2FS and back again) but the steps above (format data) generates the same error.

Is there a recognized way to format what must be an encypted data volume from TWRP or will i have to revert to a stock rom (or custom rom like Slim 7?) on to the device and change some encryption settings from within the rom?

apologies if this is basic stuff - at a bit of a loss.
[Galaxy S5 Mini Android Development] :
Firstly, I would check if the data partition is mounted correctly. I see no reason why it shouldn't be, but if it isn't, that could very well be the cause of the issue. You can check it by using the "Mount" option (in TWRP).

Secondly, I'd recommend you to try older versions of TWRP. Some other people have also mentioned problems with TWRP 3.1.1. I recommend you to try out this version (warning: it's a direct download link)
[Galaxy S5 Mini Android Development] fidoedidoe:
Many thanks for the good advice! I'm pretty sure data was mounted okay (as the advanced wipe / data reported all was okay, no error message, but that wipe doesn't wipe a sub folder data/media? from memory). Let me change my version of of TWRP to the one you linked to and try again.

In hindsight I'm mindful this is probably the wrong thread for this question - If for any reason I'm unsuccessful, I'll post a message in the TWRP thread (I'll comment here if successful for the benefit of others in similar situation).
[Galaxy S5 Mini Android Development] tomato884:
Noob with scripts

So I managed to find the lines I need to paste into a script. But I have no clue how to script:

I created a new file with notepadd++, paste in the lines and saved it as script.sh - put that thing on the phone and executed it with root explorer.

Lights still blinking!

I have root access, I have twrp 3.0.2, but I dont have a clue how to get that soft key light off.

Can someone link me a tutorial or write down a short step by step for especially that script? ( https://xdaforums.com/showpost.php?p=71108969&postcount=525 )
[Galaxy S5 Mini Android Development] fidoedidoe:
Just to round this topic, the image file attached to the previous comment (TWRP 3.1.0.0) didn't improve the situation. I'll continue the discussion in the Recovery Thread
[Galaxy S5 Mini Android Development] Pat750:
When you use the app init.d put the script you created in a new folder on internal storage, choose the folder from init.d app and reboot. The screen has to be off first before backlight is off.
[Galaxy S5 Mini Android Development] BirthdayDog11:
I am trying to flash, but I get "zip file corrupted" in TWRP. I already downloaded the file four times.

Any help is appreciated.

Edit: Seems my SD card was ****. It works with another one.
[Galaxy S5 Mini Android Development] tomato884:
Mobile Data

Anyone has the same problem here?

Mobile Data isn't working.

Tried it with APN, changed and resetted settings many times.
[Galaxy S5 Mini Android Development] spookcity138:
I do not have this. My APN is picked up automatically though, unlike some. There should be no problem after you manually enter your APN info though. This is a bug that I promise I'll look into when I have some time.
[Galaxy S5 Mini Android Development] BirthdayDog11:
I have the above problem.

Possibly a dumb question, but what version GApps am I to use? 7.1?
[Galaxy S5 Mini Android Development] spookcity138:
https://github.com/opengapps/arm/releases

Any of the 7.1 versions there. I always use pico, but as long as it's for 7.1 it'll work. Just use the newest.
[Galaxy S5 Mini Android Development] BirthdayDog11:
Thank you.

Very odd. I am using the right gapps version, yet I am getting the startup wizard crash.
[Galaxy S5 Mini Android Development] spookcity138:
That is strange if you're using a recent version. I know I read on Slim's website about 2 months ago that you must use a new version of gapps otherwise the crash will happen.

Oh, just thinking about it now and it probably has no meaning with your issue, but I also read something on their website that you should do a clean flash due to new signing keys are something with the stable version .I always do a clean flash, so can't say what the outcome would be with a dirty flash.
[Galaxy S5 Mini Android Development] BirthdayDog11:
I wiped everything, even internal storage. Using the 07-07 GApps and the 01-07 Slim, so the newest of both.
[Galaxy S5 Mini Android Development] spookcity138:
Yeah, really strange. I don't know man sorry. I hope you get it sorted though. I have not had this problem. I'm running this ROM now.

For others, here is the link to slims site. It's in the main post as well, but after replying to you I realize that I really should have mentioned the necessity to do a clean flash with the new build.

https://slimroms.org
[Galaxy S5 Mini Android Development] tomato884:
Works, I just used the wrong APN :D
[Galaxy S5 Mini Android Development] spookcity138:
Hehe, glad its working. I really will try to did the APN issue.
[Galaxy S5 Mini Android Development] BirthdayDog11:
Thanks for the help. I'm getting this issue with all roms I tested so far, except Lineage (which freezes and has all sorts of issues). So it's not a problem with Slim specifically. There's something wrong. I can't imagine what it is. I install the rom, then gapps, all is the newest version. And I wipe.
[Galaxy S5 Mini Android Development] :
This is a small workaround: You can skip the setup wizard by tapping in the top left corner and then pressing all the corners clockwise (not simultaneously). It can take a few attempts but it should work.
[Galaxy S5 Mini Android Development] fidoedidoe:
Quick question:

I purchased my G800F (United Kingdom) some years ago, which at the time was tied to the 02 network/carrier (with all the usual bloatware) and obviously O2's firmware.

Once out of contract I rooted the phone, installed Slim Rom 7 and moved away from an O2 SIM to an EE SIM (actually Virgin Mobile which uses the EE's infrastructure). Right now I'm suffering from battery drain (NlpWakeLocks), so I'm planning to clean install everything in an attempt to systematically find the cause of the wakelock(s).

What's just occurred to me is that I never really paid any real attention to whether I should have first thought about changing to the phone's firmware. Currently I have 02 branded (CSC: G800FO2U1CPL1). Options would be to change to: UK unbranded variant (CSC: G800FBTU1CQA1); or EE's branded (CSC: G800FEVR1CQB1).

Can I ask, what is considered best practice here - would first changing to a more appropriate firmware (to get a known to be good firmware / baseband combination?) be of value and/or help setting up a "good" foundation for Slim Rom 7 c/w, in my case, a change of Carrier (EE).

Many thanks!!
[Galaxy S5 Mini Android Development] spookcity138:
Hmm, I can't really answer this as I honestly don't know enough about basebands etc. I suggest posting this in the baseband thread and hopefully someone, perhaps tester02 will be able to offer some advice.

https://xdaforums.com/showthread.php?t=3354355
[Galaxy S5 Mini Android Development] Oleggluk:
Found on the Internet: "Disable location on wi-fi and mobile networks in Settings - Location - and you will be happy, the battery consumption will decrease and the processes of NlpWakeLock and NlpCollectorWakeLock"
[Galaxy S5 Mini Android Development] fidoedidoe:
That's a good approach. For completeness, and so others can follow, here's the question raised in the baseband / modem thread
[Galaxy S5 Mini Android Development] Someone10:
Weird bugs

So, I'm not sure what's causing this, but a few days ago I lost root all of a sudden, and my phones buttons don't light up and after a while will stop working until I reboot, and the notification light doesn't work either. Any ideas?
[Galaxy S5 Mini Android Development] spookcity138:
I remember reading another post about a very similar issue. I'm unsure what thread it was in though. Although I don't really think its ROM specific. I honestly have no idea what would cause this. I've never experienced this. Perhaps someone else has some ideas?
[Galaxy S5 Mini Android Development] wojtasrid:
HI,

thank you for the awesome rom! :)

I had this issue with startup wizard crashing all the time and what helped me was to tilt the phone horizontally right after I clicked "close". In horizontal position I was able to finish the setup and my phone is working 100% correctly now.
[Galaxy S5 Mini Android Development] Someone10:
I think I'm just going to do a clean install, and hope it goes away.
[Galaxy S5 Mini Android Development] Someone10:
Alright, no problems so far after doing a clean install, I'd say it's resolved now.

Edit: I think I identified the problem: the SuperSU package. After installing that, the problems began again. Gonna do another clean install...
[Galaxy S5 Mini Android Development] Someone10:
So, any safe ways to root on this ROM? I'm currently unrooted, obviously.
[Galaxy S5 Mini Android Development] spookcity138:
https://xdaforums.com/apps/magisk
[Galaxy S5 Mini Android Development] Someone10:
Didn't work for me, it said there was an error with the updater binary when installing
[Galaxy S5 Mini Android Development] spookcity138:
This has to be on your end. Perhaps a bad download. I've successfully flashed Magisk 13.2 on many ROMS,including this one without issues.
[Galaxy S5 Mini Android Development] Knoose:
Magisk gave me problems as well, although I am on aosp ext. Some apps started to act funky and I had to reflash the ROM. I am sticking to the magisk version that comes with the ROM and no problems so far
[Galaxy S5 Mini Android Development] Someone10:
Magisk 13.3 updater binary was the culprit for the problem, so I installed a version with the updater binary from Magisk beta, and it works flawlessly :)
[Galaxy S5 Mini Android Development] meesner:
I can confirm this, also the battery usage is much better without su
[Galaxy S5 Mini Android Development] fidoedidoe:
On the subject of battery usage (drain), I had excessive usage reported under Settings / Battery as "Android OS" and "Google Services" (suspected NlpWakeLocks, etc). Combined these two were often reported as 20+% of the usage, the result being the phone would be out of battery before returning home from work (admittedly work is in a low signal area - but there was never this amount of drain on Stock MM). BTW this high usage/ drain was present across a number of versions of this ROM (currently I'm using Slim ROM 7 Stable 1.0 dated 20170701).

Personally I had good success mitigating much of the symptom (it's my GFs phone) by using a module for Magisk (at the time of writing I use Magisk 13.3) called: [MODULE v4][Battery Saver] ENABLE DOZE on Google Play Services [6.0+] all credit goes to otonieru. There are a number of install options / variants you can choose from (eg: TWRP vs. Magisk install), I opted for the more conservative of the two Magisk install options (at the time of writing the download module is named: "EnableDozeforGMS-Rev4-by otonieru.zip") which was installed by downloading and installing via "Magisk / Modules / +". I must admit I was a little dubious but the results I've seen speak for themselves.

For reference the battery usage (longevity as reported by GF) is now on a par with where MM was (if not better). If you have similar symptoms to mine on this ROM then give it a try (worst case you can easily uninstall the Magisk module).
[Galaxy S5 Mini Android Development] bravur:
Why is this ROM stated as stable and none of the other ones? Does roaming working?
[Galaxy S5 Mini Android Development] fidoedidoe:
On the 30th July 17, the official Slim ROM 7 (https://slimroms.org) source was transition to a "1.0 Stable" release (previously the versions were 0.xx). This ROM, unofficial build of SlimRom7 for the S5 Mini, is built from the "1.0 Stable" source from SlimRom..which is why the word "Stable" is used. My experience of this ROM is good, everything works..its smooth and good for daily use.

Personally I haven't used roaming (yet) but can't see any reason why it wouldn't work. Best approach would he to try it out.
[Galaxy S5 Mini Android Development] fidoedidoe:
As a complete novice to building a ROM from source, can I ask has anyone built this SlimROM7 from source - has anyone created a specific guide? (@spookcity138 I'm assuming there's no objection to this for personal use?)

I've followed a more generic guide in on spookcity138's github link) which builds LineageOS 14.1. (i managed this successfully). To build this version of SlimROM7 would it simply be a case of changing:

repo init -u https://github.com/LineageOS/android.git -b cm-14.1

to:

repo init -u https://github.com/SlimRoms/platform_manifest.git -b ng7.1

or is it a lot more involved (here be dragons)?
[Galaxy S5 Mini Android Development] spookcity138:
Go here:

https://github.com/SlimRoms/platform_manifest

That'll explain how to clone their repo. Then you need to grab the device specific repos.

https://github.com/cm-3470/android_.repo_local_manifests

As far as building you will need to change some file names and other things to fit slim ( instead of lineage)

Message me if you have problems and I'll help out when I have time.

Edit:

You are correct on the repo to build slim 7
[Galaxy S5 Mini Android Development] jimmy999x:
I learned from spookcity, so I can help you with whatever you want, you can write me a private message too
[Galaxy S5 Mini Android Development] spookcity138:
That's exactly how it should work...Passing on the knowledge. That's awesome. The more people willing to build ROMS for our device the better I say. That's why I'm always willing to try and help out where I can.
[Galaxy S5 Mini Android Development] jimmy999x:
For that xda exists, help everyone to improve
[Galaxy S5 Mini Android Development] Extremelyd1:
Boot animation format

I have noticed that with this rom you can change the boot animation, but in what format should this custom boot animation be to be able to load it in the settings? I currently have a .zip file with a desc.txt file and folders called 'partn', but that does not seem to be the right format.

Edit: Nevermind, figured it out :)
[Galaxy S5 Mini Android Development] bitbirch:
updater process error 7

hi

Keep getting this "updater Process Error 7" but only when i try install Slim7!

no problem installing :

Beanstalk 7

AOPK Nougat

AospExtended v4.3

HexagonROM v2.4

XenonHD

only when installing Slim7 i get this error?

After installing - [KERNEL] [G800F/M/Y] Spookcity_Kernel-N (For all 7.x custom ROMS)

same error 7
[Galaxy S5 Mini Android Development] spookcity138:
Weird,do you have the latest TWRP? This error is due to checking your phone model and it coming back as incompatible. This was an issue with an older build of TWRP,but has since been fixed. That's the only thing I can think of. I am building an update for this ROM. I will post it later today. Although I doubt it will fix your error. My only advice is to update TWRP to the latest version if you haven't already.
[Galaxy S5 Mini Android Development] bitbirch:
I have twrp 3.1.1-1

Now i just installed twrp 3.1.1-0 and gonna try again when phone is charged
[Galaxy S5 Mini Android Development] bitbirch:
It works :)

No problem when using TWRP 3.1.1-0 from twrp.me

And nice work with this rom, just what i was looking for, a rom with "nothing" in it :)
[Galaxy S5 Mini Android Development] spookcity138:
Very glad to hear! I have an update ready. I will post it up later.
[Galaxy S5 Mini Android Development] bitbirch:
Great, wil try it when its ready :)

But now it won't register sim-card :(
[Galaxy S5 Mini Android Development] spookcity138:
Updated to stable 1.4. Fixed the APN issue (finally) Full changelog and details in main post.

Enjoy!
[Galaxy S5 Mini Android Development] TheSnak:
First time I install Slim rom, my phone won't read my sim card anymore.. It worked with another rom except Network drop issues.

When I launch my phone, gapps display "Setup wizard has stopped working."
[Galaxy S5 Mini Android Development] spookcity138:
You need to use a newer version of GApps or you will have this problem.

https://github.com/opengapps/arm/releases

The SIM issues has been talked about a lot. Go over to the Lineage 14.1 thread and do a search.

https://www.google.nl/amp/s/xdaforu...0f-m-y-lineageos-14-1-g800f-m-y-t3549055/amp/

You can also flash my kernel. That will fix it due to SELinux being set to permissive.

https://xdaforums.com/galaxy-s5-min...el-spookcitykernel-n-7-x-custom-roms-t3626015
[Galaxy S5 Mini Android Development] TheSnak:
Update the link to GApps so maybe ? I downloaded the one page 1 ..

How to search in a thread ? >.<

Edit :

I'm using open_gapps-arm-7.1-mini-20170804.zip version and it doesn't work anyway..
[Galaxy S5 Mini Android Development] bitbirch:
New build works fine so far, no problems with sim.

Used twrp 3.1.1-0 and open_gapps-arm-7.1-pico-20170804

Only thing missing in this rom, is a micro/minimal/slim file manager to install apk's

Otherwise its perfect :good:
[Galaxy S5 Mini Android Development] TheSnak:
I will try with twrp 3.1.1 ... My sim card can't be read anymore >.<
[Galaxy S5 Mini Android Development] spookcity138:
Ugg, tapatalk is annoying sometimes. Either way,read through page 116 of the Lineage 14.1 thread. The SIM issue is in no way related to your TWRP version
[Galaxy S5 Mini Android Development] bitbirch:
I had same problem with slim7 v1.0 (no sim detected) and problems flashing with twrp 3.1.1-1, so used twrp 3.1.1-0 from twrp.me

With this build slim7 v1.4 no problem with sim
[Galaxy S5 Mini Android Development] TheSnak:
It worked with Lineage, I've try again and it doesn't work. I will try to go back, but KISS won't read my phone..
[Galaxy S5 Mini Android Development] bitbirch:
Try use newest Odin for flashing
[Galaxy S5 Mini Android Development] TheSnak:
TWRP don't change anything. I have to go back at original rom as spookcity138 told me I think... I tried with TWRP 3.1.1, 3.1 and 3.0

I come back if this work.. Or don't.
[Galaxy S5 Mini Android Development] bitbirch:
Hope it works out for you :)
[Galaxy S5 Mini Android Development] TheSnak:
PROBLEM : Can't read the sim card

QUICK ANSWER : No kernel or other worked for me, only one solution was to go back to original ROM, then install TWRP 3.1.0 and this ROM.

EXPLANATION : The SE linux was set to renforced, original rom forced it to go back as Permissive, then there was no problem.

Thank you everyone and OP <3

Edit : Talking about the ROM.. WOAH ! It goes so fast ! Less is more yeah, I dunno if it's Android 7.1.2 but my phone is incredibly fast !
[Galaxy S5 Mini Android Development] ehmergher:
todays gapps got stuck on "setup wizard keeps stopping" with several reinstalls with wipings still no working phone

after loud FTHIS! intalled apps through apk downloader

still seeing "self swithing to LTE after reboot or flight mode off" bug
[Galaxy S5 Mini Android Development] dmxl:
Back button?

Hi there.

I have an issue where the back button doesn't work, until I reboot. And then it happens again after standby. Doesn't happen with other roms. Anyone any suggestion?

Also, in "Memory" settings, I miss the "Apps started on boot" option, that usually comes with other Android 7.1.2. Roms?

Thanks for all the work so far though.

- Update - Reflash seemed to solve the back button issue, so far. So only my "Apps started on boot" question remains.
[Galaxy S5 Mini Android Development] Pat750:
Not every ROM has that option. But there are apps like Android Assistant that can do that.

Sent from my cigarette break.
[Galaxy S5 Mini Android Development] dmxl:
Thanks so much! I give it a look.
[Galaxy S5 Mini Android Development] koes1986:
This is a great ROM, I cannot believe that my S5 mini can be this fast. I liked the Lineage OS before, but a lot of customization make the OS feels slow. Thanks for anyone who develops this ROM for S5 mini.
[Galaxy S5 Mini Android Development] spookcity138:
Yeah,if you don't need many (any) customizations then this ROM is probably for you. It is super fast and stable.. For me at least.
[Galaxy S5 Mini Android Development] koes1986:
I feel that the Slim ROM consume more battery on the idle state than Lineage. Is there any recommended kernel or customization to get better battery performance?
[Galaxy S5 Mini Android Development] spookcity138:
Hmm, I do not notice this. My battery life is just fine. The only kernel I'm aware of for our device right now is mine. You can try that. I get very good battery life with it.

https://xdaforums.com/galaxy-s5-min...el-spookcitykernel-n-7-x-custom-roms-t3626015
[Galaxy S5 Mini Android Development] ehmergher:
self wakeup still unresolved

battery longer goes without gapps
[Galaxy S5 Mini Android Development] spookcity138:
I'm unsure what you mean. I have no issues with the battery life on this ROM,but obviously you're right...GApps and Google services will drain your battery some. This is normal.
[Galaxy S5 Mini Android Development] M.A.T.O7:
hello, thank yoy for your hard work I really apriciate it. I have a question. I did not find any opportunity to change date format in clock settings, it is possible to add this option in it? Or it is possible to change somehow? Please reply
[Galaxy S5 Mini Android Development] spookcity138:
I'm not currently using this ROM,but more than likely it's just not possible with this ROM. It is a very "bare bones" ROM. There's not many options for customizations.
[Galaxy S5 Mini Android Development] M.A.T.O7:
Is there any other possibility to change date fotmat?

BTW: Can you tell what is the best custom ROM for you? :)
[Galaxy S5 Mini Android Development] spookcity138:
Not that I can think of off hand. The "best" ROM is all about preference. There are many to try though thanks to jimmy999x. I personally use AospExtended and it is my personal favorite.
[Galaxy S5 Mini Android Development] bravur:
As you make a lot of ROM, could you please make a short comparison of them, or just the some (Slim, Resurrection Remix, LineageOS 14.1, AospExtended)? Another thing, do you know which ROM does not have the the "Auto brightness" bug, that has been introduced in the 6.0.1. update? I have stock ROM, and it this bug is really annoying.
[Galaxy S5 Mini Android Development] spookcity138:
I'm not real sure what the auto brightness bug is,but I don't really use it so yeah. As far as comparisons..There's a little here thanks to StanNL..

https://github.com/Spookcity/ROMS-G800F/issues/3

There are also a ton of ROMS not on XDA within the "test builds" issues in that repo thanks to jimmyy999x. You'll need to kinda go through them,but they are there.

Edit:

I see There's a link to the bug,duh. I still can't answer though as I don't use it,but when I've tried it seems OK to me.
[Galaxy S5 Mini Android Development] Oleggluk:
Fine-tune the auto-brightness with profiles. Works better than the system auto-brightness. https://play.google.com/store/apps/details?id=com.velis.auto.brightness :good:
[Galaxy S5 Mini Android Development] ezquierdo:
Man i love this ROM is ultra fast good work spookcity [emoji16]

Enviado desde mi SM-G800F mediante Tapatalk
[Galaxy S5 Mini Android Development] Evos11:
The home button not work when I long press it. Btw the rom is fast and stable.
[Galaxy S5 Mini Android Development] spookcity138:
What do you expect to happen with a long press of the home button? I'm not currently running this ROM,but I don't think the buttons are configurable. That's just how Slim works. Very few options,but exceptionally fast and has always been stable for me as well.
[Galaxy S5 Mini Android Development] Evos11:
For Example to launch Google now.
[Galaxy S5 Mini Android Development] spookcity138:
Ahh,gotcha. Probably not configurable,but since I'm not running slim right now I can't say for sure. Perhaps its configurable via a launcher like Nova. I believe so.