yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Android Development (Snapdragon)] Farmboy0:
Building ROM

I tried to build this ROM myself.

But lunch doesn't list the device.

Are there build instructions anywhere to be found?
[Galaxy S 5 Android Development (Snapdragon)] Painkiller-axel:
Best RR Rom for g901f

Beutyfull Personal Settings

Super,super thanks :)
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Your sentence leans towards the incomprehensible side. What presses the back button when, and why does it do it "only"?

Corinna
[Galaxy S 5 Android Development (Snapdragon)] TuXEKRO:
Sorry for my misunderstanding, i using google translate. Today I had a problem, and the phone was behaving as if I was giving the back button.

I explained, reading something without touching the screen or anything, automatically after a few seconds was pressed only the back button (but when I touch the screen to lower the text for example, this problem did not arise).

The only two changes at that time were:

1. I updated the ROM to that of 17.02.17.

2. I put the phone under water, and from what you see, the cover provided by Amazon was defective, so water entered the phone.

To that the first thing that I did was to disassemble the telephone (take off the screen and others to give it well with the hairdryer).

But the problem persisted, so the next option I had was to update the ROM to that of 18.02.17.

After updating was finally solved, yes thank you very much [MENTION=3419717]cvxda[/MENTION] (Corinna: 3).

P.S:

The update also solved another problem, and when loading the phone, the lock screen (a solid color) was frozen, seemed to respond to the touch and emitted sounds when pressed, but the screen frozen, and alone I could remove the battery to restart. But this in the update of 17.02.17.
[Galaxy S 5 Android Development (Snapdragon)] aamhm:
Thanks i will give it a try
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
I installed it and played a little bit around with some apps this evening.

During that i had 3 unexpected shutdowns.

Strange was: the file /proc/last_kmsg always had an old content, it still shows the logcat with my efs problem, it does not seem to update.

I still use the first version of this day.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I could observe this now as well. Oh well.

Here's a question to which the answer is really important: Is that effect something you're already observing for a longer time and just didn't report earlier, or did that occur with a specific RR release for the first time?

I'm asking because currently I think this problem is something I introduced during kernel updates.

Given this assumption:

If we can isolate a certain RR release as first offender, we have a basis for bisecting the kernel sources more effectively. For instance, if the 20170211 version introduced the problem, we have to check roughly 2000 commits (back to RR 20170203, kernel version 3.10.77 I think). If we can't do that, we have to check about 4000 commits. This only shaves off a single bisect step (9 instead of 10), but given how random the shutdown occurs, this may save us 2 days :}

Next problem: I can upload experimental RR releases with bisected kernel versions for testing. I need feedback if the shutdown problem occurs or not for those (and only that. No other problem matters). The more people test, the quicker we can make the turnaround and the quicker we get rid of this effect.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Here's *another* question: Are you, by any chance, running the zzmoove governor? Does the same problem occur with default settings (interactive governor, mpdecision switched on)?

I'm running two devices, and I can't get the one running the default config to switch off, while the one running with zzmoove and w/mpdecision switched off twice on me today. I now set this device to bog-standard interactive governor and mpdecision switch on as well and see what happens...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
The reboot problem i have already since a longer period of time.

But in the past it was the problem with the EFS filesystem ( i saw different timestamps in the lines with these combinations:

{992866} sbl1_efs_handle_cookies, Start

{993049} sbl1_efs_handle_cookies, Delta

{993080} RPM sync cookie updated

{1002626} SBL1, End

). But the usecase was different than yesterday! Yesterday i was surfing around and playing with apps, the days befor i used the phone mainly for taking and receiving calls.

So, to get it to the point, i think we are talking about 2 problems. The problem with EFS is an older one and the random shutdowns startet with the SW from yesterday (18.Febr.) first build.

If you have a testbuild or just a different bootimage i will test it.

---------- Post added at 01:29 PM ---------- Previous post was at 01:23 PM ----------

I am on interactive governor and all the rest is default.

I was playing around with zzmove but after a while there was only one core online and the phone became slllooowwwww.

But thats already some weeks ago, may be changed meanwhile.

No idea where to switch mpdecision on or off ....
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Reboot problem? In your first post quoting the efs stuff from last_kmsg you wrote

Not rebooting, but switching off.

