Spookcity / ROMS-G800F

10 stars 0 forks source link

Test Builds #7 #23

Closed Spookcity closed 4 years ago

Spookcity commented 6 years ago

A continuation of #10, #18, #19, #20 ,#21 and #22

Spookcity commented 6 years ago

Small update on Android O ROMS:

I built AEX 5.0 and it doesn't boot :( The logs show that it's related to graphics. I suppose I will need to try to edit the device trees more to get this working. Hopefully I'll figure something out over the weekend.

Update II: After spending much time debugging and trying to figure out why it wouldn't boot,I have succeeded in getting it to boot. Sadly there are other problems now including: No sound,non working camera and reboots when screen is off (easy fix) The camera and sound, although fixed in Lineage may be more difficult. I'm not sure yet. Hopefully I'll have some time this afternoon to see if I can figure it out.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity Hi). Recently I notice that on other smartphones many praise ViperOS firmware, that it is very fast, smooth, economical .., compared to popular RR, AEX, Los .. Advanced settings at AEX level. If there is time, it might be worth a look. https://github.com/ViperOS-Project

Spookcity commented 6 years ago

@Oleggluk Sure thing. I enjoy trying out different ROMS. As soon as I hopefully get AEX 5 working properly I will d/l the sources and give building it a go.

Sent from my Samsung SM-G800F using FastHub

Spookcity commented 6 years ago

Well,after a fair bit of work I finally believe I've succeeded in building a working version of AEX 5.0. The device name is also fixed now thanks to Tobias. Along with some other commits he has made to the device repos recently. If you would like to give it a try: Download AospExtended-v5.0-kminilte-20171022-0529-ALPHA screenshot_20171022-124852

Oleggluk commented 6 years ago

@Spookcity I can not resist, I want to try). Are there any serious problems?

Spookcity commented 6 years ago

@Oleggluk None that I've noticed. Everything I've tried works as expected. No reboots are anything like that. I think it runs very smooth. I will say that it also at this point lacks many customization options though.

Edit: Also,This is what the WPA_supplicant patches are for. I somehow just came across it yesterday. Link

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity Oh, interestingly interesting, but through this vulnerability you can crack the wi-fi password? I hacked almost all the neighbors using wifislax, but there are a few that are strong guys).

Spookcity commented 6 years ago

@Oleggluk Hehe,yeah something like that. I'll be honest I haven't read enough about it. I need to dig a bit deeper to get an full understanding of it. I just know,Android wise that all 8.0 ROMS should have this patched.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity An access point works on AEX5. And on AEX4.6 does not work, the devices can not connect. Can I fix this in 4.6? In AEX5, the video does not work. There are no button settings. No translation of additional settings, But it works well. Someday it will be for daily use, but not now.

PRO100GREEK commented 6 years ago

@Spookcity In LOS15 I could change a view of icons. In AEX 5 I can't do that. Can you add this simple feature in ROM?

Spookcity commented 6 years ago

@PRO100GREEK Hmm,not fully sure what you mean. There are icon settings from within the launcher settings though . Might not be what you mean though. Either way, I am going to wait until AEX 5 is farther along to start thinking about adding anything. All Android O ROMS it seems are moving slowly...at least by comparison to MM.

@Oleggluk I didn't know access point didn't work in v4.6. It's not really something I use. I'm unsure of a fix off hand,but will let you know if something comes to mind.

Sent from my Samsung SM-G800F using FastHub

PRO100GREEK commented 6 years ago

@Spookcity I meant that screenshot_20171022-194508 In LOS15 I found this settings in options of pixel launcher. In AEX5 I didn't find that in options of pixel launcher sorry for tautology

Spookcity commented 6 years ago

@PRO100GREEK I assume this screenshot is from AEX 5 and you've found it? If not the same settings are available by long pressing on the home screen and then selecting settings.

Also, @Oleggluk What do you mean by video not working? It works for me. Do you mean video recoding?

Sent from my Samsung SM-G800F using FastHub

PRO100GREEK commented 6 years ago

@Spookcity this screenshot is from LOS15. I restored my ROM

Spookcity commented 6 years ago

@PRO100GREEK Oh,well those same settings are available in AEX 5 as well. Just checked.

Also,I use nova launcher,but if you like pixel launcher I would give this a try. I've used it for a bit and its really nice. Lawnchair

Sent from my Samsung SM-G800F using FastHub

PRO100GREEK commented 6 years ago

@Spookcity ok. I'll try it as soon as I can

vonico commented 6 years ago

@PRO100GREEK where are those settings? I am using LOS15 and can't find it...

PRO100GREEK commented 6 years ago

@vonico they are in options of pixel launcher I use this version of launcher - P-4275643

Oleggluk commented 6 years ago

