yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] dddinu:
Unreliable camera

My camera behaves erattically with the stock gapp:

- Taking pictures sometimew works, sometimes works delayed, sometimes I have no idea what's going on or when it's going to take the picture, flashlight stays on for minutes etc

- Always reproductible: trying to enable HDR mode crashes the app and any subsequent attempts to use the camera yield "Cannot connect to camera" until reboot
[Galaxy S 4 Mini Android Development] Raynbow74:
Hi!

I activated omniswitch, later I updated the rom with AICP OTA app, but now the omniswitch app is gone and I cant turn it off :(

Help me please
[Galaxy S 4 Mini Android Development] wartomato:
A) please do not use them together...It will not work.

B) set the time to apply the profile from KA to 5 or better 10 secs...

---------- Post added at 12:04 PM ---------- Previous post was at 12:04 PM ----------

It is not gone, just hidden...;)

You can access it through AE...

---------- Post added at 12:06 PM ---------- Previous post was at 12:04 PM ----------

Change the kernel...I already posted about it here...

---------- Post added at 12:07 PM ---------- Previous post was at 12:06 PM ----------

Snap is buggy from lineageOS side...Use another app, please.

---------- Post added at 12:08 PM ---------- Previous post was at 12:07 PM ----------

Cm 14.1 official thread...
[Galaxy S 4 Mini Android Development] mdhuma:
Pls give me the link. Thx for your reply
[Galaxy S 4 Mini Android Development] dddinu:
Thanks, I did now, but it looks like the problem is in a different place altogether: it seems the CPU gets throttled to 1026 after it spends a lot of time at 100% (don't know if thermally or just internal setting in the gov).

Either way, the behavior is correct, it shouldn't be left running for hours at 100% clock. However, now I'm left with the following dilemma: how to find out which app is holding up the CPU to 100% usage... can't find any CPU/app manager compatible with 7.1 ... Tried closing all apps but I'm still at 100%. A soft reset does fx the problem, but only for so long.

LATER EDIT, for anyone who will deal with the same problem:

The weird CPU load is actually generated by Kernel Adiutor itself, even when running in background. Tested by running another CPU monitor and starting/killing Adiutor repeatedly.

FIX: always kill Kernel Adiutor once you're done tweaking settings or it will run your battery out.
[Galaxy S 4 Mini Android Development] jake3317:
I don't have that experience with ka. Do you use a wrong or old version?
[Galaxy S 4 Mini Android Development] wartomato:
https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549

And disable per app profiles in the app and in settings...That is all.

---------- Post added at 06:50 PM ---------- Previous post was at 06:45 PM ----------

Use g+ thread.

---------- Post added at 06:53 PM ---------- Previous post was at 06:50 PM ----------

For you was the part with: snap camera is buggy under 7.x from stock. You can use another app, like Google camera or footej...
[Galaxy S 4 Mini Android Development] dddinu:
I use the one in the play store. It's the free version and, just a hunch, but it could be related to the ad rotator, it looks like it takes forever to load those ad boxes (even 5 minutes). Maybe the ad rotator has some dumb waiting loop of sorts, I don't know...
[Galaxy S 4 Mini Android Development] wartomato:
Just use the one I posted...It is ad free and freeware.

For your problem:

Do me a favour and test something. Turn media scan on boot off in aicp extras and reboot.

I have both apps installed and running fine.
[Galaxy S 4 Mini Android Development] dddinu:
Turning off media scanning did no good.

Installing KA from that APK did though. It is quite different from the one on the playstore, in that it doesn't have the fancy graphs and stats, but it also doesn't hog the CPU.
[Galaxy S 4 Mini Android Development] wartomato:
Well, at least we solved your issue together...;)
[Galaxy S 4 Mini Android Development] dddinu:
Yeap, thanks! If I may abuse your good will, do you think there is some poor man's work around to get the device encryption working?
[Galaxy S 4 Mini Android Development] wartomato:
Well, this is LineageOS related. Some say it does work, some say it does not and others claim that it will work with some workarounds...

What can I say, I do not use it (flashing the devices so often, that it does not make sense to me).

So considering, that it has had issues since CM-13.0 I think it might never work like any user expected... Sorry.
[Galaxy S 4 Mini Android Development] dddinu:
So basically what this says in the long term is that either Lineage picks up on its speed like CM in the old days or in 1 year or so everyone will revert from CM based ROMs to something else, except there are not many AOSP based OSs that have the device range support that CM used to have... Did I get it right? Sorry for the dumb question, I'm new to the jungle...
[Galaxy S 4 Mini Android Development] wartomato:
That is a possible scenario.

But you got to keep in mind that CyanogenMod now is really back to basics without the money being cyanogen Inc. and the loss of paid devs...And the loss of paid servers...
[Galaxy S 4 Mini Android Development] jake3317:
Bug report: both with the 20170104 and 07 version. After a boot or coming out of airplane mode, the phone connects to the 3G network, while the office is limited to the 2G network only. Resetting it to 2G cures it until the next reboot or airplane mode.
[Galaxy S 4 Mini Android Development] wartomato:
Same on LTE devices, but something that is linked to lineageOS...
[Galaxy S 4 Mini Android Development] mdhuma:
Hi,

Looking for icon pack,can any one tell me how it possible to make change in serranolte device.

I'm not like launchers,just need to change stock icons.

Is it possible to install CM theme engine?

Thanks.
[Galaxy S 4 Mini Android Development] wartomato:
There is no cmte anymore on nougat. lineageOS hasn't released it (yet).

That means changing icons needs a launcher for now...
[Galaxy S 4 Mini Android Development] WeVikingBR:
Why does not it have an official AICP for I9192?
[Galaxy S 4 Mini Android Development] wartomato:
Easy. Doc & myself only own the 3G or LTE version. ;)
[Galaxy S 4 Mini Android Development] WeVikingBR:
Okay
[Galaxy S 4 Mini Android Development] galaxxian:
hi,

i test all aviable n-roms for my i9195. but with the actually build i have the same prob at all. if i plug in the usb-cable and connect to the pc, no message shows up to switch the mode, and no connect to the pc is possible. only charging is going on. in developers-settings i can switch the option to an other point, like mtp to ptp to charge, but nothing happens at all.

can someone tell my about this? a small helpfull answer is what i need.

thanks

/update/

i find out following: do a hardreset with unplug the battery for 1-2 minutes. thats all. after reboot no problems with connecting to the pc
[Galaxy S 4 Mini Android Development] AbdullahPsh:
I have a problem data is not turning on

When i have turn on the data i have to turn on data put my in airplane mode then switch airplane mode off then data sign will show over signal bars
[Galaxy S 4 Mini Android Development] mdhuma:
Yes,

Same here, please fix the bug ASAP

The build fine up to DEC 16, after Jan updates contains the data bug
[Galaxy S 4 Mini Android Development] AbdullahPsh:
I have this problem in all version of aicp

And cm14.1 & aokp
[Galaxy S 4 Mini Android Development] fankool:
My impression: it seems to work well, good to use every day (except the camera, I'm using another app). But the battery! This nougat is draining the battery faster than the 6.0.1. I tried 4 different rom, always the same problem with battery. Your impression?
[Galaxy S 4 Mini Android Development] Thoadi:
CM 14.1 Nougat from ARCO:

2 day 40% or 1h about 1%

Better than CM13.1 IMO
[Galaxy S 4 Mini Android Development] Ulises31:
I am using AICP 12.1 nightly and get same result 1% per hour aprox. I don't use facebook, tweeter and so on, only whatsapp. Don't play games, but BT 1h/day and some phone calls, a normal use for me. Good battery life. I must say I have Greenify, ForceDoze and Kernel Adiutor for battery life improvement.
[Galaxy S 4 Mini Android Development] wartomato:
Well...Except for the custom kernel and some minor battery tweaks in settings: I do the same with my phone, as it is my daily driver work phone.

Currently I am on day 2, predicting 17 more hours...

So there is definitely nothing wrong with battery...

Search the thread, download Remix kernel, set battery to efficiency and disable per app battery profiles.

Nothing more needed.
[Galaxy S 4 Mini Android Development] umuturunc:
Could you share a screenshot about sot?
[Galaxy S 4 Mini Android Development] wartomato:
Hi, nice to see you here...

I surely will...But you will have to wait.

My work phone is now loading...As I was away from it.

Will send a shot, after battery charged and I "use it" normally again.

As I use it most for phone calls & photos... We will see.

For now... I had 3 days battery and 0.5 hours sot...

I need to stop flashing builds for that, as you know ;)
[Galaxy S 4 Mini Android Development] fankool:
Hi guys, my battery isn't in perfect shape but usually I saw a slower draining when I used rr 6.0.1

Like on 6.0.1 "energy consumption" profile (sorry, my phone it's in italian, I don't remember exactly the name of the option in english) is set to "balanced", and no automatic optimization.

If I look at the option "battery optimization" I see that "google play services" and "download" are not optimized and it's not possible to optimize them. But I think it's for everyone.
[Galaxy S 4 Mini Android Development] wartomato:
Yes, you are totally right.

