yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] flensdorfer:
Thank you! No need here to store any old sms. What do i have to do to avoid app crash or what should i do if the app crashes after update?
[Galaxy S 4 i9505 Original Android Development] Karls0:
Here's the guide: https://xdaforums.com/showpost.php?p=71886256&postcount=2294

You have to do it only once, later updates should keep the database structure so no need to repeat.
[Galaxy S 4 i9505 Original Android Development] flensdorfer:
Perfect! :good:

This can be done directly before/after updating in TWRP and first reboot or should i reboot after update and then delete the folder and reboot again?
[Galaxy S 4 i9505 Original Android Development] Karls0:
It's always good to let first boot after update without other changes. The SMS app will not work, so reboot to TWRP again and follow procedure.
[Galaxy S 4 i9505 Original Android Development] KevinGelking:
It was fine with the last ROM and I use two different batteries. :)

Thanks for the tip, I'll give it a try and see if that may be the culprit for me as well.
[Galaxy S 4 i9505 Original Android Development] grot84:
I also bought new battery. I am using the app to monitor. First seems like screen, kernel and system are responsible for 65%of battery usage.

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] Wojtaz83:
Yes, this is normal for screen, kernel and system.
[Galaxy S 4 i9505 Original Android Development] grot84:
But in my case battery is dropping 1% per couple minutes :/

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] krzysko88:
update to 7.1.2

7.1.1 its OK, but after upgrade to 7.1.2 i have some problems with internet speed and battery ( new battery keep ~2-3h, but when i use 7.1.1 ver battery keep normal 1-1,5 day, My s4 have very hight temp when i use internet acces or no metter what apps.
[Galaxy S 4 i9505 Original Android Development] Wojtaz83:
Im useing greenify for hibernate all unused app and when im disabled wifi, gsm data and location im having 0,7-3%/h battery drop.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Not always greenify is good! App closed try to restart... and greenify close... this use battery!

Sent from Xiaomi Mi5 Pro on JDCTeam AOSP
[Galaxy S 4 i9505 Original Android Development] iPAQ 6515a User:
Any app for that (meant the identifying the culprit)?
[Galaxy S 4 i9505 Original Android Development] AndrÃ©_Droid:
Anyone knows how pass the safety net test in magisk?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Enable Magisk HIDE.
[Galaxy S 4 i9505 Original Android Development] AndrÃ©_Droid:
Thanks bro
[Galaxy S 4 i9505 Original Android Development] smeroni68:
You welcome.

Sent from Xiaomi Mi5 Pro on JDCTeam AOSP
[Galaxy S 4 i9505 Original Android Development] grot84:
In my case it is not stable root hiding is not enabled after reboot. Even if this is still on in magiks. I need to off and on to make it working again. Any help with that?

Wysłane z mojego GT-I9505 przy użyciu Tapatalka
[Galaxy S 4 i9505 Original Android Development] Karls0:
In my case MagiskHide sometimes stop works. I have to switch the toggle off/on to solve. It's minor bug as it is so easy to hotfix.
[Galaxy S 4 i9505 Original Android Development] hnernes:
For the phones that are suffering from dropped signals, I may have a solution:

I have experienced regular (maybe once an hour) signal drops after updating to 7.1.2. I have now disabled LTE (i.e. set 3G as prefered network) and I have not had a single signal drop in the last 24 hours. :)

It seems like (for me anyway) there is a problem when the phone is toggeling LTE networks with the current state of AOSP or Lineage 7.1.2 ROMS (it was the same for me on Lineage OS also).
[Galaxy S 4 i9505 Original Android Development] Karls0:
But why it happens only for selected people? I'm most time on LTE and I didn't notice any signal drops.
[Galaxy S 4 i9505 Original Android Development] hnernes:
I don't know, but I know there are others suffering from this. If they see my post and try my solution, then maybe we could at least confirm or disprove my hotfix. This is not a proper solution of course, but if this (LTE network toggeling) is proven to be the cause of this strange issue; maybe some of the more tech savvy persons in this forum could look a bit further into a proper solution. :)

I don't know if I did it right, but I have collected a logcat after I successfully reproduced a signal drop.

To reproduce it, I just had to re-enable LTE, and use an app like Snapchat for it to connect to the network, and VOILA signal GONE. It comes back after a couple of minutes.

By the way: this is an awesome ROM in any regards, despite of this small hickup. So keep up the good work, and thank you. :)
[Galaxy S 4 i9505 Original Android Development] drrossum:
Which app is keeping your CPU cores running you can find out running `top -m 6` as root in a shell. You can do that using `adb shell`, or in a terminal emulator app such as "vx connectbot".

