yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
My torch tile works every-time:good:, and I have done a number of reboots since I originally added it, so i guess it does not have this bug.:highfive:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have just noticed one small bug, which may just be an artifact from the fix, or it could be what you are actually talking about.:confused:

The torch works correctly, and every-time without needing to re-add it to the QS Tiles. However, I have noticed that when I turn the torch off, the QS still shows it as being on until I hide the QS Tile panel. But the tile still turns the torch on and off, it just does not turn the QS tile off, when the torch is turned off.
[Galaxy S 4 i9506 Android Development] foxrft:
Flashing this through TWRP 3.2.1-0 didn't work for me, stuck when patching system image, maybe the file I downloaded got corrupted?

Edit : I don't think it's corrupted, maybe I should use the recovery uploaded by kyasu?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
The MD5: 0a5ace7871046e7a4fa23806d506510a RR-N-v5.8.5-20180129-ks01ltexx-Unofficial.zip

I have both my data and cache partitions formatted as F2FS

I used the latest open GApps, Pico

In reality, I am running TWRP 3.1.0, but I really don't think that helps or hurts

Are you sure you wiped Data, Cache AND SYSTEM. You cannot dirty flash this over ANY other ROM, including another RR ROM!

Have you tried flashing just the ROM, does that boot?

It worked first time for me, and it appears others have also had success (ie no complaints) so it sounds like something on your end.

The only time it failed for me was when I tried to dirty flash over an existing RR ROM:o\

Wait a sec, you crashed while it was flashing? that does sound like a bad zip or (much less likely) a bad TWRP. I think ZIP. check the MD5:good:
[Galaxy S 4 i9506 Android Development] foxrft:
I redownloaded the rom and worked like a charm, thanks for your help!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
In case anyone is thinking of reformatting their data partition to F2FS, please note, in doing so, you will also loose everything on your internal SD Card as well!

Reformatting your cache partition to F2FS is pretty safe, and I personally think of it as a "no-brainer";)
[Galaxy S 4 i9506 Android Development] cmonty14:
RU planning to provide a regular updates of the image incl. newly released security patches?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
ResurrectionRemix has ceased updates to Nougat. However, a lot of the source comes directly from LineageOS, so that will include some changes/fixes. As for Security Patches, these are dependent on RR, and I have seen crDroid (which is still doing dev on Nougat, and I used to build for my previous device) have included the latest security patch while RR has not. Its all up to the devs at RR, I certainly am not going to update and apply the security updates against RR source. Interestingly, the last security patch applied against RR, was actually after the date they said they had ceased dev on Nougat.:confused:

For background, my last device just died, and so I plan on switching to this device, and noticed how old the RR build was, and also saw the opportunity to use the Uber Toolchain (the last thing I did for my previous device before it died). The problem I have with this device is that the SDCard reader is faulty, and I am having issues getting the replacement part, at a good price.

So, as far as regular goes, then NO. The other RR builds are probably so backdated because of the above fact. However, if there is a change in the source that improves the ROM running on MY device, for ME, then I will do a build. Its all about me :cool: But more importantly, if I cant find a cheap WORKING sim/sdcard reader replacement, this may just be the last build. Everyone sells the part for an i9505:mad: and they are NOT interchangeable as most would have you believe.
[Galaxy S 4 i9506 Android Development] cmonty14:
You hit the mark!

I have seen many images that were not continued, and this hits me in particular after a severe security bug has been identified.

The reason why I'm asking is quite simple: if you don't intend (for whatever reason) to maintain this image, I would prefer to install another one.

My interpretation of your response is that you will deliver updated images once you identify a benefit for your personal usage.

What about fixes for malfunctions?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
You have to understand, most if not all ROM developers are not in this for the money. Some are into it as a hobby/interest and maybe gain experience (not me, its not my direct area), and as such, when a new version comes along, in this case Oreo, they move onto that. If you really need the latest security patches, then I would suggest moving onto an Oreo ROM. Maybe even update your device as well. Or maybe build a ROM of your own.

I currently personally like Nougat RR, for the features and eye-candy. I keep financials and very personal info off my phone; ie security is not as high a priority.

As I suggested, maybe Oreo would be best for your needs. Or something else that is still being developed. Such as crDroid. The last time I checked, they have the latest Security patch and are still developing their Nougat branch.