Again, in terms of the supposed EFS problem you wrote about random shutdowns. And that post was from 15-02-2017, 22:45, three days before the 20170218 release. From my POV this is one and the same problem and it started at least with the 20170211 release.

Thanks.

The default settings of zzmoove are a bit weird. You have to configure the governor, i.e., make sure all 4 CPUs are online, check the governor profile settings, make sure mpdecision is switched off, etc.

Kernel Adiutor -> CPU Hotplug

Corinna
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Sorry - you are right. I mast take care about my wording.

All this problems were shutdowns.

The reboot was manuell initiated afterwards.

MPDecission is ON and was on all the time.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
So, was the 20170211 the first release showing this problem? I assume we can't really count the 20170210 release since it was too short-lived to be tested thoroughly...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
I would not lay my hand in fire for that.....

When i wrote my first reply to that topic it was the first time when i really noticed that we meight have a SW Problem.

As far as i understand the problem is kernel related.

So a sugestion from my site: Can you make a bootimage with a kernelversion (lets say End of Jan. or so) that works with the currend release so i can install and test it during the next week. If i still have these shutdows i can report here.

Other option is: I go back to Rel 20170210 (still have it) and test that one in daily use.

Which one would you prefer?
[Galaxy S 5 Android Development (Snapdragon)] sotos1756:
Hi, i found a bug so i want to report it. I have installed clean skype (not from backup etc), and the microphone does not work, with or without headphones. i uninstalled it, cleaned its cache and still no solution. The microphone permission is on in skype's settings. Any idea?

Thanks.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Hang on, I only assume it's a kernel problem. It's the only cause I can think of since that's what has changed a lot lately in the first place.

Both ;)

First try this:

I uploaded a test release to my site, which you can download only by using direct links:

https://cygwin.de/rr/kccat6xx/RR-N-v5.8.2-20170219-kccat6xx.zip

https://cygwin.de/rr/kccat6xx/RR-N-v5.8.2-20170219-kccat6xx.zip.md5sum

md5sum is ee72de12421bba13db075ea06f6aede4

This is the most recent RR but with kernel 3.10.91, just prior to introducing ZRAM swap. If that works, try the 20170210 ROM. If it doesn't, report back ASAP and I'll move us further back in time...

Needless to say I'm going to test the above RR-N-v5.8.2-20170219 myself...

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Just to have the same understanding:

I install v5.8.2-20170219 now.

"If that works" means i will run it until the first random shutdown?

If i do not get that - lets say until Tuesday evening - i will report here. I will also report if i get a shutdown....:cool:

Thanks also for your work!

Norbert
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Ok, let me rephrase:

First install v5.8.2-20170219 and test. If it suffers a random shutdown (not battery-related), report and I create another ROM with an earlier kernel. If it doesn't suffer the shutdown within a reasonable timeframe (2 days?), install your backup of the 20170210 ROM and try again.

Does that make sense?

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Thats a good plan!

I will do so and report here.

BTW: i just found an old last_kmsg file from 09.02.17 17:35 with the efs shutdown bug inside ...
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
I am not brave enough and don't have the knowledge to make all those tests on my end : /

But thank you for trying so hard to improve this awesome ROM :)
[Galaxy S 5 Android Development (Snapdragon)] ridwan.sn:
[MENTION=3419717]cvxda[/MENTION] please make update too for device lentislte. thanks :)
[Galaxy S 5 Android Development (Snapdragon)] irock4god:
[MENTION=3419717]cvxda[/MENTION] still no work around abou the 720p video zoom?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Doesn't make sense, sorry. The kernel probably won't even boot.

Edit: Please keep in mind that we're talking about a test kernel with an older code base, just to bisect to the offending patch resulting in the random shutdown.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Néocray:
All right, I'll wait for the green flag, then. :)

Yes, it's quite confusing and I can't see how the hotspot switch can be related to the screen unlocking.

Do you have any suggestion to troubleshoot the thing?

I experienced a couple shutdown and one reboot in the last two days. I have been able to explore the logcat from the last shutdown:

{992775} sbl1_efs_handle_cookies, Start

{992927} sbl1_efs_handle_cookies, Delta

{992988} RPM sync cookie updated

{996740} SBL1, End

My device is using interactive governor.

