Git Product home page Git Product logo

frija-dev's People

Contributors

slackingveteran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

frija-dev's Issues

Error downloading Firmware.(code 403)

Error downloading Firmware.(code 403)

Date 2023-10-04(yyyy-mm-dd)

log:

2023-10-04 22:08:00.4682 | WARN | Samsung USB Driver needed for auto mode is missing |
2023-10-04 22:08:03.3318 | ERROR | There is a problem reaching update server. Please check your internet connection and try again later. Update Check Failed! |
2023-10-04 22:08:04.6246 | INFO | ---------Info Provided--------- |
2023-10-04 22:08:04.6246 | INFO | Device Model: SM-G9910 |
2023-10-04 22:08:04.6246 | INFO | Device CSC: TGY |
2023-10-04 22:08:04.6246 | INFO | Sending provided info to FOTA server to retried latest available firmware |
2023-10-04 22:08:04.9610 | INFO | ---------Retrieved info from FOTA server--------- |
2023-10-04 22:08:04.9610 | INFO | PDA: G9910ZHS5EWI1 |
2023-10-04 22:08:04.9610 | INFO | CSC: G9910OZS5EWI1 |
2023-10-04 22:08:04.9610 | INFO | Phone: G9910ZCS5EWI1 |
2023-10-04 22:08:04.9610 | INFO | Retrieving firmware from FUS server |
2023-10-04 22:08:11.6352 | INFO | ---------Latest firmware found--------- |
2023-10-04 22:08:11.6405 | INFO | OS: T(Android 13) |
2023-10-04 22:08:11.6405 | INFO | Size: 6966.07 MB |
2023-10-04 22:08:11.6405 | INFO | Version: G9910ZHS5EWI1/G9910OZS5EWI1/G9910ZCS5EWI1/G9910ZHS5EWI1 |
2023-10-04 22:08:11.6405 | INFO | Display Version: G9910ZHS5EWI1/G9910OZS5EWI1/G9910ZCS5EWI1 |
2023-10-04 22:08:11.6405 | INFO | Filename: SM-G9910_3_20230913085610_20n9w4b869_fac.zip.enc4 |
2023-10-04 22:08:22.7118 | INFO | ---------Firmware download started--------- |
2023-10-04 22:08:31.9227 | ERROR | Error downloading Firmware |
2023-10-04 22:08:31.9227 | ERROR | Exception occured | System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.GetResponse()
at Frija.MainWindow.‪‌​‌​‌‮‫‫‏‬‬‬‭‏‮‭‏‪‪‪‪‭‬‍‪‍‮()
2023-10-04 22:08:31.9517 | ERROR | Retrying firmware download using fallback |
2023-10-04 22:08:31.9517 | INFO | ---------Firmware download started--------- |
(The last message seems to be fake, and the progress bar does not work.)

x || =========================================

.NET Core 3.1 Desktop Runtime

Hi,
Under Windows 11 X64 I had to install the X64 AND X86 version of .NET in order for Frija v2.0.21302.1 to work.
With only the X64 it does not work.

Thks

Install Error

When installing I get the error: "To run this application, you must install .NET Core. Would you like to download it now?". Clicking on yes seams not to trigger any process. So I downloaded and installed .NET SDK 8.0.203 manually and restarted afterwards. However the error still consists.

System: 14-Core Intel Xeon E5-2690 v4, 3166 MHz on MSI X99S Gaming 7 (MS-7885), 8x 16 GB DDR4-3200 DDR4 SDRAM, NVIDIA GeForce GTX 970, Windows 10 Pro 10.0.19045.4170

Settings

Hi,
If I check "binary nature" in the options, the next time I launch Frija it is unchecked.
Is it possible to make Frija keep the selected options?

Thanks
Fred

Android 14 download not working

Ciao @SlackingVeteran

Thanks for Frija, it's an awesome tool!

At the moment I'm unable to load the firmware for the device SM-S916B with CSC "EUX". Both in manual and legacy mode.

Log tells us this:

2023-10-30 22:26:19.4668 | INFO | ---------Info Provided--------- |
2023-10-30 22:26:19.4668 | INFO | Device Model: SM-S916B |
2023-10-30 22:26:19.4668 | INFO | Device CSC: EUX |
2023-10-30 22:26:19.4668 | INFO | Sending provided info to FOTA server to retried latest available firmware |
2023-10-30 22:26:19.5522 | INFO | ---------Retrieved info from FOTA server--------- |
2023-10-30 22:26:19.5522 | INFO | PDA: S916BXXU3BWJM |
2023-10-30 22:26:19.5522 | INFO | CSC: S916BOXM3BWJM |
2023-10-30 22:26:19.5522 | INFO | Phone: S916BXXU3BWJM |
2023-10-30 22:26:19.5522 | INFO | Retrieving firmware from FUS server |
2023-10-30 22:26:22.9035 | ERROR | ---------FUS ERROR--------- |
2023-10-30 22:26:22.9035 | ERROR | FUS response status code: 400 |

Is this in issue in general with android 14 or somehow we can not download the firmware yet? Or CSC related?

Thanks for any help regarding this issue!

unable to download any firmware

I tried to download firmware for my Samsung Galaxy S9+ SM-G965F and I always get a response error from the FUS server. This happens for any firmware. Below are Frija’s logs :

