yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] TerryInLeesburg:
Good Morning...

I will preface this with saying I am a NOOB.

I have successfully rooted my S4 (with towel root)

I do not want to clog your thread with a bunch of "how do I " questions, so I will just ask if there is a "noob-friendly" version of how to install your ROM so I can get more of a step-by-step guide.

I am on the latest stock ROM, and want to move up mainly for the memory management (using the SD card as internal storage).

Again, sorry for the noobiness... and thanks a lot for the help.

Terry
[T-Mobile Samsung Galaxy S 4] AlexOnay:
Actually, the Wi-Fi Region Code is not a problem or a bug "per se", it's just the (annoying) way it is designed in some phones. There's an instruction on mcc table (inside a Telephony.jar file inside framework) that instructs the phone to change Wi-Fi Region Code everytime the cell turns on and reads values from the Sim card inserted on the phone. If region of the Sim Card is not "known" to the phone, then all Wi-Fi channels get blocked, but if you edit the value to "US" or "JP", several channels gets activated and Wi-Fi gets to "see" the Wi-Fi networks. To put US as defeault would work, but as long as the phone reads from SimCard in every reboot or reset, the "problem" will rise again. The Wi-Fi Region Code option on RR 5.7.3 (I think it's a Cyanogenmod implementation since CM 12) what really does is to change the value without the needing of resetting, and gives the option of several Region Codes, so anyone in the World have access to change to any region and then the Wi-Fi is able to "see" all the channels. I found a thread here that explains the cause and how to remove it, in theory if you decompile a file, change the line causing to read the value from SIM Card and recompile again, then the "problem" goes away because the Wi-Fi Region Code is not re-setted anymore everytime the phone boots up or gets out of airplane mode. Unfortunately I have not enough knowledge about decompile and recompile files, but maybe you can check it out. It's here:

https://xdaforums.com/showpost.php?p=43709352

Thank you very much :)

Well, thank you all for keeping up the great work. Thank you.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
AlexOnay,

Could you do me a favor? The file that is edited, can you save it after you unlock it with the adb command? Once saved elsewhere, can you make it "blind" again, then, unlock the file for editing and overwrite your file with the saved file you made as a backup? Hope that made sense....

If so, I can make an app that will overwrite that file with the one you saved. E.g, we could make several different saved versions of the file, and overwrite the original with whichever coded file we want. Then, in my app you would have a choice for whichever code you want of the ones we make. If you are willing to do a little groundwork on it, that would be great! If not, then I will jump on it later.
[T-Mobile Samsung Galaxy S 4] stanwebber:
have you figured out a way to use both the wifi hotspot and google assistant or are you forced to enable either 1 or the other? i am currently on the aokp nougat rom and have also enabled the google assistant (installed google as system app and modified ro.product.model=Pixel). i need to abandon the aokp rom because the dhcp server is confirmed broken which prevents the wifi hotspot from working, but if i have to choose between the hotspot and google assistant i'm not so sure now.
[T-Mobile Samsung Galaxy S 4] AlexOnay:
Both Wi-Fi Hotspot and Google Assistant works fine on this rom, the Wi-Fi hotspot "issue" was a mistake of mine, not the rom. Google Assistant is embedded into Google App from version 6.5 and up, you just have to (be running Android 7 and) modify/add this lines on build.prop:

ro.product.model=Pixel XL
ro.opa.eligible_device=true

If you were using Google App before the edit, delete data of Google App on Settings/Apps and restart the phone. When you do it, Google App "magically" transforms into Google Assistant. If you undo the edit, delete data again on Google App and restart the phone, then Google App "magically" transforms back into the old Google Now "assistant" (and app).

---------- Post added at 09:41 PM ---------- Previous post was at 09:34 PM ----------

Sure, I'll look into it and get back to you.
[T-Mobile Samsung Galaxy S 4] stanwebber:
i guess i misunderstood. you're able to enable the google assistant AND the wifi hotspot at the SAME time? it sounded like you had to revert the 'ro.product.model=Pixel XL' back to the default value (which would break the google assistant) to get the wifi hotspot to work. you must have meant an alternate parameter in the build.prop?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
As an aside: it may be a little bit sloppy, but you could use RR and just swap the build props when you need to tether....
[T-Mobile Samsung Galaxy S 4] AlexOnay:
Yes, both wifi-hotspot and Google Assistant Work fine at the SAME time. There are no Wi-Fi Hotspot problems in this rom, it was a mistake of mine, so, the "fix" I mentioned (reverting back the build.prop line) is not a fix 'cause there's nothing to fix, Wi-Fi Hotspot works fine on this rom :)
[T-Mobile Samsung Galaxy S 4] stanwebber:
alright, i've switched over from the aokp nougat rom to this one and here is what i can report so far:

- long-press power button to engage flashlight is a little inconsistent

