yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
hi ashyx

can you give me so clues ?

i'm a noobie,

i follwo the goole and samsung source code instrucction,

download the right version of toolchain and also source code.

for the first practice , not chage any deconfig,

set environment and make , kernel zImage is successfully compiled.

then pack it with Android Image Kitchen, flash it in odin,

but stuck is warrany bit error after reboot.

my tab is rooted and install TWRP.

try several times without move.

finally only can falsh back to stock kernel.

BTW, my tab is SM-p350 stock lollipop 5.02

is there any mistake i don't know ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Where did you get your source code?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
I get it from samsung open source site,

use ndk as toolthain and follow samsung's instruction to set environment.

also follow samsung's recommended deconfig not changing anything,

then make to output zImage successfully.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Was your kernel image roughly the same size as the original?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Also if you are using the latest sources they are for Marshmallow not Lollipop.

You will need to update to Marshmallow first.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
for repacked img, stock is 10.4MB, new compiled is 10.7MB.

---------- Post added at 10:49 AM ---------- Previous post was at 10:21 AM ----------

thank , i don't know it's for MM, there're only 3 source code for P350 on samsung website,

do you know where can i found LP's source code ?

because I'm to lazy to reinstall new MM firmware (some times ago installed but revert back to LP)

MM has more restrictions than LP, also twrp still has booloop issue then...

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

thank , i don't know it's for MM, there're only 3 source code for P350 on samsung website,

do you know where can i found LP's source code ?

because I'm to lazy to reinstall new MM firmware (some times ago installed but revert back to LP)

MM has more restrictions than LP, also twrp still has booloop issue then...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Lollipop is P350XXU1AOD1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
YES, you're right,

I just download it hour ago and compiled,

but get some error when make ,it throw me error and terminate at the latest stage, dtb...

something like ..".cannot find msm8916_sec_gt58wifi..."

I'll try clean and clean start again and post detail message.

thanks

---------- Post added at 02:41 PM ---------- Previous post was at 01:49 PM ----------

yes, i still got error

------------------------------------------------------------------------

DTC arch/arm/boot/dts/samsung/msm8916/../../msm8916-sec-gt5note8wifi-eur-r02.dtb

In file included from /home/kevin/android/Kernel/arch/arm/boot/dts/samsung/msm8916/msm8916-sec-gt5note8wifi-eur-r02.dts:15:0:

/home/kevin/android/Kernel/arch/arm/boot/dts/samsung/msm8916/msm8916-sec-gt5note8lte-eur-r02.dtsi:15:43: fatal error: msm8916-camera-sensor-gt58.dtsi: No such file or directory

#include "msm8916-camera-sensor-gt58.dtsi"

^

compilation terminated.

make[2]: *** [arch/arm/boot/dts/samsung/msm8916/../../msm8916-sec-gt5note8wifi-eur-r02.dtb] Error 1

make[1]: *** [dtbs] Error 2

make: *** [sub-make] Error 2

