New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPL Source Request for Moto G 5 Plus (potter) #104
Comments
+1 plz release it as soon as possible. |
Sorry, the job is in the process, we need a few days to prepare, please wait. Thank you! |
Hi @chenyt9 Thank you for your quick response. Take your time. We'll wait. :) |
FYI, addison sources can be used to build potter kernel. |
Interesting, so do I just build for addison and use it on potter, or are there a few modifications to be made? Are the device trees the same? |
@RobGries the kernel is shared, all you have to do is build with the potter defconfig |
Gotcha, so the same build notes for addison apply here too, just sub in a potter specific defconfig and it should be good to go? |
@RobGries yes basically all you have to do is adjust this command for potter
|
I've got my G5 Plus hands on to. I am waiting for GPL kernel sources. I have seen here addison kernel sources can be used yes, I extracted the Potter_defconfig. So should I just build it? Or should I run the Perl command on kernel directory and then build? |
If you have extracted the config you could just use it |
Thx. I will try my PC is blocked right now once I get on I will update with the information |
@HostZero Yeah that's what i did, extracted defconfig from stock boot using extract-ikconfig, then cleanup a bit debug flags (not needed). |
I have sent my workstation to office for upgrade. Once I reinstall Linux and all I will thank you a lot actually for helping me @Vachounet |
@Vachounet I have tried to compile.. with stock lineage 4.9 gcc toolchain (arm) where as i got some this kind of log. I had to downgraded my Moto to 35 to 33 update as my device was bricked and i could only find 33 firmware. defconfig i used: https://pastebin.com/8nDi5ft6 error i got while compiling kernel: https://pastebin.com/w3DRs4SF |
Update: I started building with a [WIP] Device Tree With the defconfig mentioned above. The build is stuck at 99% Target Ramdisk. Update #2: The built dt.img was extract same size as the stock but kernel size was different i think i must merge with some other defconfigs. @charleseb please release the kernel sources for Moto G5 Plus As soon as possible. |
@HostZero You'll have those errors even with official release (all latest device sources has, you have to fix them by yourself). |
@Vachounet those kernel issues seemed to be fixed while building I'm trying to build lineage and test. I tried to boot but it couldn't it was stuck on loop. |
@HostZero That's a good start :) |
@Vachounet I have a last question. I took the addition proprietary list and extracted I couldn't find many blobs even stock hw blobs? Is it fine or I must search for another alternative blob? |
The whole vendor tree has to be updated for potter. |
Any suggestions like how to find the required blobs quickly? |
You can use this as based. Just pushed my last changes. |
Thx a lot I will try with that and inform after the build is successful. I will not forget your help. |
Already got a complete build, but got an error during flash. :/ Let me know how it goes for you. |
Sure. I will try and inform you here |
Hi all, I've just released version MMI-NPN25.137-33 related to Potter (Nougat). Thanks. |
@rayzen6 @RobGries Please fetch the code from: |
@chenyt9 thanks for informing us. Can you please name the defconfig we must use? |
@ALL, here is readme file : https://github.com/MotorolaMobilityLLC/readme/blob/master/MMI-NPN25.137-33 |
@Vachounet I have a question i am facing a issue while compiling Communication error with Jack server (56). Try 'jack-diagnose' how do i fix this? |
@HostZero probably the jack server is running out of mem, increase its max mem size
|
@luca020400 i have exported some arguments later i got a new error like their is no clue like how to sort out I exported this: export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-4 -XX:+TieredCompilation -Xmx3000m" I got a error like this: https://pastebin.com/JuqeZX3J Luca, can i contact you in a different way as Moto would feel this uncomfortable. Jack errors are the errors i find all the time. shall i remove that export and export the argument provided by you? Regards, Update: @luca020400 my ram is 4gb so i could only increase max mem size to 4gb itself. i get the same error as "-Dfile.encoding=UTF-4 -XX:+TieredCompilation -Xmx3000m" |
As long we aren't /really/ offtopic it's fine |
@luca020400 is their any other way so I can run the build? I'm on Ubuntu 16.04. any other way? I tried to get a 6gb dam where as my mother board is a old one. Till I find a better mother board can I not run the build? |
[ERROR]: make failed to build some targets (40:34 (mm:ss))[/ERROR] I can find a file is missing. any repository is missing? |
Check your XDA PM mate. :) |
@HostZero .. I too got the same error ... With Jack .... I also have 4 gb ram ... So the culprit is ram |
@HostZero |
Hi all, Version MMI-NPN25.137-67 released. |
Hello,
I have developer unlocked my Moto G 5 Plus(potter), and I'd like to obtain the GPL sources for this model so that I can build my own kernel.
My kernel version is - Linux localhost 3.18.31-perf-g4efdd62 #1 SMP PREEMPT Mon Feb 6 20:08:42 CST 2017 armv7l
Regards,
Rob
The text was updated successfully, but these errors were encountered: