yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] mongo0:
I don't know where the file resides on a running android, but before compiling it should be this file: device/samsung/smdk3470-common/audio/source/mixer_paths.xml.

Maybe you can search for mixer_paths.xml although I'm not sure if it's copied over with the same name. Anyway, this is the content:

<mixer>
<!-- These are commonly used control sequences -->
<path name="dac1">
<ctl name="DAC1R Mixer AIF1.1 Switch" value="1" />
<ctl name="DAC1L Mixer AIF1.1 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>

<path name="headphones">
<path name="dac1" />
<ctl name="Headphone Switch" value="1" />
<ctl name="Left Output Mixer DAC Switch" value="1" />
<ctl name="Right Output Mixer DAC Switch" value="1" />
</path>

<path name="speaker">
<path name="dac1" />
<ctl name="Speaker Switch" value="1" />
<ctl name="SPKR DAC1 Switch" value="1" />
<ctl name="SPKL DAC1 Switch" value="1" />
<ctl name="Speaker Mixer Volume" value="3" />
<ctl name="Speaker Boost Volume" value="5" />
</path>

<!-- TODO: these values are for lunchbox Mic wiring. Must be changed for Alpha HW -->

<path name="adc-to-aif1adc">
<ctl name="AIF1ADC1L Mixer ADC/DMIC Switch" value="1" />
<ctl name="AIF1ADC1R Mixer ADC/DMIC Switch" value="1" />
</path>

<path name="main-mic">
<ctl name="MIXINR IN2R Switch" value="1" />
<ctl name="IN2R PGA IN2RN Switch" value="1" />
<ctl name="IN2R Switch" value="1" />
<ctl name="AIF1ADCL Source" value="Right" />
<path name="adc-to-aif1adc" />
</path>

<!-- Playback paths -->

<path name="media-speaker">
<path name="speaker" />
<ctl name="Speaker Volume" id="0" value="61" />
<ctl name="Speaker Volume" id="1" value="62" />
</path>

<path name="media-headphones">
<path name="headphones" />
<ctl name="Headphone Volume" value="55" />
</path>

<path name="speaker-and-headphones">
<path name="dac1" />
<ctl name="Headphone Switch" value="1" />
<ctl name="Left Output Mixer DAC Switch" value="1" />
<ctl name="Right Output Mixer DAC Switch" value="1" />
<ctl name="Speaker Switch" value="1" />
<ctl name="SPKR DAC1 Switch" value="1" />
<ctl name="SPKL DAC1 Switch" value="1" />
<ctl name="Speaker Mixer Volume" value="3" />
<ctl name="Speaker Boost Volume" value="5" />
<ctl name="Speaker Volume" id="0" value="61" />
<ctl name="Speaker Volume" id="1" value="62" />
</path>

<!-- Capture paths -->

<path name="media-main-mic">
<path name="main-mic" />
<ctl name="IN2R Volume" value="16" />
<ctl name="AIF1ADC1 HPF Switch" value="1" />
<ctl name="AIF1ADC1 HPF Mode" value="HiFi" />
</path>

</mixer>

You could also tell me, which values I should change for the next release...
[Galaxy S5 Mini Android Development] ToniToshibo:
Hi, NFC is working great. THANK. Could you enable cpu 1500 in the next build? for testing. There is a problem with the speakerphone ... the subscriber does not hear me.

---------- Post added at 05:34 AM ---------- Previous post was at 05:25 AM ----------

yes tried 256gb sdcard works fine.

---------- Post added at 05:37 AM ---------- Previous post was at 05:34 AM ----------

I have been using this phone for 5+ years and it makes me happy.

---------- Post added at 05:40 AM ---------- Previous post was at 05:37 AM ----------

he is simply not being killed. and drowning and falling and still work !!!
[Galaxy S5 Mini Android Development] mongo0:
thanks for feedback. I was also thinking about overclocking to 1.5. Maybe GPU a little bit as well.

However, it might cause the temperature to raise even further..

I already had a inflated battery but I don't know whether OC was the cause or a bad charger..
[Galaxy S5 Mini Android Development] SirRGB:
If you want a little more performance, you can choose this Kernel (1.6 Ghz in CPU).

