Kernel build config - OnePlus 8 Pro Questions & Answers

Hi everyone!
I had such a problem.
I am trying to build a kernel based on this. Just by adding some code to internal .c files.
I am doing this for the first time, I do it according to different video instructions.
My question is that all build videos always use some non-standard build config, which is located in arm/arch64/configs.
I tried to use defconfig, but mostly it gives me errors.
Advise me how to get the right configuration file?
Thanks for the answer!

vendor/kona-perf_defconfig

ppajdek said:
vendor/kona-perf_defconfig
Click to expand...
Click to collapse
Yes friend, thank you. I have already come to this myself.
Now I have another error that I can't figure out how to solve yet.

Related

[Q] Using Nand kernels on SD build

How do you use a Nand kernel on an SD build?
Specifically, I want to use Marc's v 1.5 Sense kernel on Boxmax v6.5 Sense 3.5 build. Boxmax did provide the v 1.4 kernel packaged for his build, but has since said he will stop developing due to other priorities.
So basically, I'm currently using the 1.4 kernel, and I would like to upgrade to the 1.5 kernel. How would I go about doing that? Is it as simple as replacing the zimage? or is there some other things I have to do?
Anyone have any idea how to do this?
Tsumi said:
Anyone have any idea how to do this?
Click to expand...
Click to collapse
Try to replace kernel in rom.
Cjovecje! said:
Try to replace kernel in rom.
Click to expand...
Click to collapse
Well, that's what I'm asking how to do.
I have an SD build. I can't use CWM to flash the kernel. So I'm asking for the proper way to do it.
There's a zimage file. There's also a META-INF folder and a system folder.
Do I just replace the zimage file on the Android folder on my SD card? Or is there more I have to do?
It would help if you actually read my first post...
Tsumi said:
Well, that's what I'm asking how to do.
I have an SD build. I can't use CWM to flash the kernel. So I'm asking for the proper way to do it.
There's a zimage file. There's also a META-INF folder and a system folder.
Do I just replace the zimage file on the Android folder on my SD card? Or is there more I have to do?
It would help if you actually read my first post...
Click to expand...
Click to collapse
It would really help if you use search but nevermind.
Find guides how to cook rom. In there there is part choosing your kernel.
Be aware that u may get into problems by replacing/updating kernel
Cjovecje! said:
It would really help if you use search but nevermind.
Find guides how to cook rom. In there there is part choosing your kernel.
Be aware that u may get into problems by replacing/updating kernel
Click to expand...
Click to collapse
Thanks for the response.
I was just mainly going through the threads hoping someone would post an answer or something similar. I tried google search, focusing it specifically on the XDA website, but after going through ~3-4 pages and not finding anything remotely close, I gave up.
Anyways, thanks for pointing me in a direction (hopefully the right one).
Tsumi said:
Thanks for the response.
I was just mainly going through the threads hoping someone would post an answer or something similar. I tried google search, focusing it specifically on the XDA website, but after going through ~3-4 pages and not finding anything remotely close, I gave up.
Anyways, thanks for pointing me in a direction (hopefully the right one).
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1260103
Dont write thanks just press button. Its there with reason.
Tsumi said:
Well, that's what I'm asking how to do.
I have an SD build. I can't use CWM to flash the kernel. So I'm asking for the proper way to do it.
There's a zimage file. There's also a META-INF folder and a system folder.
Do I just replace the zimage file on the Android folder on my SD card? Or is there more I have to do?
It would help if you actually read my first post...
Click to expand...
Click to collapse
make 'root' folder inside your android folder.
place boot,meta-inf and system from the kernel , then reboot.
but some times problem is from wifi connection.
hope this help.
And I forgot. U have to wipe dalvik cache when u change or flash kernel
fOxunO said:
make 'root' folder inside your android folder.
place boot,meta-inf and system from the kernel , then reboot.
but some times problem is from wifi connection.
hope this help.
Click to expand...
Click to collapse
This was the quick, clear, concise answer I was looking for. Thanks, hopefully it works.
Edit:
Cjovecje! said:
http://forum.xda-developers.com/showthread.php?t=1260103
Dont write thanks just press button. Its there with reason.
Click to expand...
Click to collapse
Thanks for trying Cjovecje!, but... everything you have posted was about Nand roms, and didn't talk about SD roms at all. SD rom information is much harder to find I don't know if you tried using a SD build vs a Nand build, but the two are very different in how they are set up and run.