"Ok Google Detection" is an evil one. The "com.google.android.googlequicksearchbox:interactor" process uses a lot of CPU resources. You can disable this in Settings->Google->Search->Voice->"ok google detection"->"say ok google any time"=>OFF.

Let us know if you see a difference when turning "ok google detection" off!
[Galaxy S 4 i9505 Original Android Development] Phew89:
Is anyone else having problems passing SafetyNet? It worked fine two days ago. I tried restarting, which used to fix it before when it wouldn't work. I also updated to the latest build.
[Galaxy S 4 i9505 Original Android Development] ExquisiteArcaneAstralMystic:
https://www.xda-developers.com/magisk-developer-assures-next-magisk-beta-will-pass-safetynet-again/
[Galaxy S 4 i9505 Original Android Development] Karls0:
It's Magisk issue. If you don't want to update to beta version (which could have some serious bugs), you can use a hotfix: in Magisk settings check "Core Only Mode" and reboot. It will disable all modules but SafetyNet will pass. I tested and it works fine on Magisk v12.
[Galaxy S 4 i9505 Original Android Development] AndrÃ©_Droid:
Thanks.. will try it
[Galaxy S 4 i9505 Original Android Development] Richy Cali:
WiFi connected, no Internet

Alright, so I'm on a trip right now to China and since I'm Roaming, the data is slow so I prefer using WiFi, but when I connect to any WiFi network, it says I'm connected but no Internet, tried reset, using a WiFi app, tried resetting all WiFi settings, doesn't work. I have latest version of AOSP 7.1.2, WiFi worked in America. SGH-M919
[Galaxy S 4 i9505 Original Android Development] smeroni68:
In China probably you need to use a free vpn app to go through the limitations on internet... google apps are mostly blocked.

Sent from Xiaomi Mi5 Pro on JDCTeam AOSP
[Galaxy S 4 i9505 Original Android Development] FgCampos:
Stuck on TWRP Logo

Please, can someone help me?

I have a Tmobile S4, I've tried to update through OTA and now my phone gets stuck on TWRP boot screen logo and can't perform anything from there.

The ROM boots fine though.

I tried to reinstall TWRP, flash a older and latest version but all got stuck in that logo.

Tried to Google it but found nothing.
[Galaxy S 4 i9505 Original Android Development] Karls0:
It looks like corrupted partition. Flashing stock via Odin and reinstall of twrp/rom could help. If not you can try to flash 4-files rom with re-partition option.
[Galaxy S 4 i9505 Original Android Development] dtriguero:
Is ur /data formatted to f2fs when i had my sgh-m919 it would have problems loading twrp when it was like that. I had to format it back to ext4 before TWRP would load right also gave me problem when my extSd was used as adopted storage instead of removable. What are ur things formatted as.
[Galaxy S 4 i9505 Original Android Development] FgCampos:
I'm using f2fs and also adopted storage.
[Galaxy S 4 i9505 Original Android Development] dtriguero:
Try backing ur sdcard up to PC while booted in Android. Then in setting reformat sdcard to removable storage. Then copy stuff back from PC. Then try booting TWRP. i think it should boot with out hanging on logo should only be a few seconds while it loads. I had to do that TWRP seems to have an issue getting decrypt key or decrypting it all together so hangs trying to. So once u reformat ext-sdcard to removable storage or just remove it from device it should boot TWRP fine because then it no longer has to try and decrypt it. TWRP should​ be fine with f2fs as /data and /cache and /system that was fixed as far as i know but i never noticed the difference nor the need to have formatted as f2fs unless a ROM suggested it even then not much of a speed difference maybe save on ware and tare on the flash memory hardware but not anything noticeable at least not to myself.
[Galaxy S 4 i9505 Original Android Development] FgCampos:
Solved

I removed the ext SD and it worked.

Really thank you.
[Galaxy S 4 i9505 Original Android Development] vlk67:
bluetooth

I'm on last version of this great ROM, but I have a problem with BT. Always when I connect/synchronize my garmin 225 watch with my phone I get big battery drain (50% per night). Only restart helps to get rid of battery draining. Have anyone got any advice how to solve problem with BT? I think I didn't have this problem on previous version.
[Galaxy S 4 i9505 Original Android Development] Feedmeeeee:
it would be night shift feature :) its some kind draining battery and keeping phone awake. if you set night shift to work at xx time this can drain your battery in night..

im using devices with bt soo much bt headset.. watch.. bt sepaker.. no problem at all :)
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Hi guys, sorry for the delay on releasing the update... we had some modifications on our github to support other devices... but this weekend the stable7 will be out public.

