Need help Build A kernel but getting a bug - Samsung Galaxy J7 Questions & Answers

Me and my friend builded a kernel for j7 2016 from stock source code
and it booted
but it has a lockscreen but
he said the he didnt used any modification
just used kernel source
and the device model no. is j710fn
need help if some one can

Fixed thanks.

bug fixed by my friend
@SiddhantNaik
kernel too build by him

Related

[Q] Custom ROM from AOSP code

I Have a compiled boot.img with me
Do i still need the Device tree to build the ROM from AOSP code ??
does anyone know how can i proceed further ?

Stuck on Black screen AOSP ROM

Hi people . I am trying to build AOSP 4.3.1 from source for samsung galaxy tab 2 7.0 . This is what i did :
Download source code for 4.3.1
Cloned CM device tree for samsung galaxy tab 2
Compiled prebuilt kernel from Samsung sources
make otapackage
Then, the zip file was builded but after flashing My tablet stuck on black screen after the SAMSUNG logo. I don't know where is the problem
I have tried to compile with CM kernel and many kernels from several devs but I stuck on Black screen. It's very frustrating because I spent my time on it but nothing seem working. Please Help me
Charly1811 said:
Hi people . I am trying to build AOSP 4.3.1 from source for samsung galaxy tab 2 7.0 . This is what i did :
Download source code for 4.3.1
Cloned CM device tree for samsung galaxy tab 2
Compiled prebuilt kernel from Samsung sources
make otapackage
Then, the zip file was builded but after flashing My tablet stuck on black screen after the SAMSUNG logo. I don't know where is the problem
I have tried to compile with CM kernel and many kernels from several devs but I stuck on Black screen. It's very frustrating because I spent my time on it but nothing seem working. Please Help me
Click to expand...
Click to collapse
revert back to stock rom through flashing rom from odin
did you also tried stock kernel during compiling
aditya rathee said:
did you also tried stock kernel during compiling
Click to expand...
Click to collapse
Yes the ZIP was compiled with stock kernel
Charly1811 said:
Yes the ZIP was compiled with stock kernel
Click to expand...
Click to collapse
then it might be an anomoly in rom i mean an error during compiling may be

[Q] Building stable rom with kernel sources

Hi, may I ask somebody experienced with ROM building, if it is possible to build fully functional and stable build from AOSP sources if i have kernel sources for my device from vendor?
Nigfire said:
Hi, may I ask somebody experienced with ROM building, if it is possible to build fully functional and stable build from AOSP sources if i have kernel sources for my device from vendor?
Click to expand...
Click to collapse
Hi, yes. I've compiled lollipop nexus4 from aosp in ubuntu 14.04.1 x64 in vmware.
I've downloaded the source, included the proprietary files, and compiled android, compiled with make and make otapackage to generate the zip.
After that i've rooted the device, installed twrp.
Finally, i've downloaded the source kernel and compiled to generate the .img. I've flashed this to the device with fastboot, and
yeeeeeeh perfect!!!
obviously, after this, i've downloaded the gapps and installed.
But, which version would you compile? And which device? All the sources are available and open source?
i wana make AOSP build for Huawei Ascend G6, I have only kernel sources from vendor... I suppose that kernel will work with any version of android or not?
Nigfire said:
i wana make AOSP build for Huawei Ascend G6, I have only kernel sources from vendor... I suppose that kernel will work with any version of android or not?
Click to expand...
Click to collapse
Ok, you have the sources, very good.
mmm, i'm not sure that every kernel + android combinations work perfectly together.
For example, on my nexus4 i've kernel 3.4 and lollipop. Now, if android lollipop requires some modules/functionalities/"other magic stuff" to work properly from the kernel, and you install kernel 2.x.x without this feature, probably you'll have problems.
I mean, i'm not sure, but is only a logic hypothesis.
You can solve this problem using the latest official version of android from Huawei and your compiled kernel from Huawei sources. If this works, try to update android to another version with a custom rom. It works? Perfect!, It not works? Damn, restore the backup and use another older android version
To build android/kernel you must transform into a researcher :laugh:

[KERNEL][I9305][TW4.4.4][2017-06-16] ** TGPKERNEL **[v1.00][XXSFQD1-3.0.101]

TGPKERNEL​​
You can use Kernel Adiutor to change your settings.
TGPKernel Lite
This is a minial version of this kernel, with no extra governors, IO Schedulers, no F2FS, and SE Linux set to enforcing.
VARIANTS SUPPORTED
I9305
I9305N
I9305T
KERNEL INFORMATION
Built with: Linaro 4.9 Toolchain, optimized for cortexa9_neon (My custom build v1.01.20170615) - LINK
Kernel Base: I9305XXSFQD1
Ramdisk Base: I9305XXSFQD1
Linux Version: 3.0.101
FEATURES
Enabled hidden Governors and Schedulers
Added Insecure ADB
Disabled Secure Storage
Triangle Away Fix
Fixed charge off battery for old bootloaders
Updated LZO Compression
DOWNLOADS
DOWNLOAD VIA ANDROIDFILEHOST
CREDITS + THANKS
Samsung Open Source Release Center for the Source code
@Tkkg1994 for all his help and numerous code samples from his source
@morogoku for his help and advice
@osm0sis for Android Image Kitchen
Other devs that I have taken commits from which are credited in Github
XDA:DevDB Information
TGPKernel, Kernel for the Samsung Galaxy S III I9300
Contributors
djb77
Source Code: https://github.com/TheGalaxyProject/tgpkernel-s3.git
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v1.00
Stable Release Date: 2017-06-16
Created 2017-06-16
Last Updated 2019-05-22
Reserved
Reserved
I've noticed that LinageOS is out for this device now too, so I'll make a version for that too. Stay tuned...
Nice kernel!!!
<3
Any way to get the Wolfson DAC to sound like the i9300?? I Will donate if you can trick it!
it'sup said:
Any way to get the Wolfson DAC to sound like the i9300?? I Will donate if you can trick it!
Click to expand...
Click to collapse
I can look into it, I have the source code from the AGNI kernel here so hopefully it's just a matter of picking out the code and inserting it into my kernel.
Another thing I want to look into soon is LinageOS support, since I see it's available on this device.
it'sup said:
Any way to get the Wolfson DAC to sound like the i9300?? I Will donate if you can trick it!
Click to expand...
Click to collapse
See how this goes...
TGPKernel.I9305.v1.00.Wolfson.20170625
I'm getting a constant bootloop after flashing your kernel. Os: RR remix 7.1.2 Nougut -Twrp latest custom recovery -i9305T device. I've tried wiping dalvik and cache but all of does is return me back to Twrp!?
it'sup said:
I'm getting a constant bootloop after flashing your kernel. Os: RR remix 7.1.2 Nougut -Twrp latest custom recovery -i9305T device. I've tried wiping dalvik and cache but all of does is return me back to Twrp!?
Click to expand...
Click to collapse
It's only been worked on to boot for a stock 4.4.4 TW ROM so far, I'll work on some variants soon
hello. could you build a 4.4.4 kernel for my sc03e to run i9305 TW rom?

How do I use samsung opensource kernel for the AOSP?

I got the source code form opensource.samsung.com and I compiled the kernel successfully.
I want to know that how do I use the kernel to build AOSP for my phone?
And the samsung kernel is based on Android 6.0.1, can I port the latest Android version to my phone?

Categories

Resources