- double-click power button to engage camera is a little inconsistent

- lock screen bottom-right shortcut displays the wrong or no icon after reboot, but it does execute the configured app

- double-click home button does not work (configured to 'last app')

- wifi hotspot is working (not working in aokp)

- battery circle icon is working (not working in aokp)

- google assistant is working (GoogleApp installed in system/priv-app; build.prop tweaks)

- identical browser text-field entry behaviour as in aokp rom

- occasional reboot hangs same as aokp rom

- 'cyanogenmod system' sometimes requests root access after reboot (i do not grant)

edit: 'last app' doesn't work when configured to recents long-press either

edit: 'last app' selection is broken for any button function; however, the functionality is still available by double-clicking when 'app switcher' is assigned to the recents button. i believe this is the default nougat behavior now...any 2 clicks will work whether they are close together or far apart
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks for the update stanwebber!

I am glad that you now have your Google assistant and your WiFi hot-spot.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
For all:

With CyanogenMod having collapsed, RR is switching to using LineageOS as a base. Ultimately, this will work out great, and once the switch is complete, and the kinks are ironed out, then builds will continue as normal. As for me, I plan to wait until the dust settles before continuing to make more Nougat builds that were based on CyanogenMod (AOKP, RR, PAC, etc.).

There are also still a few things that are not resolved, such as CMTE vs. Substratum and I would like to wait to see which direction RR intends to go before continuing.

My wife is also expecting very soon, so I will probably not be doing any compiling for a couple of weeks.

Thank you for your patience.
[T-Mobile Samsung Galaxy S 4] stanwebber:
is there any way i can get the android 7.0 multi-window feature mapped back to the recents button long-press (which is the default)? the only way i can access split-screen mode now is by dragging slides to the top within the recent apps deck and the multi-window feature works normally from there. i've searched exhaustively thru all the settings dialogs and came up with nothing. is there a backend way i can directly modify android to restore this mapping?

edit: is there a file and parameter in system/usr/keylayout that i can modify? the default mapping is correct in the aokp nougat rom so a comparison might be possible if i understood what to look for?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Great points!

Yes, the file should be the gpio file in that folder. That file declares what the softkey buttons are.

Also, I am working on an update to this ROM with (hopefully) a working camera and video recorder per normal apps, thanks to some help from the guys in the jfltexx thread. If I get it done before the baby arrives, it should be out in a few days.
[T-Mobile Samsung Galaxy S 4] AsnNasser:
Error Installing

Twrp error: 7
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Sorry to hear you are having trouble!

What device/TWRP/bootloader or modem are you on? Can you flash other ROMs, or is this the only problem?
[T-Mobile Samsung Galaxy S 4] AsnNasser:
I fixed it and installed RR 5.8.0 version 9.

Just edited the Update-Script and deleted assets.

Thank you for caring.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
To God be the glory....

Another successful update, only a few changes here, but some important ones:

20170115

-Internal changes from CM to LineageOS.

-Recent button can now be set to multiple window button.

-Removed old browser, and replaced with open source browser.

-Bluetooth is much more stable. (No app crashes so far.)

-Synced with source, now based on 7.1.1_r9.

The camera still only takes pictures, not video recordings, unfortunately. However, you can download my S4 camera app for video recordings of 3 minutes or less.

The old browser did not display what you were typing, as you typed, which was really annoying. I removed the old browser and replaced it with an open source browser that works very well. Of course, you can always download your own favorite browser.

The other big change is that you can now map the recent button (or back or home button) to multiple window button, to allow split screens.

Hope you enjoy it! Be sure to chime in with your feedback. I did not dirty flash this, so if anyone tries that, let me know how it goes.
[T-Mobile Samsung Galaxy S 4] dtriguero:
u update to fast lol with my slow net by time I download and update u update again lol awesome and great work as always
[T-Mobile Samsung Galaxy S 4] stanwebber:
where is the setting to select the charging sound for plugging/unplugging the usb cable? i know absolutely that i saw this setting during a previous run thru all the settings, but maybe i am confusing the aokp nougat rom since i flashed so close together. in any case, i just spent the last hour+ flailing away at this so i am desperate for help. the charging sound is NOT the default notification sound (or even in that list), but some lengthy, loud, obtrusive affair so i have disabled it from playing for now. if there is no setting then where is the sound file located so i can overwrite it which will not affect any of my other sounds? (what i would really love is no sound at all and a vibrate option instead, but the right sound can approximate this.)
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks, however, one downside is that the kernels in the kernel thread are not right for this ROM yet, I need to update them for lineageOS base, rather than a CM base.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Isn't that in settings, sounds, other sounds, charging sounds?
[T-Mobile Samsung Galaxy S 4] stanwebber:
i really have the original release of this rom almost exactly where i want it (so thank you very much for that), but i am loathe to upgrade right away. the removal of the android browser kills it for me as i've long since rejected chrome/firefox and as long as i keep updating android the browser stays reasonably up-to-date. i've mitigated not being able to see what's being typed into text fields to a large extent by the keyboard i'm using and clicking in the field at any time displays all the text typed up until that point immediately. bluetooth is stable enough for what i use it for (audio, fitness tracker) and the mtp unreliability is irrelevant to me as i exclusively use ftp now (es file explorer ftp server). i may eventually try dirty flashing the new release as you suggest, but for the first time i want to preserve my existing OS so i need to figure out the backup angle first (been doing this every iteration since gingerbread and have never given a thought to backing up once).