https://drive.google.com/file/d/1m0cg3PQV1XGGPSbBIi1QxuhTDaulX6EL/view
[Galaxy S5 Mini Android Development] aelfinn:
Just tried this ROM on a spare S5mini I have lying around. Very nice ROM, no obvious bugs AFAICS, but idle battery consumption seems atrocious: three days just sitting on my desk in airplane mode and the battery is completely drained. With other ROMs, that would be between 14 and 25 days. No mods except changed CPU gov to zzmove; deep sleep is working as per SmartPack Kernel Manager 11.1.
[Galaxy S5 Mini Android Development] mongo0:
I probably just go with this (1600/600) since it seems to work, and I don't know how much max voltage is needed for a more conservative oc, like 1500/533.
[Galaxy S5 Mini Android Development] mongo0:
Thanks for your feedback! Did you try a different launcher / Home app?
[Galaxy S5 Mini Android Development] aelfinn:
Not yet. What would you suggest?
[Galaxy S5 Mini Android Development] mongo0:
I'd suggest disabling crdroid home alltogether. .. So it doesn't run the service and the bug report service (dk why it's doing that in the first place) however, the only way achieving it is by switching the recent app switcher to AOSP style I believe. (Then you can remove phone and location permissions too)

Maybe try OpenLauncher or I can recommend Last Launcher from fdroid ...
[Galaxy S5 Mini Android Development] SirRGB:
What are the stock speeds of the GPU?

I know, that the CPU runs (depending in the model) at 1.4 or 1.5 GHz.
[Galaxy S5 Mini Android Development] fankool:
Thank you for your willingness, but the mixer_files.xml seems to be missing also searching in different folder. I

n my old s4 mini was always located on /system/vendor/etc/ anyway I wildly tried to add this file, but nothing happened.

Anyway the content on s4 mini was a bit different. This is an extract:

<path name="headphones">
<ctl name="PRI_RX Channels" value="Two" />
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
# <ctl name="RX1 Digital Volume" value="78" />
# <ctl name="RX2 Digital Volume" value="78" />
<ctl name="RX1 Digital Volume" value="60" />
<ctl name="RX2 Digital Volume" value="60" />
<ctl name="COMP1 Switch" value="1" />
</path>

I've add # on the original lines. The value "60" I've set is lower than the standard "78", and I think it's acceptable for everyone. Do you mind if I ask you to recompile the rom using this parameter to see which file is changed? In this way I can create a patch, as I made for my s4 mini, to decrease the volume only if necessary.
[Galaxy S5 Mini Android Development] mongo0:
my cpu is/was running at 1.4 ghz max. I don't recall that any of the device I had were running higher per default. But the code for the 1.5 frequency is already in the sources.

GPU is 450 mhz per default.

these should be all the relevant commits by [MENTION=7065337]spookcity138[/MENTION]: (for voltage info)

CPU OC

GPU to 533

GPU to 600
[Galaxy S5 Mini Android Development] SirRGB:
I meant on stock roms there were different frequencies, but on my device I use the Spookcity Kernel with 1.6Ghz OC.

But thanks for replying.
[Galaxy S5 Mini Android Development] fankool:
Solution found! The file is in /system/etc/ and the name is default_gain.conf ! The structure is almost the same, I've reduced the lowest level of volume and it seems to work on headphone (what's the difference with earpiece?), on headset I can't check now. I can create a patch using as template the one I made for my S4 mini, in the meantime the version I'm using now, for the people with delicate ears and with the comment on the original version, is attached.

P.S.: I've noticed something not very clear on some parts of your original default_gain.conf, often "Speaker_Volume" is higher in "enable" section and lower in "disable" section. But sometimes is oppositely. How it works?
[Galaxy S5 Mini Android Development] mongo0:
uh great, I've done a little research myself and it seems the mixer_path.xml is indeed obsolete.

So the four lines you highlighted with ## should be adapted?

