yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Unable to set device name for use by Zeroconf/Bonjour

FACTS

In Settings => About Device, there's no option to change the device name. No device name associated with the phone appears in the list of device names in, e.g., the firewall.

DISCUSSION

Standard Android ROMs have a default device name (e.g., on 4.4.4 it was something like "Samsung Galaxy S4"). It is possible to set this name via Settings under the "About device" tab.

This name is useful because it appears in Bonjour/Zeroconf/mDNS as <name>.local. This is useful when examining firewall information, for writing scripts, etc.

This ROM does not have a default device name (AFAICT) for IP connections. It does not have a way (again, as far as I've been able to investigate) to set this under "About device." The Bluetooth settings do permit a name change and have a default device name. The WiFi settings do not have any way to set the device name.

ACTION

What methods, if any, can I use to set the device name so that it will be published via Bonjour/Zeroconf/mDNS?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Have you try to change the device name from Bluetooth menu?

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Here's what I have tried so far, using standard Settings:

* In Bluetooth, I selected Advanced => "Rename this device" and changed the Bluetooth name. This does not modify DNS.

* In the WiFi menu, I selected Advanced => "WiFi Direct" and changed the name. This does not modify DNS

* "About phone" does not have a "device name" option. There is a model name, but that's different

* "Developer options" does not have a "device name" option.

I am open to suggestions. I wonder if I need to change kernel settings?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
For sure the Device name in the info page is a visualization of the model and this do not depend from any user settings.

I have no idea how and if is possible to do what you need, sorry.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Thanks for the reply. I'll keep looking, and if I find an answer I will post it here.
[Galaxy S 4 i9505 Original Android Development] yaqoobhisbani:
I think you're looking for "Device Hostname" which is available in Developer Options. Try changing device hostname and check what you get in your router etc.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
I am, in fact, looking precisely for "Device Hostname." My Developer Options doesn't show that option (at the top level and all levels I've looked at so far). I'm running build number NJH47F, JDCTeam, which is AOSP 7.1.2.

BTW, using a terminal and "su ; setprop net.hostname new-device-name" does not actually work when I tested it - the name does not appear to propagate to DNS. Certainly the original value for net.hostname is restored after a reboot (see discussion here).

What does seem to work right now is that the app "SSH Helper" broadcasts, for reasons unknown, "new-device-name.local" -- getting the data from a leftover config file on my SD card from version 4.4.4 is my guess -- and I can therefore use DNS to reach it when SSH Helper is running. That's extremely useful, but it'd still be nice to see my phone identified on, e.g., my router.
[Galaxy S 4 i9505 Original Android Development] DoughMucker:
Try the "dns hostname changer" app.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
I tried that app, and found:

* The new DNS name does not last through a reboot; the old one re-appears

* My local DNS is not updated even during the time when the new name is valid (prior to reboot)
[Galaxy S 4 i9505 Original Android Development] yaqoobhisbani:
Ah! I see. CM/LineageOS based roms have that device hostname in developer options but AOSP roms do not. Try adding net.hostname=NewHostname to /system/build.prop and you'll need to have root permissions. This may stick with reboot.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Thanks, terrific suggestion.

Sorry for the delay. Right now I'm tracking down Zeroconf on my local system -- it appears that Zeroconf is assigning an old name to the IP address of the phone and the phone is using in (SSH Helper, which includes Zeroconf). As such I want to separate these problems before I test.

Oh, and I'm looking for information on how to recover from a mistake in /system/build.prop, just in case.

When the experiment is over I'll post the results here. The hardest part will be local Zeroconf, and this may take a few days.
[Galaxy S 4 i9505 Original Android Development] Lun4cy:
First, amazing ROM, thank you so much for that.

But will there be a new build with the camera bug fixed?
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Is there a new update here or this is the final build ? [MENTION=3545504]smeroni68[/MENTION] [MENTION=5576897]-+BB+-[/MENTION]
[Galaxy S 4 i9505 Original Android Development] side:
since there is no tag or announcement from BB or smeroni, the rom will get another update when it is valuable to release
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Thanks boss :laugh:
[Galaxy S 4 i9505 Original Android Development] huwande1acruz:
Can anyone help me with this error? I already update my bootloader and modem to uhqc1 which is the latest. I'm from lineage OS rom. What should I do first? Thanks!
[Galaxy S 4 i9505 Original Android Development] xell75:
Try to install it again. It should work.
[Galaxy S 4 i9505 Original Android Development] huwande1acruz:
I already tried it many times and same result.

