yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Original Android Development] Kaskex:
My battery lasts only 4 max 5 hours, i flashed the last build with full gaps clean flash and it drains quick any recomendations?
[Galaxy S 4 Mini Original Android Development] Thoadi:
Full Gapps? I'm not sure you phone can slepp, check wakelock... 5% awake?

2% Android OS / 3% LOS...

Try Gapps Pico, 3G, no GPS, WLAN only when required... Baseband update?
[Galaxy S 4 Mini Original Android Development] Kaskex:
Thanks i'll try gaps pico and post about it

---------- Post added at 01:08 AM ---------- Previous post was at 01:06 AM ----------

10% wake on wakelock, is that bad?
[Galaxy S 4 Mini Original Android Development] IronRoo:
Guess boot failure has something to do with "settings" running in Direct Boot while the "Protected Apps" module doesn't (from what little I know of Android 7).

Have seen one post that says editing/file transfern via TWRP/ADB doesn't work on nougat ...... But that was a different phone so not sure about ours. Don't even know if editing settings would be possible, sorry no help.

---------- Post added at 01:30 AM ---------- Previous post was at 01:25 AM ----------

Full Gapps!!! didn't think it was even possible. I used Nano, was OK, though do think battery wasn't as good as CM13, though I hadn't turned off adaptive brightness etc
[Galaxy S 4 Mini Original Android Development] ptr1968:
A battery of a smartphone usual only last about 500 charge cycles, you will see the best improvement with a new one.

Even original batteries are cheap for old smartphones

With my new battery, it last 3 days on cm13 pico gapsp with average use.
[Galaxy S 4 Mini Original Android Development] xhoi:
Where did you buy the new battery? Online? f yes, can you help me with a link please? Thanks!
[Galaxy S 4 Mini Original Android Development] bppjenil:
Online battery purchase

Hi friend,

You can buy online from www.aliexpress.com
[Galaxy S 4 Mini Original Android Development] csendre:
eBay is full of them,
[Galaxy S 4 Mini Original Android Development] csendre:
As expected, CMTE is dead

https://www.xda-developers.com/excl...e-cmte-not-coming-back-lineageos-replacement/

OMS is coming (already adopted by most LOS and AOSP based ROMs); many commits merged already. It is a good thing in my opinion, considering that this is also used by AOSP, there will be a larger user base and more themes.
[Galaxy S 4 Mini Original Android Development] IronRoo:
Just be a bit careful who you buy from as there are plenty of fake or "reconditioned" batteries out there, that's why I brought mine from a battery shop nearby, yes it cost me more than double the price of the cheapest online one (probably fake) but was still far cheaper than a Samsung one. It gives me about 6hrs SOT so worth it. See the Accessories forum. And NO there is no such thing as a high mAh battery that is the same size as stock, they are lying!!!
[Galaxy S 4 Mini Original Android Development] Thoadi:
Safety reason to by original. Sometimes the phone geht hot... Fake batteries could burn your phone and even yourself if it's in your pocked...
[Galaxy S 4 Mini Original Android Development] echo124:
[MENTION=3044346]arco68[/MENTION] which method was used in LOS14.1 to implement auto data enable on mms? :) Can't see changelog for the device
[Galaxy S 4 Mini Original Android Development] ptr1968:
patona battery

Ja, there are too many fakes, usual offer higher capacity.

I bought it here: http://www.accubat.nl/nl/product/patona-battery-f-samsung-b500be-samsung-galaxy-s4-mini-i9190-i9195/

For me it holds 3 full days , but i'm not a frequent gamer or apper etc.

At amazon you can see reviews.

peter
[Galaxy S 4 Mini Original Android Development] Thoadi:
OT: my bro bought a battery online for motorola, it was a little bit too thick and the case diden't close well...

Lucky the S4 mini is still fine and thanks to arco for the good Rom :laugh:
[Galaxy S 4 Mini Original Android Development] _cosi_:
There appeared an official LineageOS build: https://download.lineageos.org/serranoltexx

It's version 13, so I wonder if I should dirty-flash my CM13 ...
[Galaxy S 4 Mini Original Android Development] rogers11:
For CM14.1 an experimental build was necessary to flash dirty.
[Galaxy S 4 Mini Original Android Development] sammyrc:
This is complete speculation, but I believe that arco might be preparing for an official Lineage 14 build, looking through the serrano device GIT history.