I'm sorry I don't know how it works / what the difference is with enabled/disabled... I never made any changes to that file...
[Galaxy S5 Mini Android Development] ToniToshibo:
Hey. Put an update. Thanks for overclocking cpu. They are testing. At a frequency of 1500mg it works fine. At 1600mg it freezes. There is an opinion that at 1600mg it is necessary to raise the pressure, perhaps this will correct the situation. I tried to raise the voltage myself with the help of kernel auditor :(. Gpu did you also disperse?
[Galaxy S5 Mini Android Development] mongo0:
thanks for the feedback. sorry to hear that 1.6 does not work for you. What pressure do you mean? Voltage?

GPU is now at 600 mhz (before 450 mhz)......
[Galaxy S5 Mini Android Development] Asgabat:
latest build won't start the phone, it's frozen on crdroid starting page
[Galaxy S5 Mini Android Development] Asgabat:
guys it won't start the phone on the latest build, rolling back to previous version
[Galaxy S5 Mini Android Development] ToniToshibo:
Hey. Fixing a hang when overclocking the CPU is raising the voltage (1.5 - 1300, 1.6 - 1325) for me, this fixed the problem with the hang of the system;)

---------- Post added at 04:27 AM ---------- Previous post was at 04:23 AM ----------

I will test further. I’ll write according to the results.
[Galaxy S5 Mini Android Development] ToniToshibo:
1.6 - 1345 ;)
[Galaxy S5 Mini Android Development] mongo0:
this would actually mean decreasing the value, since max voltage should be 1500, no?
[Galaxy S5 Mini Android Development] ToniToshibo:
​

By default it was 1.6 - 1300 I changed to 1.6 - 1425 (frequency / voltage); There was no freezing and rebooting yet.
[Galaxy S5 Mini Android Development] mongo0:
can you try the new build, which is still oc but with a fix. Would be interesting to see if this works now.

md5:

963f84e92f603b3b06e0a66c3a9dc7f0 crDroidAndroid-9.0-20200518-kminilte-v5.12.zip
[Galaxy S5 Mini Android Development] fankool:
Don't worry, anyway I'm still trying, I think I have to change both the higher and the lower value. I set the double ## on the original line.
[Galaxy S5 Mini Android Development] Asgabat:
I tried but same story, won't start
[Galaxy S5 Mini Android Development] mongo0:
thanks; I will go back to the previous kernel then and people who want it oc can flash spookcity's kernel...
[Galaxy S5 Mini Android Development] ToniToshibo:
Hello! Maybe just turn off 1.6 and leave 1.5? 1.6 is not stable, and 1.5 works well. The last build loads fine, but until the user applications launch, I noticed that the freezes and reboots occur due to memory overflow. I tried to fix this by modifying the VM memory settings but so far without much success. I will look further if I find I will write. Thanks for your work!!!:)

Energy savings in the latest test build have improved !;)
[Galaxy S5 Mini Android Development] Asgabat:
please let me know once u upload new build
[Galaxy S5 Mini Android Development] mongo0:
I uploaded a new build with 1.5 Ghz frequency enabled but with gpu and voltage untouched (200 & 300 mhz are still available). I hope this works for all.

md5:

bb8f9c8d7a5bdd600ff1a22234ec466b crDroidAndroid-9.0-20200520-kminilte-v5.12.zip
[Galaxy S5 Mini Android Development] Roadstorm:
Thanks. So far so good.
[Galaxy S5 Mini Android Development] ToniToshibo:
:good::laugh::victory::highfive:
[Galaxy S5 Mini Android Development] White Zangetsu:
Hi! the rom works amazing so far in terms of optimize the terminal, but i encounter a persistent error.

When i use whatsapp/instagram camera for video recording, the app goes forcedly closed.

Do you have any advice to fix that error? that would be amazing!
[Galaxy S5 Mini Android Development] mongo0:
yes video recording is broken, sorry. You can use Footej Camera 2 or Simple Camera and probably others but in many app it doesn't work.

I'm trying to find a fix whenever I find some time but I'm not quite sure what the problem is exactly. Hence, I can't say if it will ever be fixed.
[Galaxy S5 Mini Android Development] SirRGB:
Another Update,?I thought development of my s5 Mini is finally dead.

