Spookcity / ROMS-G800F

10 stars 0 forks source link

Test Builds #4 #20

Closed ghost closed 4 years ago

ghost commented 7 years ago

A continuation of #10, #18 and #19.

ghost commented 7 years ago

@Spookcity I cannot make logs because ADB doesn't recognize the device while "android is starting".

It's really strange that this doesn't work by the way. I do reach the "android is starting" screen, but after a while it just reboots

Spookcity commented 7 years ago

@StanNL Indeed interesting. I had that too,but it only lasted maybe 5 seconds and then was fine. Its weird. I mean it makes sense that the CellBroadcastReceiver fault would stop the phone from booting. Just think,with the Firefox issue it was fine,until you opened it. Then bam,reboot. With the CellBroadcastReceiver,its running at start,so that's a big problem. What the cause is I don't know though. Also unsure hows its kernel related. If anyone else can manage a log it would be great (with the MM kernel if possible) If everyone has the same problem then that's obviously it. Very weird if so,but I don't know.

Edit: It also doesn't explain why @Oleggluk had nearly disastrous results.

Sent from my Samsung SM-G800F using FastHub

ghost commented 7 years ago

@Spookcity It's just strange that ADB doesn't work, since it should start logging even while it hasn't booted yet. I'll try getting a system log with test10 as well

Sent from my Samsung SM-G800F using FastHub

Spookcity commented 7 years ago

@StanNL Yes that is also weird. I am just unable to wrap my head around a lot of this ordeal.

My uptime running LOS 14.1 on the MM kernel. So darn weird all of this.

Sent from my Samsung SM-G800F using FastHub

ghost commented 7 years ago

Test10 still has the same behaviour, but it cannot produce any logs either... Oh well, we'll just have to resign ourselves to this because it is just unfathomable

ghost commented 7 years ago

It's not like we really needed 1.7 GHz anyway

Oleggluk commented 7 years ago

I pick many firmwares, in 4.4.2 there is a folder jack with libs in the lib folder and on other samsungs with radio there is this folder. And on 6.0.1 of our smartphone, this folder is no longer there. Although other smartphones are. And yet, I wrote one application for the radio: "this device may need a kernel with a working fm driver". So there must be some driver in the kernel? I believe that you can add a radio, but unfortunately I'm too stupid in this.

Spookcity commented 7 years ago

@Oleggluk I imagine I can add a radio module/driver to the kernel without major issue. If you have the libs that'd be great. If not I can download them.

@StanNL Agreed,Its just very very weird. I was talking to someone yesterday about this who is more knowledgeable in the Android kernel then me. He said,it is strange,but possible its related to voltage. Now this weird error. I just am unsure what to think.

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 7 years ago

@Spookcity I do not know what to look for. I do not understand anything about this. I do not even know which files are responsible for the radio.

ghost commented 7 years ago

@Oleglukk @Spookcity I do know which files are responsible because I once installed a flashable zip which included it, but it didn't work because they were for a different device. That doesn't mean that that is the wrong file location, however, so I'll look it up

Sent from my Samsung SM-G800F using FastHub

Spookcity commented 7 years ago

@Oleggluk No problem. I am not sure either, but will try to see if I can find out.

@StanNL Thanks! Let me know if you find anything useful.

Sent from my Samsung SM-G800F using FastHub

ghost commented 7 years ago

@Spookcity Could it be /lib/arm/libfmjni.so ? Just a wild guess.

EDIT: This is where I got it from: https://docs.google.com/file/d/0B8jbduQMLiqwQkpZNjhnRmNtaTA/edit

EDIT 2: These are the stock 5.1.1 libraries as a flashable zip but I cannot guarantee that they work for the G800F: https://forum.xda-developers.com/attachment.php?attachmentid=3584797&d=1450764427 EDIT 3: That last link probably won't work.

Oleggluk commented 7 years ago

@StanNL I found a similar file in /lib/libfmradio_jni.so in files from another samsung. But there is nothing like our system 4.4.2. I'll try to add from another

