[TUTORIAL] Setting up and Compiling JB from AOSP - Galaxy Note II Q&A, Help & Troubleshooting

can anyone help setting up a working guide for the note 2 for the newbies who want to learn,,, something like this thread
http://forum.xda-developers.com/showthread.php?t=1386615

sloppy1 said:
can anyone help setting up a working guide for the note 2 for the newbies who want to learn,,, something like this thread
http://forum.xda-developers.com/showthread.php?t=1386615
Click to expand...
Click to collapse
Hi,
I'm also looking for a way to compile kernel and AOSP, packaging all and flash it on a GN 2.
Actually i'm able to compile the kernel and also the AOSP, but I don't know the next step.

Related

[For Devs] android 4.1 jellybean

NOTE: DO NOT FLASH THIS TO YOUR PHONE> IT WILL HARD BRICK!
this is for any dev that wants to try and port android jellybean to the s3 Tmobile version. they already ported it to the internationl version so i think that might make it a little easier. here is the OP in the international section: http://forum.xda-developers.com/showthread.php?t=1737449
fcortes626 said:
NOTE: DO NOT FLASH THIS TO YOUR PHONE> IT WILL HARD BRICK!
this is for any dev that wants to try and port android jellybean to the s3 Tmobile version. they already ported it to the internationl version so i think that might make it a little easier. here is the OP in the international section: http://forum.xda-developers.com/showthread.php?t=1737449
Click to expand...
Click to collapse
Hmmm...
Wonder if we could take that ROM, change the updater-script to match our mounting points....then we just need a kernel....
Which we have one kernel already made. Not sure if it would work though.
If anyone would help set up a build environment that would work for our kernels and roms then I will gladly help and start learning.
Sent from my SGH-T999 using Tapatalk 2
brfield said:
Which we have one kernel already made. Not sure if it would work though.
If anyone would help set up a build environment that would work for our kernels and roms then I will gladly help and start learning.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
I think we'd need a stock CM9 based kernel though. If I understand correctly.
uoY_redruM said:
I think we'd need a stock CM9 based kernel though. If I understand correctly.
Click to expand...
Click to collapse
Well, it shouldn't take too long. It may be possible to build a CM9 Kernel for our phones using parts of the stock kernel that we have access to.
Once the JB source is released, an S3 port might actually be viable. Otherwise it's essentially just flashing a gnex image and praying something/anything works.
uoY_redruM said:
I think we'd need a stock CM9 based kernel though. If I understand correctly.
Click to expand...
Click to collapse
a CM9 kernel shouldn't be needed, just a modded kernel for our specific phone from what i believe.
We know this, but it's more of an experiment. Also, it helps work out anything we may need to do early on with the modules and drivers
Sent from my SGH-T999 using Tapatalk 2
Why not take this ROM, change the updater-script for our mount points, remove the flashing of the boot.img, flash ROM then flash the kernel Roman release?
Think that would work?
uoY_redruM said:
Why not take this ROM, change the updater-script for our mount points, remove the flashing of the boot.img, flash ROM then flash the kernel Roman release?
Think that would work?
Click to expand...
Click to collapse
It could, in theory. But we would need to work on the modules for anything to work. Could you post our mount points?
why does it have to be a cm9 kernel?
to be completely honest, as soon as we get a cm9 alpha, we will see some worth while stuff! but until then. TouchWiz it iz. We will have team kang's AOKP in no time im sure. i cant wait to see wuts to come. especially since this phone is at all the major carriers and they are all basically exactly the same! should be epic.
Radsolutionz said:
to be completely honest, as soon as we get a cm9 alpha, we will see some worth while stuff! but until then. TouchWiz it iz. We will have team kang's AOKP in no time im sure. i cant wait to see wuts to come. especially since this phone is at all the major carriers and they are all basically exactly the same! should be epic.
Click to expand...
Click to collapse
yea i think once one of the other major carriers (or ares) get cm9 then we will see some awesome stuff for everyones phone!
I think that the only thing that makes them different is the radios in the phone
uoY_redruM said:
Hmmm...
Wonder if we could take that ROM, change the updater-script to match our mounting points....then we just need a kernel....
Click to expand...
Click to collapse
uoY_redruM said:
I think we'd need a stock CM9 based kernel though. If I understand correctly.
Click to expand...
Click to collapse
uoY_redruM said:
Why not take this ROM, change the updater-script for our mount points, remove the flashing of the boot.img, flash ROM then flash the kernel Roman release?
Think that would work?
Click to expand...
Click to collapse
If aosp was that easy we would all be doing it but no... way more complex than that....
im on my phone. expect terrible typos.
howtomen said:
If aosp was that easy we would all be doing it but no... way more complex than that....
im on my phone. expect terrible typos.
Click to expand...
Click to collapse
Wishful thinking I suppose
in another note i found a mini tutorial on how to port it to other devices if anyone wants to try it here is the guide. it is an SDK port. note: i did not write this guide i am just posting a link to the authors op. you can thank him and/or donate to him. here isorum.xda-developers.com/showpost.php?p=28020178&postcount=36 the link:
fcortes626 said:
in another note i found a mini tutorial on how to port it to other devices if anyone wants to try it here is the guide. it is an SDK port. note: i did not write this guide i am just posting a link to the authors op. you can thank him and/or donate to him. here isorum.xda-developers.com/showpost.php?p=28020178&postcount=36 the link:
Click to expand...
Click to collapse
Link is broken, im not meaning to be a lazy pest.
sswb27 said:
Link is broken, im not meaning to be a lazy pest.
Click to expand...
Click to collapse
sorry about that :silly:
here you go: http://forum.xda-developers.com/showpost.php?p=28020178&postcount=36
fcortes626 said:
sorry about that :silly:
here you go: http://forum.xda-developers.com/showpost.php?p=28020178&postcount=36
Click to expand...
Click to collapse
i also have a deodexed system dump of jb if you want it let me know.
Source is out
Sent from my Galaxy Nexus using Tapatalk 2

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??