Anybody has the solution to my problem?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
From the screen, the error say that you are installing gapps for 7.1.x over stock rom 5.0.2...

Is that true?

In this case you can try hundred times but the install fail!

Have you wiped system and data and flashed the AOSP 7.1.2 zip file, before gapps? Seems not.

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] huwande1acruz:
I try installing lineage OS 7.1.2 and I have no problem with installing the gapps but when I try to install this one it causes error like that. What do you think it cause the problem? Bootloader? Or the aosp[JC team] file?
[Galaxy S 4 i9505 Original Android Development] huwande1acruz:
Hello, what seems to be the problem here? Thanks! I tried to change my twrp to jdc version and this error occur when I flash jdc rom.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Ok. Magisk v13.3 inside the rom do not work... flash Magisk V14.0 and after gapps.

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] fratre:
[MENTION=3545504]smeroni68[/MENTION] I finally solved by reflashing my S4. Clean install, as I did the first time however. Now hedsets, of any brand, work fine. Thank you ;)
[Galaxy S 4 i9505 Original Android Development] huwande1acruz:
It seems working now but my problem is that my rom was still detected at 6.0.1 even though I flashed this rom with 7.1.2. Also I'm from lineage OS 7.1.2 so I think there's something wrong. Anyway thanks for the input. I will try other solution to this.
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Have you wiped system and data before flash? I already posted about the wipes needed coming from another rom.

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] hitmanhh:
Hi, i wanna test these rom too, but can´t reach romhut.com since a view days. Are there any mirrors where i can get the rom pls?
[Galaxy S 4 i9505 Original Android Development] Vini Dalvino:
I have actually the same problem is someone have a mirror. Also I tryto see with a website that show you if the website down and it detect as down
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Yes, romhut is down. Lets wait a bit to see if it will be online... sorry for the inconvenience, but don't depend from us.

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] Vini Dalvino:
I said to me the same thing, but thanks you for your support!
[Galaxy S 4 i9505 Original Android Development] aGENT77:
It's been down since Wed or Thurs and is still down today. I've been trying to download for a few days now :/

Was really hoping to install this ROM this weekend...any chance we can get the files on google drive or something as an alternate? We'd really appreciate it! :)
[Galaxy S 4 i9505 Original Android Development] aGENT77:
I tried a suggestion from the 8.1.0 thread:

by googling: JDCTeam_jdc_jflte-7.1.2-20170821-STABLE.zip ... but no luck :(
[Galaxy S 4 i9505 Original Android Development] Vini Dalvino:
I actually try the same thing but I finished the same result of you(No luck). And if you find a mirror verify *always* the hash MD5/SHA256 etc. because your phone can be brick by flashing a corrupted rom or a rom with a virus
[Galaxy S 4 i9505 Original Android Development] aGENT77:
Well, given that I couldn't find anything, I'm not too concerned about verifying 'bupkiss' lol

I guess we'll have to wait for romhut to return and/or one of the developers to post an alternately hosted link.

*ahem* [MENTION=5576897]-+BB+-[/MENTION] (please!)
[Galaxy S 4 i9505 Original Android Development] aGENT77:
Hallelujah! Romhut is back up!
[Galaxy S 4 i9505 Original Android Development] aGENT77:
Had the same problem last night with my Canadian i337M. Wasn't aware it was a 'known' issue until it happened and searched the thread and found this post.

I reverted to my original crappty, stock, Samsung Touchwiz, bloatware infested backup to have a functioning phone for now but Is there a fix for this ROM? It was working great until my screen locked!

**Warning - NEWB question**

I've seen posts on re-installing the stock kernel to fix but won't that revert to the crappty, stock bloatware OS?

Is there a way to keep this updated and lightweight ROM with the 'stock kernel'?

FWIW:

I used the latest twrp-3.1.1-0-jfltecan (primarily as romhut was down, secondarily as I have the CAN phone). Otherwise followed OP instructions/used OP files if that makes any difference.
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Hello everyone , I tried to login with Snapchat but this comes up " your login has temporarily failed " I tried to use magisk hide but it didn't work... Any fix?

Thanks in advance :)
[Galaxy S 4 i9505 Original Android Development] Davidgostbo:
---------- Post added at 01:01 AM ---------- Previous post was at 01:00 AM ----------