Thanks for patience!
[Galaxy S 4 i9505 Original Android Development] akk29:
[MENTION=3545504]smeroni68[/MENTION] - is it known if Bluetooth HFP works on any of the other supported devices. It doesn't work on jfltexx but is it a ROM issue or device specific?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
STABLE 7 is ONLINE!!

Hi guys,

as promise, here the new update.

#### STABLE 7 (20170624)

NOTE: The build has been updated with Magisk v13 beta... if you do a dirty flash over the previous build, before flash, uninstall the Magisk manager app v4.3.3. In this way the new Magisk manager will be installed without problems.

CHANGELOG:

Kernel (jflte)

General code updates

Update sdcardfs driver with latest upstream changes

ROM

Update sources to Android 7.1.2 Release 17

fw/base: general fixes from CAF/upstream

system/core: speed up boot for device that use CPUSET

build: fix verity generation

Sepolicy: rebased both system/sepolicy and device/qcom/sepolicy repos

Build: fixed compiling flags for Kryo targets

Art: ported varius optimisations from AOSPA

Art: add support for Kryo 32 bit devices

Bionic: merged a lot of optimisations (mostly for Kryo) from AOSPA/Upstream

Build: added Roomservice

libunwind_llvm: merged latest upstream changes

sdcard: switch sdcardfs over to bind mounts

system/core: fixes-cleaning for cgroups

libpng: update to v1.6.25

skia: general fixes/updates

fw/base: various fixes from upstream

aapt: set (and enforce) 0 compression ratio as default

vendor/aosp: Pixel theme: various fixes/enhancements

libjpeg-turbo: Upgrade to 1.5.1 + lot of fixes

Overlays: enable Wi-Fi by default on first boot (fixes SetupWizard crash if Gapps are for 7.1.1 ROM)

Overlays: enable full alarm info in quick settings drawer

Telephony: make sensitive phone numbers not to be shown in call log history.

Telephony: fixed minor inconsistency in the CDMA call settings

contacts-common: add support for import contacts to local phone storage

contacts-common: add support to export multi contacts to Vcard

base/bionic/jemalloc: port upstream changes for decay time

Jflte: removed decay time hack (needed for camera)

base/av: merge various fixes from upstream

Browser: drop AOSP Browser in favour of Jelly

WevView: add Chromium WevView (Available now: Google Stable/Beta and Chromium Stable)

Jflte/Gemini: move to Chromium webview

Build: fix user builds

Jflte/Gemini: ship as user builds (SELinux PERMISSIVE)

adb: fix adb issues with user builds

Updated props for SetupWizard

General translations updates

init.rc: cleaned a bit our rc and removed SysInit

LatinIME: fix gesture typing without GApps installed

system/core: reverted sched policy changes made by CAF

init: Run restorecon_recursive asynchronously

Direct link: https://romhut.com/versions/jdcteam_jdc_jflte-7-1-2-20170624-stable-stable-7

Enjoy!
[Galaxy S 4 i9505 Original Android Development] vlk67:


Hi,

Pls,how to uninstall magisk manager?.in my case it can be only deactivated...

EDIT. I was able to uninstall magisk 4.3.3 (in magisk menu), but OTA update to stable 7 did not work for me (download ok, automatic instatation failed - TWRP 3.1.0), dirty flash manualy - ok, after instalation magisk had always FC - I had to uninstall magisk and download 5.0.2 from apkmirror. now all works well (I hope :) ). big THX to devs
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Thanks for info, they can help other users. Magisk v13.0 is in beta, so some stuff is not perfectly working during flash (like removing previous manager).
[Galaxy S 4 i9505 Original Android Development] hpsxrb:
STABLE 7 is ONLINE!!

Great work !

I updated by OTA !

Thank you so much. :p
[Galaxy S 4 i9505 Original Android Development] juniorhonorato1986:
very good thank you!!!!!: D: D: D: D:Boa::Boa::Boa:
[Galaxy S 4 i9505 Original Android Development] joaopbnogueira:
Hi guys,

I've been enjoying this wonderful ROM for sometime, however, I can't seem to figure out how to actually perform the OTA update.

The update has been downloaded and the device boots to TWRP 3.0.2 I believe however it just stays there instead of automatically applying the update. I've tried locating the package under /cache, /data/ota and other directories but can't find the zip file to flash. Can you help me? Shall I simply perform a clean flash?

PS: the downloaded file's checksum check fails, is that normal?