@Spookcity "Also, @Oleggluk What do you mean by video not working?" In the standard camera, I have an error connecting to the camera when trying to shoot a video.

Spookcity commented 6 years ago

@Oleggluk Ok,yeah this is one of the few remaining issues with 8.0 ROMS for our device. Tobias fixed GPS yesterday,so the only real issues I can think of anymore are the video issue,Bluetooth a2dp (audio) and SELinux. I think everything else is working now.

Also,I had a bit of time this morning so just for you: Viper-kminilte-20171023-Coral-v3.1.1-UNOFFICIAL.zip This is nougat. The last nougat release of this ROM. They just released their oreo repo yesterday I think, so I will try to build that in the future. Been using it for a bit and I like it. Def see the similarities in AEX. Plus the default launcher is lawnchair which I also like.

Oleggluk commented 6 years ago

@Spookcity Thank you! for Viper, now I'll try. And what are the problems with selinux on the 8 android?

Spookcity commented 6 years ago

@Oleggluk The SELinux problem is just that it cannot be set to enforcing without breaking things. This is no problem for me as I always use permissive,but I certainly understand some wanting/needing enforcing.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity Installed ViperOs, not bad, very similar to AEX, but there are also their buns. But I'm back on AEX, this is the only firmware where App ops correctly works . Another would be to fix the modem mode and it would be generally super. And the weather moved to the left side of the status bar).

I do not know how our mobile network works, but on the 4G the battery is discharged before our eyes. than 5 hours of screen maximum. If you use wi-fi then the screen works 7.5-9.5 hours maximum. And the battery statistics are very different when using the mobile Internet and wi-fi. If you use wi-fi, then the leader in energy consumption is the screen and this is normal. If you use mobile Internet, then the leader of battery consumption can be anything, even WhatsApp Messenger by sending just a few messages for the whole day. For a long time I wrote on CyanogenMod that the mobile Internet does not work correctly, because on other smartphones with the same SIM card, when using the mobile Internet and wi-fi graphics, the batteries are only slightly different. And on this device the mobile Internet as if constantly works on full power and does not pass in a passive mode. Perhaps this is simply because the smartphone is out of date and LTE Cat4 technology itself is very resource-intensive.

Spookcity commented 6 years ago

@Oleggluk I agree,very similar to AEX. The only thing I don't like is the lack of slim recents. I have a hard time using any ROM without this feature as I really like it.

You seem to have more knowledge of the mobile network than I do honestly. I can just say that I don't really have this issue on any ROM. I used to in the early days of MM I believe,but it's been some time. I can only guess that maybe your data connection is very weak perhaps? This would certainly cause that.

Oleggluk commented 6 years ago