the item that really interests me in that list is mapping the multi-window function back to the recents button (although the functionality is still accessible by dragging and dropping in the recent's slide deck). was that an easy fix? can it be implemented manually or backported to the original release of this rom?

---------- Post added at 11:43 AM ---------- Previous post was at 11:38 AM ----------

oh, how i wish that it were. are you seeing it? maybe i did something to make is disappear? i exhaustively go thru every setting and customize when i flash a new rom. i only see an slider option to enable/disable the charging sound. i will get a screenshot up if you or anyone else is telling me that they can see it on their phone.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
It is in the kernel thread if anyone wants to download it.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
[]i really have the original release of this rom almost exactly where i want it (so thank you very much for that), but i am loathe to upgrade right away.

----> I can understand that. You are never obligated to do anything. It is your phone. And unlike Burger king, you really can "have it your way" in the world of Android. ;)

the removal of the android browser kills it for me as i've long since rejected chrome/firefox and as long as i keep updating android the browser stays reasonably up-to-date.

----> Sure. But this browser is not Firefox, nor chrome. You are welcome to download the built in browser if you would like. Again, no pressure here. :D

i've mitigated not being able to see what's being typed into text fields to a large extent by the keyboard i'm using and clicking in the field at any time displays all the text typed up until that point immediately. bluetooth is stable enough for what i use it for (audio, fitness tracker) and the mtp unreliability is irrelevant to me as i exclusively use ftp now (es file explorer ftp server). i may eventually try dirty flashing the new release as you suggest, but for the first time i want to preserve my existing OS so i need to figure out the backup angle first (been doing this every iteration since gingerbread and have never given a thought to backing up once).

----> TWRP has a great backup and restore option. Be sure to choose the backup location to be on your external sdcard, so it doesn't get wiped. Because that is a mistake I have made before. :(