It also seems that arco has been away for a couple of weeks. I'm hoping they'll be able to confirm or deny upon return.
[Galaxy S 4 Mini Original Android Development] IronRoo:
is that the "experimental" data migration ROM they talk about on this page?

http://lineageos.org/Update-and-Build-Prep/

[edit: looking at download page again it says type = nightly and I can see other devices have downloads marked experimental, so it can't be)
[Galaxy S 4 Mini Original Android Development] brembo10901:
The experimental data migration ROM would be a LOS 14.1 build. You can see an example in the Nexus 4 download section.

Gesendet von meinem Nexus 6P mit Tapatalk
[Galaxy S 4 Mini Original Android Development] IronRoo:
Yes, that would make sense. Though the article just says LinageOS and doesn't specifically state which build. But I would agree with you!
[Galaxy S 4 Mini Original Android Development] Childe89:
Nice, anyone already tried dirty flashing the new LOS official nightly over latest CM13 snapshot? :)
[Galaxy S 4 Mini Original Android Development] rogers11:
Why? It would fail.
[Galaxy S 4 Mini Original Android Development] _cosi_:
Unfortunately I did not find the time over the weekend but I don't think it will fail. I assume that LineageOS took over the CM repository so I expect that this will be the current build of the version 13 branch, taking in all changes since December.
[Galaxy S 4 Mini Original Android Development] csendre:
Did you read the title of the thread?? This is 14.1 not 13 It is Android 7.1.1 based and not 6.0 Big difference!
[Galaxy S 4 Mini Original Android Development] Kot_Ik:
WiFi supplicant bug

[MENTION=3044346]arco68[/MENTION]

There is long lasting bug with WiFi autoconnection. It's starts from CM13 and continues up to current LOS14.1 releases.

I have multiple access points, all credentials are stored at wpa_supplicant.conf once i first time connected to them. But for some reasons sometimes phone can't automatically connect to AP when it's in their range. Phone can see that AP is announcing itself, so AP get into avaliable AP's list (with mark "Saved"), but phone doesn't autoconnect to it. Although I can force phone to connect to AP by tapping at AP's list entry, it's still very uncomfortable.

Autoconnect works fine after system reboot (as far as i can see), but after some sleep it stops to work.

Turning Aeroplane mode on and off doesn't change anything (i suppose it should reload wifi driver and other related stuff, but maybe i'm wrong). Playing with "Keep WiFi during sleep"/"Region codes" options doesn't affect either.

AP's vendors are different (Lynksys, Netgear and so on, based on different chipsets). Encryption is always WPA2/AES. Baseband version is I9195XXUCPB1 (if it matters). There is no system modification like Xposed or SuperSU or something else, only root addon by LOS. Same issues are presented at other phones owned by my family (I9190 with latest CM13.1 nightly and I9192 with latest CM13.1 nightly by [MENTION=5416372]csendre[/MENTION]).

Can't post this bug to LOS, because we are not officially supported. The only saviour mantainer is you.

I've captured a screenrecord trying to autoconnect to one of my AP called 'zenbook'.

May be you even know about this problem, or may be you need a logcat/dmesg/etc., i don't know what to do...

The second issue i've found: camera stops working. To reproduce one should record video (i've recorded 720p video), switch to gallery by swyping from right, view video and try to return back to camera (sometimes one should repeat this more than one time, but it definitely about video recording and playing). There will be dark screen and "Can't connect to the camera" error. For now you can't use camera until reboot. Same thing happens with third-party camera app (com.marginz.snap). Very frustrating :)
[Galaxy S 4 Mini Original Android Development] jan-tyburski:
Hi/Hello

I have maybe stupid question, but I would like build branch which package/build there is on the first page in this thread.

Could someone give me the name of the branch or script code that builds the branch, because I would like to begin to apply the patch?

I'll do it locally on your computer. If you will work locally to provide them to all.
[Galaxy S 4 Mini Original Android Development] csendre:
[MENTION=475307]Kot_Ik[/MENTION] You mentioned you are on CM 13. Do you get the same WiFi issues on 14.1 as well?

The camera problems you mentioned; is that on 13 or 14.1?
[Galaxy S 4 Mini Original Android Development] kaindl:
[MENTION=7410371]jan-tyburski[/MENTION] mostly you can follow the official build guide of LOS, but you have to combine the one for serranoltexxx with the guide of a device with cm14.1 support, as cm14.1 is not yet official for our device (but the branch exists)