I recommend to set the profile to Efficiency, because that will at least give the phone a break...And gives you more battery life...
[Galaxy S 4 Mini Android Development] jake3317:
I have 10 volume sliders when I do a simple volume up or down. When I click on the down arrow, I also get the normal media and alarm volume level sliders.

How do I get rid of the 10 unnecessary sliders?
[Galaxy S 4 Mini Android Development] wartomato:
Lineage thing after cast activated...Try restarting systemUI.
[Galaxy S 4 Mini Android Development] jake3317:
Thanks, that fixed it (restart of System UI) :good:
[Galaxy S 4 Mini Android Development] fankool:
I'm trying. Today for 2 times the screen didn't accept any input from my fingers, the only possibility was to switch it off (I mean lock the screen, not swithing of the phone) and switch it on again. And then works. Anyone happened?

Can I do something as soon as it happens to create a log to analyze?
[Galaxy S 4 Mini Android Development] wartomato:
Sorry, but was busy.... As promised I used the GT-I9195 "heavily".... using last weeks nightly, Remix kernel and nothing else.

So, here are screenshots you wanted...
[Galaxy S 4 Mini Android Development] lars85destroyer:
Google service battery drain ...
[Galaxy S 4 Mini Android Development] wartomato:
Haha, well...No. I used it for G+ community of AICP...And you guys make me use this almost every minute ;)

And for all that worry about Google: https://xdaforums.com/android/software-hacking/hebf-tweaking-battery-saver-optimizer-t3401341
[Galaxy S 4 Mini Android Development] umuturunc:
Thank you so much Ralf.

Actually I was thinking my battery is dead because I have sudden power offs while my battery is under 30%. My battery and charger is original, not imitation. I tried many roms, xposed modules, optimizers including hebf, calibrating battery but still same issue. Now I can obviously think that my battery is dead. Your sot is amazing even you didn't disable any wakelock especially annoying Google wakelocks. I can't reach 3 hours sot anymore even if I disable many wakelocks and services by using Amplify.
[Galaxy S 4 Mini Android Development] wartomato:
Well, what can I say, except that I noticed I have to change the battery about every 2 years on Samsung.

Well, this is my third battery, but as you know we flash more often than you guys... ;)

Battery is draining much on play services, yes, I know that.

It gets better when you are on Google beta services, but that cannot be a "solution" for a regular user.

As of now I can only advise to install only the essential Google apps you use and turn battery profile to efficiency or lower.
[Galaxy S 4 Mini Android Development] lars85destroyer:
I also use Google apps really often, but I do not have such a heavy drain with Google services ..

You can easily get 4h+ SOT by reducing its consumption imo ;)
[Galaxy S 4 Mini Android Development] efefef:
disable option for magnetic switch?

Hi guys!

Thank you for that excellent rom.

Found it a few days ago and it runs very stable and fast...thanks a lot.

Would it be possible to include an setting for the magnetic switch, wich turns the screen off, when a magnet comes near the switchposition?

That sensor is for "smart"-covers, but is a problem for car-docks that use a magnet (so i cant use my gs4mini anymore as navi).

For aicp11 there was a way via xposed to disalbe it, but it seems that it will still take a long time before xposed would be available for nougat.