[/COLOR]

Uninstall xposed
[Galaxy S 4 i9505 Original Android Development] anashashmi:
No Sim Card Error

For anyone like me who runs into the problem of a No Sim Card Found error, even when their sim is fully inserted, I found the solution to be by dialing special code *#*#4636#*#* and selecting "Phone Information" and then selecting "Set Preferred Network" as "GSM only" or any of the other GSM options. If you hit airplane mode, this setting will reset. So just repeat this step. The setting should stick upon restart.

I am not sure why this happens. I flashed the VRUAMDK no-wipe tar and found the sim and phone to be working fine. When I flashed the JDCTeam 7.1.2 or the lineageOS nightly, i found the sim card to go missing after a restart. I thought maybe TWRP was the issue not mounting EFS, but I don't think I succeeded by changing the settings there.

If anyone can help me, I would appreciate it. I am using a Verizon variant on an AT&T network.
[Galaxy S 4 i9505 Original Android Development] Karls0:
It's almost 4 month since last update. Should we assume that support for 7.0 is ended? It would be something normal if Oreo build is stable, but so far we have only beta4, with some serious bugs (NFC/Camera affected).
[Galaxy S 4 i9505 Original Android Development] SamuelWarrior77:
Its very sad bro :/ I'm waiting for a christmas updates
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Xmas update will be on Oreo 8.1...

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] iPAQ 6515a User:
Does it mean this project has been closed?
[Galaxy S 4 i9505 Original Android Development] smeroni68:
99% probably yes... we have no time and storage space on the building environment to have also these sources synced... sorry.

Inviato dal mio Xiaomi Mi5 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] Roberto W.:
hello.

i got 2 questions.

1. does the latest olos 14.1 support exchange-accounts?

2. why there is no exchange-support on oreo-builds?

thanks in advance.
[Galaxy S 4 i9505 Original Android Development] SmallDNA:
About the file for Systrace

When I try to use DDMS monitor to track an app's actions by "systrace" , it jumped out error of "error opening /sys/kernel/debug/tracing/tracker_marker", which made the app could not be tracked.

In this ROM, I can't found the "tracking" folder and its sub files.

So, I want to know How could I make those files back or generated, Thanks:)

=====

After flashing another ROM fo lineage14, the problem has been solved.

OVER:)
[Galaxy S 4 i9505 Original Android Development] alejandrobltran:
No sims card detected

I Need help! after flash the rom, no sim card detected in my s4 sgh-i337m. Help Pls!
[Galaxy S 4 i9505 Original Android Development] Lun4cy:
Thats sad to hear.

Could you guys maybe fix the cam and bluetooth bug and close the project afterwards?
[Galaxy S 4 i9505 Original Android Development] 3mel:
is DRM protection part of the kernel ? is there a trustworthy way to remove it if I promise only to download music I've previously paid for lol ???

I must say it feels more solid almost like being back on TW
[Galaxy S 4 i9505 Original Android Development] Patrick x:
First merry christmas to all JDCTeam and users :)

Video recording makes camera crash then i have to make a reboot to make it work again

Does anyone else have this major bug?
[Galaxy S 4 i9505 Original Android Development] ExquisiteArcaneAstralMystic:
It's a known issue. You have to use Cameringo Lite app instead.
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Okay thanks , but I flashed Stock kernel which is in add-ons and the baseband version became unknown and there were no reception or no SIM card at all ... ?
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Notification Light On At All Times

FACTS

Over the past several days, the notification light is on at all times -- a fade-in/fade-out blue light. There are no notifications.

I have tried using Settings -> Lights -> Notification Light, and setting Notifcation Light to "off." When I turn off the screen, the light goes back on and when I return to the Settings, the value is set back to "on!"

DISCUSSION