the item that really interests me in that list is mapping the multi-window function back to the recents button (although the functionality is still accessible by dragging and dropping in the recent's slide deck). was that an easy fix? can it be implemented manually or backported to the original release of this rom?

----> Did you look at the gpio file? I will need to flash the old version to look. Essentially, with the change from CM to LineageOS as a base, I actually had to start over from nearly scratch. Even now, when I built this new version, the RR compiler informed me that I am still using some CM based files and that it will not accept that in future releases, fortunately, the jfltexx crew was a step ahead of me so I could copy/barrow a lot of work from them, to which I owe them a big thanks.

oh, how i wish that it were. are you seeing it? maybe i did something to make is disappear? i exhaustively go thru every setting and customize when i flash a new rom. i only see an slider option to enable/disable the charging sound. i will get a screenshot up if you or anyone else is telling me that they can see it on their phone.

----> In RR, there is only a slider for the charging sound to be on or off. In AOKP I believe you can choose which sound it is. I will check though, and tell you which sound file it is so you can change it if you like.

Most of all, I hope you have fun using the ROM, upgraded or not. :D
[T-Mobile Samsung Galaxy S 4] borage12:
Just a fyi , i dirty flashed from the last RR MM to the 7.1.1 jan 14 build , seams to work good to me ..
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks for the feedback! What do you think? Any notable improvement?
[T-Mobile Samsung Galaxy S 4] Cee718:
Hello. Awesome work with the rom, everything seems to be running smooth except my text messages. I sent a text which went through but wasn't received, but the person wrote back which ended up on a different line, hence it came out double. Plus mms is not functioning, sent a picture for testing and never went through. Maybe there's something I can tweak to fix this or maybe your knowledge can assist me. Thank you very much
[T-Mobile Samsung Galaxy S 4] stanwebber:
do you have a copy of the aokp gpio file handy that you can post? if not, i can ask users in the other forum thread for help.

yes, can you identify which media file? thanks!
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Cee718,

Thanks for the kind words! Sorry that the text messaging is not working properly for you.

I just double tested it this morning, I sent and received texts normally with the built in text app. However, that doesn't mean that you don't have trouble. Perhaps we can look at a few things:

-Are you using the new or old version of RR from the OP? (I tested the new version this morning.)

-What cell phone model - xx or tmo?

-What carrier?

--> Have you checked your apn settings? Are they correct for your carrier?

-Does this problem happen with any other texting app?

-Have you done anything like installed xposed, superSU, etc?

Perhaps the above questions will help get us on the right track.
[T-Mobile Samsung Galaxy S 4] Cee718:
Thanks for the quick response. I downloaded 5.8 RR, I'm using my T Mobile Galaxy S4. I've tinkered with the apn settings but nothing has worked so far. I haven't installed xposed or anything, I do have busybox installed if that has anything to do with it?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Did you clean flash the ROM? Which gapps are you using? 7.1 arm pico?

And does any other texting app work normally?

By default texting app you mean the green messaging app, right? Or did the gapps you install come with googles blue messenger?
[T-Mobile Samsung Galaxy S 4] Cee718:
I did a clean flash, and using open gapps 7.1 mini. Also the messenger I'm using is the green one. I haven't used any other messenger app as of yet.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Cee718,

Odd, hmm... Like I said, it was working great when I retested it this morning on my tmo with RR 5.8.0, dated 20170114. ( I have since flashed AOKP 7 for testing WiFi hotspot, which is now working. )

Perhaps a bit of trouble, but you could do the following:

-Wipe and flash RR 5.8.0, without gapps. Don't install anything extra. Then, test your texting, does everything work with just the ROM installed?

-Then, wipe and flash RR and gapps, but don't install anything extra. Now test your texting, does it work properly now? I used Pico for my gapps test, you might try that as well.

-Finally, install your usual extras (busybox, etc.) and check that your texts still work.

This way we could see if it matters? If it doesn't work after just installing the ROM, then none of the other tests will work either. At that point, you should double check your APN settings with your carrier, and perhaps try another ROM to see if you have that issue. If the problem follows no matter what ROM you install, then it is not the roms. If the problem goes away when you install a different rom, then it may be some setting within the ROM that conflicts with your carrier. You are using T-mobile as your carrier, right? (My tests were successful, but I use Straight Talk.)

Are there other T-Mobile carrier users out there who are having issue or no issue with the ROM?
[T-Mobile Samsung Galaxy S 4] Cee718:
I will try all of the above. And to note, I just used FB messenger with no problems.
[T-Mobile Samsung Galaxy S 4] makins:
hi

I downloaded the new build and noticed the performance option not working on settings screen
[T-Mobile Samsung Galaxy S 4] borage12:
seams snappier and better battery life , plus the newer features , and the Pixel launcher

I used OpenGaps mini and Textra , works fine , text and pics .

Good Work
[T-Mobile Samsung Galaxy S 4] Cee718:
Update : SMS and mms are now working properly. Come to find out my apn settings were screwed up. Thanks for your help and looking forward to future builds!!
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
You're right! I see why too, but I will have to dig a bit to see how to fix it. For now, kernel adiutor will handle all the good performance tweaks until I get that sorted out.

Thanks for the kind words!

Great! I'm glad you got it up and running on all 8 cylinders!
[T-Mobile Samsung Galaxy S 4] side:
hello mate :)

Camu is a temporary solution.

camu app IS NOT RECORDING VIDEO...it just captures photos fast and stick em together.ITS NOT PURE VIDEO and the quality sucks.

about my commits,i got stable camera.maybe stabler than lollipop years.u can surely cherry-pick my commits.no problem at all.everything is inside the jf device tree
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Thanks side, I will look those over and hopefully get those folded in! Just wanted to give them options until it gets straightened out.
[T-Mobile Samsung Galaxy S 4] side:
yea yea no problem.i am here for whatever issue comes out ;)
[T-Mobile Samsung Galaxy S 4] Cee718:
Hello again, just another quick question. Has the theme option been removed from this Rom?
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Yes, please see post 3. At the time RR was trying to choose between substratum/layers and cmte, so they asked that the ROM be built without either. Also, there is a problem with a security patch which causes boot loops when you use substratum themes. These can be overcome, but I am waiting to see which direction RR is going to go first.
[T-Mobile Samsung Galaxy S 4] Cee718:
Ahh, I see. I thank you for bypassing that issue, and responding back. Other than that, awesome build!!
[T-Mobile Samsung Galaxy S 4] stanwebber:
have you identified the media file? thanks
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Still looking, however, there is an app that other RR 5.8.0 users on other devices are using to choose the sound they want. They disable the sound in other sounds and use the app "plug sound" on the play store. You could try that.
[T-Mobile Samsung Galaxy S 4] AlaskaLinuxUser:
Okay, looking through the source and the phone, I finally found it.

It is

/system/media/audio/ui/WirelessChargingStarted.ogg

With root permission, you can rename that file (I renamed it WirelessChargingStarted2.ogg) and put some other ogg file in it's place, named after it. It then will have whatever sound you choose as the sound for when you plug in your usb cord for charging or mtp/ptp/etc....

Hope that helps!