make: Leaving directory `/home/kevin/android/Kernel'

---------------------------------------------------------------------

BTW, i found the original deconfig is

msm8916_sec_defconfig VARIANT_DEFCONFIG=msm8916_sec_gt58notewifi_eur_defconfig SELINUX_DEFCONFIG=selinux_defconfig

if i correct it to following

VARIANT_DEFCONFIG=msm8916_sec_gt58wifi_eur_defconfig msm8916_sec_defconfig SELINUX_DEFCONFIG=selinux_defconfig

it do generate zImage

but still get warranty bit error after flash, so bad...
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Dont worry about the warranty bit error that's normal.

I also have some bad news for you. I'd forgotten about this, but the Tab A lollipop source code is broken. It doesn't boot.

We reported this to Samsung and they only fixed this when they released the MM source.

It seemed to be an issue with the Selinux code. Even when set to permissive.

I'm afraid you will need to compile the MM source and update your firmware.

Also your device has s-pen so you need to build as gt58notewifi or you will have issues.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
oh my god , this is really a bad news,

ok , to be lucky , i still keep MM's firmware and source code,

may try again.

and BTW, my goal is to build a kernel w/ permissive and cifs module.

so , no way to go back again since issue exists w/ selinux on LP.

---------- Post added at 03:33 PM ---------- Previous post was at 03:03 PM ----------

???

what's wrong with samsung's source code ?

SM-P350_SEA_SEA_MM_Opensource.zip

I've checked config in code before I go but found only msm8916_sec_gt58wifi_eur_defconfig

no gt5note8 config ?

is that normal ? can i compile it directly ?

add.. never mind, definitely not as no wacom_hid in config.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
[MENTION=4899305]ashyx[/MENTION] Can you make support for the SM-T580 and the SM-T585?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
still get stuck at warranty screen

hi ashyx

it's so depressed,

i update my tab with firmware P350XXU1BPF1 (MM)

and comiple kernel from P350XXU1BPF1 source code,

flash but still get stuck at warranty screen,

stock boot.img is 11MB

my compiled is 11.6MB

any idea ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
You could try compiling the P355 source. It should still boot on the P350.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Support for what?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
For the Galaxy Tab A 10.1 2016.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
I mean what sort of support?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] paulo boë:
I mean that you could make a kernel for T580.

I thought this was a custom kernel:D But its stock with a little tweak.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
thanks , i'll try later when i settle down my new update tab,

BTW, i'm currently using ubuntu 14 x64 as my compiling machine,

do you think it's alright or should i use 32 bit version?

much thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
No stick with 64bit, you'll have issues on 32bit as most source code requires 64bit libraries.

32bit libraries are still able to be installed on a 64 bit system, but not the other way around.

I use the same setup.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
hi ashyx,

i compiled from P355 source, and still got error message,

message is

kernel is not seandroid enforcing

set waranty bit : kernel

is that any specific meaning ?

wired..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
You can ignore those warnings they don't affect boot in any way.

What happens, does it boot loop or hang?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
all hang at that screen both P350 & P355
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Try disabling dm-verity in the fstab.

You can do this by installing supersu.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
no work, another guy just told me do that yesterday,

i reflahed kernel and did again still no luck.

may i ask how you pack your zImage to img ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
hi ashyx,

good news , after struggling for a long night, i finally compile a working kernel!

maybe i made a big mistake,

I just change toolchain from NDK to GCC linaor, then become bootable.

but samsung's config seems has some wired problem , i lost wifi,

now i'm compare the difference if LP & MM, think it's not difficult.

Thank you so much for helping me on building process in past days.

BTW, can you show me how to make permissive later ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
For the wifi you need to disable module signature verification in the defconfig as your kernel headers won't match the wifi module headers unless the kernel source matches the firmware build you are running.

In menuconfig disable:

Require modules to be validly signed
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
unfortunately, wifi still cannot switch on, also , i found s-spen not work,

touch is working fine,

i also include NTFS, can read in ES file explorer, but not write.

as to cifs , no wifi no way to go.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Match your firmware build with the kernel build and wifi 'should' work.

I suggest you use syslog app to pull the logs as they will tell us why wifi is not working.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
sorry , i don't know what you mean ,

but this is the information i capture from device.

also, I'm using cbtc's FENIX ROM.

BTW, P350 &P355 both have no GT5NOTE8 config in source code config folder,

I have no choice but use GT58config to build, may this the cause of not working S-pen ?

s-spen wors now after modification of deconfig.

i may try other way tomorrow,

hopefully we're in a series holidays from tomorrow,

thanks..
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
hi ashyx, i've got help from cbtc for wifi issue and solved already,

thank you for your help,

now could i use your permissive code to compile a kernel ?

also, i saw your kernel is NTFS supported,

is it capable of NTFS writing ? because i can't make it writable even already config in menuconfig,or should i need extra app to enable writing ?

thanks :good:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Use whatever you want to make it permissive, it's open source.

NTFS write support should be in the kernel configuration. If it doesn't work then that's another piece of Samsung code that doesn't work.

It may depend on what media is being used.

If you are having issues with Samsung code and lack of proper configuration the email then on the open source website and complain.

You'll probably get ignored but it's worth a shot.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
hi, ashyx,

may i ask if your cpu freq will drop or fixed at 1190 when using interactive ?

i built from p350 source without touch cpu part, but found fixed a 1190.

actually , no matter what governor i set, or what max freq i set , it always fix at max freq.

BTW, stock will drop when set interactive, but never drop lower than 800Mhz.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Everything was at stock values.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
Me too, i'm on P350 same cpu as you, actually similiar source code as T350,

cpu never drop lower than 800 since MM.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hellcat50:
maybe [MENTION=4899305]ashyx[/MENTION] is able to fix that
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] kevinchg:
i found if you choose powersave governor, and set min to 200 (whatever), max to 1.2G, it will work, will drop to 200 when idle,

maybe there is something wrong in governor source code.

and i also see where someone in forums says our cpu @ 200 & 800 use same voltage, so no need to set lower freq, is that true ?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] ashyx:
Could be true, I'd have to look at the source code.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] hellcat50:
would be nice because of that i'm getting pretty **** battery life
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] bluenote73:
Hi gents

The OP doesn't mention overclocking. Is it possible with this kernel?

Thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Xeasy:
Pls help I can't find marshmallow firmware for galaxy tab A T355YDOU1AODB
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Thisguy129:
I finally got it. I went to sam mobile downloaded the older firmware flashed that then flashed twrp then I made a backup then flashed SuperSU and the kernel then made another backup for the bootimg without root so I would have it if I want to do magisk then flashed SuperSU again and it works thanks.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] glockman4519:
SamMobile dropped another update for the SM-T350 with security update for April. The build number is T350XXU1BQD1. I am going to try and see if your original kernel will work with it and I am really hoping that it does. This kernel was and is still the best kernel for this device and I mean that it is even be than stock. I know it is basically stock with some tweaks but man, does it make a difference in the SM-T350. I'll let you know if it works. I'm building an updated rom now and am crossing my fingers.

Thank you again [MENTION=4899305]ashyx[/MENTION] for everything.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DiscoDoge:
WiFi problem with the SM-T350

I flashed the kernel using odin and my device booted fine but my wifi was disabled. I also looked to see if my ip was still there and it was gone. I also tried TWRP, same thing.

I restored my original kernel and It worked again.

I don't know what to do. I'm using the SM-T350 with the correct kernel.

(Sorry I'm sorta new so if I make obvious mistakes don't abuse me lol)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] glockman4519:
You can only use this kernel for build number T350XXU1BPE2 on the SM-T350. If you try to use the kernel on any other build number than that, you will lose your Wi-Fi just as you described. Make sure you are on that build first. If not, than flash that build via Odin and then you will be able to enjoy this kennels benefits.

"Chance Favors the Prepared"
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] DiscoDoge:
Oops

Sorry I actually forgot to check the build number (stupid mistake) and didn't know what was wrong.

BTW My firmware is Australian so my build number is T350XXU1BQA1
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zaakmos:
Does it supports loop device ? I want install linux on my tab A SM T555 thanks.

Enviado desde mi SM-G935F mediante Tapatalk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zaakmos:
Is it a Loop device Kernel?i need to install Linux on my Tab A sm t555 that why i need a Loop Device Kernel !

Enviado desde mi SM-G935F mediante Tapatalk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] jack allen:
Im gutted android 7.0 is availiable for my mrs tab a but not mine
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] slashlife:
wifi

ok ok got the same build as the boot and still no wifi some help plz
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] repey6:
Dear [MENTION=4899305]ashyx[/MENTION]! Can you do the same kernel for SM-T585 too. Please. Kind regards.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] untimateandroid1:
wifi doesn't work and glitchy bottom screen after installing

My wifi stopped working after i installed this kernel, and i have weird glitchy cars on the bottom screen, and every time I reboot, it has the glitch and some of the screen is rendered out of view. can you plz fix this :confused:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] glockman4519:
I've got to comment once again to just how sweet your kennel is [MENTION=4899305]ashyx[/MENTION] . It is what makes my rom, the first couple builds run so great. Just wanted to thank you once again and to say that your work is awesome.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] zfk110:
hi, I use this app on other devices without any issues

https://play.google.com/store/apps/details?id=com.antaresone.quickrebootpro&hl=en

when I use this on this table, ( Ghost Project v.3 6.0.1 t350)

https://xdaforums.com/galaxy-tab-a/development/rom-stock-builds-sm-t350-ghost-project-t3529439

it gets in TWRP boot loop, I already contacted TWRP group with errorlog and they told me its becasue of kernel. this is not the only time I get twrp bootloop, if I do factory reset within the setting without even using that app it still put me on twrp bootloop, if I had to do factory reset then I use tWrp wipe to do it, any help?

Thanks for your work!!!

Fixed!!!!

I downloaded newer TWRP

https://www.androidfilehost.com/?fid=817550096634754492

and it fixed it. Thanks you guys!!!!!!!!!!!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] guy theawesome:
Hey [MENTION=8419069]untimateandroid1[/MENTION], I had the same problem too with my tablet. I believe it to be an issue with a recent update released for the tablet (or at least an update released after the most recent release of ashyx kernel which was August of last year, although I am not positive on whether or not this is the issue due to the fact that I am not a developer at all. Anyways, the way I fixed it was by downloading Samsung's "Smart Switch" program which actually has the ability to fully restored your device to working condition. I'm sure there is a simple tutorial out there on how to use it and I'm sure it'll be more helpful than me, but from what I remember the last time that I used it after you launch the program there should be some little menu button on it and on the options something like "restore" or "recover" or something like that. Anyways, after you hit that it's very easy to recover your device, just follow the instructions. You will need your serial number for the device however which can be found under about device and I recommend writing it down for future reference in case you can't access about device. Hope this helps!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] untimateandroid1:
thanks

thanks for telling me, it was really helpful!:good:
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] glockman4519:
This issue was fixed with [MENTION=4899305]ashyx[/MENTION] latest TWRP update. Its as simple as flashing his latest build of TWRP and "viola" your fixed.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] nubianprince:
Is it possible to modify this kernel to work with MiUI ?

I am working on a MIUI port for SM-T350 but cannot get wifi or bluetooth to work.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] glockman4519:
That would be a very cool port. Other than CM/LOS MiUi is o e of my favorite roms for a tablet platform. The one thing I dont like about the latest tablet offerings from Samsung is that the firmware needs to match perfectly or you loose your Wi-Fi.

On other Galaxy tablets, like my two gt-n5110 note 8.0 they are not that way at all. As long as I do a full wipe I can go from say 4.4.2. All the way to 7.xx and all I need to do is flash the rom and gapps. Doesn't matter what firmware number I was running. The way they are doing it now really screws things up for ports and builds like exactly what you are working on.

Good luck to you with this and hopefully [MENTION=4899305]ashyx[/MENTION] will be able to help you on this. If you need any testers, please dont hesitate to contact me.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] nannycrick:
HI guys. I'm a former sm-t350 Ghost rom user and just got a sm-t550 t550xxu1bpk1. Sammobile doesn't list the 1bpk2 update. Will this kernel work in my uprooted, over bloated, new tablet. Is there a download I can install manually to update this so I can root and enjoy a permissive life?

I'm in the US. so the Sammobile download should be XAR region.

---------- Post added at 04:40 PM ---------- Previous post was at 04:05 PM ----------

I do....

https://xdaforums.com/galaxy-tab-a/development/rom-stock-builds-sm-t350-ghost-project-t3529439. The Ghost rom for sm-t350 is a Marshmallow romantic with the sm-t350 kernel built in. Worked great until my tablet was broken!
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] lambstone:
How can I build this for the P355?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ron1209:
Noob question, how do I change the kernel governors?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LluisR98:
Samsung has recently released Nougat 7.1.1 for the T550, will you update the repository on GitHub?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Delgoth:
If you have ahold of the PE2 build Kernel, do you happen to know where the rest of the factory binary can be found?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] glockman4519:
Well, there are not that many governors to choose from but if you use "Kernel Audiutor Mod" from https://www.google.com/amp/s/xdafor...-adiutor-mod-singularity-kernel-t3333549/amp/ this will allow you to make adjustments. Be careful though. You can also use the apk "Kernel Audiutor" from the Play Store here https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor

I personally use the XDA version. Hope this helps.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ron1209:
Will this work on Nougat as Nougat uses JIT compiling and other under the hood changes?

If it doesn't, would you consider making a newer build for Nougat?

Thank you
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] LluisR98:
Hi! Recently I discovered you repo in GitHub about kernel of Samsung's tablets but... Repo is for MM and T550 has N7.1.1... you can update repos?

Enviado desde mi Aquaris X Pro mediante Tapatalk
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] adee13:
Hello, I successfully build nougat kernel for sm-p355. I can make permissive with small change in makefile then use selinuxchanger app. I want permanent permissive so i try patch selinux, but build image exceed 13 mb, it stuck at Samsung logo, try different compression but no works.

Any suggestion?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Ron1209:
Use a magisk module for permissive selinux. Also, create a thread. I have T-355 (P-355 minus the S-pen) and would be happy to test.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] dustywax:
I flashed it with the sm-t350 and lost my root, and did not have any wifi. Had to reinstall the firmware,and then re-root.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Austcool:
Will this be updated at some point for 7.1.1 for sm-t350?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] dustywax:
Anyone try this? i don't want to loose my root again, so if someone try's it please post so I will know that it works. Thank you.
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] TheBestKmanEver:
The kernel source code has been released for nougat. Could you make a permissive boot please ashyx?
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] TheBestKmanEver:
I forgot to specify which device. The SM-T350 (gt58wifixx)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Austcool:
I asked Samsung to release the kenrel code and they did for 7.1.1 for the SM-T350 (gt58wifixx)
[Samsung Galaxy Tab A series ROMs, Kernels, Recover] Techguy777:
Lineage 15.1 Oreo is on xda for smt350 I'm trying to get the word out. There's a twrp also available that you need to flash first to flash the rom on the roms xda thread check it out read the whole thread there's trouble with efs restoring on that twrp I fixed it so there's instructions on that same thread if you should corrupt it. Bluetooth error just close and setup quickly then freeze it and it'll stop. Full wipe then flash rom , gapps, and magisk 16.
[G4 Q&A, Help & Troubleshooting] ILIVE4HEAD:
I currently have a g4 version h81220u and I want to downgrade back to Lollipop. Guides on xda tell me that I need a lollipop kdz and i was wondering if a h81210f would do the trick. I know 20x means MM and 10x means LP but I do not know if the "u" and the "f" make a difference. Help is appreciated:)
[G4 Q&A, Help & Troubleshooting] n01z:
*BUMP

From what I understand, (google search did not return ANY results for "h81210u") when downgrading, just start with any stock KDZ H81210x ?? I'm not 100% sure.. That's why I bumped this topic.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] specter16:
hello

any chance to get a stable .575 rom with root and recovery all working fine?

any one has tried it poste the link here please

thanks