BUT: I don't know, if everything, arco68 used for the last build, is in the official repo yet. I tried to build it myself a month ago, but my phone was not able to find the modem then. I found out later, that arco68 used some patches for his builds, that are not yet upstream. But he announced to be away for a while, so you have to try or wait for him to be back to know for sure, i guess.
[Galaxy S 4 Mini Original Android Development] jan-tyburski:
Ok. Thank you for your answer. I will try build but if I will errors I will wait for arco or wait for official build from this thread.
[Galaxy S 4 Mini Original Android Development] utfluc:
I had the exact same problem but in my Nexus 7 tablet, and found a workaround by associating the mac address to a fixed IP, in the AP of course. Since then the problem no longer persists. Try that and let me know how it went!
[Galaxy S 4 Mini Original Android Development] Kot_Ik:
I'm now on LOS14.1, but issue exists on CM13 too. This bug lasts for I9192|I9190|I9195 at least for year, when i first come from stock to CM13.

Only on LOS14.1.

At first time i was at early arco68's build of LOS14.1. Then I switched to my own build of LOS14.1, compiled from sources "as is" (no local commits or any other changes to github repos: TheMuppets and LineageOS), because arco68 don't update his builds for a long time. For now i'm get builds from here, because compiling is too resource intensive for my laptop. I can see that there are clean builds too, as if i made it by myself.

No way, sorry. Some of the AP's i've used even can't be administered by me. The problem is (as i can see) that wpa_supplicant doesn't even try to connect to AP, it has nothing with dhcp or other stuff.

I will try to get bug report|logcat next time.
[Galaxy S 4 Mini Original Android Development] csendre:
[MENTION=475307]Kot_Ik[/MENTION]

Not sure what to say about wifi, there were some commits merged to kernel and evice that were supposed to help with this and actually users reported a radical improvement ... hopefully arco will look further into it.

With regards to 14.1 camera, this is needed: https://review.lineageos.org/#/c/1170/ This was discussed before, people building and posting should know it.
[Galaxy S 4 Mini Original Android Development] ptr1968:
Regarding the wifi ap, overhere we got wifispots for free trough the whole country and with 13.1 nightly October it works perfect, connects automatic all the time.

In the beginning I had to install a certificate of the profider (ziggo) overhere, some profiders might have an issue with modified firmware. (i also did install an app "hide rooting" to fool the profider !?)

This could be your problem maybe Kot_Ik?
[Galaxy S 4 Mini Original Android Development] Ringgss:
If the Ziggo certificate couses the problem, you can use the Ziggo Wifispot without the certificate. I don't use it. Works with no problems with mine.
[Galaxy S 4 Mini Original Android Development] Kot_Ik:
Not so obvious, to be honest. Now i can understand why our devices are not officially supported yet, too many hacks that could not be pushed to official repo with ease.

So to make camera apps work again i should cherry-pick that commit to my local repo & build LOS by myself. I understand. And i suppose there are many commits that fixed other issues and aren't merged into master branch till yet (and will not). I saw some time ago many commits that were pushed and immediately reverted by arco68. Sad fact. (scratching my head) Don't know what to do with this info now, hehe
[Galaxy S 4 Mini Original Android Development] IronRoo:
Trouble is then you can't be sure if you are connected to a genuine Ziggo wifi or if someone is spoofing it. I hope you are using a vpn that uses a strong protocol otherwise all your data is potentially visible to anyone who chooses to snoop on that network.
[Galaxy S 4 Mini Original Android Development] Ringgss:
With the certificate installed you cant verify if its an genuine Ziggo wifispot or a spoofed one. In both the data is encrypted. With the certificate you have a higher encryption, thats true.
[Galaxy S 4 Mini Original Android Development] csendre:
No other stuff, this is the only open commit needed and there is a workaround if you read the comments in that commit. Picking that commit with repopick is easy before you build, but you may have to resolve some merge conflicts occasionally.
[Galaxy S 4 Mini Original Android Development] zikario507:
i have some problem with the wifi and the Data.

the wifi sometimes keep sleeping when i use internet via wifi.. i dont know why.. the only only solution is turn off the wifi and turn on again.. and wait for 3 minutes..

with the data, i use the data for a couple of minutes, after that, i see the data is off, but the phone signal is very strong, and the only soltion for reconnect the data is rebooting the phone again..

im using the last version of LOS14.1, i make an clean install, wipe cache, dalvik cache, rebooting without simcard, all the tricky methods to solve, without sucess..! please help.
[Galaxy S 4 Mini Original Android Development] Kot_Ik:
Please (if you can) point me out, can't see any workaround there. Are you mean that for libc we should use clang instead of gcc, am i right?
[Galaxy S 4 Mini Original Android Development] csendre:
Yes, it is using pre-built libc. Look at how I implemented for AOKP