Can you add that in the changelog? What hast changed?
[Galaxy S5 Mini Android Development] fankool:
With last rom the battery has drained fastly. How can I reduce the frequency of cpu? I nedd to charge my phone often now. Please write me how or, if possible, post a rom with lower frequency or with an app to change the speed. Or maybe you can suggest me an app to change the speed of cpu.. thank you!
[Galaxy S5 Mini Android Development] SirRGB:
If you have root access you can downclock easily with this.

https://play.google.com/store/apps/details?id=com.performancetweaker.app

https://play.google.com/store/apps/details?id=com.smartpack.kernelmanager

---------- Post added at 01:22 PM ---------- Previous post was at 01:19 PM ----------

But normally only the standby drains a lot of battery, you can use apps like Naptime to improve standby battery life or Greenify If you dont have root access.

https://play.google.com/store/apps/details?id=com.franco.doze

https://play.google.com/store/apps/details?id=com.oasisfeng.greenify
[Galaxy S5 Mini Android Development] fankool:
Thank you Sir,

I prefer to downclock the cpu, I'm trying performance tweaker. What was the original speed? 1,4GHz? Any suggestion on governor, to have less consumption when the display is off?

Anyway Mongo0 I'm not so happy to add another application just to change speed, if you can give us the possibility to change the speed at next release or you can say me how to do this editing a file (as I did for volume) it would be better for me.

thank you
[Galaxy S5 Mini Android Development] SirRGB:
The original speed of the cpu was 1400 mhz and the original clock speed of the gpu was 450 mhz.

---------- Post added at 09:17 AM ---------- Previous post was at 09:15 AM ----------

I think its a great rom, the only one that implemented NFC on android 9. You can try LineageOS 16 or Posp If you are unhappy with battery consumption.
[Galaxy S5 Mini Android Development] fankool:
thank you. So, also GPU was overcloked, I'll look also for it. Honestly now I'm trying with a nmore conservative governor, leaving the speed at 1500MHz. And for a plugin for magisk to do this.
[Galaxy S5 Mini Android Development] datester:
unfortunately, no matter what I try, cdroid or lineage, my phone always runs smooth for a few days/weeks and then suddenly it keeps freezing and rebooting, leaving it unusable ... i dont want to buy a new one.. same thing with both of my 2 s5 mini mobiles.. someone know what to do or having any idea or suggestion please ?
[Galaxy S5 Mini Android Development] bmwdroid:
Do you keep track of amount RAM free when this happens?
[Galaxy S5 Mini Android Development] ToniToshibo:
Hey. I suggest you increase the zswap 50-> 75 using the init.b script.

This will speed up the system and prevent freezing.

You can also change the Build.prop file the value of the lines ...

dalvik.vm.heapsize 256->64 or 128This will also add speed and stability.

Do not forget to make a backup, and after changing the Build.prop file, clean up Dalvik / Cache.
[Galaxy S5 Mini Android Development] friscoboi:
WiFi Problems?

Hey, I just Set Up a s5 Mini with this Rom. Everything ist perfect, Love it, except for one Thing: anyone having Problems with WiFi disconnecting constantly, having to bei turned on again manually?
[Galaxy S5 Mini Android Development] fankool:
You're not alone. Every day, when I switch on phone, after 1 restart when the phone is ready I press the icon to activate the wifi, the icon becomes coloured but it's not working, and when I try to to do the same again the icon is dark (I mean wifi is off, despite I switched it on). In other words I must start 2 times the wifi to turn it on.
[Galaxy S5 Mini Android Development] mongo0:
I uploaded the rom with latest patches from upstream, as well as many patches/changes to the device tree, md5:

25ebfbfbba488a1de971045f6a4e6187 crDroidAndroid-9.0-20200915-kminilte-v5.12.zip

...tested with opengapps (pico) 20200915: boot / re-boot ok, running 2.5h+)

I'm still quite busy with other stuff so I apologize for not being very responsive atm...
[Galaxy S5 Mini Android Development] 2faraway2:
Thanks for the new build :)

I haven't heard a long time something about the signature spoofing capabilities of this rom.

