Hey everyone,
I want to get into android development and I want to start with rom porting. It would be great if anyone could help me get started and answer a few of my questions:
Do I need anything special to start with?
Do I need a really beefy PC to do it?
What programs do I need?
Do I have to learn C++?
Is it safe to test my so called "ports"?
Do I need permision from the developer of the base rom I'm using?
Does the base have to be for the same device?
Thanks for your help and time!
Sp/\ce said:
Hey everyone,
I want to get into android development and I want to start with rom porting. It would be great if anyone could help me get started and answer a few of my questions:
Do I need anything special to start with?
Do I need a really beefy PC to do it?
What programs do I need?
Do I have to learn C++?
Is it safe to test my so called "ports"?
Do I need permision from the developer of the base rom I'm using?
Does the base have to be for the same device?
Thanks for your help and time!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1908008
You can port roms with different hardware , its safe, just make a backup because you will probably boot loop. if you port it and post it here then you will need the devs permission. The base has to be the same android version as the rom you want to port, and the base has to be for our phone.
Laurisss said:
http://forum.xda-developers.com/showthread.php?t=1908008
You can port roms with different hardware , its safe, just make a backup because you will probably boot loop. if you port it and post it here then you will need the devs permission. The base has to be the same android version as the rom you want to port, and the base has to be for our phone.
Click to expand...
Click to collapse
Thanks for the help. I appreciate it.
Sp/\ce said:
Thanks for the help. I appreciate it.
Click to expand...
Click to collapse
i have tried this guide with miui for redmi note 4g, this hardware is similiar?
Mi result is bootlop
linuxiano85 said:
i have tried this guide with miui for redmi note 4g, this hardware is similiar?
Mi result is bootlop
Click to expand...
Click to collapse
I was going to try to port miui but now that you're doing it I might as well try to port something else. Any suggestions?
Sp/\ce said:
I was going to try to port miui but now that you're doing it I might as well try to port something else. Any suggestions?
Click to expand...
Click to collapse
I can not tell because even I'm not good with porting, my best result with all roms try and bootanimation been blocked.
my opinion is that there is something missing in the guide, some guides say they modify the init file in boot.img for example.
What I realized is that the files that are to be created well for not having problems updater-script and build.prop.
linuxiano85 said:
I can not tell because even I'm not good with porting, my best result with all roms try and bootanimation been blocked.
my opinion is that there is something missing in the guide, some guides say they modify the init file in boot.img for example.
What I realized is that the files that are to be created well for not having problems updater-script and build.prop.
Click to expand...
Click to collapse
Well if you have any success be sure to tell me because I really want to try miui
Related
Hello
I'm looking for some hints about the subject: how anyone can take a shipped, let me say, HTC Desire rom and let it work on HD2.
I'm not talking about doing heavy tweaks, modifications and so on... just to take a stock Android ROM and have it working on HD2.
I asked to some chefs and received some hints but It's not enough.
I don't want to think that this is a "secret" and I think would be great if some chef would share his experience/step-by-step instruction on how to do this.
As I said before, I think we could start just with simple porting of a stock htc desire ROM, just to understand all the steps. I think that further steps on how to customize and tweaks will be explored later and anyone could experiment itself.. but we need a basic starting point.
Some step by step instruction will be great like:
1) Download shipped rom from here .........
2) unrar it in linux folder
3) copy this folder, rename the other one, dowload this file, copy this...
4) execute shell command XXXXX
5) copy on your sd card
6) boot...
of course I know it's not so easy, but is just an exaple on what I ask here. I think there are a lot of other perople looking for this.
Thanks to any chef/dev that would to explain to our noobs how to get the "magic"
p.s.
I ask the moderators to keep, if possible, this thread in the Dev forum... this because we need help from devs here and in the Q&A forum it will be never noticed.
I came across this the other day that maybe of use:
http://www.miui-dev.com/forums/showthread.php?481-Howto-Make-your-own-Android-Build-for-the-HD2
Tallon said:
I came across this the other day that maybe of use:
http://www.miui-dev.com/forums/showthread.php?481-Howto-Make-your-own-Android-Build-for-the-HD2
Click to expand...
Click to collapse
Yes, I was pointed to that thread too. If you look at the end there are some questions I did. The problem is that is based on MIUI... That is already a custom ROM.
I think the better way to understand the process (not just do it) is to have hints on how to port a standard/stock HTC DESIRE rom.
rafpigna said:
Yes, I was pointed to that thread too. If you look at the end there are some questions I did. The problem is that is based on MIUI... That is already a custom ROM.
I think the better way to understand the process (not just do it) is to have hints on how to port a standard/stock HTC DESIRE rom.
Click to expand...
Click to collapse
Ideally the same way. In theory it should work...I never tried because sense builds (especially hd ones) are very laggy
domineus said:
Ideally the same way. In theory it should work...I never tried because sense builds (especially hd ones) are very laggy
Click to expand...
Click to collapse
Hello, I was just replying on the other thread to thanks you for the answers
I will try to follow your guide to port a stock desire rom (strange that are laggy for you... for me they fly...)
Anyway it's still something not clear about the donor files... If it's ok to take them from an already HD2 working rom or not.. but I will ask on your thread, avoid to make confusion
no one tip from the devs?
I'm start thinking that instructions on rom cooking for hd2 is like a secret
I've asked this many times, but as you said, no one seems to want to share this "secret"...
the_scotsman said:
I've asked this many times, but as you said, no one seems to want to share this "secret"...
Click to expand...
Click to collapse
go to the link...
it pretty much puts how to port and even where to get the files for a working miui/cm 6 build on hd2
literally it can't get that much easier...
domineus said:
go to the link...
it pretty much puts how to port and even where to get the files for a working miui/cm 6 build on hd2
literally it can't get that much easier...
Click to expand...
Click to collapse
I think you are the only one that shared your findings.. Hope others will do.
Anyway I'm trying just know your guide.. I'll let you know.
good thread and wish everyone to share your cooking knowledge here.
its good for the XDA community.
i am a newbie to android system and trying to cook my own rom too.
pls ask/share your question here, lets make it easier to cook/modify android for everyone.
of course this cannot success without chefs support.
hi there, i m newbie too want so bad to change my hd2 winmo to androis cos winmo is really suck!!! thanks a million to chefs in advance!
most appreciated if there is step by step info
ahuh said:
hi there, i m newbie too want so bad to change my hd2 winmo to androis cos winmo is really suck!!! thanks a million to chefs in advance!
most appreciated if there is step by step info
Click to expand...
Click to collapse
you can start with one of the hunderd rom that chefs already cooked. This thread is just to ask help with cooking a rom, you have not to wait.. you already can use android daily on your phone.
I have had success building with this guide but cannot get it to work with cedesmith's new initrd.gz. Does anyone have done tips on how to build with the new initrd.gz?
Sent from my HTC HD2 using Tapatalk
tyween said:
I have had success building with this guide but cannot get it to work with cedesmith's new initrd.gz. Does anyone have done tips on how to build with the new initrd.gz?
Sent from my HTC HD2 using Tapatalk
Click to expand...
Click to collapse
Did you cook a MIUI rom or a Sense rom or a stock android rom?
For the cedesmith's initrd.gz I was thinking the same thing.. maybe we have to ask directly to him.
wow, both tyween, and rafpigna, started from this, to now:
Rafroid
Typhoon
best roms on xda. Really nice work guys!
But still, no one shares the "secret" I have tried several things myself, but it didnt work. Would really appreciate if someone could share how to port a rom to the hd2.
Yeah would be great if tyween and rafpigna let us know how they managed it, what guides/reference they started of on or if they have any tips for us etc
I totally agree, I would definitly cook my own rom if I knew how to...
wot
wot
You really can't expect help whenever you ask for it, and if I knew anything about devving I probably wouldn't help you after that. Anyway, most devs don't pay attention to the Q&A section, so you're not likely to get too much help.
Sent from my NexusHD2
noamsch6 said:
As the title says, I want to cook HD2 ROM since on every ROM I tried something was missing for me, so the solution is: I will develop my own ROM and share it here on XDA if its going well.
But, I don't really know how to start, I'm not a noob but not a developer either.
All I need is to know where to cook ROMs (I have dsixda kitchen and used it b4, but only for MAGLDR to cLK ports and some minor things, tried to cook with it but with no success, the ROM didn't boot, kerenl problem I believe...), I need to know how to start from scratch: grab base from somewhere, add / change kernels, add Aroma instalation etc.
The rest, tweaking ROM for example, I would like to know how, but too soon for now...
So please masters, help me out! :angel:
Click to expand...
Click to collapse
Google is your friend. Its where i got started when i wanted to develop. So go there Its not going to be easy, but at least you can say YOU did all the work yourself
elesbb said:
Google is your friend. Its where i got started when i wanted to develop. So go there Its not going to be easy, but at least you can say YOU did all the work yourself
Click to expand...
Click to collapse
Already tried searching for tutorials with no luck... maybe you can help finding some useful tutorials or guides?
noamsch6 said:
Already tried searching for tutorials with no luck... maybe you can help finding some useful tutorials or guides?
Click to expand...
Click to collapse
Well there are guides for dsixda kitchen, you just have to use the HD2 source code for whatever ROM type you want to cook (ie CM9 AOKP CM7 MIUI SENSE etc)
noamsch6 said:
Already tried searching for tutorials with no luck... maybe you can help finding some useful tutorials or guides?
Click to expand...
Click to collapse
Try this:
http://forum.xda-developers.com/showthread.php?t=1260103
So now i think if we ported the stock 5.0 recovery and kernel we could actually boot the rom and what i am asking here can we just edit the mkboard.config or try to make some changes to the ram disk as i will try tommorrow porting the kernel i will need help in the recovery so if some one could help me with that i will apreciate i know it could be impossible because if it needed the 5.0 bootloader but there is nothi g to lose if we tried
How can I help you? What knowledge must I have? Or can I be a tester
This_Guyse said:
How can I help you? What knowledge must I have? Or can I be a tester
Click to expand...
Click to collapse
If you know any thing about decompiling and recompiling and using android kitchen or you can google them to help me the only thing that i dont know how to port is the recovery
I don't think the recovery needs to be ported as we can use TWRP for our note 3.
This_Guyse said:
I don't think the recovery needs to be ported as we can use TWRP for our note 3.
Click to expand...
Click to collapse
If you saw the guids they say you must install atock recocery i will see will port the lernel tommorow as it is now 11pm so i will go tsleep and then try and i will let you know
Hello everyone,
I'm currently using a Galaxy J5 (2016) and I was wondering if anyone wants to do any modding for it. The only things I've seen so far is the "Light ROM" and the TWRP recovery, but I would love to use another custom ROM or a kernel.
Same, I would live to see a Cyanogenmod ROM for the J510. I've been trying to make a ROM, but it would help if others would do so.
It looks like the guys are working hard on a rom for your model on the developer page. You will just have to wait for more. Until then why don't you download the one available and help test it. The process will help develop more roms
@johnhux7 Can you send me the link to this?
http://forum.xda-developers.com/galaxy-j5/development/rom-light-stock-rom-v1-t3467865
I think that this is the link your wanting
I meant a ROM for CM and that one has the final update
I don't think that there is one at yet mate. I think the only way your gonna get that is if you download the ROM that the guy has made. Help him test it, give him feedback and maybe that will help motivate him to go on and build CM12..1 CM 13 etc.
These guys do this work for nothing and it must take them 100's of hours and god knows how many boots of their phones.
Give them a hand and maybe you will get what you want in the future cos there ain't one at present..
John
Im gonna build cm for j5 2016
AndroidTutorials said:
Im gonna build cm for j5 2016
Click to expand...
Click to collapse
looking forward to that
JyRo said:
looking forward to that
Click to expand...
Click to collapse
Yep ?
Any tweaks, mods or kernels available for Samsung J510? I want to flash some of it. Trying to test out what are some goodies that we might found..
knnthgngb said:
Any tweaks, mods or kernels available for Samsung J510? I want to flash some of it. Trying to test out what are some goodies that we might found..
Click to expand...
Click to collapse
Tweak: https://forum.xda-developers.com/galaxy-j5/themes/root-corectl-j510fn-cpu-control-t3528373 .
#Henkate said:
Tweak: https://forum.xda-developers.com/galaxy-j5/themes/root-corectl-j510fn-cpu-control-t3528373 .
Click to expand...
Click to collapse
Can I flash the zip file directly on TWRP Recovery? Is it safe? I want an answer in your on opinion..
knnthgngb said:
Can I flash the zip file directly on TWRP Recovery? Is it safe? I want an answer in your on opinion..
Click to expand...
Click to collapse
It is safe since it was confirmed that it is working.
You have to replace init.qcom.post_boot.sh file with the one from that thread, like is mentioned here: https://forum.xda-developers.com/showpost.php?p=70308367&postcount=5 . So, copy the actual init.qcom.post_boot.sh somewhere to have a backup before replacing it. Dont forget to set the permission after replacing it.
Someone made a flashable zip with it so you can flash it through TWRP: https://forum.xda-developers.com/showpost.php?p=70409603&postcount=14 .
I don't know why it's any custom kernels for it!
It's a really great device!
A lot of RAM, good battery, CPU and GPU which is good for OVERLOCKING(I see the wonderful custom kernels on different devices with this chip
#Henkate said:
It is safe since it was confirmed that it is working.
You have to replace init.qcom.post_boot.sh file with the one from that thread, like is mentioned here: https://forum.xda-developers.com/showpost.php?p=70308367&postcount=5 . So, copy the actual init.qcom.post_boot.sh somewhere to have a backup before replacing it. Dont forget to set the permission after replacing it.
Someone made a flashable zip with it so you can flash it through TWRP: https://forum.xda-developers.com/showpost.php?p=70409603&postcount=14 .
Click to expand...
Click to collapse
I really appreciate the new tweak you gave me bro. Thank you....
Hi. We need to finish MIUI asap because we have other ROMs to develop in queue. Anyone with a marshmallow custom ROM willing to flash MIUI a couple times and get logcats to finnaly make it boot, send me a PM or post a reply.
Also, a linux computer is needed
Thank you.
I want to help you but explane how to make a logcat?
Google is your friend https://forum.xda-developers.com/showthread.php?t=1726238
ekobaltika said:
I want to help you but explane how to make a logcat?
Click to expand...
Click to collapse
I will tell you later. Right now I need to know what custom rom do you have and if you have a linux computer.
Thank you.
XTutorials said:
I will tell you later. Right now I need to know what custom rom do you have and if you have a linux computer.
Thank you.
Click to expand...
Click to collapse
I use now Crossover B604. But I don't have Linux.
ekobaltika said:
I use now Crossover B604. But I don't have Linux.
Click to expand...
Click to collapse
Sorry, but we already solved our problem. And also if we still didn't solved it, we couldn't get you to help us.
, that is a stock custom rom, just features added to the stock rom, not custom rom built with source code, and you would've need a linux for dumping.
Thank you for understanding.