@Spookcity Can you show a screenshot of the battery statistics when you use mobile Internet ?. And then I'm frustrated with my statistics, I have completely unlimited mobile Internet, but I can not use all its charms with the screen's work 4-5 hours (

Spookcity commented 6 years ago

@Oleggluk Sure thing. Again, I never really like "study" this and who knows,perhaps its similar to yours. This was with no WiFi and only mobile internet for the last 2 hours or so. I can post another one later if you'd like. Also,I'm running Viper right now.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

This is not accurate data, as in the interval there was a charge. Here are my statistics: screenshot_20171024-123126Only wi-fi 1 hour 43minutes of the screen. basically reading the forum 4PDA. Now I'll switch to LTE and see the statistics change in a few hours.

Oleggluk commented 6 years ago

For 18 minutes of the screen, minus 5% of the charge on 4G, and the further, the faster the discharge will be. screenshot_20171024-130455 When using WI-fi, during the same time, 1-2% would be discharged

Spookcity commented 6 years ago

@Oleggluk Hmm,interesting. I honestly don't know much about this. Its been awhile since I've had battery problems,so I've not really looked at it much recently. I can post another screenshot later though if that's at all helpful.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity I think nothing can be done. In principle, I already resigned myself to this. Is there any idea how to fix the modem mode? It seems to work, but other devices can not connect, hang or authenticate or get an ip address, it does not go any further. Maybe some file needs to be replaced from another firmware. Or the values of any change ..

Spookcity commented 6 years ago

@Oleggluk I do not know. Its something I can try to look into some though when I have some time.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity What is this for? https://forum.xda-developers.com/showpost.php?p=74276306&postcount=1474

Oleggluk commented 6 years ago

@Spookcity I'm not strong in logging., ., But maybe this will help fix the modem mode. 10-24 14:48:46.065 D/wifi (3267): set interface wlan0 flags (UP) 10-24 14:48:46.066 I/WifiHAL (3267): Initializing wifi 10-24 14:48:46.066 I/WifiHAL (3267): Creating socket 10-24 14:48:46.073 E/WifiHAL (3267): Could not find group vendor 10-24 14:48:46.074 I/WifiHAL (3267): Initialized Wifi HAL Successfully; vendor cmd = 103 10-24 14:48:46.075 D/wifi (3267): Did set static halHandle = 0x99828ef0 10-24 14:48:46.076 D/wifi (3267): halHandle = 0x99828ef0, mVM = 0xb42b20c0, mCls = 0x20274e 10-24 14:48:46.077 D/wifi (3267): array field set 10-24 14:48:46.087 I/WifiNative-HAL(3267): Waiting for HAL events mWifiHalHandle=-1719496976 10-24 14:48:46.087 D/wifi (3267): waitForHalEvents called, vm = 0xb42b20c0, obj = 0x20274e, env = 0x997d84a0 10-24 14:48:46.094 E/wifi (3267): failed to get channel list : -95 10-24 14:48:46.094 D/wifi (3267): set country code: RU 10-24 14:48:46.297 D/SoftapController(2251): SoftAP started successfully 10-24 14:48:46.370 E/hostapd (8755): Configuration file: /data/misc/wifi/hostapd.conf 10-24 14:48:46.376 I/hostapd (8755): rfkill: Cannot open RFKILL control device 10-24 14:48:46.378 I/hostapd (8755): nl80211: Could not re-add multicast membership for vendor events: -2 (No such file or directory) 10-24 14:48:46.420 E/hostapd (8755): Using interface wlan0 with hwaddr a8:6c:02:bf:39:fd and ssid "Test" 10-24 14:48:46.490 I/hostapd (8755): wlan0: interface state UNINITIALIZED->ENABLED 10-24 14:48:46.490 I/hostapd (8755): wlan0: AP-ENABLED 10-24 14:48:46.498 D/SoftapController(2251): /data/misc/wifi/sockets already exists 10-24 14:48:46.500 D/SoftApManager(3267): Soft AP is started 10-24 14:48:46.504 D/SoftapController(2251): SoftapController::threadStart... 10-24 14:48:46.506 D/SoftapController(2251): /data/misc/wifi/sockets already exists 10-24 14:48:46.529 E/wifi (3267): wifi_get_supported_feature_set returned error = 0xffffffa1 10-24 14:49:32.518 D/SoftapController(2251): Get event from hostapd (<3>AP-STA-CONNECTED 00:08:22:04:31:5f) 10-24 14:49:32.521 D/NetworkManagement(3267): onEvent: 618 124 IfaceMessage active <3>AP-STA-CONNECTED 00:08:22:04:31:5f 10-24 14:49:32.522 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:32.526 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:33.527 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:34.529 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:35.532 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:36.533 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:37.536 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:38.538 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:39.539 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:40.541 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:41.543 E/Tethering(3267): readDeviceNameFromDnsmasq: java.io.FileNotFoundException: /data/misc/dhcp/dnsmasq.leases (No such file or directory) 10-24 14:49:45.585 I/hostapd (8755): wlan0: STA 00:08:22:04:31:5f IEEE 802.11: disassociated 10-24 14:49:45.586 I/hostapd (8755): wlan0: STA 00:08:22:04:31:5f IEEE 802.11: disassociated

Spookcity commented 6 years ago

@Oleggluk Hmm,well that patch just adds modem support. Highly unlikely that this is causing your problems. There are certainly errors within your log. I'd be lying if I said I fully understood them though. I'll try to do a little digging later.

Edit: I did do some looking into your log with not a lot of success other than a few things I already assumed..The rfkill error is no problem,nor are the FileNotFoundException errors. The hostpad ones I'm not too sure about. I'll let you know if I can discover anything useful.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity I last night tested the latest Los14.1 and 15, no problems with the modem mode, the devices are connected well. And I re-read the topic AospExtended on xda, about the problem with wifi hotspot began to write a very long time (https://forum.xda-developers.com/showpost.php?p=71580876&postcount=50) and then it continues. It never worked on this AEX firmware.

Spookcity commented 6 years ago

@Oleggluk Well that's good then. Good catch about the hotspot on AEX too. I had completely forgotten about that as I don't think anyone mentioned it in awhile and I very rarely use it.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 6 years ago

@Spookcity What good is that?)

friedensfurz commented 6 years ago

@Spookcity Hey, does SafetyNet work with Magisk on Android 8 ROMs? Magisk Hide can hide the Permissive SeLinux status, so it would be interesting if someone could try that out ;)

Spookcity commented 6 years ago

@Oleggluk Haha,I guess I just meant it was good that things were working on LOS and its not an issue with your phone or something,but your right,that doesn't help with AEX at all :D Weird it works on 5.0 but not 4.6.

@friedensfurz

This is from AEX 5.0,but it's obviously going to work in LOS15 as well.