Someone out there with more actual knowledge ?
[Galaxy S5 Mini Android Development] fankool:
The link of the new release is not working!
[Galaxy S5 Mini Android Development] Asgabat:
link is broken
[Galaxy S5 Mini Android Development] Asgabat:
where do i get that script?
[Galaxy S5 Mini Android Development] ToniToshibo:
for zswap - set "Kernel Adiutor" 1) go to create profile, 2) create new profile, 3) virtual memory section, 4) zswap slider 50-> 49, 5) save profile, 6) open profile details and copy to clipboard , 7) go to the creation of the init.b script, 8) create a new script, 9) paste from the clipboard and change 49-> 75, save, delete the created profile, reboot or run the script from the program. Build.prop is also edited from the same program that I wrote above to edit. Try ...

After creating and testing the script, the application can be deleted.
[Galaxy S5 Mini Android Development] fankool:
thank you for new release
[Galaxy S5 Mini Android Development] 2faraway2:
Does anyone can confirm that this rom supports signature spoofing ?

Maybe [MENTION=5532636]mongo0[/MENTION] ???

Thanks in advance :)
[Galaxy S5 Mini Android Development] 2faraway2:
I answer the question by myself:

Signature spoofing isn't supported :(
[Galaxy S5 Mini Android Development] friscoboi:
And also flash Magisk again in the same step?

Or only flash os and opengapps (1) then reboot (2) then flash Magisk in twrp (3)?
[Galaxy S5 Mini Android Development] bmwdroid:
For dirty flashing you only need the ROM itself.

Magisk performs an reinstallation on its own.

Just wipe cache/dalvik afterwards.
[Galaxy S5 Mini Android Development] mongo0:
Updated the ROM to include latest security patches.

Also changed some permissions for bluetooth and wifi related stuff as well as media codecs settings (for smoother video playback).

md5:

ff24b8fe226fc62506f3d9f93e6131e4 crDroidAndroid-9.0-20201016-kminilte-v5.12.zip

