yashsingh1/xdaforums huggingface dataset:
[Galaxy S5 Mini Android Development] tehlers:
I just compiled a current version with your describtion at h**s://github.com/cm-3470/patcher_kminilte. First the compile failed, since frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml is not available anymore. After removing the line from device/samsung/smdk3470-common/smdk3470-common.mk, the compile succeded. But I was unable to boot. The bootscreen from samsung did not disapear, so there must be a bigger problem at the very begining. But anyhow I flashed your current version and exchanged /system/lib/libstagefright* with my own compilation. The vulnerablility app sais, that alls CVEs are fixed now.

So I'm happy now, but I would like to get a working self compiled version somewhen. Could somebody imagine what the bootproblem could have caused?

Best
[Galaxy S5 Mini Android Development] Bthamburg:
That sound good. How do you exchange the stagefright lib? Can you upload your compiled files, please?

Thanks
[Galaxy S5 Mini Android Development] Dr.Betruger:
Stagefright

I made a test with this rom, if its correct this rom seems to be vulnerable with cve-2015-3829 and 3827..please update
[Galaxy S5 Mini Android Development] tehlers:
Ok, I'm sure this is also working with recovery, but I come from classic unix. :)

So I said "adb shell", then "su -" (of cource you need to activate both [debugging and root] after activating the developer options). Then you remount /system read/write with "mount -o remount,rw /system". Make a directory, e.g. "mkdir /system/lib/new" and do "chmod 777 /system/lib/new", since if you want to use "adb push" you are not root, unzip:

h***s://***.androi*filehost.com/?fid=24052804347790675