https://github.com/AOKP/device_sams...mmit/688c09795b6e03dfd1e67aeb4e9b51e077ff9ae9
[Galaxy S 4 Mini Original Android Development] Kot_Ik:
Yep, I've got the idea. Too complicated for me, though. Already compiled with arco68's change, mentioned above. Thanks for helping me out.
[Galaxy S 4 Mini Original Android Development] csendre:
[MENTION=475307]Kot_Ik[/MENTION] Please try this kernel on your 9195 and check if there is any improvemet on wifi: Remix-kernel-CM14-v.8-Dev-LTE-20170303

I am not expecting any miracles but it does have a few net related commits when compared to stock kernel, and you never know.

If you want to go back to stock kernel, here it is: CM14-3.4.113-stock-kernel-LTE-20170303

Both are recovery flashable zips.
[Galaxy S 4 Mini Original Android Development] ProGameAndy:
Thank you very mich for sharing your kernel, will try it out.

I'm also hoping for improvements, because I also have problems like [MENTION=378953]kot[/MENTION]_lk
[Galaxy S 4 Mini Original Android Development] Balino:
I can't seem to pair my s4 mini with my Bluetooth audio player... My Nexus 6p can see it, but not my s4... Is it a known issue? The rest is perfect thank you for bringing us a working 7.1.1 ROM on this old device [MENTION=3044346]arco68[/MENTION]
[Galaxy S 4 Mini Original Android Development] jack_daws:
i have similar problem...

try when you muss search bt device , turn on BT on phone , closely before start pairing mode on player BT ...

this work for me

after start BT on phone it search my player, but when i have manualy search , sometime dont connect
[Galaxy S 4 Mini Original Android Development] csendre:
[MENTION=5000403]ProGameAndy[/MENTION] [MENTION=475307]Kot_Ik[/MENTION] Any feedback, did you get to try it?
[Galaxy S 4 Mini Original Android Development] Kot_Ik:
Still on the go.

At first glance everything wifi-related is ok. But it was ok on my self-compiled build too (before i had to use builds from this post). Can't catch that issue again neither on stock kernel (for 24 hour of use) nor on yours (the same period of time). What about that change, can it be the reason?

Sorry for waiting, i will inform you in case of wifi issue revealing.

The side effect of your kernel is huge battery drainage. I didn't tweak kernel any way, just use it as it ships. Can't gather any valuable statistics though except that for last day i have to live near electric outlet, so you can skip that.
[Galaxy S 4 Mini Original Android Development] ProGameAndy:
Camera crashes when I try to start filming, taking pictures is fine.

But it looks like the Wlan problem is gone, I didn't have any problems till now..[emoji3]
[Galaxy S 4 Mini Original Android Development] csendre:
It could be that commit by arco68, I don't know. I hate wifi issues, sometimes it is something you never thought of.

Thanks for your feedback!

I don't see how the kernel could cause the camera crash. I am also using it, and don't have this issue. This is usually caused by ROM, are you using arco's build?

I believe I will merge changes from this kernel version into the regular remix kernel builds so if it helps you, you can download updates from there.

Thank you!
[Galaxy S 4 Mini Original Android Development] Mek7:
Today I installed the ROM from link in first post (I hope that is the latest one). So far I only encountered crashing Clock app, which is annoying because I had to download a different app to get my alarms working. I tried video recording with camera app and it didn't crash :)
[Galaxy S 4 Mini Original Android Development] VooDoo`:
This could be a language problem. Switch your phone language to english and try again the clock app and tell us the result. So the developer can fix that issue.
[Galaxy S 4 Mini Original Android Development] Mek7:
My phone language already is English - US. By the way, clock has crashed also on last midnight, luckily I was looking at my phone when it happened :)

But I tried to set 12hour time format, but it didn't help. I am also using automatic date & time and automatic time zone. Switching these off didn't help either.
[Galaxy S 4 Mini Original Android Development] Balino:
After some time it starts to see it and pair correctly. I don't know what it's related to but it's working now. Anyway I can't belive how smooth and bug free this rom is... A really well done work! Never tought it would be that good!
[Galaxy S 4 Mini Original Android Development] VooDoo`:
Ok, then i don't know the problem. I had some similar issue with an older custom rom. There the clock app crashed on open appsettings with german phone language. therefore the suggestion.