Thanks all!
[Galaxy S 4 i9505 Original Android Development] vlk67:
You can do dirty flash as me (I had same problem as you). Dirty flash or manual update is described on first page
[Galaxy S 4 i9505 Original Android Development] Karls0:
OTA is still a bit bugged. It downloaded package correctly but fails on checking md5. What's more I had to to install update manually as it only rebooted to twrp and didn't do anything. But the second issue may be related with remove MagiskManeger.
[Galaxy S 4 i9505 Original Android Development] Gab_:
Hi guys, I've just bought a Pixel and I wanted to say two things:

1) amazing amazing work with this ROM, I was impressed by how little the difference has been on the Pixel.

2) I thought the Power + Volume Up shortcut for screen recording on this ROM was a stock Android thing, but it isn't on the Pixel and I loved it. Do you know if I can have something that simple and straight forward? I can't find a good app
[Galaxy S 4 i9505 Original Android Development] utsc:
Do you still have the LTE signal drop issue or has it been resolved with the latest 24 June Update ?
[Galaxy S 4 i9505 Original Android Development] hnernes:
I have not tested 24th yet. I will test tomorrow and report back.
[Galaxy S 4 i9505 Original Android Development] Agaspar63:
Thanks for the regular improvements and updates!

I wonder if other people experience troubles with internet communication app such as Line or Skype. I can hear people, but they don't hear me. Seems like a mic issue. I don't experience any problem with standart phone call or whatsapp for instance.

Any advice?
[Galaxy S 4 i9505 Original Android Development] utsc:
I am installing 7.1.2 24 June for the first time on my rooted S4 i337M with TWRP 2.8.7.0 and have downloaded:

1) JDCTeam_jdc_jflte-7.1.2-20170624

2) TWRP-3.0.0-0-F2FS-(JDC).

3) open_gapps-arm-7.1-stock-20170624

4) TBO GoogleApps-ThemeReady-LP-MM-N-v33.1.zip

Any advice or tips for a newbie?
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Just follow the OP and you'll be fine:

First time or clean install:

Download the ROM from the link above

Download GApps package for Nougat 7.1

Download ThemeReady GApps package for N arm

Put the zip files on your SDCard

Reboot in Recovery

Wipe Data / Factory Reset

Optional: convert to F2FS

Select "Install zip from SDCard"

Choose AOSP ROM zip file

Choose GApps zip file

Choose TBO Theme Ready Gapps zip file (needed for complete theming of some Gapps with OMS overlays)

Flash

Reboot system
[Galaxy S 4 i9505 Original Android Development] hnernes:
Unfortunately I still have the same connectivity issue after updating to the 24th stable7, with LTE activated. With 3G as preferred network, the issue is not present; same as before.
[Galaxy S 4 i9505 Original Android Development] Karls0:
It's know issue - our S4 has two mic - one for voice call and one for video call / video recording. Selected apps for some reason use this one for call so if you speak from a distance like on Video call in Skype, your voice is very silent. I experienced it in Whatsapp in previous versions but I did not tested in latest. You mentioned that it is fine so it seems like fixing is in progres but still some apps fail to chose correct mic.
[Galaxy S 4 i9505 Original Android Development] Agaspar63:
Well it's nice to know that the issue was resolved on whatsapp and that the devs are actually working on this ! Unfortunately, Skype was working correctly untill the last update, and isn't working now. Same for facebook messenger. Hope some fix will resolve it definetely.
[Galaxy S 4 i9505 Original Android Development] dVinsmoke:
The rom is very fluid and with great performance, I do not recommend using F2FS in that build is unstable. But I am unable to copy any file from the internal memory to the memory card the copy comes with an error message.
[Galaxy S 4 i9505 Original Android Development] xxxvego:
After flash last update this ROM, Magisk Manager always is stopping and I haven't root access. What should I do now ?
[Galaxy S 4 i9505 Original Android Development] Kippy51:
See this post a couple of pages back: https://xdaforums.com/showpost.php?p=72792871&postcount=2545
[Galaxy S 4 i9505 Original Android Development] jwfoo:
force close on some third party apps included gmail after update to stable7

Have encountered force close on some third party apps included gmail after update (dirty flash) to stable7, any clue?
[Galaxy S 4 i9505 Original Android Development] xxxvego:
Okey but still "SuperSU: SU Binary occupied" ;/

---------- Post added at 11:24 AM ---------- Previous post was at 11:20 AM ----------