(hopefully dropbox doesn't suspend the file share again..., sorry about that..)
[Galaxy S5 Mini Android Development] friscoboi:
Thank you so much!!!!
[Galaxy S5 Mini Android Development] friscoboi:
Still, system UI Crashes sometimes. Needs some time to start Back Up again.
[Galaxy S5 Mini Android Development] SirRGB:
I dirty flashed to the latest build and now my SD card ist detected. I tried removing and inserting the SDcard, rebooted several times. As I formatted the SD card as internal storage, the device is not that usuable anymore. I dont know if this is a hardware issue, but it just appeared after updating. Tomorrow Ill downgrade to the release before and share my results.

But huge thanks to mongo0 for still updating this old device to date and responding to my dump questions.
[Galaxy S5 Mini Android Development] Roadstorm:
Clean flash is always best.
[Galaxy S5 Mini Android Development] friscoboi:
I went back to the 202006 Version. Never tried 202009. But 202010 was so slow and ui Crash. Maybe because of Dirty flash. But on my own Phone i always did dirty flash in the past and it Always worked.

I will wait and See. It is the Phone of a friend. Crashing is Not good. She is Not very technical.
[Galaxy S5 Mini Android Development] fantaji:
I get "Updater process ended with ERROR: 7" when I try to flash.

I dont know what to do.
[Galaxy S5 Mini Android Development] Dzof:
Thanks a lot for your efforts. it's still my favorite Pie rom so far

i find the last build 20201016 v5.12 a little bit laggy.

Can you please re-upload the "crDroidAndroid-9.0-20190815-kminilte-v5.7.zip"

i want to give it a try.

Thanks again
[Galaxy S5 Mini Android Development] Ghost091180:
"crDroidAndroid-9.0-20190815-kminilte-v5.7.zip"

Download crDroidAndroid-9.0-20190815-kminilte-v5.7.zip
[Galaxy S5 Mini Android Development] fankool:
Same problem for me when I tried to install last version of lineage. I remember I desperately tried many times in different way, I think I solved formatting cache (not just cleaning). Anyway I can assure I solved the problem using twrp without cancelling any informaton stored on the phone.

---------- Post added at 22:30 ---------- Previous post was at 22:02 ----------

Also for me. Always dirty flashing, always ok, but using the last 2 releases the phone is extremely slow.
[Galaxy S5 Mini Android Development] Dzof:
Thanks a lot !!!
[Galaxy S5 Mini Android Development] mongo0:
Uploaded ROM with latest security patches. I also increased the recording volume quite a lot (from 16 to 28); I hope this will work out and fix calls in this regard.
[Galaxy S5 Mini Android Development] mongo0:
oh md5:

676e94bd1e767fcbb3c092d4bace2e6a crDroidAndroid-9.0-20201116-kminilte-v5.12.zip
[Galaxy S5 Mini Android Development] friscoboi:
Thanks so much for the November Version.

I will Test it after Christmas when I am with the Friend with the S5 Mini.
[Galaxy S5 Mini Android Development] mongo0:
Updated ROM, md5:

870e592b19a19bd50753cb6a1cb715b4 crDroidAndroid-9.0-20201223-kminilte-v5.12.zip

Sorry if the last update made radio crash a bit too often. I mistakenly included a change in the last build which should not have been included.

I made some changes to dalvik vm, which improved things a bit for me:

dalvik.vm.heapstartsize=8m (was 16)

dalvik.vm.heapsize=512m (was 256)

this should prevent (certain) oom situations. I couldn't reproduce an crash with these settings anymore.
[Galaxy S5 Mini Android Development] SirRGB:
Thank you for another update for this 6 year old device! I'd like to see an iPhone which has longer software support. :D
[Galaxy S5 Mini Android Development] friscoboi:
No success Here. It installs fine and runs. But soooooo slow.

I wenn Back to the Version before August. Some Apps get it hang up.
[Galaxy S5 Mini Android Development] yomguy75:
Works really great, thanks a LOT!
[Galaxy S5 Mini Android Development] Asgabat:
anyone knows the reason of frequent reboots on crdroid build?
[Galaxy S5 Mini Android Development] ChriMo:
I'm still on crDroidAndroid-9.0-20200915-kminilte-v5.12 - do not use the phone often. With Airplane mode the battery lasts almost 2 weeks ;-)

But I can confirm that the GUI is extremely slow. I will now try updating to twrp-3.5.0_9-0-kminilte.img and then do a dirty flash of crDroidAndroid-9.0-20201223-kminilte-v5.12 and open_gapps-arm-9.0-pico-20210203 since I would prefer to not have to reset and reinstall a lot.

EDIT1: after doing the dirty flash now since over 60 min I see the crDroid loading screen...

EDIT2: clean install of first crDroid+opengapps and then crDroid only resulted in the same bootup crDroid loading screen.

Hints on what could cause or solve this appreciated.

EDIT3: I now successfully installed lineage-16.0-20210116-UNOFFICIAL-kminilte+(microG).zip

So not sure why the last crDroidAndroid did not start up.
[Galaxy S5 Mini Android Development] mongo0:
Updated the rom to include security patches from December and January. md5:

a38e46279680d5cd37f63012a618e429 crDroidAndroid-9.0-20210313-kminilte-v5.12.zip

it also includes the following prebuilt apps: (both: fdroid release)

SimpleKeyboard (https://github.com/rkkr/simple-keyboard), keyboard for smaller screens

LastLauncher (https://github.com/SubhamTyagi/Last-Launcher), very RAM friendly launcher
[Galaxy S5 Mini Android Development] friscoboi:
Is it better now? The last versions were slow, crashing and so on.

Where did the Android 7 version of crdoid go? I might go back to that. Can't find it so far.
[Galaxy S5 Mini Android Development] friscoboi:
I went back to Crdroid 3.7 for my friend with the s5 Mini. I guess it is just too old for Android 9. It was so slow and frozen. Emergency calls could be done within 5 minutes or so.
[Galaxy S5 Mini Android Development] Asgabat:
can anyone upload the latest version to mega.nz? i can't download it from dropbox
[Galaxy S5 Mini Android Development] bmwdroid:
Do you have no access to Dropbox at all, or just the one from #1?

I've got the file but only Dropbox possible for me.