Should I follow cvxda's instructions as well to help debug this issue?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Maybe there is. I'm just testing a patch for the problem, but the patch is for a generic part of the LineageOS repository and not committed yet. It looks promising, though.

Here's the link to the patch, btw.: https://review.lineageos.org/#/c/159136/3

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ridwan.sn:
ok...

yes i know.

but if you want patch from me, if will work fine. and u can modification kernel same as old your configuration..
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
So you have a patch to let lentislte work with the kccat6 kernel? That would be cool. If so, please send the patch as pull request to either https://github.com/IonKiwi/android_kernel_samsung_kccat6/ or

https://github.com//github-cygwin/android_kernel_samsung_kccat6/

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] ridwan.sn:
ýes sure..

i will send u patch a kernel with work fine for lentislte :)

---------- Post added at 04:25 PM ---------- Previous post was at 03:46 PM ----------

@cvxda please look here. im use this master and compare with your master kernel. its will work fine.

https://github.com/18712886438/android_kernel_samsung_apq8084
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Uhm... what am I supposed to do with this? I have such a kernel myself, a stock Samsung lentislte kernel with just minor patches for Nougat, which already works.

The question is what makes this kernel work for lentislte which is missing in our kernel? I need patches for that which I can apply to the kccat6 kernel, not just a bulk kernel where I have to hunt down the differences myself. For that I wouldn't have had to ask for help...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Just FYI: I have not seen reboots with the Lineage OS ROM (with 3.10.104 kernel) using the default governor.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Unfortunately I got one of them yesterday with default governor settings :(. Fortunately I have two G901F now, so one is running what I come up with using the latest kernel, the other is currently running the 3.10.91 test kernel. It didn't suffer a random shutdown yet, despite my best efforts to torture the device thorougly. Currently I have gentle hopes that we can narrow down the culprit somewhere between 3.10.91 and HEAD. Still knocking on wood, furiously, of course...

Corinna
[Galaxy S 5 Android Development (Snapdragon)] michaelbelachev:
Hello Guys! Help me please - who can send me a cache partition of backup from RR?
[Galaxy S 5 Android Development (Snapdragon)] gillus66:
I experienced random reboots on day one, with the very first RR I installed : RR-N-v5.8.1-20170203-kccat6xx.

Note that I also had random reboots with LineageOS. I had one this very morning, just after exiting plane mode.
[Galaxy S 5 Android Development (Snapdragon)] antonijo78:
Random shutdown and no screen lock

Hello Corinna.

After updating to 2017/02/17, and also 2017/02/18 I'm experiencing random shutdown, mainly during the night and charging.

Another thing is that during phone call, when proximity sensor blanks the screen, touch isn't locked and various things get activated, but the screen remains black.

I have also discovered that when in locked screen imediately after locking with power button, both HW keyes (back and recent) are still active (vibra feedback). This also happens if I press home button in locked mode (even though wake on home button is dissabled) and then back or recent.

None of this buttons doesn't wake up the phone they just cause vibrator feedback.

I'm using almost clean system with very few apps and no extra tweaks.

mfg Antonijo
[Galaxy S 5 Android Development (Snapdragon)] Chaosbreaker:
I can confirm all problems antonijo78 is talking about. Exactly the same here. Even with a clean install. Any ideas or is it a common problem?

Because of the shutdown at night while charging I almost came late to work. For now I'm not charging over night (which I know is bad for the battery but I guess we all do it most of the times ;))
[Galaxy S 5 Android Development (Snapdragon)] ridwan.sn:
yes I am also confused. what makes this not work on lentislte. but I also look for differences that make working in lentislte. Therefore I tell you to see this. and compare the differences that you have to change because only you know what you like to change in your kernel,

and hopefully this helps you.

I also will always help because my device lentislte.

thank you
[Galaxy S 5 Android Development (Snapdragon)] 19ket:
Would it be possible to re-upload the build of the 11th of february? I want to go back to it temporary.
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
[MENTION=3419717]cvxda[/MENTION]: I am on v5.8.2-20170219 now and just 5 Minutes ago i had a random shutdown.

So i think we have to go back in time ...

Can you prepare another Testrelease?

last_kmsg see attached file.
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Drat.

The last_kmsg isn't helpful, unfortunately. It shows the boot process, not anything related to a shutdown, as far as I can see.