ghost commented 7 years ago

@Spookcity Maybe it's one of the following: /system/lib/libvfmClient.so /system/lib/libvfmtztransport.so

Edit: It's probably /system/lib/libvfmClient.so , isn't it?

Unfortunately, I haven't downloaded all of the Samsung sources so you would have to try for yourself

Sent from my Samsung SM-G800F using FastHub

Spookcity commented 7 years ago

@StanNL Yes,that should be it,libvfmClient. The other one is part of the FP scanner I believe. Thanks! I'll look into this during the week and see if I can come up with anything.

Edit: Was just doing a little quick searching into the FM radio and found this "I have been reading in other threads that all GS5s have the FM 'on the chip'... It is mechanically disabled (shorted on circuit board) on every variant EXCEPT SPRINT" I'm not sure if that's the case or not and its the S5 not the mini, but if so its obviously a no go. Either way,I'll look more into it during the week.

Sent from my Samsung SM-G800F using FastHub

tester-02 commented 7 years ago

Maybe it helps: from LUX - 30.07.2015 - the newest 4.4.2 for G800F libvfmClient.zip

Spookcity commented 7 years ago

@tester-02 Thank you very much!

Sent from my Samsung SM-G800F using FastHub

Mikahlo commented 7 years ago

@all: the s5 mini doesn't have FM.

ghost commented 7 years ago

@Mikahlo That's what I initially thought as well, but then why did Samsung add FM radio libraries to our device? That wouldn't make any sense either

ghost commented 7 years ago

@tester-02 Could you also send the FM radio apk? It should be in /system/priv-app I tried using those libraries and the CM 13.0 radio apk but they didn't work

Mikahlo commented 7 years ago

@StanNL I don't think they did. Were are these libraries from? They float around the internet. The last samsung device with a fm radio was the note2 and s3. There is literally no hardware to receive fm since the s4.

ghost commented 7 years ago

@Mikahlo The libraries are from the TouchWiz version of Android KitKat for the SM-G800F.

Mikahlo commented 7 years ago

@StanNL Could be that samsung (if they originated there) overlooked them. The discussions where huge on the consumer site as samsung didn't build the fm chips in there phones anymore. The reason was: "you can use the mobile data".

tester-02 commented 7 years ago

@StanNL apk list.txt I'm not quite sure which one, therefore the list with all the apks inside priv-app

ghost commented 7 years ago

@tester-02 Could you give FmmDS.apk and FmmDM.apk? Their names contain FM so it's just a wild guess

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 7 years ago

@StanNL It's not it

Oleggluk commented 7 years ago

@tester-02 Do you have 4.4.2 installed?

tester-02 commented 7 years ago

No I just downloaded 4.4.2 and extracted the system.img

tester-02 commented 7 years ago

priv-app.zip FmmDS.apk & FmmDS.odex FmmDM.apk & FmmDM.odex

Oleggluk commented 7 years ago

4.4.2 does not have a built-in radio apk! It was ported from another device and is not installed above 4.4.2

ghost commented 7 years ago

@tester-02 Both of those are the correct ones, but thanks for trying anyway

Sent from my Samsung SM-G800F using FastHub

Oleggluk commented 7 years ago

Radio.zip

tester-02 commented 7 years ago

@Oleggluk Where is the Radio.apk extracted from?

Spookcity commented 7 years ago

This was the radio apk reportedly working with the S5. Which also contradicts my post including a comment from an XDA member. I just read it says " stream radio stations in the US" on their site,but I also saw posts in the S5 thread that it worked for some outside the US

Edit: I just saw @tester-02 post. Thanks!

Sent from my Samsung SM-G800F using FastHub

tester-02 commented 7 years ago

I'm going to install 4.4.2 just for the sake of verifying if radio is avaliable.

w3bservice commented 7 years ago

@Spookcity https://www.android-hilfe.de/thema/kein-ukw-radioempfangsteil-im-s5-mini.594773/