(sorry I'm not allowed to post links)

On your local computer, go on your local computer to subfolder system-lib and say:

for i in *; do adb push $i /system/lib/new/; done

(I think adb push can't habdle more than one file at once).

Then back to the root shell on the phone, "cd /system/lib/new/", "chown root:root *", "chmod 644 *", "mv * /system/lib/", "cd ..", "rmdir new" and finally make /system read-only again: "mount -o remount,ro /system".

BTW: The HAL sensors seems to be broken, because at least the file "power.exynos3.so" is missing, this seems to be the library for suspend and resume the HAL sensor and it can't be powered on without it. In fact there are 4 files in the original firmware in the folder /system/vendor/lib/hw/ and on this firmware "power.exynos3.so" and "lights.exynos3.so" are missing, I put it into:

h**s://***.androi*filehost.com/?fid=24052804347790675

Do the same steps like ove to include it into /system/vendor/lib/hw/. Afterwards compass and google sky map are working.

Best
[Galaxy S5 Mini Android Development] Dr.Betruger:
Hi, if i understand it right i have to replace that files so for what build exactly is this? Greets
[Galaxy S5 Mini Android Development] Bthamburg:
Thank you very much.

It works for me with the ROM 12.1 2015/05/16

Now I really sleep better :)
[Galaxy S5 Mini Android Development] Andi!K:
Camera Resolution

Hi all,

I hope this hasn't been discussed before, at least I could not find any related posts...

I have recently installed CM12.1 on my G800F, and I am very happy with it, except of one thing:

In the camera app, I have chosen the highest possible resolution (4:3, 8.0 Megapixel), however, in reality the resolution seems to be a lot lower than it was with the Stock Rom. In the properties of the jpg, it says 3264x2448 pixels - which is what I would expect - but the file size of only 0.3 - 0.4 MB is a lot lower than I would expect it to be at 8 Megapixel.

This problem occurs also with any other camera app I have tested.

Does someone know how to solve this?

Thanks and BR

Andi
[Galaxy S5 Mini Android Development] jseethr:
Flashing recovery on Linux?

I've been trying to flash the recovery on Linux (using the tool heimdall). I have done this with earlier phones of mine, such as the S3, but with the S5 mini I have no luck.

Did anybody successfully flash the recovery partition of the G800F using Linux?

Alternatively, is there a way of running odin on either OSX or Linux? (I don't have a copy of windows.)

Cheers,

jseethr
[Galaxy S5 Mini Android Development] tehlers:
Hi,

I have no windows and used heimdall to flash the recovery from first post, the name of the recovery partition is written in capital letters in this phone, so you have to say:

heimdall flash --RECOVERY recovery.img

Maybe that's your problem? Or what's the error message?

Best
[Galaxy S5 Mini Android Development] tehlers:
No, it's actually not discussed earlier!

I can confirm, that I have the same issue, but I have no idea how this could be fixed...

Best
[Galaxy S5 Mini Android Development] jseethr:
Thanks tehlers, it's good to hear that it does work in general.

I use heimdall to detect the device, which works. Then I try to flash and I get the output below.

This happens on my system (Debian testing) and on my friend's system (Mint 17). Any idea what I'm missing?

$ sudo heimdall flash --RECOVERY Downloads/recovery.img

Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna

Initialising connection...

Detecting device...

Claiming interface...

Attempt failed. Detaching driver...

Claiming interface again...

Setting up interface...

Initialising protocol...

ERROR: Failed to send data!Releasing device interface...

Re-attaching kernel driver...
[Galaxy S5 Mini Android Development] tehlers:
Maybe you should compile the latest version? Another issue I can remenber is, that it does not work on any kind of USB-Hub. So plug your phone directly into a USB port of the computer.

Best
[Galaxy S5 Mini Android Development] ayke:
jseether,

I managed to flash TWRP under Linux (Debian Jessie) by running a Windows image (from modern.ie) inside VirtualBox and forwarding the USB connection to the guest. See dedoimedo.com/computers/virtualbox-usb.html.

I also tried heimdall but it didn't work.
[Galaxy S5 Mini Android Development] jseethr:
Guys, thanks for the hints!

I pulled heimdall's head version from github (this identifies itself as version v1.4.1, whereas Debian testing carries v1.4.0), but still I'm not successful. I also made sure that I'm not using any internal or external USB hubs on my computer. I also tried different USB cables. The error I'm seeing now is as follows:

Claiming interface...

Setting up interface...

Initialising protocol...

ERROR: Failed to receive handshake response. Result: -7

ERROR: Protocol initialisation failed!

Releasing device interface...

As a next step, I will see whether I can find an old Windows-CD and look into the VirtualBox approach. Thanks for the hint!

Cheers,

j
[Galaxy S5 Mini Android Development] Schweng:
Can confirm that too.

[MENTION=6225744]hennymcc[/MENTION]: Any news about stagefright and our ROM?
[Galaxy S5 Mini Android Development] lv427:
if this option should show up in the recovery mode (vol-up + home + power), i am missing this option.

is there any other way i can disable signature verification?

TIA
[Galaxy S5 Mini Android Development] exaveal:
Hello,

does anybody has the problem that messengers like telegram or whatsapp only sync when wifi is on and connected?

If mobile network is activated I can surf in net internet with all browsers or can use other apps which need internet. But if I open messengers they don't sync. That means I can just get or send messages, when I'm in the range of a wifi access point :rolleyes:
[Galaxy S5 Mini Android Development] _LiT:
Never happened in any versions
[Galaxy S5 Mini Android Development] exaveal:
changing the APN settings of my mobile network did the job. I don't understand it, but .. ?? I switched from wap.vodafon.de to web.vodafon.de
[Galaxy S5 Mini Android Development] egtheb:
Bluetooth and External SDCARD as target for camera

First of all, a really big thank you from my account ... the upgrade guide is well written and easy to follow. My G800F is working like a charm after being freed from Samsung's 4.4.2 ROM

Only two issues found:

- bluetooth HPF when paired with the car kit (Skoda Octavia 3, but also with a high end Jabra bluetooth headset) - the problem is on the car to phone direction - I can hear well but when I speak the other side hears a permanent noise that almost totally cover the voice - the voice is not distorted in any way but the noise has a higher level; audio play from phone to car, however, it is working good

- I can change the target for the camera's photos and videos to External SD Card but the application can't use it (it worked before in standard 4.4.2); when taking photos the camera acts like it has saved it but it doesn't; the video gives an error immediately and exists.

The first issue or similar is also seen by other Lollipop users, not only Samsung's G800F (a few google answers for noise hfp lollipop)

As for Samsung posting Lollipop update for G800F I found an FAQ on this official site with a resolution for a G800F Android 5.0 :)

I have upgraded to Android 5.0 Lollipop on my Dual Sim device and the data connection isn't available.

Last Update date : 2015.08.07

So, let's not lose our hope :)
[Galaxy S5 Mini Android Development] hennymcc:
Not yet. I already updated my repository and built it for T235. Maybe I will have some time this weekend to build it for the G800F.
[Galaxy S5 Mini Android Development] hennymcc:
You mean those FAQ entries for the S5 mini?

"I have upgraded to Android 5.0 Lollipop on my Dual Sim device and the data connection isn't available." (2015.08.07)

"Why can't I mute my device after upgrading to Lollipop (Android 5.0)?" (2015.08.04)

I don't want to spoil your enthusiasm but these FAQ entries are generic. Check the FAQ for the S4 mini and they will be there too - I think you know what happened with the S4 mini update.
[Galaxy S5 Mini Android Development] Afrodelix:
Bugs I'm having.

1. Cannot enter safe-mode, screen stuck on bootanimation if I try safemode, after safemod attempt battery removal required, phone goes into "optimising app"

2. Wifi constantly droping, no solution avalialbe, tried regions, and multitude of other settings Wi-Fi will just randomly drop without any action.

3. Cannot enter samsung special codes for eg. *#0*# "MMI issue" again tried like 20 different ones.

4. 3g/LTE constantly dropping, cannot make phone calls, browse internet, sometimes is showing no range sometimes showing - no SIM card error. Tried multitude of fixes again no luck, cannot reset modem as cannot enter sysconfig or safe mode.

Please help I'm desparate for solution or any suggestion which can fix it. I would give the phone back to the shop but now I used this rom I can't really do it.

I'm not willing to use stock rom, so bit stuck here :(:(

---------- Post added at 01:20 PM ---------- Previous post was at 01:16 PM ----------

5. Proximity sensor will turn itself on during the call and screen never comes back on, power-off required. Cannot find any settings for proximity sensors, I swear to god I've seen them before where you can change the timeouts etc.

Please please any suggestions :(:(
[Galaxy S5 Mini Android Development] septamobile:
camera

at first, thanks for ROM

at second, thanks for ROM updates

now on G800F cm-12.01-20150708

hi all,

i had the same issue with camera and saving pictures to external SD Card, only internal storage working in camera menues to save pictures, external storage

can be selected but nothing will be saved on it or complete grey pictures seen.

alternate i used foldermount(root), working fine but i thought and again another app in background ... and deleted it.

guys, checking your root access in the development options, for me, superuser was installed and apps with root access working but only camera not stored on external SD card.

CF root in development options were set to off, i enabled it to "apps and adb" and now all the tested cameras saving to external storage without foldermount.

im interested in adding weather to lockscreen, any ideas?

sorry for my english i'm a german.

cheers
[Galaxy S5 Mini Android Development] Afrodelix:
Bugs I'm having.

Never had so many problems after a custom rom. Not a developer but I'm quite capable and been using custom roms since galaxy s2.

Tried stock one again, no problems reported, reinstalled the Cyanogen Custom again, exactly same problems repeat themselves

---------- Post added at 01:37 PM ---------- Previous post was at 01:24 PM ----------

So question to everyone,

1. Can you get onto the safemode ?

2. Where are the settings for proximity sensor ?

3. Can you enter secrete codes ?

4. Does anyone has got the same problems as me ?

I really don't know what to do anymore. :(:(:( Desperate man needs desperate measures.

I'm willing to pay for fixes for that to a developer who complied it.
[Galaxy S5 Mini Android Development] Chesnut:
Safe mode? Secret codes? Why would you need those... Even proximity sensor settings are questionable. You should just use the Stock ROM if you need those things.
[Galaxy S5 Mini Android Development] Andi!K:
[MENTION=6225744]hennymcc[/MENTION], have you had any chance to look into this?

Apparently, this does not occur on all devices (see related thread at android-hilfe.de, cannot post any external links as a new member...), but on a significant number.

Do you have any idea how to fix this?

Thx

Andi
[Galaxy S5 Mini Android Development] stiffmeister75:
[MENTION=6225744]hennymcc[/MENTION]

can you pls. compile a new rom with the stagefright fix?

pls.

thx

stiff
[Galaxy S5 Mini Android Development] jseethr:
Flashing using VirtualBox

I am now using VirtualBox along with Windows 7 and Odin to flash TWRP.

Odin reports success and the phone reboots. However, when I reboot into recovery mode, I find the regular recovery mode, not TWRP.

Did anybody encounter similar problems?

Cheers,

j

---------- Post added at 12:24 PM ---------- Previous post was at 11:52 AM ----------

Hi guys,

I downloaded a newer version of Odin (3.10.6). With this version, it worked right away.

Just letting you know, in case someone has similar problems.

Cheers,

j
[Galaxy S5 Mini Android Development] Afrodelix:
Chesnut - Whats wrong with these, man I need them for various reason, if you have no value to add why speak at all ?

Recent findings :

1. Can you get onto the safemode ? - still no safemode stuck on bootscreen when trying to initiate it.

2. Where are the settings for proximity sensor ? - no settings in gui fine, but they used to be there in one of previous version so I suppose they were deprecrecated. Only settings for proximity with USSD codes.

3. Can you enter secrete codes ? - Yes after enabling FDN which is now disabled by default.

Still have random problems with SIMcard, which is weird as they don't happen on stock rom, just in case requested new SIM.
[Galaxy S5 Mini Android Development] Chesnut:
I am just saying that in my opinion the things you've listed give no value to the ROM. Could you specify what the various reasons are? I for example have never ever needed any of those.

The latest version of this ROM had problems with audio during calls for some users. Maybe the SIM card issues arose then as well. You could try a version of the ROM before the latest one, which is what I'm using. I have not experienced any ROM-related issues.
[Galaxy S5 Mini Android Development] hennymcc:
The camera HAL from stock is used. If there are differences it is probably related to either a configuration option or to some filter that is applied to the images and make it look better. It is also possible that the samsung camera app uses some features of the camera that the CM camera does not.

I have not looked into this so far and I cannot remember that I noticed a bad quality pictures on my phone.
[Galaxy S5 Mini Android Development] hennymcc:
There is no support planned for these features at the moment. There are other issues that need to be fixed first.

If you have some spare time to fix these issues (or find somebody who fixes it) I will apply the patches.
[Galaxy S5 Mini Android Development] hennymcc:
I am currently building a new ROM with the latest CM sources. As I am still on stock ROM waiting for Lollipop to come, it will be untested.

Let's see if Samsung releases the ROM until the end of this month. If there is no update until then I think the Lollipop update will not happen anymore and I will switch back to CM.
[Galaxy S5 Mini Android Development] Afrodelix:
Update : New Sim Card arrived.

Safemode : I needed safemode due to issues with accessing USSD settings and enabling FDN as occasionally services can prevent accessing these, I did get around it eventually and I think most of my problems were related to a Sim card which is common but hard to predict where it was absolutely fine before.

Proximity sensor settings : where I know that's a petty but I got used to a different delay on call pick up and getting annoyed with the time it's taking to come back after dimming.

No other problems reported so far. I do find charging slow but maybe its just my perception these days.

I'm also waiting for them to finally release Lolipop on S5mini, wondering why it took them so long ?

I would like to thank you for hard work and if you have any means of receiving donation Mr. hennymcc - please let me know.
[Galaxy S5 Mini Android Development] hennymcc:
A new untested build is available here:

CM 12.1 ROM: https://www.androidfilehost.com/?fid=24052804347794460

TWRP recovery: https://www.androidfilehost.com/?fid=24052804347794463

Same disclaimer as before:

As this is untested, bricking your device is possible. It is also possible that the ROM does not boot at all.

Report problems in this forum.
[Galaxy S5 Mini Android Development] Kai Disobey:
Recovery works (Backup/install Rom), new build boot up and is running.......:good:
[Galaxy S5 Mini Android Development] DerMoeJoe:
i've testet it on my dummy phone.... recovery & rom are fine to install.

new feature in the recovery mode for "read only" permissions"????

at the first look i can't find some bugs. i'll test it tomorror a bit more.

(y)
[Galaxy S5 Mini Android Development] Afrodelix:
Anyone capable of extracting phone dialer app from the latest version ? - pretty please.
[Galaxy S5 Mini Android Development] Andi!K:
Thanks, hennymcc.

Do you have any idea where such settings or filters might be hidden?

I have installed your ROM coming from stock with a full wipe, and any apps I have installed are from Playstore, not from a backup. Hence, hard to believe that any settings could have survived the switch from stock to CM. And I don't have any picture editing apps or so installed.

I have also tried to uninstall the camera app to completely remove all settings, and to re-install it, but this didn't help either.

Sorry to keep bothering you with this, but I'm using my camera every day and this is the only thing I'm unhappy with since I've switched to CM.

BR

Andi
[Galaxy S5 Mini Android Development] frijolito18:
I'm using Camera FV-5 and it seems that the quality of the photos is equal or even better than stock.

Running yesterday's build and everything works fine on a G800M [MENTION=6225744]hennymcc[/MENTION]. Thanks a lot!

Enviado desde mi SM-G800M mediante Tapatalk
[Galaxy S5 Mini Android Development] Andi!K:
Thanks.

But I've tried several different camarea apps, all with the same result.

Hence, I suppose that the problem is somewhere "deeper" in the system.

BR

Andi
[Galaxy S5 Mini Android Development] Morgensternchen:
Hi, I have the Rom and the Recovery flashed and it runs well. Flash before has a fullwipe be performed because the system will depend.
[Galaxy S5 Mini Android Development] Pharaonic:
Bluetooth

Hi,

i would like to ask you, if bluetooth (primary in car) does works without problem in this ROM, or if known problem remains?

THX
[Galaxy S5 Mini Android Development] SensibleChuckle:
Waterproof

I just want to let you guys know that OTG is either disabled or isn't affected by water. I'm assuming that whatever samsung did to waterproof the +ve to GND is also a thing on the OTG pin (anyone know how samsung did that btw?).

Yep, shes still waterproof!

(Sorry but I cant post the imgur link fully because im a 'new' member. Just go onto imgur and put the below into the HTTP address bar)

/sryCgQM
[Galaxy S5 Mini Android Development] Schweng:
Just dirty flashed the new version. No problems by now. And no more vulnerability to stagefright according to stagefright detector.

Thx mate.
[Galaxy S5 Mini Android Development] ketabruce:
Hi all,

I'm getting random reboots once or twice a day.

Is it happening to me only, or is there anyone else suffering from this too?

Can anything be done about this?

If yes, how can I contribute? Logs, etc?

I'm on 04.11 build (can this be the problem?), everyting else works fine (apart from BT headset audio, but that's a known thing).

(Also, wifi won't always connect automatically, but I already learnt to live with that)

Thanks
[Galaxy S5 Mini Android Development] Schweng:
Why dont you update to at least the 07.08. version? I startet with this version and had none of your issues. Make a backup and flash it.
[Galaxy S5 Mini Android Development] ketabruce:
It's quite a hustle to backup and restore all that stuff I configured here and there in the system.

I'll do it eventually, if I see no option to avoid having to install the new build...

(and yet there is a chance of having the same issues on new build, that's why I asked about it in the first place )
[Galaxy S5 Mini Android Development] Schweng:
Make a full backup (nandroid via TWRP), flash the new version without factory reset and see, if it everything works, like you want it. If not, just restore your backup with TWRP. Easy as that.
[Galaxy S5 Mini Android Development] jixxed:
Installed the 15.08 version on G800F.

Upgraded from 08.07 in just a few minutes. Everything appears very stable so far.

Stagefright is gone :)

Thanks x 1000!
[Galaxy S5 Mini Android Development] Pharaonic:
BT

Guys,

pls, does BT audio works or not with this build?? Thx for answer.
[Galaxy S5 Mini Android Development] jixxed:
It does Work with my Samsung level box bluetooth
[Galaxy S5 Mini Android Development] ketabruce:
It seems that Xposed just won't work for me with the latest ROM. With 5.1 it was fine.

Did I screw up, or it's a known thing?
[Galaxy S5 Mini Android Development] ayke:
Is it necessary to flash a new recovery every time? I'd rather not mess with it unless necessary.

Also, should it be safe to flash without wiping data?
[Galaxy S5 Mini Android Development] KCKitsune:
Anybody having a problem with the newest recovery not reading the microSD card. When I boot into this ROM (8/15 version), it reads the SD card just fine, but when I'm in recovery it doesn't see it.
[Galaxy S5 Mini Android Development] Schweng:
No problems. Saved my backup with the new TWRP on microSD card.
[Galaxy S5 Mini Android Development] KCKitsune:
I have a 64 GB microSD card, and TWRP doesn't see it at all. I don't remember the command to see what it is formatted as. I can check it when I get home in 6 hours.
[Galaxy S5 Mini Android Development] WarStars:
For anyone trying to install the latest ROM for the first time and having the same problem as me:

If after installation you are not able to get root access for your apps:

1. Install the TRWP-Recovery that is listed on the start-page (Odin3-v3.07 (it is contained in CF-Auto-Root).

After that, chek if your apps are able to get root-access.

2. Install the recommended TWRP-Recovery again.

Everything should work fine now. I hope this helps for some guys. For me it worked this way.
[Galaxy S5 Mini Android Development] ayke:
I tried your solution (putting power.exynos3.so in the right place), but while the compass started working again (after calibration), the touchscreen takes a while (10-15s) to respond after the screen was off for a while. I suspect that library not only handles hall-sensor power but also touchscreen power. I removed the file as I power on the screen a lot more often than I use the compass.

Though, maybe, it's possible to investigate what the library does and have both functioning well.

P.S. the second link is wrong, it is the same as the first.