Sent from my Samsung SM-G800F using FastHub

tester-02 commented 6 years ago

@Spookcity would you be so kind and update AEX 5.0? I'm lovin it ;-) Is it possible to use your kernel with that rom?

Spookcity commented 6 years ago

Hey @tester-02 I've been using AEX 5.0 most of the time recently and I like it as well. If time allows I am hoping to build an update for it over the weekend. I will probably create a thread on XDA as well. I tried my kernel on it and for some reason it doesn't boot. That will be one of my next things to try to get going,making the kernel compatible with 8.0 ROMS.

Sent from my Samsung SM-G800F using FastHub

jimmy999x commented 6 years ago

image when I use make j4 otatools I get this problem, I try to create a device tree from 0

Spookcity commented 6 years ago

@jimmy999x I think,but could be wrong that you now need to set "build_ota_package" to true. I suppose this could be done in the BoardConfig.mk or device.mk. I've not tried so I'm not 100% though.

MikeTeh commented 6 years ago

@Spookcity Hello, I've some questions, with Kernel v6.0 settings in gouvener/ hotplug going back to default after reboot, any ideas for this? Tried 'zzmove', after reboot 'interactive' is back, for example. AEX 8.0 also needs the new TWRP from Oreo LOS Thread in XDA? Last question, sorry for this, is it possible to update Resurrection Remix Nougat with last security patches in next weeks? Thanks for your efforts:)

Spookcity commented 6 years ago

@MikeTeh Hey there. I'll try to answer your questions.

  1. I'm not real sure what would be causing your settings to not stay. Are you using kernel adiutor,kernel adiutor-mod or something else?

  2. You do not need the latest "Oreo" TWRP to flash AEX 5.0. It will flash fine with an older version as there is no asserts check.

  3. Hmm,maybe. Are we positive that RR has updated their repos with the latest security patches though? If so I can try at some point.

Sent from my Samsung SM-G800F using FastHub

rendev97 commented 6 years ago

After a couple of hours of work, learning how to use github, I made this device tree, what else should I do or how should I continue? https://github.com/rendev97/android_device_samsung_j7xelte

MikeTeh commented 6 years ago

Thanks for your quick reply @Spookcity

  1. I'm using kernel adiutor from playstore for kernel control, but i have HEBF 2.0.1 also installed ( [(https://forum.xda-developers.com/android/software-hacking/hebf-tweaking-battery-saver-optimizer-t3401341] , there was an update with a new app version in the last weeks for HEBF). With kernel v5.1 everythings worked fine for me. I'm not the only one, there is an other user with same Remix and kernel version and the same problem.

2.fine, thanks for clearifying

3.yes, I think so, there are RRbuilds for G900 and i9505 with October patches (wpa2-supplicant) availible Thanks and I hope my words are readable and understandable:)

Edit. After reinstall kernel auditor (last update 20171008) hotplug is persistent on both devices, so simple. Are there in general problems with HEBF also possible ? Best regards

Spookcity commented 6 years ago

@rendev97 Man,thats tough. You are certainly missing things like the init file. Is this your device? Github. If so you can use parts from that. Its for TWRP,but there are things there that would be useful. What are you trying to build? Android 8 or? There will be def changes that need to be made to the files from that link if so. Plus there are new things with Android 8. The biggest being HIDL and treble. It would be super helpful to you if you could find a similar device with an Oreo tree. This is not an Oreo tree,but is this device simillar? Github If so you could use the common device tree as well as take parts from the s5 neo. Again,I only did a bit of searching and it might not be similar and many changes would need to be made for Android 8.

@MikeTeh Very strange about your kernel setings. I did not have this problem and I really have no idea what I could have done on the kernel side of things to cause this. Perhaps give This a try and see if it will save your settings. I honestly had not heard of HEBF before. It sounds nice. I'm unsure if it could cause conflicts with kernel adiutor or not. I guess it depends on the settings as it looks like there are many. If I have time I will try to build an update for RR. It was an easy build,so I just need to D/L the sources. No promises as to when though as it is not on my top priority list android wise. I'll try to as soon as possible though.

tester-02 commented 6 years ago

https://github.com/cm-3470/android_device_samsung_kminilte/commit/714522bba9a63f8f6a1dfb0fe7b9aaf678060ec3 I guess now only the SELinuxbug remains - what a great surprise how quick you devs adapeded oreo to our device - very big thanks!

Is there a way to inplement this last changes without building?

Spookcity commented 6 years ago

@tester-02 Yeah,I saw this a bit ago. Tobias aka hennymcc is very good at this stuff. We are lucky.As far as implementing without a new build,I'm not sure I'll have to look at the commit a bit closer,but it was just changing permissions so this seems possible.

Sent from my Samsung SM-G800F using FastHub