yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] side:
Changelog:

Date:11-May-2019

Version 8

md5:66aa3b244c5aaafa150565f098fc501b

Upstream merge until 10-May-2019

Update to r37

May 2019 security patches

Never allow QS icon press if user has got PIN/pattern on lockscreen (for wifi,airplane,nfc,bluetooth,hotspot)

One Hand QS Tile. Press = Toggle one hand mode

jf: Enable old sound picker

(WHEN CHOOSING RINGTONE USE THE "Media Storage" AND NOTHING ELSE)

jf: Push libsec-ril libraries

prop: Disable Vsync for cpu rendered apps

init: Load dummy initial BT MAC address

Dex optimizations

init: Increase maximum size for socket receive buffer

init: Set rq_affinity to '0'

Bionic optimizations

Finalize the UI improvements ( Finally 60fps smoothness on UI)

Tune interactive governor

Tune PegasusQ governor

Fix the touch boost never been enabled

Update our wallpaper

Stop BT location scannings and never allow user to enable it

Add pseudo-bokeh on Snap camera (Its on ISO modes as PORTRAIT)

Clean up some logs and sources

Fix some selinux denials

Reduce camera to api1 for better response (api2 is not working good on custom jf roms anyways)

Fix a bug where user got "reboot to recovery" when selecting '0' rows/columns on QS icons

A better sleep drain

init: Set min freq to 216000

Disabled NFC by default

overlay: Let light sensor warm up before work

kernel: Zip it with GZIP

Move system services to system-background cgroup

Revert "development: Force GPU for screen composition"

Clean out some double sounds

Fix turned-off charging (Show percentage and new animation)

Bug fix "Wallpaper is half black after rotating quickly "

Dialer: Add option to disable proximity sensor (Settings->Display settings)

Fix memory leak on Settings

Fix some wifi issues ( i believe )

Relocate location QS icon to main icons

core: Zygote: Disable any DEBUG reference

Built with latest java 11

Kernel changes:

Upgrade kernel to 6.1 version with the following changes

Enable ZRAM/Zcache/zsmalloc

Optimized LMK

Kill some debug spams

ARM optimization flags here and there

Fix memory leak on wifi and general clean up

Enable autodetection of OOM

Fix BT and wifi memory leaks

Compress ramdisk,kernel and zram with a faster compression type (faster boot and executions)

Increase swappiness to 60

Clean up CPU's behavior code
[Galaxy S 4 i9505 Original Android Development] side:
oh...and by the way..i know that i promised an enforcing kernel but i didnt release it :( ...yea..its not that easy for now...although...i prepare something BIGGER ;)

Stay tuned

(Hint:Its a rom)

PS:

A custom twrp build2 is coming too
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
dirty flashed: first boot very fast, like a reboot with prev. rom ! :o

GPS (Germany, Berlin, cloudy sky): first fix in 199 s

deep sleep is working, here.

- if this matters some{how,one} -

THX ! :good:

P.S.

I owe you a bottle of "zypero" (spelling ???) => much dizziness :angel: without headache afterwards
[Galaxy S 4 i9505 Original Android Development] side:
It's "tsipouro" and it's my favorite drink. There is no week where i won't get dizzy

Hehehe
[Galaxy S 4 i9505 Original Android Development] gvamp:
I have also dirty flashed V8... and it's awesome. It's so incredible fast, there is such a big speed improvement of the ui. Great work, side & buff. BTW, first GPS fix 120s, indoor under roof window, rainy (wtf?), Stuttgart. Thank you, dudes ! Will be soon on holiday in your country, side :)

The reduction of the cam API to 1.0 let me think about manual shutter settings and raw file format with the S4. That was never possible with this mobile. Is this a technical restriction of the hardware or would it be possible with Android >= 5, API 2 and a modified rom/cam ?
[Galaxy S 4 i9505 Original Android Development] maxdido:
So smooth and fast, like a V8 engine. ?
[Galaxy S 4 i9505 Original Android Development] side:
I am pretty sure that hardware can support it.. Although... Camera for s4 is so strange.

