Compiling and test - Nexus 5X Q&A, Help & Troubleshooting

hi to every one, i would to know, if a compile a kernel , where can i test it ? there is a way to flash in to a virtual machine o like that ?

fire7777777 said:
hi to every one, i would to know, if a compile a kernel , where can i test it ? there is a way to flash in to a virtual machine o like that ?
Click to expand...
Click to collapse
Please report your thread and let it be moved to general or questions and answers

up

Related

[Q] Help about kernel..

Hello, im newbie and im noob. Please help me. What is kernel?? and what can kernel do to our device? im planning to change my kernel on maroc's kernel. i dont understand hows the step to change kernel. please help.
Is android general is asking prohibited>? idont thinkso. so icreated a thread i just want a clear steps cos i dont understand the steps by the owner and the google too. ty
renr29 said:
Hello, im newbie and im noob. Please help me. What is kernel?? and what can kernel do to our device? im planning to change my kernel on maroc's kernel. i dont understand hows the step to change kernel. please help.
Click to expand...
Click to collapse
Best advice for you better not to try things if your not sure because if you mess it up then it would be over. before you try something then you should KNOW the DO's and DONT's and you should know how to go back or FIX the problem at anytime.
well...there's FAQ thread here. we should ask any question there, not here. maybe you've seen that there're lot of user who didn't obey it. this is because they want to get a quick responses for their post. nevertheless, most of more experienced user will ignore this kind of post. there's no point asking a question here if you need an answer for an expert.
btw, I'll try to answer your question. kernel is a part of os which used by the program (or OS) to communicate with the hardware or the reverse. it also used to boot up and load the OS to the computer (or device). it controlling the app and the hardware behaviour and setting. the structure is kind of like this.
programs<-->kernel<-->hardware
for an instance, when you use a music player, the music player is transmit the digital data to the kernel, then the kernel send the data to speaker as analog data. the same principal works for another app. you'll need googles help if you want to know much more about kernel.
So can i change kernel on my stock rom dxlc1?can i use maroc?
it has bugs...do it with your own risk
kurotsugi said:
it has bugs...do it with your own risk
Click to expand...
Click to collapse
I don't think there are serious bugs if you flashed it on stock rom. For me it's quite stable to use for normal usage. use the latest version
What does it do ?
Are you using it now sir? im not sure if ill use it i dont know how it works.
What do you mean? Im using sd partition and link2sd. so it causes error if i use them ?
BTW bro off topic . when im using link 2sd. and im moving installed apps, and when i install new apps. i check the automatic link? whats the meaning of that linking. thanks
renr29 said:
BTW bro off topic . when im using link 2sd. and im moving installed apps, and when i install new apps. i check the automatic link? whats the meaning of that linking. thanks
Click to expand...
Click to collapse
Up my question ^_^
Partition your sdcard
Sent from my Nexus One using Tapatalk
altruistic666 said:
Partition your sdcard
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
?? Your out off topic bro

[28.04.2012][DEV] Kernel source codes [RELEASED] Virtuous-S4A-2