I found following thread, but i am not able to handle this (post #10):

https://xdaforums.com/showthread.php?t=2086959

Maybe for you its a simple tweak.

Would be great for me (and all others which have similar use cases....at least its strange - if you ask me - that actually no rom around has that option built in...)

Thank you a lot and have a nice WE!
[Galaxy S 4 Mini Android Development] pompeyon:
Flashed latest nightly and then no baseband, no imei, sim card not detected
[Galaxy S 4 Mini Android Development] mdhuma:
Play store download pending in latest build :(
[Galaxy S 4 Mini Android Development] jake3317:
Is the very latest nightly (0208) stable again?
[Galaxy S 4 Mini Android Development] wartomato:
The build is stable, but I would wait... We pushed in many new things like new superuser... ;)
[Galaxy S 4 Mini Android Development] jake3317:
Thanks for the tip. I'll be on a business trip this week, so I'll need my phone in a good working order.
[Galaxy S 4 Mini Android Development] wartomato:
To let everybody know...

We are including Magisk superuser & root management from now on in the ROM.

We canceled the old CM superuser implementation.

This should work fine with a dirty flash, but

- backup,

- any custom kernel must be flashed separately after booting up the ROM!,

- you will have to grant superuser rights to root apps again,

- the root app management is now done from Settings/Magisk Manager... There is no option in dev settings anymore!,

You can (!) use Magisk to hide root, but it is your choice to do so...

:fingers-crossed:
[Galaxy S 4 Mini Android Development] lars85destroyer:
What would happen if I flash SuperSU on top of this ?
[Galaxy S 4 Mini Android Development] wartomato:
You will have SuperSU...
[Galaxy S 4 Mini Android Development] jake3317:
Why the flashing of another kernel after boot of the ROM? I use the built in OTA app to select swype and kernel zip and flash the whole set at once.

This separate action, it is a one time thing, or will this be the new procedure from now on with every update?
[Galaxy S 4 Mini Android Development] wartomato:
Magisk is installed right after the ROM on flashing and alters the boot.img (like a kernel does too sometimes).

The ROM will not recognize the kernel, even when flashed together through the OTA app.

I experienced it and so wanted to let you know, that flashing it after ROM startup (without wiping caches or anything) works fine.
[Galaxy S 4 Mini Android Development] jake3317:
So, this new procedure needs to be applied after every ROM update?
[Galaxy S 4 Mini Android Development] wartomato:
Yup.
[Galaxy S 4 Mini Android Development] kullino:
Hello from germany,

does the rom runs fine at your phones?

I use AICP a long time, but in the early past i tought the rom doesnt run round. Often apps like ebay, acrobat reader, browser are not smooth, sometimes they crashes. I try different things, new flash (always clear), try overclocking CPU to 1,9Ghz, nothing helps.

I have only a few apps at the phone, an gapps pico.

Is this normal (because of the age of the phone)?

Greetings Kullino
[Galaxy S 4 Mini Android Development] wartomato:
Hard to tell... Even without a logcat...

I use it as my work phone and it runs "round" for me, using a custom kernel...

Well, the phone actually is old, and can not be compared to devices that have much more RAM...

Apps like Acrobat, eBay, etc. are known to eat up your RAM and system resources...

So, I know this is not really helpful, but if we weren't confident that the ROM is "good" enough for the phone, we would stop development for it...

Good night from Germany... ;)
[Galaxy S 4 Mini Android Development] kullino:
Hello wartomato,

Ok, i understand what you mean. Ok, then i think its a result of the dualcore an only 1,5GB of ram.

I bought a used phone (z1 compcat), this phone is so much faster than the s4mini. Ok it has a 2,2ghz quadcore and 2gb of ram. But in my mind i hoped i can change the firmware or apps that the s4mini would get a litle more speed.

It dont need to be terrible fast, but a an example; smooth internet surfing with ctual chrome browser isnt possible. :(
[Galaxy S 4 Mini Android Development] wartomato:
Ahhh...That clears it up.

Keep in mind that the mini is an arm device, like a 32bit PC, lol.

Of course there are better apps to use... Chrome for example is a big, bad beast of a browser and other browser are actually better, faster, less resource-consuming...

That is the same with Adobe...

I think many users could provide better advice here than myself... ;)
[Galaxy S 4 Mini Android Development] masterlex:
Aicp 12.1 less fast and something is missing

hi all, i use aicp since 11.0 release, and now i've updated the rom with clear install with 12.1 relase build date 12.02.2017

but i noticed that the rom is less fast than cm 11 build date 11.08.2016

and something is missing like the widget with toggle buttons for wifi bluetooth gps...

and there no more possibility to chane profile battery in the notify panel

also i cant' find where to change the app on the lock screen menu... s4 mini is nowday a perfect smartphone in daily use and i use it for all without any problem... i don't want to return on the 11.0 build
[Galaxy S 4 Mini Android Development] wartomato:
Hi.

Nougat changed a lot of things...

You now have quick as tiles under the status bar for Bluetooth, GPS, etc.

Sorry, but the feature for changing battery profile with the Q's tile is not in (yet), but it is quite useless, because profiles are handled differently now. Stay on Efficiency and you are good to go.

The toggle for LS apps in the bottom line, like camera? Settings, security, Lockscreen. Tap the gear on the right.

For the speed, well, overall performance is actually faster when measured... So what can I say ;)
[Galaxy S 4 Mini Android Development] DeathLake:
[MENTION=3860593]semdoc[/MENTION] Hocam merhaba.Ben 2 ay kadar önce kullandım AICP ama şöyle sorunlarım oldu.Wi-fi bağlı olduğu halde internet gelmiyor bazen.Telefonla görüşme yaparken ne karşının sesi bana geliyor ne benim sesim karşıya gidiyor.Mobil veri açmak bayağı sıkıntılı oluyor.İlk bastığımda hiçbir zaman açılmıyor sadece 4g veya 3g arasında geçiş yaptığımda veri açılıyor.Kapatıp açınca tekrar yine aynısını yapmam gerekiyor.Bu sorunlar hakkında bilgi verir misin düzeltildi mi,cihazım 9195 İspanya versiyon.Teşekkür ederim şimdiden
[Galaxy S 4 Mini Android Development] umuturunc:
9190 kullanıyorum. 2017-02-19 nightly sürümünü kullandım ve bahsettiğiniz sorunları yaşamadım