I get NO benefits from you using my ROM. If anything, it means more time responding to questions. However, it appears that the existing build of RR Nougat, for this device is much older, with an older security patch. And as I keep stating, RR has ceased dev, and most other devs have moved onto Oreo. I would not expect too many more other releases of RR, and they will most likely stick with the current security patch. Most official devices have had their "FINAL" builds already released. I have not checked, but these may even be on the previous security patch:confused:

I would only even look at it directly if it affects me personally, and badly:mad:. This ROM is simply a share of a build I did for myself. The changes I think you are talking of, are the type of thing the RR team (or LOS) would look into; and note, if LOS don't fix it, the RR team certainly wont, and not all LOS fixes come through into RR. I have a life and work outside of building android ROMs.
[Galaxy S 4 i9506 Android Development] PixelChris95:
I flashed the boot.img from this rom on los14.1 to get those sweet extra governors to play around with. It's working great so far!
[Galaxy S 4 i9506 Android Development] Zitoooon:
Hi John,

First of all, thank you for the job and the support. Really nice ROM with some gorgeous new apps for me!

Only bug for me is the mhl connection to a screen. The deported screen stays black and nothing else. I've tested it (same cable, same screen) with an i9505 running the official RR v5.8.5 and it works fine (i have approximatively the same apps).
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I was wondering if that would work. However, the thing you are missing out on is that in the ROM I compiled, the actual ROM itself is also compiled with the Uber Toolchain. You have only grabbed the Kernel compiled with Uber TC; which as you have found, will also include the extra Gov's

I dont use the USB/MHL feature myself, but also did not change any code/settings regarding it when building the ROM. So Sorry, not much I can see in fixing it.
[Galaxy S 4 i9506 Android Development] Zitoooon:
Ok, thx, I will try los 14 , see what i get !
[Galaxy S 4 i9506 Android Development] Alexyerga:
MHL for me works well, but I can't send files like mp4, jpg by bluetooth. And when I turn on bluetooth, Wi-Fi lost connection and I have to switch off and switch on Wi-Fi to reconnect.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Yeah, actually just tried sending/receiving files via BT just now, and it was flakey. I could receive a file from another device, but I couldn't send the file; at least the other device didnt receive it, so it may of been a bug there.

I also noticed that when I turned BT off and then tried to turn it back on, it just didn't seem to work at all. There appears to be something not quite right, but it does connect to my BLE heart rate monitor. And I *think* I have connected to a mouse before.

For transferring files, I normally use the FTP feature built into MiXplorer. I think that its also much faster than BT transfer rate as well, but it depends on a common wifi network, although a hotspot from one of the devices would probably suffice; if the other can connect to wifi that is.

edit----------

I still get WiFi though, with BT on, connected and running HR Monitor
[Galaxy S 4 i9506 Android Development] DiamondJohn:
added some info on which CPU Gov's and IO Schedulers I added to the 3rd post above.

https://xdaforums.com/showpost.php?p=75368241&postcount=3
[Galaxy S 4 i9506 Android Development] DiamondJohn:
My AnTuTu

They have upgraded AnTuTu, and I have a few boot scripts enabled now, and the following is my new score. I also switched to the Tripndroid IO scheduler, in a boot script, as well as sticking with the Tripndroid CPU Gov.

Not that it really means anything, but what were people getting on standard LOS14.1?
[Galaxy S 4 i9506 Android Development] Alexyerga:
First of all, thanks for the reply. Are you going to try to fix? Meanwhile, for me, on ResurrectionRemix-M-v5.7.4-BlackMix-20161113-ks01ltexx I don't have these bugs. If you could fix it, of course I will upgrade to your rom.

P.D. Sorry for my bad english.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
As far as I understand, these bugs are in all other builds of RR and LOS using the latest source. As it doesn't affect me, do not expect me to explicitly fix it. Your best best for a fix is to test LOS 14.1 and maybe have them fix it and then most likely it will flow through to this ROM if/when I do another build.

If the bug is a deal breaker for you, then sticking to an older build that works, is your best option. Remember, this ROM is simply a share of a private build I do for me. I get no benefits if you use it or not.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Actually, another idea occurred to me. Most of the Bluetooth stuff is in the kernel. You may wish to try flashing the kernel from the working ROM, over the top of my ROM. Sort of the reverse of what [MENTION=7302398]PixelChris95[/MENTION] did. You will of course lose all the changes I made to the kernel, but it may fix your Bluetooth issue while upgrading the rest of the ROM to the latest RR built using the Uber TC. Just a thought.
[Galaxy S 4 i9506 Android Development] Alexyerga:
I will try it, thanks!
[Galaxy S 4 i9506 Android Development] Zitoooon:
it seems to be HW problem for me, thanks.

No Bluetooth transfert problems for me ;) [MENTION=6696839]Alexyerga[/MENTION]
[Galaxy S 4 i9506 Android Development] DiamondJohn:
There is also a "Bluetooth share" system app. But as I said, I personally use the FTP server in MiXplorer.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
FYI: Bluetooth & WiFi and their interaction appears to be a common issue with LOS (on which RR is based, and I am using the same Kernel & device source) for this device. See the LOS thread for similar issues. Hopefully it will be fixed in the Nougat branch as well.

https://xdaforums.com/showpost.php?p=75475188&postcount=1661
[Galaxy S 4 i9506 Android Development] DiamondJohn:
FYI: new build planned

Our device god [MENTION=4861355]kyasu[/MENTION] has made some updates to the device trees, so just to let you all know, I plan to do another build. I'm just recovering from one of the member disks in my RAID array failing :mad:, and also wanted to let any dust settle in the Lineage 14.1 thread, in case there were any issues with the changes.
[Galaxy S 4 i9506 Android Development] quindecimo:
is it crashing when you go to settings > about phone?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
No.Is any Nougat ROM for the S4 crashing on the about phone screen?

New build is uploading as I type.:highfive:
[Galaxy S 4 i9506 Android Development] klettee:
Have the same effect when tapping in about phone. But bluetooth not working is even more worse.

Gesendet von meinem GT-I9506 mit Tapatalk
[Galaxy S 4 i9506 Android Development] quindecimo:
yes, when I flash the 2017 build it crashes.. maybe I should I wait for the next build that you said. but I will try this first since I downloaded it already..hehehe thanks! :) ;)
[Galaxy S 4 i9506 Android Development] klettee:
Up to now I haven't noticed any problems in the AOKP-Build. Works very smooth! Thanks!

Gesendet von meinem GT-I9506 mit Tapatalk
[Galaxy S 4 i9506 Android Development] quindecimo:
what is AOKP- Build?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I personally have been using the last RR build for a month now with no daily issues :confused:

I think there is something else wrong with your phone or your flash or configuration., Are you running the latest modem & bootloader? You should take a logcat of the crash to understand what the issue actually is.
[Galaxy S 4 i9506 Android Development] klettee:
Another build for the i9506 from DiamondJohn based upon the Android Open Kang Project:

aokp_ks01ltexx_nougat_DiamondJohnDroid_2018-01-08_1637

Gesendet von meinem GT-I9506 mit Tapatalk

---------- Post added at 01:00 PM ---------- Previous post was at 12:48 PM ----------

I hopefully will have a more detailed look at next weekend with your latest RR-build.

My recent systemdata:

Brand: samsung

Board: MSM8974

Device: ks01ltexx

Hardware: qcom

Manufacturer: samsung

Model: GT-I9506

Product: ks01ltexx

Bootloader: I9506XXSDPL2

Thanks for response!

Gesendet von meinem GT-I9506 mit Tapatalk
[Galaxy S 4 i9506 Android Development] quindecimo:
well I think it is my Bootloader? it's I9506XXUDOL1.. but I'm using Lineage OS 7.1.2 right now.. what should I do?
[Galaxy S 4 i9506 Android Development] schwatter:
Where is it? :D
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Putting a smile at the end of what basically amounts to an ETA (frowned upon at XDA) does not make it OK. If you read my other posts you would of known I have been doing maintenance on my hardware, due to a hardware failure. ie I have my own problems.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I knew as soon as I put out another build the included Magisk and MiXplorer would be updated.

I was able to update the Magisk manager from the interface, but had to download and flash the MAgisk installation ZIP in recovery to get it to update to v16.0

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

You may see "BETA" in the text, but I'm pretty sure its a stable release.

I got the latest MiXplorer from F-Droid, but you could also get it directly from the XDA thread.