primou-ics-3.0.16-e45af48.tar.gz
primou-ics-3.0.16-e361aa7.tar.gz
http://www.htcdev.com/devcenter/downloads
my github: HERE
kernel for test: HERE
V2:
- patched to 3.0.30
great news for the HTC One V-community?
mrmad23 said:
great news for the HTC One V-community...
Click to expand...
Click to collapse
Ya... only when we have developer for One V but I don't see any yet. We don't even have a custom recovery
well, it could be a starting point...
I can compile some good kernels,
but I will need testers since I do not have the device..
Whatsay??
Adi_Pat said:
I can compile some good kernels,
but I will need testers since I do not have the device..
Whatsay??
Click to expand...
Click to collapse
Please do... I will test it for sure.
ckpv5 said:
Please do... I will test it for sure.
Click to expand...
Click to collapse
Me too! Thanks.
Sent from my HTC One V using xda premium
Ok, I am downloading the sources now.. Will update you'll ..
I won't make a new thread till the kernel boots, I am mainly a Samsung dev so i am a bit new to HTC.. Anyways ..
Ill give you'll test kernels !
EDIT: The sources are downloaded , Exploring a few things, if time permits I will post a test build tonight or tomorrow early morning!
Cheers !
Someone please send me the kernel in stock ROM
One more thing, pull out a working config for me.
adb pull proc/config.gz
Adi_Pat said:
Someone please send me the kernel in stock ROM
One more thing, pull out a working config for me.
adb pull proc/config.gz
Click to expand...
Click to collapse
I'll upload in a short while
Here you go....
mdeejay said:
primou-ics-3.0.16-e45af48.tar.gz
primou-ics-3.0.16-e361aa7.tar.gz
http://www.htcdev.com/devcenter/downloads
Click to expand...
Click to collapse
will you make ics with sense for dhd fully functional with this kernel source????
i was waiting for fully function android 4.0 with sense...... but there was no ROM as of now.....
now only you are the ray of hope
ckpv5 said:
I'll upload in a short while
Here you go....
Click to expand...
Click to collapse
Ah! Thanks, now give me some time, I'll come up with something
Having some issue extracting initramfs from zImage, I am getting an empty directory.
Adi_Pat said:
Ah! Thanks, now give me some time, I'll come up with something
Click to expand...
Click to collapse
Take your time... will check this thread tomorrow...
Adi_Pat said:
Ah! Thanks, now give me some time, I'll come up with something
Having some issue extracting initramfs from zImage, I am getting an empty directory.
Click to expand...
Click to collapse
hey adi_pat,what say abt a little bit of company from me,eh?
Bring it on! One of my best fellow devs!
I got compiled zImage and modules, but I am not getting this initramfs thing.. Its usually built into zImage..
EDIT: Someone please test the compiled zImage and let me know
PS: Its a plain compiled kernel, let me know if it is booting.
Hello, i saw that you guys got source and thought that maybe an article on the XDA Portal would help get you guys some more dev support.
Link!
http://www.xda-developers.com/android/htc-one-v-ruu-and-kernel-source-released/
I wrote about the RUU as well Hope it helps!
can someone start cm9 port ?
To build CM9 you need to have a device tree which takes a while
Sent from my Desire S
n1kolaa said:
can someone start cm9 port ?
Click to expand...
Click to collapse
Can someone please test the kernel ? Without prompt user feedback how will we continue development ?
Testers please keep your stock kernel handy as a backup.
Adi_Pat said:
Can someone please test the kernel ? Without prompt user feedback how will we continue development ?
Testers please keep your stock kernel handy as a backup.
Click to expand...
Click to collapse
Downloaded the test kernel but I can only test and give feedback in next 9 hrs when I'm at home
Meantime, any info what we can expect from the test kernel ? Or you want to know if it boots ok ?
ckpv5 said:
Downloaded the test kernel but I can only test and give feedback in next 9 hrs when I'm at home
Meantime, any info what we can expect from the test kernel ? Or you want to know if it boots ok ?
Click to expand...
Click to collapse
Yeah I just need to know if it boots..
I'll go slow..

Best kernel for battery life!!!

