Git Product home page Git Product logo

Comments (14)

Ilya114 avatar Ilya114 commented on June 7, 2024 1

the dtb line says 248/.../5 so your file is dts/msm8916/msm8216-samsung-r05.dts. (note the 8216 for 3g-only SoC)

You can find those numbers in that file, this is why I told you to check dts/msm8916/msm8216-samsung-r<XX>.dts, sorry that I wasn't clear enough

So now all works fine, I will make a PR, thanks!

from lk2nd.

TravMurav avatar TravMurav commented on June 7, 2024

if your device shows "model = unknown" on the screen, you will need to add it to the lk2nd's device database.

You would need to add something like this to a correct dts/msm8916/msm8216-samsung-r<XX>.dts file:

j5xnltejv {
model = "Samsung Galaxy J5 2016 LTE (EUR)";
compatible = "samsung,j5xnlte", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "J510F*";
#include "msm8916-samsung-j5.dtsi"
};

I think there should be a "DTB" line on the screen that would show which file to pick.

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

if your device shows "model = unknown" on the screen, you will need to add it to the lk2nd's device database.

You would need to add something like this to a correct dts/msm8916/msm8216-samsung-r<XX>.dts file:

j5xnltejv {
model = "Samsung Galaxy J5 2016 LTE (EUR)";
compatible = "samsung,j5xnlte", "qcom,msm8916", "lk2nd,device";
lk2nd,match-bootloader = "J510F*";
#include "msm8916-samsung-j5.dtsi"
};

I think there should be a "DTB" line on the screen that would show which file to pick.

Compiled with

j5xn3g {
		model = "Samsung Galaxy J5 2016 (SM-J510H)";
		compatible = "samsung,j5xn3g", "qcom,msm8916", "lk2nd,device";
		lk2nd,match-bootloader = "J510H*";

		#include "msm8916-samsung-j5.dtsi"
	};

and have stucked on logo

from lk2nd.

TravMurav avatar TravMurav commented on June 7, 2024

If you compile lk2nd without any changes, does it work?

Could you tell me what was in the DTB line on screen and what file did you add the above to?

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

does it work?

No

from lk2nd.

TravMurav avatar TravMurav commented on June 7, 2024

How do you build and install the lk2nd image?

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

How do you build and install the lk2nd image?

make TOOLCHAIN_PREFIX=arm-linux-gnueabihf- lk2nd-msm8916

heimdall flash --BOOT lk2nd.img

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

Maybe should I compile 64 bit?

from lk2nd.

TravMurav avatar TravMurav commented on June 7, 2024

Can you get an arm-none-eabi- toolchain? lk2nd is always 32bit but I won't be surprised if it won't build properly with a hf toolchain...

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

Can you get an arm-none-eabi- toolchain? lk2nd is always 32bit but I won't be surprised if it won't build properly with a hf toolchain...

So it works, let me compile with

j5xn3g {
		model = "Samsung Galaxy J5 2016 (SM-J510H)";
		compatible = "samsung,j5xn3g", "qcom,msm8916", "lk2nd,device";
		lk2nd,match-bootloader = "J510H*";

		#include "msm8916-samsung-j5.dtsi"
	};

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

@TravMurav Model it still unknown

from lk2nd.

TravMurav avatar TravMurav commented on June 7, 2024

Could you tell me what was in the DTB line on screen and what file did you add the above to?

then let's continue with the second question :)

from lk2nd.

Ilya114 avatar Ilya114 commented on June 7, 2024

Could you tell me what was in the DTB line on screen and what file did you add the above to?

then let's continue with the second question :)

DTB - <248 0xf808ff01 0 0x5>

I put in dts/msm8916/msm8916-samsung-r04.dts

from lk2nd.

TravMurav avatar TravMurav commented on June 7, 2024

the dtb line says 248/.../5 so your file is dts/msm8916/msm8216-samsung-r05.dts. (note the 8216 for 3g-only SoC)

You can find those numbers in that file, this is why I told you to check dts/msm8916/msm8216-samsung-r<XX>.dts, sorry that I wasn't clear enough

from lk2nd.

Related Issues (20)

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.