https://xdaforums.com/showpost.php?p=23109280&postcount=2
[Galaxy S 4 i9506 Android Development] foxrft:
I'm gonna test it now after download is complete, I'm curious to see how FFXV Pocket Edition will behave in this rom
[Galaxy S 4 i9506 Android Development] DiamondJohn:
If your going to be testing games, then trying the different CPU Governors & IO Schedulers I think would make a difference.
[Galaxy S 4 i9506 Android Development] metro max:
Nice stable rom
[Galaxy S 4 i9506 Android Development] metro max:
But i cant delete system apps like google app ... Not with titanoum or inbuilt settings
[Galaxy S 4 i9506 Android Development] DiamondJohn:
If you know what you are doing, then you can delete system apps using MiXplorer.
[Galaxy S 4 i9506 Android Development] metro max:
Thanks but i did it with an playstore app ... But why i cant do it with titanium or the inbuilt option in configuration sttings?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
That is a question for the developers of titanium, and the RR team. But, I would personally call it a bug in both.
[Galaxy S 4 i9506 Android Development] metro max:
Whut are you guys doing about the battery draining? I am using greenify but its not so good ...

---------- Post added at 01:45 PM ---------- Previous post was at 01:44 PM ----------

But the rom is very nice and stable using it for weeks now...now reboots no nothing
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I am using Greenify very aggressively (just using Greenify may not be enough, it has to be configured to be really effective), and I think I am getting great battery life. I am also using the Tripndroid CPU governor, and IO scheduler.

Have you actually investigated WHAT is consuming your battery?
[Galaxy S 4 i9506 Android Development] metro max:
I changed from tripndroid and fiops to interactive and row ...activated core energy savings in kernel adiutor helped me a LOT...i erased ant hal service also
[Galaxy S 4 i9506 Android Development] silokki:
I used few days default settings with greenify and amplify but battery drain was huge. No with tripndroid as cpu and io. Lets see what happens...

Phone is realy hot sometimes.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Your actually right. I previously had a lower powered phone (1.5GHz dual core with 1GB RAM) and found that the interactive gov acted as a min-max; ie it basically only used the max freq when the screen was on, and dropped to the min with the screen off, when not in deep sleep. I have actually now switched to the conservative governor, and have yet to notice any negatives. I expected that it would fail when the screen was off and I had music playing (I have Viper installed which is a serious equaliser), but no, its been rock solid. In previous ROMs on another device I included another conservative governor called Scary. I was a little surprised I didn't include it in this ROM. Maybe the next build.

The fact your phone gets hot is telling you something is causing your phone's CPU to run hard. Chances/my guess is that its something you have installed on top of the ROM. The other day I charged the phone to 100% (Normally I only charge it up to 80%) and booted the phone, but did not use it for a few hours. When I finally turned the screen back on, the battery screen estimated 5 days left of usage; an overestimate at best. I personally know nothing about Amplify, so take the following with a good pinch of salt, I have found Greenify with heavily modified options to really do the trick. ie Greenify (ie add) EVERY app that you don't need running with the screen off (ie I do not Greenify my music player or my equaliser or the stop watch/omniclock). I also set/select the "Ignore working state"& "Ignore background free for most apps.

Have you checked your battery usage screen after a few hours to see what is actually consuming your battery?

Have you tried the ROM without installing any apps? ie just the ROM and GApps and restoring any SMS / phone call history?

Have you tried the "powersave" Gov? it runs the CPU way low, probably making the phone VERY laggy.
[Galaxy S 4 i9506 Android Development] marcinadd:
I have a problem that GooglePay doesn't work on some terminals. I mean Ingenico Group.
[Galaxy S 4 i9506 Android Development] silokki:
I found reason to drain and heat! It was faulty working app... Uninstalled that and phone is smooth and cold.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
New build!

New build is up! see original post for download link.

Change log:

▼ My Changes
▪ Updated Magisk to latest v16.0
▪ Updated to latest Magisk Manager
▪ Updated to latest MiXplorer
▪ Added and enabled an SELinux allow for mpdecision
▪ Synched with the latest code including: RR (It, i.e. 14.1, should be unchanged), LineageOS and Kyasu device trees
see below for the changes this step has added since last public build

▼ Resurrection Remix Nougat Ver 5.8.5 Changelog
▪ project hardware/samsung/
▪ faa6016 audio: Use audio_route_{apply/reset}_and_update_path
▪ b057e8b audio: Update mixer knobs after re-applying output route
▪ 276108c audio: Guard mixer path dependency fix

▪ project external/libavc/
▪ 04c9906 Decoder: Adding Error Check for Output Buffer Size in Shared Display Mode.
▪ db6bf49 Decoder: Fixed memory overflow in shared display mode.