S4 is the first device where Samsung locked it hard. I can't do much. Even the best devs around couldn't (like cyanogen,antares,invisiblek etc)

Sorry
[Galaxy S 4 i9505 Original Android Development] vip5912:
FYI: Feedback

I have also dirty flashed V8. Magisk & Recorder are gone.

I have dirty flashed V8 once more: ROM, Magisk, Gapps, Aroma.

Now everything works perfectly. :good:
[Galaxy S 4 i9505 Original Android Development] LeChat84:
Thanks !

<3 <3 <3
[Galaxy S 4 i9505 Original Android Development] reilyn27:
the speed of v8 surprised me great work team
[Galaxy S 4 i9505 Original Android Development] side:
Behind that nice build its not only me... There are many testers that keep wiping their whole device for testing... NEVER forget to thank them.

No testing = no bug tracking
[Galaxy S 4 i9505 Original Android Development] sjamie:
Go, Side, GO!!! :victory:
[Galaxy S 4 i9505 Original Android Development] side:
God bless u daddy
[Galaxy S 4 i9505 Original Android Development] Jcth1:
Downloading now and out of my canadian S4, s7 UK, s7 Canadian and s9 Canadian I want to always come back to the s4.

Many thanks to devs and testers. Love this phone. Best aosp experience I have at the moment across my devices.
[Galaxy S 4 i9505 Original Android Development] :
I just made a simple google search and found this.

https://developer.samsung.com/galaxy/camera

https://img-developer.samsung.com/onlinedocs/sms/camera/index.html

can´t this be used somehow?

sorry noob question, for sure you know this allready :)
[Galaxy S 4 i9505 Original Android Development] loketa:
[MENTION=5968293]side[/MENTION] One bug has been found for now => Cannot connect to the hiding wifi (Hiding Access Point)
[Galaxy S 4 i9505 Original Android Development] gotluck:
i9505g insufficient space to install pico gapps

beautiful rom though!
[Galaxy S 4 i9505 Original Android Development] Ironsteal:
Still having trouble with touch screen not working after turning off the screen. and twrp 3.2.3 is no touch as well. so i have to install with cwm recovery.
[Galaxy S 4 i9505 Original Android Development] nirritia:
try this solution. read a few pages before trying https://xdaforums.com/apps/magisk/module-systemless-beansgapps-mini-7-1-x-t3611362
[Galaxy S 4 i9505 Original Android Development] Slavestate:
Go figure.. My S4s display decided to somehow die in my pocket on the way home from work the night you posted this thread. The misses bought me a Galaxy S6 Active to replace it, and that thing STILL hasn't been hacked yet.. LOS was awesome while it lasted, and great work keeping that old S4 running to this day [MENTION=5968293]side[/MENTION]!! Time to get used to Touchwiz and Nougat again hah.
[Galaxy S 4 i9505 Original Android Development] Catscratch:
Try first flash without any root solution. Then startup and wait for the system configuration. Configure everything.

If everything is running. Reboot into recovery and then flash your root solution. Then reboot without cache and dalvik wipe.
[Galaxy S 4 i9505 Original Android Development] hicham15:
please where is the link of version 2.thanks a lot
[Galaxy S 4 i9505 Original Android Development] RowanDDR:
Thanks but still stuck at "Just a sec"! when I skipped installing a root solution.

Which Gapps? 64bit or 32bit? (32bit I assume, thats what I tried anyway)
[Galaxy S 4 i9505 Original Android Development] pocketrule:
When encountering a problem, before asking the community, you could carefully read the first posts, then the last 10-20 posts, then search the thread if this problem has already been addressed. Very often, you can answer the question yourself ;)

The answer to your actual question can be found in OP
[Galaxy S 4 i9505 Original Android Development] DerHimmel:
What described was exactly what happened to me too.
[Galaxy S 4 i9505 Original Android Development] LeChat84:
Hi,