Need some tips and recommendations

Hey everyone, i'm looking for some tips, mainly about CM9, firstly is it worth using over the stock ROM? Secondly I know that at the moment the camera doesn't work on the current build and I really need the camera so does anyone know when that function will be working? Finally, can someone point me in the direction of the CM9 instal guide, I know it's really lazy of me to ask that but Owell. Thanks in advance.
Galaxy Legacy said:
Hey everyone, i'm looking for some tips, mainly about CM9, firstly is it worth using over the stock ROM? Secondly I know that at the moment the camera doesn't work on the current build and I really need the camera so does anyone know when that function will be working? Finally, can someone point me in the direction of the CM9 instal guide, I know it's really lazy of me to ask that but Owell. Thanks in advance.
Click to expand...
Click to collapse
Please refer to: http://forum.xda-developers.com/showthread.php?t=1576874 for the details
And for your information, now the camera is already working, Stock vs CM9 is GB vs ICS so just think which one do you prefer.

MIUI v5/v6 4.4.x Porting Help

Can someone explain in fair ease how to port MIUI v5 or V6 onto a AOSP Based ROM, like ShinyROM/CM11/OmniROM? Preferably in a GITHub format so Updates to MIUI and these bases update the whole package? Been fiddling with porting it and had no success and the official MIUI porting team instructions seem to not apply/im not grasping it as much as I should
Thanks in advance!
Bump?
Would be great to have a port of Miui 4.4, but seems that a people are not interested. A my friend tried to port but without success. I think that this is possible, but need help.
please port it if someone ever helps you. would be much appreciated!
Anyone have tried this guide? http://yummydroid.blogspot.it/2014/04/guidehow-to-port-different-roms-to-your.html
Seems too simple!!!
alboz83 said:
Anyone have tried this guide? http://yummydroid.blogspot.it/2014/04/guidehow-to-port-different-roms-to-your.html
Seems too simple!!!
Click to expand...
Click to collapse
I tried that first to be honest, but not from the guide directly, just guessing what might work, i know MIUI has init.d things that seperate it from AOSP
PS: Are you the same guy i saw over on MIUI forum?? (I'm XeoShion there)
KShion619 said:
I tried that first to be honest, but not from the guide directly, just guessing what might work, i know MIUI has init.d things that seperate it from AOSP
PS: Are you the same guy i saw over on MIUI forum?? (I'm XeoShion there)
Click to expand...
Click to collapse
Yes i'm the same guy, i'm alboz there.
alboz83 said:
Yes i'm the same guy, i'm alboz there.
Click to expand...
Click to collapse
Well that's worrying, Galaxy Nexus's Community definitely seems to be shrinking fast

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