I had an issue with bluetooth car connection. It wasn't possible to sync the phone contacts. So I purchased the app "bluetooth phonebook" and now it works. Even with contact pictures!
[Galaxy S 4 Mini Original Android Development] Plonkyplonk:
Any idea if and when this ROM will be officially released ?
[Galaxy S 4 Mini Original Android Development] sammyrc:
The $64-million question...
[Galaxy S 4 Mini Original Android Development] jack_daws:
and this ARCO unoficcial ROOM update ???
[Galaxy S 4 Mini Original Android Development] Childe89:
When Arco returns and will have time for it :) I´m also looking forward to official LOS, but those people are doing it for free in their free time, so don´t force them. :)
[Galaxy S 4 Mini Original Android Development] Plonkyplonk:
Yes, I know how it works and I didn't wanted to sound like a twat with tiny hands wanting his official build ASAP. ;)

Actually, my wife's phone is still running the latest CM13 nightly build and I'm thinking of replacing it with LOS like I've already done with my own Nexus 5X. But, as she doesn't like me to clean install her phone every now and then ("It breaks stuff"), and considering the LOS14 build already at the gates, I wanted to take advice about installing the official LOS13 build or waiting for an official LOS14 build.

The community here is warmly active around the phone she owns, big congratulations to everyone involved and working on this build !
[Galaxy S 4 Mini Original Android Development] bobo1704:
Hello everyone! I'd like to install LineageOS on my cousin's S4 Mini. Is 7.1.1 stable for everyday use or is it better to install CM13?

Thank you a lot!
[Galaxy S 4 Mini Original Android Development] Mek7:
I use it daily and it works pretty OK - apart from the crashing Clock app.
[Galaxy S 4 Mini Original Android Development] jack_daws:
yes ARCO has good work with 7.1.1 cm14,1

i use it on work production , none bad issues,,, al works okay

a notable significance improvent in battery stay/stamina ...
[Galaxy S 4 Mini Original Android Development] IronRoo:
It's stable but there are a few things that are not implemented yet, the one that I miss most is being able to change profiles from the quick settings tiles, but there are some nice new features also. Only way to really know which is best for you (or your cousin) is to try it, especially as there are still some apps that are not fully compatible, but I think all the major ones are now.
[Galaxy S 4 Mini Original Android Development] csendre:
The only difference between an official and unofficial build is the computer that builds it. Officials are built on LOS build servers, unofficials can be built by anyone. What difference does it make if it is official or unofficial as long as the same sources are used? The only important thing is that arco68 maintains the 14.1 branches and made it work. Get arco's latest LOS 14 and flash it with confidence (clean flash!) I know exactly why you are concerned, but I also dared to flash an LOS 14.1 based ROM to my wife's phone and all is good, it is wife proof :)
[Galaxy S 4 Mini Original Android Development] genstef:
Nightly builds of serranoltexx

Found this by google-ing and works fine for me

https://visi0nary.de/builds/full/
[Galaxy S 4 Mini Original Android Development] Mek7:
Hey, I recently reported that clock app is crashing. Today I realized that it's not the "cLock" app, but "Clock" app from google apps. It crashes when started from app drawer. If I want to place a widget on my desktop, for digital clock there is only "Loading..." shown, but analog clock seems to display. Both do nothing when tapped on. Can anyone please try and confirm?
[Galaxy S 4 Mini Original Android Development] Thoadi:
My be wrong open google app. With pico works here...
[Galaxy S 4 Mini Original Android Development] jack_daws:
yes works okay , but no root

please tell me how root this....

on develoop option is only ADB root enable... not for app :rolleyes:
[Galaxy S 4 Mini Original Android Development] Mek7:
Thank you for your advice. I reinstalled opengapps (I had version from 5th March, I installed version from 9th March), but the Clock app is still crashing. I have chosen ARM-7.1-Mini on opengapps page. I still can't believe I am the only one :(

---------- Post added at 06:41 PM ---------- Previous post was at 06:39 PM ----------

When I installed LineageOS first, it was not rooted either. Have you tried flashing the correct zip from this page? Should work...
[Galaxy S 4 Mini Original Android Development] jack_daws:
i test it with this version :

http://www.cyanogenmods.org/forums/topic/root-android-using-twrp-recovery-install-supersu/

SR3-SuperSU-v2.79-SR3-20170114223742.zip

works okay , but little different behaviour,how arco lineage fw zip, but works okay