Thanks to this post, I solved my proximity sensor broken problem : https://xdaforums.com/showpost.php?p=76032930&postcount=76

Do you think it will still work with your Pie ?

Thanks.
[Galaxy S 4 i9505 Original Android Development] side:
9505G users, please PM me
[Galaxy S 4 i9505 Original Android Development] maxdido:
That happened to me too once, with oreo 8 version. Since then I flash rom and gapps before starting the system.
[Galaxy S 4 i9505 Original Android Development] hicham15:
please i need the link of version 2
[Galaxy S 4 i9505 Original Android Development] dj 77mx:
The same problem of Oplos 15.1, the sim dont work (again); please fix it... [MENTION=5968293]side[/MENTION]
[Galaxy S 4 i9505 Original Android Development] Retrial:
You can find the link in OP. https://androidfilehost.com/?fid=11410932744536995302
[Galaxy S 4 i9505 Original Android Development] loketa:
Probably not, there another way which work with any rom but xposed is required
[Galaxy S 4 i9505 Original Android Development] pocketrule:
And you NEED to follow the forum rules! I've already answered your question. If it was helpful (and I'm sure it was), you could leave a thanks :svetius:
[Galaxy S 4 i9505 Original Android Development] LeChat84:
I do not mind installing whatever is needed.

Have you a link explaining how to do that ?

Thanks.
[Galaxy S 4 i9505 Original Android Development] siMp0lMaN:
Can't seem to find aroma link? :confused:
[Galaxy S 4 i9505 Original Android Development] side:
thats the sdk in order to create a camera app...our problem is way deeper...its on the camera wrapper/driver
[Galaxy S 4 i9505 Original Android Development] GOOGLE_USER:
Not_slippin'

​

Doesn't hurt to ask.
[Galaxy S 4 i9505 Original Android Development] gotluck:
Unable to install pico gaps with version 8 because of i9505g system partition size.

Loving this rom though!
[Galaxy S 4 i9505 Original Android Development] GOOGLE_USER:
GO

Uh oh, gotta GO... user here possibly.

Maybe peel the lid off of that PICO, excise some more G fat, and suture it up?

Or if requested, perhaps [MENTION=5968293]side[/MENTION] would consider refreshed GO build.

What if... no, no, that doesn't fit either.
[Galaxy S 4 i9505 Original Android Development] Aqua1ung:
How's dirty flashing working with this one? Anyone?
[Galaxy S 4 i9505 Original Android Development] dvhttn:
Have you not bothered to read backa few posts ..... :confused:
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
Oh, I'm Q-rious! [emoji16]

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Aqua1ung:
Alright, so when dirty flashing do I have to flash gapps as well, or just flashing the ROM will suffice? (I already have gapps, of course.)
[Galaxy S 4 i9505 Original Android Development] GOOGLE_USER:
SMH

C L I C K H E R E ​
[Galaxy S 4 i9505 Original Android Development] Josey Wales:
I have a DUMB question. . . when I dirty flashed v7 I recall flashing ROM, gapps then installing Magisk within Aroma installer. . . do I flash Aroma installer to uninstall Magisk or flash the Magisk uninstaller in TWRP and reboot system to make sure Magisk is uninstalled before rebooting back into TWRP to dirty flash v8 ROM, gapps and Aroma installer[emoji848]
[Galaxy S 4 i9505 Original Android Development] cawli2:
When I flashed V7, I did just the ROM. I had trouble with the gapps apps so I then flashed gapps and all was good.

This time with V8 I did both the ROM and gapps at the same time and all is good.

I am tiring of the snide remarks from [MENTION=7576522]GOOGLE_USER[/MENTION]. I thought this forum would have a higher standard than that.
[Galaxy S 4 i9505 Original Android Development] GOOGLE_USER:
PRAY_TELL

And how, pray tell, is providing a link to an answer, that the member should have easily accessed sans assistance, considered snide?