One more thing, is it normal for a phone to heat up in the simplest way? And the battery goes down in the eyes.
[Galaxy S 4 i9505 Original Android Development] Karls0:
Is there any backup of previous builds? I consider downgrade as the new one has annoying issue with blocking CPU on high frequencies. Also Magisk Hide seems to work less stable then on previouse one (with "core only" mode it works also on v12, and I don't need any builds). So far I think the best build was Stable 5. It is a bit slower then Stable 6 and 7 but I didn't see any issues with cpu blocking on high frequencies. On Stable 6 and 7 phone overheat because of this issue, and it obliviously affects battery.
[Galaxy S 4 i9505 Original Android Development] vlk67:
Stable 5 http://dl-nyc1-01.romhut.com/secure/version/2124/2295/JDCTeam_jdc_jflte-7.1.2-20170423-STABLE.zip?md5=jUKso3_IgKkHFFP7GKicog&expires=1493993607&plan=free
[Galaxy S 4 i9505 Original Android Development] Karls0:
Ok, and Stable 6? Is there any working links? I have my nanadroid backup but I need zip in case of something goes wrong. I think I will try Stable 6 first until downgrade to 5.
[Galaxy S 4 i9505 Original Android Development] vlk67:
Stable 6 http://dl-nyc1-01.romhut.com/secure/version/2133/2306/JDCTeam_jdc_jflte-7.1.2-20170526-STABLE.zip?md5=-Xoi-j35apnaSbMw_T8Q-Q&expires=1496049492&plan=free
[Galaxy S 4 i9505 Original Android Development] Karls0:
So good someone has full archive :).
[Galaxy S 4 i9505 Original Android Development] elv1503:
I had that issue in the past. Uninstall SU and flash SU zip. Reinstall app. I don't have the latest one. I have 2.79. Not sure what current one is but 2.81 issued some time back.
[Galaxy S 4 i9505 Original Android Development] drrossum:
Use the Magisk Uninstaller, and then install the latest Magisk 13 BETA from here.
[Galaxy S 4 i9505 Original Android Development] Karls0:
I suggest downgrade to stable 6 instead. Stable 7 because of this beta Magisk works unstable. FC of MagiskManeger or root drope occurse. What's more cpu sometimes stuck on high frequencies which leads to overheating. I also had some issues with mobile data - sometimes it lost connection and I had to turn it off and on in toggles. Overall it's great rom but latest build is a regression in my opinion.
[Galaxy S 4 i9505 Original Android Development] drrossum:
Superb battery life

I discovered that the "cortexbrain-tune.sh" component of this ROM may use more battery than it saves. I analyzed the number of voluntary context switches of all running processes over time and saw that, alongside some necessary components, the "cortexbrain-tune.sh" script switches a lot.

The script checks every 3 seconds (during awake and sleep states) if state_suspended has changed, and sets some kernel parameters if it has. Most importantly, it sets power-efficient-workqueue from true during sleep to "user defined" during awake.

Now, you can save a few hundred thousand sysfs reads and writes per day if you disable this script (stweaks -> cortex tweaks -> cortexbrain-background-process) and live with a static power-efficient-workqueue (either 0 or 1). I use pew=1 and don't notice any difference in performance but see fantastic battery performance (100->87% in 15hrs, see picture).

STABLE7 - no cortexbrain-tune.sh

You could also set pew=0 and maxcoreslimit_sleep=1 (down from the default of 2), in which case pew=1 == pew=0 effectively in sleep state.
[Galaxy S 4 i9505 Original Android Development] drrossum:
If Magisk (or any app) force-closes then - yes - you can have your CPU scale to high frequencies working on a hanging process. That is not an issue with the ROM, though. You have to follow the installation instructions.

Magisk 13 is not compatible with the previous version, so you HAVE TO UNINSTALL Magisk before a clean or dirty flash of this ROM, as indicated by smeroni.

STABLE 7 works great for me, no FCs, no hot CPU, no mobile data connection issues!
[Galaxy S 4 i9505 Original Android Development] Karls0:
I installed twice, and really don't want to third try. Trust me, I had many custom roms, on few devices, I'm not a newbie :). FC occurs not frequently so maybe its a matter of time until you will got it. Once I even lost root access after it. Magisk v13 is beta, it's normal it will crash sometimes, or give other bugs. I think it was not the best decision to include it in stable rom.

To sum up - usually I defend this rom, as it is a great job, but this time I doubt that this bugs are coused by incorrect installation. Especially this with overheating - the last build with correct temperatures was, I think, Stable 5. Stable 6 has slightly, but acceptable overheating, while Stable 7 sometimes can make the phone really hot. It looks like last changes from version to version cumulatively broke something. I think devs should look closer the kernel, temperatur control, and governor scaling. As you saw in the post a bit above by [MENTION=5082819]drrossum[/MENTION] - it's really something wrong with optimization. The scripts which should improve the performance in practise generate unnecessary load - it generate heat. Heat = Power. Power = precious battery %.