Next try, kernel reverted to 3.10.75:

https://cygwin.de/rr/kccat6xx/RR-N-v5.8.2-20170221-kccat6xx.zip

https://cygwin.de/rr/kccat6xx/RR-N-v5.8.2-20170221-kccat6xx.zip.md5sum

md5sum is ae08dc661afa0f26e9fcf696785f12b0

As a bit of sugar on top, I applied the patch which is supposed to fix the video rescaling issue per https://review.lineageos.org/#/c/159136/3. It's not yet merged upstream (looong discussion) but it hopefully will be soon.

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I don't have that anymore. Try the one from https://xdaforums.com/showpost.php?p=71125825&postcount=216 instead.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I can reproduce this with a 3.10.104 kernel, but not with the current test kernel 3.10.75 from https://xdaforums.com/showpost.php?p=71125825&postcount=216

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Tarzangold:
This Rom is no good.

RR-N-v5.8.2-20170218-kccat6xx.zip

Very reboot,reboot,reboot........

Very often it happens when the charger is connected. Or mobile phone with pc connected via USB.

I am back to this rom: RR-N-v5.8.1-20170210-kccat6xx.zip

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

I have this Rom from 11.02.2017.

I this Rom RR-N-v5.8.1-20170210-kccat6xx.zip do you want ?
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Is installed. I will report if i get an unexpected shutdown ...

Thanks Norbert

---------- Post added at 04:25 PM ---------- Previous post was at 04:17 PM ----------

Here we go:

https://drive.google.com/file/d/0B_9GWILvKioyNWV2UjIteDZhRDQ/view?usp=drivesdk

Will be deleted by end of the month ...
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
I'm still on RR-N-v5.8.1-20170210-kccat6xx and I experience no reboot at all
[Galaxy S 5 Android Development (Snapdragon)] sotos1756:
I have 3.10.96 kernel (20170211 release) and have no reboots at all. Hope this is helpful
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
I found the problem in the kernel right after 3.10.98. I applied a patch to the kernel repository to fix this issue. If we don't find the random shutdown problem soon, I'll nevertheless release another RR with at least this patch.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Yeah, I didn't have a random reboot/shutdown with 3.10.91 or 3.10.96 myself, but we have [MENTION=5880132]wilmsn[/MENTION] who encountered a random shutdown with 3.10.91. [MENTION=5880132]wilmsn[/MENTION], are you sure this was with 3.10.91 and not just due to low battery?

Thanks,

Corinna
[Galaxy S 5 Android Development (Snapdragon)] 19ket:
I had one random shutdown with the new build too.
[Galaxy S 5 Android Development (Snapdragon)] ochoceros:
I'm using 20170218 and I've experienced the vibrating keys with the screen off, but no unexpected reboot even while charging it overnight, and I use the phone as a daily driver with headphones, bluetooth and a lot of apps. Maybe there's a little worse battery life than in the 20170210 release, but this can be my appreciation, not measured at all.

The only serious/strange thing was a lonely hard freeze while playing and zooming with Google Earth and the 3D visualization; I had to remove the battery to boot again, but probably it's a google app related problem.
[Galaxy S 5 Android Development (Snapdragon)] irock4god:
Just flashed the new build. 0221 Will test for today for the newest fix video zoom. And for the random reboots too.

Btw [MENTION=3419717]cvxda[/MENTION] is this new patch have the latest adreno drivers?
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
Yes it was 3.10.91 and as i was able to simply reboot and keep on using the phone for the rest of the day - yes i am sure that it was not battery based :cool:

Let us wait for the results of 3.10.75 ....

Norbert
[Galaxy S 5 Android Development (Snapdragon)] antonijo78:
Hello.

Just flashed it with 20170221 and vibration on HW keyes is OK. Proximity lock also seems to work. :good:

Keep up the good work.

Regards, Antonijo
[Galaxy S 5 Android Development (Snapdragon)] Tarzangold:
Yes,this Rom RR-N-v5.8.1-20170210-kccat6xx.zip verry good,no reboots.

Ick can only confirm the version of the rom runs very well.
[Galaxy S 5 Android Development (Snapdragon)] Chaosbreaker:
Everything fine now with 20170221 here, too.