I'm not aware of any misbehaving apps, but it's possible that a recently updated app caused a problem. I've tried removing some apps, I've turned off some apps, etc.

A possibly related symptom: my proximity sensor went out of calibration at around the same time, and I've installed Proximity Sensor Reset to fix the proximity sensor. (A bad proximity sensor ends up blanking the phone screen permanently during calls, which makes the phone unusable.)

I've tried "adb logcat" to search for possible notifications, but I can't really interpret the cascade of results.

I've speculated that this problem is related to the proximity-based gestures, but I can't find any way to control those settings in this ROM.

ACTIONS

Does anyone recognize this problem? If not, I'd like suggestions on how to debug this problem.

ADDITIONAL INFORMATION

I turned "Developer Options" off in order to run a specific application that I just installed; when I went back to Developer Options, they were back on again. I'm very surprised: what app can do this? I'm a relative newbie, and I wonder if it's AOSP Settings apps, with which I'm very much not familiar yet.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
And the answer is: an application called "Handcent Next SMS" was the culprit, found and tested by removing apps one by one. I'm in the market for a decent replacement if anyone is in the mood for suggestions.
[Galaxy S 4 i9505 Original Android Development] johan111:
I suggest Textra. I have been using it for a long time and it satisfies all my needs. Give it try.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Thanks! I'd downloaded it and was about to try it. Pulse, a different app I'm testing now, looks interesting; the developer has a subscription to servers that let you use SMS with non-telco equipment, e.g., tablets.
[Galaxy S 4 i9505 Original Android Development] Gausak:
Hi guys! How can I disable double click on hardware button *back* to exit the APP? I searched for information through the thread but I could not find the solution...
[Galaxy S 4 i9505 Original Android Development] Mr. Lokkevit:
On another Rom I have the option to enable that by long pressing the back button. It is at the end of Developer Options. Look there, who knows?
[Galaxy S 4 i9505 Original Android Development] Gausak:
I tried deactivating and activating without results :-/
[Galaxy S 4 i9505 Original Android Development] 3mel:
can't check right now as magisk is bootlooping phone. kill on long press of back key is near the end of developer options. hardware buttons have their own section in settings called buttons.

on the subject magisk, is there an official recommended way to update it for this rom ?
[Galaxy S 4 i9505 Original Android Development] Gausak:
I do not want to kill the process by pressing the return button, and the option is disabled in development options. I mean that right now if I'm inside an app (for example whatsapp, chatting) and I pulse twice in a row BACK, the key acts as if I pressed the home button, the application is still in the background.

(In Spanish, my native language... En español, mi lengua nativa)

No quiero matar el proceso dejando pulsado el botón volver, además la opción está desactivada en opciones de desarrollo. Me refiero a que ahora mismo si estoy dentro de una app (por ejemplo whatsapp, chateando) y pulso dos veces seguidas VOLVER, la tecla hace como si pulsara el botón HOME, la aplicación sigue en segundo plano.
[Galaxy S 4 i9505 Original Android Development] Icke0815:
Magisk 15.x update without bootloop

Well I tried a lot of ways...

What did work is to de-install the old manager version and then reboot and install the new manager and then the new zip file inside the new manager.

But this is dangerous, because you lose the superuser in between!! Be sure to have an actual TWRP backup.

For a quick solution boot into TWRP and restore only boot from your backup. This will stop the loop.

The problem with the boot loop appeared since Version 15.x :confused:

--------------