If you don't care for my responses then exercise your ability to block me.

Care for a link to exhibit the method?
[Galaxy S 4 i9505 Original Android Development] Retrial:
You can follow the steps in my guide in the section "dirty flash"
[Galaxy S 4 i9505 Original Android Development] kewinhw:
Is it the same for newer Samsung devices? I can imagine that those devices are even harder? :/
[Galaxy S 4 i9505 Original Android Development] cawli2:
I have tolerated a number of your troll quality posts in this thread long enough and I will indeed block you. You do not add to the knowledge base in a kind and supportive way. Bye bye.
[Galaxy S 4 i9505 Original Android Development] side:
why always on my threads :/ ? .... do i promote fanatism or something ? Stop tackling like chickens
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Yes. I also have a Galaxy S7 with custom ROM and the camera libs there is locked as well. You have to use other camera apps, but none are as good as Samsung's.
[Galaxy S 4 i9505 Original Android Development] Bernd82:
Version 8, Feedback to the dev's: good job, thanks. But: the mobile phone was 28 hours in Standby with activated wifi and a handful Apps without Facebook. It was 88% percent in deep sleep, 9% had the Wakelock "msm_hsic_host" (the modem), that's a little bit to much, especially with activated wifi.

Anyone have the same result?
[Galaxy S 4 i9505 Original Android Development] :
Great ROM Guys,

can I just dirty flash v8 over v7??

thanks
[Galaxy S 4 i9505 Original Android Development] bersem:
I dont know what happend [MENTION=5968293]side[/MENTION] but since one week ago on Version 7 my battery consumption is very high. Version 8 same

Before had excellent screen on time about 3 hours.. Now 1h...

Logcat attached
[Galaxy S 4 i9505 Original Android Development] gvamp:
Yes, I have reported this wakelock with same and higher values a while back with v6 and still have these with v8. Try to deactivate "Mobile Datennutzung immer aktiviert" / "mobile data always active" in the developer option. Once I thought that this could have a positive effect. But with v8 it seems that this wakelock is higher than before. :confused:
[Galaxy S 4 i9505 Original Android Development] side:
all i see is gapps
[Galaxy S 4 i9505 Original Android Development] bersem:
wrong logcat command?

logcat >/sdcard/name of problem.txt

I have to say: Performance are excellent (charging very fast ) on both versions 7 & 8 except the high consumption. Excellent work [MENTION=5968293]side[/MENTION].

I made dirty flash on every new version with gapps without wipe dalwik & cache.

Regards and thanks for your hard work !
[Galaxy S 4 i9505 Original Android Development] gvamp:
BTW, I have checked the very same phone of my wife. Same ROM, same version, same modem, we have been at the same places/radio transmitters. She has only 2% of this wakelock. :eek: Only difference I know of is the provider, mine is O2, her is Vodafone. What's yours Bernd?
[Galaxy S 4 i9505 Original Android Development] bersem:
Can it be that my notification LED drains the battery?

In the morning I dont use the phone at work for a few hours and the notification LED flashes a few hours.
[Galaxy S 4 i9505 Original Android Development] Bernd82:
Mine is O² ("Blau.de", DCS-1800-frequencies) . In absolutely Standby the drain is at 1,2% per hour, with unofficial Lineage OS 14.1 the drain is 0,5% per hour - same Phone, same cell network. I don't know why. Modem? ??*♂️
[Galaxy S 4 i9505 Original Android Development] gatarax:
Hello i'm novice...how to install magisk uninstaller? I only find magisk install here

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 but magisk uninstaller is not mentioned :confused:
[Galaxy S 4 i9505 Original Android Development] Retrial:
You can find magisk unistaller in the thread you posted. It is in OP in Downloads with all magisk links. Anyway if you still can't find it, you can grab the magisk unistaller here.
[Galaxy S 4 i9505 Original Android Development] vip5912:
How you see the statistics of wakelock & deep sleep time? Thanks.
[Galaxy S 4 i9505 Original Android Development] gvamp:
Usually this would be definitely a moment for GOOGLE_USER :D, but to make it short: google for Better Battery Stats xda edition or GSam Battery. And use the SysLog app from the playstore to create a whole set of logs.
[Galaxy S 4 i9505 Original Android Development] :
no, use aroma installer.