Great work as always! Thanks so much for the time you put in this to keep our phone alive!

Chaosbreaker
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
FYI, the patch has been applied now. It might take another day or two to trickle down to Resurrection Remix, but that shouldn't be much of a problem now.

I'll apply the required device-specific part of the patch later today.

Corinna
[Galaxy S 5 Android Development (Snapdragon)] Stamgastje:
Thanks -- and also great to see that you're trying to upstream your work (to the Lineage OS repos)! :good:
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
After some time (hours) of using datatrafic via mobile data my phone looses its data connection when the network is in LTE/4G mode. The loss of connection is not shown in the symbol in the top. To fix it i have to change in 2G and then to switch back to LTE/4G.

Anyone of you has the same issue?

Its not related to one of the last rom versions, i think i have it since some month...

I am on german Telekom Network.
[Galaxy S 5 Android Development (Snapdragon)] Chaosbreaker:
I'm on German Telekom Network, too. I don't have such problems anymore since the fix a few weeks ago.

Tried a clean install?
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Ok, so how's everyone thinking about the 3.10.75 kernel from RR-N-v5.8.2-20170221-kccat6xx.zip?

I'm running it for three days now without problems, while the other device running the latest 3.10.104 kernel has crashed pretty hard tonight. I had to wipe cache and dalvik before getting it working again.

If everybody is happy with this 3.10.75 kernel, I would revert the kernel to 3.10.75 for good, and carefully restart development from there.

Rather than updating the kernel version I would then look for adding zram, sdcards and f2fs in the first place. and only after that works stable, I'd go ahead and slowly update the kernel to a newer version. Seriously, updating the kernel isn't really a pressing issue. The orignal Samsung kernel already had pretty recent patches applied anyway.

([mention=5876638]xamio[/mention], please chime in here)

Corinna
[Galaxy S 5 Android Development (Snapdragon)] portle:
No issues here, stable since 3.10.75 kernel and with improved battery life.

Very pleased with this rom - Thank you for your efforts.

Portle SM-G901F
[Galaxy S 5 Android Development (Snapdragon)] Namenlos55555:
Where do I get the 20170221 update from? I can just find 20170218 on the downloadsite. [MENTION=3419717]cvxda[/MENTION]
[Galaxy S 5 Android Development (Snapdragon)] rafaleon:
Just to give you some feedback. I am running s5 906s with the latest MM baseband and CVXDA RR rom provided for Lentislte flashes without problem in 3.0.2 kykint TWRP. Boot animation is displayed for 10 sec, stops and bootloops. I tried version provided by Laivu https://drive.google.com/file/d/0B4fQTfJmdryvaW1Nb1Jwd2VVeVE/view?usp=sharing and it boots fine, but without sim card and wifi, there is no access to SD card even with SU installed. On top of that I have noticed that VR cardboard apps are not working. Was wodering if it is the same case with 901f ? Tried Mokee Nougat and the same problem with not working VR persist except there are no problem with WIFI or SIM.

I was wondering if there is something that can be fixed about that? Anyone have ideas ?

I am very curious about this project, hope it comes into fruition.
[Galaxy S 5 Android Development (Snapdragon)] tiritibambix:
You'll find it here I guess ?
[Galaxy S 5 Android Development (Snapdragon)] wilmsn:
On my device is everything good until now - no unexpected shutdowns so far.

I will go on running it and will report if something happens.

Thanks for this info, i will try a clean install with the next release...

Cheers Norbert
[Galaxy S 5 Android Development (Snapdragon)] cvxda:
Test Release RR 5.8.2 20170223

Another test release. This is the same 3.10.75 kernel with only additional patches to support ZRAM in-memory swap. Please download

https://cygwin.de/rr/kccat6xx/RR-N-v5.8.2-20170223-kccat6xx.zip

https://cygwin.de/rr/kccat6xx/RR-N-v5.8.2-20170223-kccat6xx.zip.md5sum

md5sum: 4b02e107220ee99f234ac424bc920f78

Corinna
[Galaxy S 5 Android Development (Snapdragon)] antonijo78:
I totaly agree. For now 3.10.75 up time 49 Hours, running stable and no bugs noticed so far. I will try Test Release RR 5.8.2 20170223 today.

Regards, Antonijo