I have 9190. Used 2017-02-19 nightly but didn't encounter these issues
[Galaxy S 4 Mini Android Development] DeathLake:
Umut ben Ahmet Çavuş Hangouts'tan konuşuyorduk ya.Bende bu sorunlar Nougat'a geçtiğimden beri var Lineage'de de oldu Resurrection'da da AOKP'de de AICP'de de
[Galaxy S 4 Mini Android Development] heilbron:
[MENTION=5989262]umuturunc[/MENTION] [MENTION=7195515]DeathLake[/MENTION] could our Turkish friends please at least add an English translation to the postings. Thanks!
[Galaxy S 4 Mini Android Development] semdoc:
They are reporting issues on serranoltexx..

Issues with connecting to WiFi and Mobile data...

1. He says that he doesn't have access to internet even he's connected to WiFi.

2. Also he needs to toggle between 4g / 3g in order to get connected to mobile services.

3. he has issues with incomming & outgoing audio while in call.

4. After reboot, he have to toggle 4g -> 3g again (everytime)

Seems like a hardware issues to me, but he also reported that all is good on Non Nougat ROM's also all is good on Stock ROM's too...

Translating, be'coz I wonder If you have similar issues guys.

Awaiting reports,

Thanx in advance :)
[Galaxy S 4 Mini Android Development] umuturunc:
Thanks for your response [MENTION=3860593]semdoc[/MENTION]. I don't have these issues.

Btw maybe you have seen my post on G+.

I wish AICP N has wakelock blocker feature. I'm happy with AICP N except can't blocking wakelocks. But please don't misunderstand me. I know you're doing this work for free and I respect all your works.

Thanks again
[Galaxy S 4 Mini Android Development] wartomato:
Everything okay on my serranoltexx, [MENTION=3860593]semdoc[/MENTION]...

(But I am my my build from yesterday)
[Galaxy S 4 Mini Android Development] slumbi:
Hi. Which baseband is suggested for Nougat? Does it change anything? I'm on CNF7. Often have 3-4%/h battery drain, and seems it is not caused by user app.
[Galaxy S 4 Mini Android Development] wartomato:
No need to change the baseband.

Battery drain is commonly a Google play services problem on nougat.

You can try to restrict the access in settings/apps for the services (not to be always on) and change the battery profile to efficiency with turning application profiles off.
[Galaxy S 4 Mini Android Development] dddinu:
Encryption workaround

I don't know where to report this, so I will write it here hoping someone will take it upstream.

I've been having problems with encryption, which now seems to work out of the box, except:

After encryption, the phone will not find the SIM anymore.

I managed to troubleshoot and drty-fix the issue: it's because a file permissions problem after encryption:

The Telephony service fails to start due to not being to set xfattrs for /data/user_de/0/com.android.providers.telephony

I remember seing a while ago a few commits that were meant to fix the similar problem for restoring TWRP backups (the problem of /user_de permissions). I suspect the problem is very similar.

Quick fix: just delete /data/user_de/0/com.android.providers.telephony using a rooted file manager. It will be properly recreated on reboot, all problems gone.
[Galaxy S 4 Mini Android Development] lars85destroyer:
Hey guys,

did anyone flashed latest nightly successfully ?
[Galaxy S 4 Mini Android Development] wartomato:
Yes...

Working fine for me... 170305 nightly (official this time, haha)
[Galaxy S 4 Mini Android Development] lars85destroyer:
I tried a dirty flash from a january build :p Ran into a lot of problems, hopefully I had a backup :)

Will clean flash the ROM in a few weeks to avoid these
[Galaxy S 4 Mini Android Development] wartomato:
Well, flash from 170212 build official...No problems, but I think you were still on CM root, right?
[Galaxy S 4 Mini Android Development] lars85destroyer:
SuperSU

Had problem with com.android.phone, systemUI, substratum

Plus the audio mod I'm using cause a bootloop atm so I can't flash it :/
[Galaxy S 4 Mini Android Development] wartomato:
Well, disable your theme... The apps you mentioned caused errors (long ago) due to themers not updating.

You can try Default Dark from spiritcroc to test.

Actually I am using Arise sound system as a mod, which is working fine here.