chose the thingy thing where buffla wakelock blocker is in there.
[Galaxy S 4 i9505 Original Android Development] gvamp:
Why that ? The "thingy thing" is the BuffCore and the tool is named boeffla. AFAIK Boeffla doesn't show app wakelocks (just kernel), BBS is more compact and custom references can be set.
[Galaxy S 4 i9505 Original Android Development] vip5912:
Of course I have installed BuffCore and I know BBS from XDA I wanted know what tool are you use (Do I need install BBS?). Thank you anyone.
[Galaxy S 4 i9505 Original Android Development] myxdaaccount:
This is just a feedback on dirty flash of v8 with system, cache and art / dalvik wipe over a v5 clean install: UI faster but I have no deep sleep if BT is active, and unfortunately I need BT active as I have a smartband paired with the phone.

Later EDIT: Restored v5 over v8 (dirty flash) and deep sleep returned with BT active.
[Galaxy S 4 i9505 Original Android Development] bersem:
it stays at 1% 2 hours and dont shutdown. battery drain was high today again :confused:

can anyone help what to do now? clean flash of version 8?

thanks !
[Galaxy S 4 i9505 Original Android Development] Retrial:
Have you tried to clean install v8? Try clean install and check. If you still have problem, let your phone to shut down from battery, then full charge it and check. Maybe your battery need some calibration.
[Galaxy S 4 i9505 Original Android Development] bersem:
Clean flash in progress
[Galaxy S 4 i9505 Original Android Development] :
buy

new

phone

:p

oh wait,, did i misunderstood?

at 1% for 2 hours ? what to do?

try if it stay at 1% forever?! :D no?

if so, wow :D :D :D
[Galaxy S 4 i9505 Original Android Development] bersem:
LOL
[Galaxy S 4 i9505 Original Android Development] Solway:
Ive been testing this version 8 (clean install) for a few day now.

Sorry but the sim card issue has gotten worse.

endless simcard errors. and it happens even when wifi is off. whereas previous version 7 was kinda stable if wifi was off and only data on.

And GPS doesnt lock either, same as before. (ive tested with 17 satellite fixes for about 60minute, and nothing...)
[Galaxy S 4 i9505 Original Android Development] gvamp:
I had the same sim card issues with V6 at the beginning, in the first week after flashing. 2-3x per day I had the same message, only reboot fixed it. But since then it has disappeared completely and I don't know why. I also have dirty flashed V8 at the first day of release and still don't have any issues. What I have done so far and you could try (because I did this meanwhile):

- reflashed the rom (not dirty)

- cleared dalvik in recovery

- installed newest modem I9505XXUHQK1

- deactivated "Mobile data always on" in developer options

- GPS was never a problem, but I have refreshed A-GPS data several times in GPS Test with "clear and update"

- replaced/removed SD card and cover