Hey im a big newbie, but I was able to port a ROM from Arc to Pro.
Now I want to create a battery saving kernel for our pro!
But... How do I start and how do I make it best battery saving??
Thanks alot mates!!!
arc knight 3.3 very good
lammy29 said:
arc knight 3.3 very good
Click to expand...
Click to collapse
thanks for reply. but isnt that for arC? I meant for the xperia pro. Is it possible to port KERNELS??? I was able to port an Arc rom to my Pro but I cant find tutorials on how to port kernels and maybe it is alot harder???
xperiap said:
but I cant find tutorials on how to port kernels
Click to expand...
Click to collapse
Have you looked HERE?
XperienceD said:
Have you looked HERE?
Click to expand...
Click to collapse
Yes, cant see any tutorials on how to port kernels... I think you too, huh?
I only want arc knight kernel [Xperia Arc / s] for my Pro. Maybe someone can do it??? Or help me do it im really a noob
xperiap said:
Yes, cant see any tutorials on how to port kernels... I think you too, huh?
Click to expand...
Click to collapse
I didn't no, but then again I'm not looking to port a kernel, so try asking your question in the section that's there to help, or read the material that's freely available using google (like I just did to see what's available) to help with your quest.
XperienceD said:
I didn't no, but then again I'm not looking to port a kernel, so try asking your question in the section that's there to help, or read the material that's freely available using google (like I just did to see what's available) to help with your quest.
Click to expand...
Click to collapse
I cant find any tutorial on how to potr kernels. So Im asking it in a thread.
Sorry if I posted in wrong place, but no subforum for the Pro.
Hi! Developing kernels is way to different than just porting ROMs. Also you don't port kernels you develop them from scratch. There's no way to port a kernel into another device.
Here's a very2 basic tutorial on building kernel for Xperia but you still won't understand it without proper knowledge.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
Here's the source code.
http://dl-www.sonymobile.com/cws/download/1/105/457/8/1339505718/4_1_B_0_431_tar.bz2
Take note that source code doesn't contain any modifications compiling that right away would just leave you a replica of stock kernel without overclocking, volting, tweaks etc.
Kernel development is a critical part of android customization and anyone is not recommended to play with it even for average developers. It could harm your device to the point that it would burn out or explode.
xperiap said:
I cant find any tutorial on how to potr kernels. So Im asking it in a thread.
Sorry if I posted in wrong place, but no subforum for the Pro.
Click to expand...
Click to collapse
My point was to try asking in the section dedicated to Android development, as you'll probably get better help or pointers than you will by posting it here, and if you've not found anything at all in regards to kernel building/porting then you're obviously not using google correctly.
Riyal said:
Hi! Developing kernels is way to different than just porting ROMs. Also you don't port kernels you develop them from scratch. There's no way to port a kernel into another device.
Here's a very2 basic tutorial on building kernel for Xperia but you still won't understand it without proper knowledge.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
Here's the source code.
http://dl-www.sonymobile.com/cws/download/1/105/457/8/1339505718/4_1_B_0_431_tar.bz2
Take note that source code doesn't contain any modifications compiling that right away would just leave you a replica of stock kernel without overclocking, volting, tweaks etc.
Kernel development is a critical part of android customization and anyone is not recommended to play with it even for average developers. It could harm your device to the point that it would burn out or explode.
Click to expand...
Click to collapse
WoW Riyal, who is this guy I see you everwhere, are you the BEST android developper???
Can u PLZZZ make Arc knight kernel for Xperia Pro ??? I have some money to donate if u want, or help me do and answering questions / problems im facing.
PLz reply thanks!
I'm not the best android developer in fact I am not an android developer.
I am a server administrator and a programmer and it's just I am also a linux kernel developer.
It just so happens that I am the only and sole android kernel developer which is this active for Xperia Pro. If you don't trust me feel free to approach any other developers like FXP and cross fingers that he would reply to you.
I'll try to look for any arc night sources if I found one I'll guide you if not then try ask the creator of arcnight for it's sources then I'll help you.
Ok here's a quick tutorial. I am not good at teaching things so I hope you understand that. I would also assume you have at least basic knowledge with linux and compiling stuff. If not then learn it first before proceeding.
1st.
You must have a linux machine. No windows only linux.
2nd.
download arcnight kernel sources here.
https://github.com/Jimbo77/Arc-Night-Kernel--4.1.C.0.7-/zipball/master
3rd.
go to kernel/arch/arm/configs/
You should be able to see lot's of config files there just pick these 2.
ArcKnight_defconfig
semc_iyokan_defconfig
4th.
Now compare both files make sure that everything in semc_iyokan_defconfig should be also in ArcKnight_defconfig
Ex. if a config in arcKnight says
# CONFIG_MACH_SEMC_IYOKAN is not set
while config in semc_iyokan_defconfig says
CONFIG_MACH_SEMC_IYOKAN=y
Then change arcknight's config and match it with iyokan's
5th.
Download eabi here.
https://sourcery.mentor.com/sgpp/lite/arm/portal/[email protected]=lite
6th
follow everything in here.
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/
7th.
in the line
ARCH=arm CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi- make semc_zeus_defconfig
Click to expand...
Click to collapse
on sony's dev page change it instead to
ARCH=arm CROSS_COMPILE=/opt/arm-2010q1/bin/arm-none-eabi- make ArcKnight_defconfig
Click to expand...
Click to collapse
Done.
Note that I am not responsible if you brick your device. You are using a kernel made for Arc/Arc S and also I am not the developer of that kernel to assure you that it doesn't have any changes which would affect any specific device in any way.
I started and understand the setup etc. but not part 6, when I run terminal and type ''cd kernel'' it says
bash: cd: kernel: File or map doesnt exist
Click to expand...
Click to collapse
AND Ive downloaded eabi. Its a .bin file [is that ok?] and I cant open it! How can I open it??

Help with new ROM LewaXperia

Hi,
Greetings to all,I have been trying to get my hands dirty (learn a thing or two on ROM development) for a very very long time but never had the courage to take the plunge !
Finally I have decided to do it albeit a safer way,I have tried to port latest LEWAOS to Arc using the porting tool by Abinav2. I also tried others but kept getting one or the other errors.
Have taken the CM10 Nightly and the latest Lewa OS5 for the job and the result was successful to a large extent, The ROM installs fine but won't go past initial boot logo,There is no Boot Loop ! Its simply stuck at starting logo.
Have tried multiple kernels and tried to redo the ROM many times but no joy,One more interesting thing I noticed is in Lewa there is no init.d in etc folder,so how does one deal with it ??
So I finally decided to post it here to ask for some guidance and to check whether someone can actually boot into it.
Here's the ROM LewaXperia
PS: This is my first post on development front so please be gentle and Mods if this is not okay than please do let me know before you take any actions or suggest the right thing to do.
Regards.
Hi,
Guys can anyone please reply ? Did anyone of you try it ?? Results ??
Regards.
Try to change bootclasspath check my signature
Sent from my WT19i using XDA Free mobile app
Hi,
Try to change bootclasspath check my signature
Click to expand...
Click to collapse
Thanks a lot for the help !! I really Am trying to make it work,But its just not happening.
I tried to change bootclasspath as suggested by you but there is no init.rc in both the ROM's !! So what Am I supposed to do now ? In the extracted folder there is sbin (folder),logo.rle and init,Thats all there are no other file or folder like your video shows.
Regards.
Not rom u have to extract kernels
Sent from my WT19i using XDA Free mobile app
Hi,
Not rom u have to extract kernels
Click to expand...
Click to collapse
Yes sorry that's exactly what I meant, Meaning the kernel's inside both the ROM's ! The kernels of both the ROM's doesn't have the anything else but the above mentioned.
Regards.
handsome1_blr said:
Hi,
Guys can anyone please reply ? Did anyone of you try it ?? Results ??
Regards.
Click to expand...
Click to collapse
First off you posted in the wrong section. All questions, help and troubleshooting issues should be posted in the Q&A, Help and Troubleshooting sections. You posted in the sacred section of development where only developers should me making threads. Also you need to wait 24 hours before bumping your thread if unanswered.
Thread moved
FNSM

How Build A Custom Rom For One Plus 5t

I Want A Leanr That How Build A Custom Rom For One Plus 5t
Deepusingh786 said:
I Want A Leanr That How Build A Custom Rom For One Plus 5t
Click to expand...
Click to collapse
Learn java first bud
Deepusingh786 said:
I Want A Leanr That How Build A Custom Rom For One Plus 5t
Click to expand...
Click to collapse
That was the dumbest answer, u don't need to learn Java first, lol. Hines u can learn Java in the process. This guide is all u need to build, https://raw.githubusercontent.com/nathanchance/Android-Tools/master/Guides/Building_AOSP.txt.
You have to sync the CAF Branch for 5T on whatever ROM you choose. I didn't Know first thing about building, and this guide got me successful build. If u fillow the guide toul have zero issues.
yung40oz84 said:
That was the dumbest answer, u don't need to learn Java first, lol. Hines u can learn Java in the process. This guide is all u need to build, https://raw.githubusercontent.com/nathanchance/Android-Tools/master/Guides/Building_AOSP.txt.
You have to sync the CAF Branch for 5T on whatever ROM you choose. I didn't Know first thing about building, and this guide got me successful build. If u fillow the guide toul have zero issues.
Click to expand...
Click to collapse
The link you posted doesn't work but it was simple to find an alternative on Google. I've always wondered how to build a ROM so it was interesting to look at, maybe I'll give it a shot sometime one I get Linux dual-booting on my laptop. Thanks!
yung40oz84 said:
That was the dumbest answer, u don't need to learn Java first, lol. Hines u can learn Java in the process. This guide is all u need to build, https://raw.githubusercontent.com/nathanchance/Android-Tools/master/Guides/Building_AOSP.txt.
You have to sync the CAF Branch for 5T on whatever ROM you choose. I didn't Know first thing about building, and this guide got me successful build. If u fillow the guide toul have zero issues.
Click to expand...
Click to collapse
link dead, update pls,
I build GZOSP and I hardly know Java.
Mikxx said:
link dead, update pls,
Click to expand...
Click to collapse
haha if you look at the URL there is a " . " on the end that shouldn't be there. If you cant solve that simple problem I wouldn't recommend getting into building roms since that is 90% problem solving and you do need some knowledge about basic stuff.
Misanful said:
haha if you look at the URL there is a " . " on the end that shouldn't be there. If you cant solve that simple problem I wouldn't recommend getting into building roms since that is 90% problem solving and you do need some knowledge about basic stuff.
Click to expand...
Click to collapse
hahaha lol link was clickable so i assumed it woud be the right one lol, anyways thanks for the clarification

Categories

Resources