Oleggluk commented 7 years ago

http://4pda.ru/forum/index.php?s=&showtopic=561008&view=findpost&p=39580657 Many then confirmed that it works.

tester-02 commented 7 years ago

The radio apk from Oleggluk did start but it gave me only static noise on the headphones. Not a single UKW-Radio was found throught the scan or by manual input. For me UKW-Radio is not working with 4.4.2

Spookcity commented 7 years ago

@tester-02 Thanks for testing this out. It is good to know. I just now realized that the libvfmClient.so is also for the fingerprint.

jimmy999x commented 7 years ago

https://drive.google.com/open?id=0B6HnvpggPH_hdUZWeVk1QkxyVmc Carbon rom is ready, I have not fully tested it, if anyone wants to do it, I would very much appreciate it, I might post it tomorrow in xda

w3bservice commented 7 years ago

@Spookcity @jimmy999x @StanNL @tester-02

Times a question, you created all possible Roms for the G800F. These are unofficial. There are people who want to use a current image but do not want to do a complete new installation every time. The also ensure that the security patches are installed. Because they have to work with it. On the S4mini and the tab Pro LTE of my wife was it so. S4mini is nightly supported by Lineageos and the Tab of crpalmer daily with a 13 unofficial. Can not we also do something for a handful of Roms?

I have a company for internethosting. And have rented several servers on the net, where one can set up a VM. With 12-16 GB RAM and 500 GB FP. I also translator some programs for CentOS which there is no repo. Seafile and qownnotes etc. what do you think of it?

Maybe there is also the possibility to integrate the new kernel into the Roms. Just as a suggestion.

Spookcity commented 7 years ago

@w3bservice This is a very generous offer. I however am not real sure how to go about all of this. I know that hennymcc has set up a Jenkins build server for Lineage,but the person who was providing the server has been ill I believe. Perhaps hennymcc would appreciate your offer if the other person is unable to provide. I'm unsure. As for me,it is a bit over my head and seems like a bit of work that I don't think I'll really have time for. Your offer is greatly appreciated though! Perhaps @jimmy999x would like to take advantage of this though.

Sent from my Samsung SM-G800F using FastHub

w3bservice commented 7 years ago

I'll deal with Henry. I was more concerned about the aex rom. With the roms of henry I always have the problem with the battery. With your aex not. Therefore the offer. So not entirely unselfish. XD

Spookcity commented 7 years ago

@w3bservice Hehe, no problem. Its still very much appreciated. I am building an update for beanstalk ROM as we speak. I had problems syncing AEX's sources when I wanted to update it the other day,so I may just need to resync all the sources. Hopefully I'll get time to update it this week. The one thing though,AEX recommends a clean flash between every version change,which seems to be fairly often. This is different than most other ROMS I believe. Doesn't mean a dirty flash wouldn't work though.

Sent from my Samsung SM-G800F using FastHub

w3bservice commented 7 years ago

@Spookcity Beanstalk was the second image i used. Its cool. Say me what opengapps Version you used with this Rom. I would test this with kernel test 9

Guntzog commented 7 years ago

@w3bservice speaking of batteries, for me all ROMs are the same, am obliged to use greenify since we have a poor one, BG bloats really eat too much.

Sent from my Samsung SM-G800F using FastHub

w3bservice commented 7 years ago

@Guntzog

Make a clean installiert, also the SD. Bevor also backup or new sdcard.

I habe now 5 sdcards. With no problems with darin accu

Spookcity commented 7 years ago

@w3bservice I always use opengapps pico. My new build of beanstalk doesn't boot for some reason. I guess I need to look into this...

Sent from my Samsung SM-G800F using FastHub

w3bservice commented 7 years ago

@Spookcity Take time. Can you help me setup a Workstation to compile Roms?

Spookcity commented 7 years ago

@w3bservice I can certainly try. You're obviously familiar with Linux. That's a biggie. What distribution of Linux are you planning to build on?

Sent from my Samsung SM-G800F using FastHub