- ... (don't remember) :D

Good luck !
[Galaxy S 4 i9505 Original Android Development] myxdaaccount:
I had problem with the simcard error too, and resolved by putting a piece of paper folded many time to make it thick, just right over the simcard socket so when you put back the back-cover will create some pressure. I'm not joking! It seemed it was an electrical contact problem ...
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
Works only for a while, though. The problem will come back, sooner or later.

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Solway:
i'll do some test.

on version 7. sim card tripped out when wifi was on. and i would go out into the wilderness, then soon i came back into range of other wifi area, the error would appear

on this version 8, im getting it no matter what. although first look at the patterns, it seem to be stable with data off. and wifi on....

Side did say the wifi/sim use the same kernel...

edit:

just done a dalvik clear. and now my wifi doesnt turn back on lol. i'll have to dirty flash it again.
[Galaxy S 4 i9505 Original Android Development] gvamp:
AFAIK, additional to the kernel there are two separate pieces of software on the phone called modem and baseband (wifi/bluetooth), often flashed together as combined. BTW I flashed the modem/baseband from *here*. These must be flashed with Odin, not with TWRP.
[Galaxy S 4 i9505 Original Android Development] Solway:
Ive got the latest UK modem installed.

im going to continue testing

Model	GT-I9505
Model name	GALAXY S4
Country

Version	Android 5.0.1
Changelist	5978264
Build date	Wed, 16 Nov 2016 10:12:05 +0000
Security Patch Level	2016-11-01
Product code	BTU
PDA	I9505XXUHPK2
CSC	I9505BTUHPK1
[Galaxy S 4 i9505 Original Android Development] bersem:
Even after the clean flash, it has not gotten better.

The battery consumption is high. Display running time is about 1:30 hours. In the earlier versions it was about 3 hours.

V8 Performance are awesome but battery drain too. lol

I found an bug. It crashes during manual network selection.

Maybe I'll try the battery calibration and i discharge the battery now and charge it.

Logcat attached

EDIT: How is your battery life ??

Regards !
[Galaxy S 4 i9505 Original Android Development] gvamp:
I don't think that the battery life is worse with V8 in general (maybe just a little bit), but it has amazing performance now :). Also you could have a look at all logs (instead just the logcat). Create a whole set of logs with SysLog app and have a look into the modem.log if there is much activity.

I have two identical set up S4 with V8:

1. newer battery, DOT 1.5 - 2.5 h, 10-15% awake when screen off

2. 6 years old original battery, DOT 2-3 h, 5% awake when screen off

So what I can say is, that the difference results from these things:

- Of course general usage

- Screen off awake time (in BBS) is important (so check your kernel / partial wakelocks) e.g. runtastic was a small problem for me with some jobs running per day

- the provider / radio signal strength seems to play a big role (in my case) resulting in many kernel hsic wakelocks

- display brightness (the automatic brightness doesn't work good for me), I use lower brightness levels especially indoors. A bright S4 display drains the battery very much.
[Galaxy S 4 i9505 Original Android Development] maxdido:
Did you try to turn off bluetooth scanning in V7 and then dirty flash to V8 (LINK TO MY POST)

I think [MENTION=5968293]side[/MENTION] disabled this function in V8. But perhaps it is not disabled?? The user cannot enable it but also can not disable this. I would at least have the option to disable it.
[Galaxy S 4 i9505 Original Android Development] Solway:
update on sim issues:

i first did a clean install of version 8 and gapps. but had endless sim errors, i mean a lot!

Decided to clear the dalvik cache. which broke WIFI (it wasn't turning on)

So decided to dirty flash over the top of version 8 with version 8 again. This borked quite a few apps, so had to install gapps again, and had to manually uninstall some apps and reinstall.

since then (1 day and counting) i have not experienced the "no sim card error". So maybe try that, if you are having issues.

is this a rom having installation problem? something not sticking on install?

GPS still isnt getting a lock though.... so annoying.
[Galaxy S 4 i9505 Original Android Development] gvamp:
Get a fix in 10s here.

- Did you exclude a hardware defect ?

- GPS Test shows >= 8 satellites in use ?

- in GPS Test A-GPS data updated ?

- Tried with Wifi & mobile data on near home router ?

- Your apps including browser/maps have location permission ?
[Galaxy S 4 i9505 Original Android Development] telefoni:
Excellent work again! The V8 is working flawlessly! Thanks!

In my SPH-720 I see download speed of no more then 5Mbps while other phones (including android ones) record download speed of 45Mbps or higher. This happens on different networks so it excludes the router problem. The upload speed goes to 25Mbps which exclude the hardware problems in my phone.

Does anybody have any idea about this problem?