Is there any change that this project will get the updates against Meltdown and Spectre? (see h**ps://support.google.com/faqs/answer/7622138)
[Galaxy S 4 i9505 Original Android Development] 3mel:
didn't think Qualcomm chips were involved.

I've just got to reflash the complete system partition. I wanna avoid it happening for a 3rd time rather then keep fixing it.
[Galaxy S 4 i9505 Original Android Development] myudkowsky:
Restore of boot only worked perfectly -- thanks! Now I wonder how to avoid this Magisk problem in the future. Suggestions welcome.
[Galaxy S 4 i9505 Original Android Development] fuzzychicken:
Hello folks,

I wanted to give AOSP 7.1.2 a try before heading on to Oreo. So I installed the last version on Galaxy S4 Play Edition (i-9505G). It working well and I really liked it.

The only problem is, I can not get my data working. I played around with APN, contacted Airvoice Wireless (att MVNO), tried every possible setting, asked them to reset data from their end, but the thing wouldn't work.

I tried it on my wife's phone and the data works without any hassle.

Anyone knows any setting I may be missing?

Many thanks in advance.

Edit: The issue seems to be related to this ROM. I restored to android 5.0 (LRX21P.S012.141205) and the data works flawlessly.
[Galaxy S 4 i9505 Original Android Development] SamuelWarrior77:
You can try RR ?
[Galaxy S 4 i9505 Original Android Development] Lkams:
Help!

hello to all, I would have a small problem on my samsung galaxy s4 I9505, in practice the rom and gapps I install them (version Oreo 8.1), but when I go to configure it I remain stuck on the screen "check for updates", and I do not know where to proceed. I tried everything to re-download the rom and the gapp and also to wait 30 minutes, but nothing I do not want to know. continues to remain still on the update screen, performing the search indefinitely. if by chance you have any advice on how to help me, I would be happy to listen to you xD, thanks ;)
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Try another version of gapps
[Galaxy S 4 i9505 Original Android Development] droidman99:
video recording not working how to fix it ??
[Galaxy S 4 i9505 Original Android Development] Patrick x:
Download camu app from playstore
[Galaxy S 4 i9505 Original Android Development] 3mel:
did you post in the wrong thread ??? that happened to me on an OREO ROM, this is nougat though.

that's if you mean you couldn't sign in to your google account, play services was sending zero data out to google servers. I gave up and flashed this rom instead as nobody had any suggestions to offer.
[Galaxy S 4 i9505 Original Android Development] Patrick x:
can I update android security patch level to the latest?
[Galaxy S 4 i9505 Original Android Development] Nscreated:
I've wondered that myself. This project uses mostly upstream sources so I thought, maybe. The default.xml specifies Android 7.1.2 r29, so I edited that to r36 (the latest), but then repo sync failed that it couldn't find that tag.

I'm not a Dev, so maybe someone can correct me. I think the forked repos are based on r29 which is why they failed to sync when I set remote ref tag to r36. So to get the latest upstream code we'd have to switch repos to the non-forked. Which will probably break things, I dunno, BB isn't really around to answer those kinds of questions.

Hope the dudes OK, he kind of disappeared abruptly in Dec.
[Galaxy S 4 i9505 Original Android Development] 3mel:
I'm guessing everyone has moved on and nobody particularly cares anymore, however...

regarding accessing the external SDcard, my experience seems different from others in this thread

I can see my card in 3rd party apps, I just can't write to it or delete from it (unless in the case of my file browser I go thru root/storage which works fine).

trying to delete files directly from the external SDcard gives the following toast

no activity found to handle intent
{ act=android.os.storage.action.OPEN_EXTERNAL_DIRECTORY (has extras) }

any thoughts or suggestions on a fix out there ?
[Galaxy S 4 i9505 Original Android Development] 3mel:
it's not just you so not just your card, all exfat (I think) cards have an issue or just the bigger sized ones. don't format !!! your backup should still be there.
[Galaxy S 4 i9505 Original Android Development] DeEmOnRuLeZ:
Would be really niiiiice if the SM-S975L variant of the S4 could/would be added. It's OF4 baseband. I'm running CM13 now for T-Mobile, they had to add my device to make it work. When I install this rom/gapps it installs fine then hangs at the Samsung Galaxy S4 screen. If there's a way to make it work cool, if not thanks anyway!
[Galaxy S 4 i9505 Original Android Development] thaidroid:
:(:(:crying::crying:everything worked great until yesterday then all of a sudden wifi started dropping out and I have tried everything to make it work again....to no avail

nano/pico gapps

different modem bootloaders

Flash back to stock PF4

Dont know what happened nothing helped wifi behave very strang sometimes not switching on other times not connecting even when saved and next to the router........

Disconnecting within 30 seconds.

Back on 6.0.1 AOSP but will come back here like a rat up a drainpipe as soon as the next build is out:D:D
[Galaxy S 4 i9505 Original Android Development] Magnusmarshall:
Strange mines working fine.