2023-11-11 13:24:39.4816 | INFO | ---------Info Provided--------- |
2023-11-11 13:24:39.5035 | INFO | Device Model: SM-G965F |
2023-11-11 13:24:39.5035 | INFO | Device CSC: XEF |
2023-11-11 13:24:39.5035 | INFO | Sending provided info to FOTA server to retried latest available firmware |
2023-11-11 13:24:40.4301 | INFO | ---------Retrieved info from FOTA server--------- |
2023-11-11 13:24:40.4311 | INFO | PDA: G965FXXUHFVG4 |
2023-11-11 13:24:40.4311 | INFO | CSC: G965FOXMHFVB4 |
2023-11-11 13:24:40.4311 | INFO | Phone: G965FXXUHFVB4 |
2023-11-11 13:24:40.4311 | INFO | Retrieving firmware from FUS server |
2023-11-11 13:24:51.5383 | ERROR | Exception occured while getting response from FUS server |
2023-11-11 13:24:51.5423 | ERROR | Could not connect to FUS server for nonce |
2023-11-11 13:25:40.0685 | INFO | ---------Info Provided--------- |
2023-11-11 13:25:40.0685 | INFO | Device Model: SM-G965F |
2023-11-11 13:25:40.0685 | INFO | Device CSC: XEF |
2023-11-11 13:25:40.0685 | INFO | Sending provided info to FOTA server to retried latest available firmware |
2023-11-11 13:25:41.1822 | INFO | ---------Retrieved info from FOTA server--------- |
2023-11-11 13:25:41.1822 | INFO | PDA: G965FXXUHFVG4 |
2023-11-11 13:25:41.1822 | INFO | CSC: G965FOXMHFVB4 |
2023-11-11 13:25:41.1822 | INFO | Phone: G965FXXUHFVB4 |
2023-11-11 13:25:41.1822 | INFO | Retrieving firmware from FUS server |
2023-11-11 13:26:05.7513 | ERROR | Exception occured while creating token for Frija database | System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
at System.Net.Http.HttpConnection.FillAsync()
at System.Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync(Boolean foldedHeadersAllowed)
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithNtConnectionAuthAsync(HttpConnection connection, HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at System.Net.Http.HttpClient.GetStringAsyncCore(Task1 getTask)
at Frija.Backend.Helper.FrijaAPI.‪‬‎​‎‭​‮‏‪‫‍‪​​​‎‭​‍‬‏‫‮(Int32 )
2023-11-11 13:26:05.8211 | ERROR | Invalid FUS server certificate | System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslStream.ThrowIfExceptional()
at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__65_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
2023-11-11 13:26:05.8589 | ERROR | Could not connect to FUS server for nonce |

I also took a screenshot :
Capture

Unable to connect o FUS Server

Frija v2 won't connect to the FUS Server.

Looks like it could be something to do with frija.api.envoychat.com as it looks like it's giving a 502 Bad Gateway.

Here's the Log file:

2022-09-21 07:18:14.9441 | WARN | Samsung USB Driver needed for auto mode is missing |
2022-09-21 07:18:19.6057 | INFO | ---------Info Provided--------- |
2022-09-21 07:18:19.6057 | INFO | Device Model: SM-N976B |
2022-09-21 07:18:19.6057 | INFO | Device CSC: BTU |
2022-09-21 07:18:19.6057 | INFO | Sending provided info to FOTA server to retried latest available firmware |
2022-09-21 07:18:19.6971 | INFO | ---------Retrieved info from FOTA server--------- |
2022-09-21 07:18:19.6971 | INFO | PDA: N976BXXU8HVGA |
2022-09-21 07:18:19.6971 | INFO | CSC: N976BOXM8HVGA |
2022-09-21 07:18:19.6971 | INFO | Phone: N976BXXU8HVG7 |
2022-09-21 07:18:19.6971 | INFO | Retrieving firmware from FUS server |
2022-09-21 07:18:20.5753 | ERROR | Exception occured while connecting to Frija database | Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.JsonReader.ReadAndMoveToContent()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Frija.Backend.Helper.FrijaAPI.DBGet(String path)
2022-09-21 07:18:20.5888 | ERROR | Invalid FUS server certificate | System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Security.SslStream.ThrowIfExceptional()
at System.Net.Security.SslStream.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result)
at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)
at System.Net.Security.SslStream.<>c.b__65_1(IAsyncResult iar)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)
2022-09-21 07:18:20.6022 | ERROR | Could not connect to FUS server for nonce |

Log file error: FUS response status code: 408

I try to download the following firmware
Error
and get in the log file the following error
2023-12-27 20:19:33.2531 | INFO | ---------Info Provided--------- |
2023-12-27 20:19:33.2531 | INFO | Device Model: SM-G980F |
2023-12-27 20:19:33.2632 | INFO | Device CSC: DBT |
2023-12-27 20:19:33.2632 | INFO | Sending provided info to FOTA server to retried latest available firmware |
2023-12-27 20:19:33.3430 | INFO | ---------Retrieved info from FOTA server--------- |
2023-12-27 20:19:33.3430 | INFO | PDA: G980FXXSIHWKD |
2023-12-27 20:19:33.3430 | INFO | CSC: G980FOXMIHWH9 |
2023-12-27 20:19:33.3581 | INFO | Phone: G980FXXSIHWJD |
2023-12-27 20:19:33.3581 | INFO | Retrieving firmware from FUS server |
2023-12-27 20:19:36.5802 | ERROR | ---------FUS ERROR--------- |
2023-12-27 20:19:36.5896 | ERROR | FUS response status code: 408 |
Please fix that issue.
Thanx
Rainer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.