Help me to compile this open source project :)

i was looking around for open source vnc android applications to study from ( i'm a newbie at android) and found bVNC , but i'm unable to compile it and run , please help me regarding it
if possible can you guys please check it on your system whether it compiles and runs (i.e it has no code error) so that i will look for another to study from instead of not knowing why its not compiling .
followed the build method written on page but still a lot of errors
here's the link :-
https://github.com/iiordanov/bVNC
also any bangalorean android developers here ? can you give 1 hour of your personal time so that we can meet ? anyone happy to help for just 1 hour ?
Thanks !!
rajeshjsl said:
i was looking around for open source vnc android applications to study from ( i'm a newbie at android) and found bVNC , but i'm unable to compile it and run , please help me regarding it
if possible can you guys please check it on your system whether it compiles and runs (i.e it has no code error) so that i will look for another to study from instead of not knowing why its not compiling .
followed the build method written on page but still a lot of errors
here's the link :-
https://github.com/iiordanov/bVNC
also any bangalorean android developers here ? can you give 1 hour of your personal time so that we can meet ? anyone happy to help for just 1 hour ?
Thanks !!
Click to expand...
Click to collapse
So you have added these libs ( ZoomerWithKeys and PubkeyGenerator) correctly?
nikwen said:
So you have added these libs ( ZoomerWithKeys and PubkeyGenerator) correctly?
Click to expand...
Click to collapse
yep , can't you please just check it by yourself , it takes 2 minutes
Thanks !
rajeshjsl said:
yep , can't you please just check it by yourself , it takes 2 minutes
Thanks !
Click to expand...
Click to collapse
Will try it later.
EDIT:
1. Install sqlitegen plugin into Eclipse from:
http://code.google.com/p/sqlitegen/
Click to expand...
Click to collapse
Did you do that?
Check your installation.
nikwen said:
Will try it later.
EDIT:
Did you do that?
Check your installation.
Click to expand...
Click to collapse
yes bro ! i told i did those things
sqlite annotation processing is ticked
I have tried and I have not got it to work yet. However, I found a tutorial on the web to fix it: http://code.google.com/p/android-vnc-viewer/issues/detail?id=282
Try it and report. It has not been working for me yet. (It is for androidVNC as your one seems to be a fork of AndroidVNC.)
If you still cannot get it to work, contact the developer of the programm. He should be able to help you.
nikwen said:
I have tried and I have not got it to work yet. However, I found a tutorial on the web to fix it: http://code.google.com/p/android-vnc-viewer/issues/detail?id=282
Try it and report. It has not been working for me yet. (It is for androidVNC as your one seems to be a fork of AndroidVNC.)
If you still cannot get it to work, contact the developer of the programm. He should be able to help you.
Click to expand...
Click to collapse
thanks a lot !!
please give another 2 mins of your time and see if android-vnc-viewer compiles and works on your eclipse ..
i will be higly obliged
rajeshjsl said:
thanks a lot !!
please give another 2 mins of your time and see if android-vnc-viewer compiles and works on your eclipse ..
i will be higly obliged
Click to expand...
Click to collapse
I do not think that there is any difference. As far as I have seen, bVNC is a fork of androidVNC. For that reason either both should work or no one.

problem rooting S5369

HI guys, I was looking at this thread http://forum.xda-developers.com/showthread.php?t=2085390 about rooting the S5360 (I have a s5369) but when I try to flash the update included in the thread I get an error, screenshot attached (the error says E:Error in /tmp/sideload/package.zip (status 7) Installation aborted)
Any idea?
Try this one instead, otherwise I will edit the updater-script of your package to make it compatible with your model. I think that you will able to install GT-S5360 ROMs on it, but can you give me technical details about your phone ?
Regards
Hi thank you for that. I tried your link but I don't seem to be able to download anything from there, it's just an empty blank page (not sure if the mega protocol isn't supported or what). If you could put it elsewhere I'll download and try it.
What technical details would you like me to give you? ANdroid version etc? GT-S5369, android 2.3.6, kernel 2.6.35.7
Let me know if you need anything else
thank you for your help
duratto said:
Hi thank you for that. I tried your link but I don't seem to be able to download anything from there, it's just an empty blank page (not sure if the mega protocol isn't supported or what). If you could put it elsewhere I'll download and try it.
What technical details would you like me to give you? ANdroid version etc? GT-S5369, android 2.3.6, kernel 2.6.35.7
Let me know if you need anything else
thank you for your help
Click to expand...
Click to collapse
Here's an another link ! I want some informations about the processor ect .. Just to check if the specs are the same with the GT-S5360 model. You're welcome !
Thanks mate, unfortunately even that link doesn't work, the page times out (tried yesterday and today with same result in different browsers). As for more details, I downloaded CPU-z and took some screenshots, attached, hopefully that will help you, let me know if you need more:
You will able to install normally GT-S5360 roms, they have the same specs. I joined the root access enable ZIP package. If I helped you, don't hesitate to use the little button below or if you need something else tell me !
thanks for the file, but if that's the same as the one found here http://forum.xda-developers.com/showthread.php?t=2085390 then I tried it already and my phone doesn't like it, I posted the error message at the beginning of the thread
duratto said:
thanks for the file, but if that's the same as the one found here http://forum.xda-developers.com/showthread.php?t=2085390 then I tried it already and my phone doesn't like it, I posted the error message at the beginning of the thread
Click to expand...
Click to collapse
Oops sorry ! Here's the fixed one.
Brilliant, thanks. The installation of the new file was successful, no errors and now I have superuser, so presumably the phone is now rooted.
Thanks for your help. In terms of android version, do you know where I can find a list of stable versions I can install? I checked cyanogen mod but I couldn't find my model
thanks
duratto said:
Brilliant, thanks. The installation of the new file was successful, no errors and now I have superuser, so presumably the phone is now rooted.
Thanks for your help. In terms of android version, do you know where I can find a list of stable versions I can install? I checked cyanogen mod but I couldn't find my model
thanks
Click to expand...
Click to collapse
Yes, you're now rooted ! Check the GT-S5360 development subforum and you will find a lot of ROMs, but for CyanogenMod, every ported version (7,9,11) has its specific bugs and you will need to choose the one which suits you. If you need any help, just mention me on your post ! Regards.
Fab, thank you very much for all your help, much appreciated.
BlackGunZ said:
Yes, you're now rooted ! Check the GT-S5360 development subforum and you will find a lot of ROMs, but for CyanogenMod, every ported version (7,9,11) has its specific bugs and you will need to choose the one which suits you. If you need any help, just mention me on your post ! Regards.
Click to expand...
Click to collapse
duratto said:
Fab, thank you very much for all your help, much appreciated.
Click to expand...
Click to collapse
I'm glad that I helped ! And it's very nice to read your good posts, I will send you a friend request and like this, you will send me PMs if you have a problem !
Have a good day. :good:
Thanks mate!
BlackGunZ said:
I'm glad that I helped ! And it's very nice to read your good posts, I will send you a friend request and like this, you will send me PMs if you have a problem !
Have a good day. :good:
Click to expand...
Click to collapse

How to change the installed RAM info on Lumias

Hi all,
Does anyone know how to change the installed RAM info on Lumias???
I mean by changing registry after devices get hacked
thanhquanctu said:
Hi all,
Does anyone know how to change the installed RAM info on Lumias???
I mean by changing registry after devices get hacked
Click to expand...
Click to collapse
IF your phone has build 10572 yes, yes you can.
If your build is higher, no, you can't.
Thanks,Sznabi
Okay what if I successfully changed it on the appropriate build then I upgrade later will i still have the tweak
Sent from my GT-I9305 using Tapatalk
Tali099 said:
Okay what if I successfully changed it on the appropriate build then I upgrade later will i still have the tweak
Sent from my GT-I9305 using Tapatalk
Click to expand...
Click to collapse
Well I don't think so... I tried with my lumia 630 build 10586, and it doesn't work.
But you still can try it yourself: http://forum.xda-developers.com/windows-10/windows-10-mobile/test-build-10572-t3241559
NOTE: don't change it more than 305!!! An user said that even if you change it to 1024 (I mean 1GB) it will use only 305!!
Leave a like if I helped you.
Thanks, Sznabi
thanhquanctu said:
Hi all,
Does anyone know how to change the installed RAM info on Lumias???
I mean by changing registry after devices get hacked
Click to expand...
Click to collapse
HKLM–>SYSTEM–>Platform–>DeviceTargetingInfo in the registry.
Areas of interest to change are:
PhoneManufacturer=
PhoneHardwareVariant=
Make sure you write down or take a screenshot of original values first. Change to what you need.
I got this from here XDA, and other sites. Do some searching. You'll find what you need. And you mean ROM, right? If not, then my bad. lol. :good:
mabry said:
HKLM–>SYSTEM–>Platform–>DeviceTargetingInfo in the registry.
Areas of interest to change are:
PhoneManufacturer=
PhoneHardwareVariant=
Make sure you write down or take a screenshot of original values first. Change to what you need.
I got this from here XDA, and other sites. Do some searching. You'll find what you need. And you mean ROM, right? If not, then my bad. lol. :good:
Click to expand...
Click to collapse
Thank you for taking time to reply me. Indeed, I am still unable to change the installed RAM info ... I don't exactly which field of registry contains it...
thanhquanctu said:
thank you for taking time to reply me. Indeed, i am still unable to change the installed ram info ... I don't exactly which field of registry contains it...
Click to expand...
Click to collapse
hklm= hkey local machine
help me please
How to get OS backup?
W10 build 10586

Help with 1 upstream

Hi guys.
With one guy, who doesn't have Huawei phone, we try to debug why 3.10.90 isn't booting, but logcat seems that everything is okkey, and cat /proc/kmsg and other adb shell commands gives errors. So I try go get a help, could someone upstream the following kernel (3.10.89) to 3.10.90 and make it bootable too ? I tried it for 4 days, modifying ramdisk, etcetc... nothing worked... couldn't debug cuz adb shell wasn't working(i mean it was working, but next commands weren't, i even installed adb insecure ap, usb debugg on etc).
@XTutorials @surdu_petru @haky 86 @XePeleato(if you know somehow ) @DingDongPow or others. Thanks!
https://ufile.io/rvlmk (why no github ? 1. ffs can't even upload it there 2. only when i finish the upstreams)
You must learn to crawl before you can walk.
In the first place you are debugging userspace when the change you made was in the kernel, obviously you aren't catching the error, whatever it is.
Brian Kernighan said:
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Click to expand...
Click to collapse
In this case if you don't understand the code, you are obviously not going to be able to debug it.
Spend some time familiarizing yourself with the kernel, it's the only way to learn.
DingDongPow said:
Soo what do you want me to do fam?
(I don't use linux anymore soo i doubt i can really help)
Click to expand...
Click to collapse
I knew you can't help me, i just tagged you.
@dominj97
Here I am, days pass noone help... A guy with totally different phone helped me more than actual p8 lite devs, ty... (i understand that some can't help, but the rest?.. Shame)
We just don't have the time to spoonfeed you. We are no tech support nor we have to provide you with support, the shame is that you refuse to actually learn something and just want to compile that damn kernel no matter the cost. It takes like five minutes to someone with enough skill to compile a kernel (it's just running a command).
The sooner you understand that this is out of your league and start with the basics, the better.
It's your choice to take this as advice or as a rant.
D1stRU3T0R said:
Here I am, days pass noone help... A guy with totally different phone helped me more than actual p8 lite devs, ty... (i understand that some can't help, but the rest?.. Shame)
Click to expand...
Click to collapse
XePeleato said:
We just don't have the time to spoonfeed you. We are no tech support nor we have to provide you with support, the shame is that you refuse to actually learn something and just want to compile that damn kernel no matter the cost. It takes like five minutes to someone with enough skill to compile a kernel (it's just running a command).
The sooner you understand that this is out of your league and start with the basics, the better.
It's your choice to take this as advice or as a rant.
Click to expand...
Click to collapse
We continue here, okey xd
First, i already learned the basics. I know the command to build, but bcs we don't have a source kernel, I'm running from problems to problems.i can solve easy problems, but when not even google heard about it nor other phone devs, it's something interesting.... I know that you aren't a scam tech supp...i mean tech support, but damn, it's soo hard to answer to at least 1 message out of 5? I'm having more help from a stranger, who is pshichologist, and work alot, but still help more than from actuall "friends".. I understand you, no phone no help, XTutorials did everything he could, haky too (somehow). I'm here being ignored bcs I didn't borned with Linux under my as...house. I don't think that it's sooooooooooo hard to answer a question, even a harder one, you won't lose your job or school free time with that "ruined" 2-10 min. This start to be off topic anyways. I already passed these problems. Now i try to work with hakys kernel
Can you post it here? Any picture or log of that error?
D1stRU3T0R said:
We continue here, okey xd
First, i already learned the basics. I know the command to build, but bcs we don't have a source kernel, I'm running from problems to problems.i can solve easy problems, but when not even google heard about it nor other phone devs, it's something interesting.... I know that you aren't a scam tech supp...i mean tech support, but damn, it's soo hard to answer to at least 1 message out of 5? I'm having more help from a stranger, who is pshichologist, and work alot, but still help more than from actuall "friends".. I understand you, no phone no help, XTutorials did everything he could, haky too (somehow). I'm here being ignored bcs I didn't borned with Linux under my as...house. I don't think that it's sooooooooooo hard to answer a question, even a harder one, you won't lose your job or school free time with that "ruined" 2-10 min. This start to be off topic anyways. I already passed these problems. Now i try to work with hakys kernel
Click to expand...
Click to collapse
tried to delete that file, more errors...
https://m.imgur.com/a/Tw9VI
Which file? There's no need to remove any file, it complains because the toolchain (aarch64-...) isn't in your PATH, so get the toolchain and edit PATH so that the build system can find it
D1stRU3T0R said:
tried to delete that file, more errors...
Click to expand...
Click to collapse
XePeleato said:
Which file? There's no need to remove any file, it complains because the toolchain (aarch64-...) isn't in your PATH, so get the toolchain and edit PATH so that the build system can find it
Click to expand...
Click to collapse
Hmm.. I was watching that... Little chance that there is something wrong, as i know for sure that i modified it to the right path. Will check, maybe gcc is named linux_x86-x64 not only linux_x86 idk, thanks for the hint. (build.sh file)
Try to run in a Terminal 'aarch64-linux-android-gcc' if it can't find it, then it isn't set properly. It also complains because where you are trying to build it is not clean, Are you building in a different directory? (out/)
D1stRU3T0R said:
Hmm.. I was watching that... Little chance that there is something wrong, as i know for sure that i modified it to the right path. Will check, maybe gcc is named linux_x86-x64 not only linux_x86 idk, thanks for the hint. (build.sh file)
Click to expand...
Click to collapse
XePeleato said:
Try to run in a Terminal 'aarch64-linux-android-gcc' if it can't find it, then it isn't set properly. It also complains because where you are trying to build it is not clean, Are you building in a different directory? (out/)
Click to expand...
Click to collapse
K I'll try. Out of directory? Downloaded/extracted to downloads, renamed, (modified), changed build.sh and that's it xd.
Well, it says it isn't clean so you've tried to compile it without specifying an out directory (make whatever) instead of (make O=out/ whatever)
D1stRU3T0R said:
K I'll try. Out of directory? Downloaded/extracted to downloads, renamed, (modified), changed build.sh and that's it xd.
Click to expand...
Click to collapse
XePeleato said:
Well, it says it isn't clean so you've tried to compile it without specifying an out directory (make whatever) instead of (make O=out/ whatever)
Click to expand...
Click to collapse
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
There's where I can't help, I don't know if it will work. That wifi thing was made for non EMUI systems, but that doesn't mean that it can't work on EMUI.
D1stRU3T0R said:
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
Click to expand...
Click to collapse
D1stRU3T0R said:
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
Click to expand...
Click to collapse
You mean this guy????
XePeleato said:
There's where I can't help, I don't know if it will work. That wifi thing was made for non EMUI systems, but that doesn't mean that it can't work on EMUI.
Click to expand...
Click to collapse
Builded, after some mins it booted, 3 sec later system crashed, automatically rebooted :/ ... second boot isnt happening anymore. Fail.
D1stRU3T0R said:
Builded, after some mins it booted, 3 sec later system crashed, automatically rebooted :/ ... second boot isnt happening anymore. Fail.
Click to expand...
Click to collapse
What do You need? Maybe i can help you!
RootingPro-18 said:
What do You need? Maybe i can help you!
Click to expand...
Click to collapse
Nothing right now... No kernel is working how much i would like. I'm using esal right now, but sadly can't be upstreamed to 3.10.90 due to errors at boot. Hakys new kernel has system problems, etcetc

Categories

Resources