▪ project external/libmpeg2/
▪ 98beb25 Fixing Underflow of ps_dec->u2_num_mbs_left
▪ 6337ea6 Adding Error Check for Output Buffer Size
▪ d63479b Correcting Buffer Allocation for Shared Display

▪ project system/bt/
▪ a9c3c6d BNEP: Check received frame type
▪ 9e46a39 Remove memory reference to invalid mem in error log
▪ 3ee82f7 SDP: Include the offset in sdp_disc_server_rsp
▪ 2f7820f SDP: Pass the bounds to process_service_*_rsp
▪ c7c5824 Fix unexpected behavior in reading BNEP packets
▪ 7705a32 PAN: Fix Use-after-free in bta_pan_data_buf_ind_cback
▪ e0e8df0 AVRCP: Check the number of text attributes requested
▪ abab132 Allocate/free the SDP connection timers only during stack startup/shutdown
▪ a5ececa Removed alarm callback execution statistics
▪ 1b2d48c Fix unexpected behavior in SDP

▪ project device/samsung/ks01ltexx/
▪ f152945 ks01ltexx: fix camera ISO setting in Snap
▪ c0a822e ks01ltexx: fix camera hal shim
▪ 4920b32 power: Allow POWER_HINT_DISABLE_TOUCH in low power mode

▪ project kernel/samsung/msm8974/
▪ 6318b1b ARM: configs: lineage_*: Use ext4 for ext2/3

▪ project hardware/qcom/audio-caf/msm8998/
▪ 5539e4c hal: Haxed header
[Galaxy S 4 i9506 Android Development] Zitoooon:
Thanks for your work!

RR team also!

Just downloading it
[Galaxy S 4 i9506 Android Development] WarrenSpectoor:
which rom is better,,, for everyday use,,, stable,,, no bugs,,, ?? (cm-13.0-20160821-FINAL-BUILD-temasek-ks01lte-V11) - (RR-N-v5.8.5-20180320-ks01ltexx-DiamondJohnDroid) ??
[Galaxy S 4 i9506 Android Development] Zitoooon:
No bugs for me on RR diamondjohn's ROM. Bluetooth, GPS, torchlight, camera, mhl connection, infrared, and sensors are ok. The ROM is battery friendly as well and comes with a lot of resurrection team advanced parameters.

I don't use NFC so i can't say.

Only trick in my country, modem was not set on lte/umts by default so i only connect on 3g network at first boot (i did a clean flash with RR-N-v5.8.5-20180221-ks01ltexx-DiamondJohnDroid ROM).

Moreover you get the last AOSP updates.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Yeah, I thought it was weird that it defaulted to 3G :confused:. I just went into settings, "...more", "Mobile Network settings" and changed the "Preferred network type" to LTE (recommended)". So its not specific to your country.
[Galaxy S 4 i9506 Android Development] Zitoooon:
Yeah just made the same steps to have 4g network for good. I thought you made that setting for your mobile network operator in Australia ;)

Thanks for your time anyway!

---------- Post added at 07:02 PM ---------- Previous post was at 06:49 PM ----------

I made a dirty flash of your last build, and it's perfect. I just needed to re-flash majisk form recovery due to my dirty flash?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Nope, its either in the device specifics I use (ie [MENTION=4861355]kyasu[/MENTION] device tree as used for his CM14.1 build), or in the RR code somewhere.:confused:I have done NO changes which are specific to Australia, and also no changes specific for me. If it was specific for me I would of removed a bunch of stuff such as eMail and exchange and Omniswitch and MusicFX (I use Viper) etc etc etc...

Its not perfect, the fact if you DO click on "check for updates" it crashes instead of simply removing the item from the menu bugs me a little.

As for Magisk, you should NOT have to re-flash Magisk, its already in the ZIP.:confused:I know I didn't need to do it, but I did notice an update to the manager came through just after I had built the zip:mad:
[Galaxy S 4 i9506 Android Development] onenett:
games often take off
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I do not understand what you mean? Do you mean they crash? they uninstall? or something else?

If its a crash, a logcat may help. Also, do the same games work correctly within LOS 14.1? or is it specific to the ResurrectionRemix ROM?
[Galaxy S 4 i9506 Android Development] onenett:
very often take off games
[Galaxy S 4 i9506 Android Development] DiamondJohn:
:confused: what do mean by "take off"?