any someone wanna share info about How to Build, Modify, and Compiled Rom for LG P350??
please help this newbie..
but i dont know about linux script ect..
Sent from my LG-P350 using xda app-developers app
First of all learn Linux Script. It's the basic of the basic when you want to come to Android Development.
Second, arrange a PC for it. An linux-based OS would fit exactly for this purpose ( you can use Windows too).
Third, search some tutorials on net, you can check some made by keyur2maru ( we have here in XDA) .
Forth, always follow carefully the steps.
Or you can begin by Porting ROMS, keyur made a tutorial about this for a while, so search and you'll find.
Related
Ok, so after having a million questions I thought I'd write up a quick little 'how to' with regards to porting.
And now the warning
Read and learn first, doing this could cause serious issues with your tab or even brick it. The tab is really tough, and hard to brick if you do everthing right but it could still happen. I'm not responsible if it does.
Where to start
Get good at reading, google searching and searching XDA. Lots of porting discussion regarding other phones can apply to the tab.
Learn to use Heimdell
Have a linux distro available, either by virtual box, or natively.
Technomancer where it all began
I've said it before and I'll say it again, without techs work miui wouldn't have been possible.
Reference technomancers thread here: http://forum.xda-developers.com/showthread.php?t=931857 on how to download the cm7 + sgt source, you're also going to want to follow the kernel making part, cause most likely you'll need to make adjustments to the init.rc which is inside the initramfs and requires building the kernel again.
porting x build
Get X build onto your computer and extract the update.zip for it.
Copy the boot.img into your linux environment and extract it using splitbootimg.pl script (note: Google it, plus this doesn't work with samsung builds). Compare the init.rc to your init.rc (from the sgt cm7 kernel source root folder). Specifically the most important part here is the PATH, LD_LIBRARY_PATH statement and BOOTCLASSPATH lines.
Build your kernel with the updated init.rc and flash with heimdell, it should still boot your cm7/miui build (if you were running it before) albeit with errors.
The system
Now following the awesome list of proprietary files (either from your source folder or technomancers github link) check the galaxytab-common-vendor-blobs.mk for the GT-P1000. It lists every file you need that's propreitary to the tab and where to put it.
Also you'll probably need the debuggerd from /system/bin on the cm7 build.
Compare the /system/build.prop of the cm7 build to your port, make sure the ril info is the same as well as the ro; model, brand, device, board, and platform lines.
Create an update.zip (or whatever you want to call it.zip) and try it.
It's not booting
Logcat is great, but I really suggest using the ddms from the android sdk tools. It's color coded, and gives a much nicer view of what's happening.
Using winmerge in windows or a linux file compare program start checking what other bin files may be missing that you require. Special notice to the xbin folder.
It works! I want to post it!
Ok, first up, make sure you have permission if this is someone elses custom build you've ported. Most people/groups are really good about it assuming you ask first and give them credit in your post.
Also credit everyone who helped, answered a question or sent you in the right direction. (it's just polite)
Second your going to want to make sure your update.zip flashes the kernel, read the update_script from the cm7 build to understand how it works.
So that's it for a start. roll up your sleves, gather your courage and get to it!
Please if you have other tips, add them to the thread, what's better 1 or 2 'developers/porters' or 100?
Thanks. This is very useful for me.
Thanks,
Following this method, with slight alterations to adjust, I was able to port an i9000 phone build to the tab in about 10 minutes, it's really not terribly that difficult once you have the right steps.
The first couple times are usually frustrating but after that you get the hang of it
Hi mssmison Thank you for your guide,it will be very useful in the future! I have only one request,how can I contact you? I have a proposal for you about a dev team (regarding an old think tank)
Thanks for the guide...
Is there any ROM left to port by the way?
Sent from my GT-P1000 using XDA Premium App
I know nothing much of ROM Development but I do have the basic foundation knowledge and I wish to commence in releasing a modded ROM soon as a start...
As a start can anyone give a pointer of the following :
1. Boot image ยป what is required to extract / modify ?
Note : Please do not re-quote as I will be making changes as we go along
So let us discuss and explore so that we can learn together....
Sent from my GT-I8150 using xda premium
I was thinking of doing the same andy. Asked cow to see if he would like to point me in the right direction.
I had to abandon my idea as new house i moved into i dont have any internet to work off so had to put my plans on hold. But here is what i was told what is basically needed for cooking roms.
1) Download Kitchen:
http://forum.xda-developers.com/showthread.php?t=633246
2) Download your stock ROM
3) Extract system.img.ext4, cache.img.ext4 and boot.img from stock ROM, put into Kitchen's original_rom folder
4) Do this for SGW: http://forum.xda-developers.com/show...8&postcount=12
- No need to upse KezzaPlane's updater script anymore
5) Run ./menu in kitchen and follow the instructions
On part 3. If you want to use a different kernal( Oc one or simply Cow's oc kernal) please make sure to ask for the use of the kernal first and then use that boot.img and replace it into the rom that you are going to cook.
hi, thank you very much for the information, so far i have downloaded eclipse ee, and the android sdk but had zero idea where to start lol
i was so motivated when arco started and released his ics rom that i wanted to do my share as well, i have experience in coding in java but also wanted to know what else to do, then i bumped on this post, thanks a lot man!
snwman said:
4) Do this for SGW: http://forum.xda-developers.com/show...8&postcount=12
Click to expand...
Click to collapse
um unfortunately that link doesn't seem to work, may i ask for the full link?
this is awesome, i will support this thread. pls someone provide clear informations on how and what needed
Hi Everyone,
I would like to learn Android ROM development, but do not know how it is done in Ubuntu.
I have build CM7 successfully on Ubuntu 11.10 and would like to proceed further to develop ROM, but do not know how to ? I mean I know if android apps is required to be developed, then ECLIPSE is used, but, if ROM is to be developed, then how it is done ?
I mean, is there any eclipse like IDE (Development Environment) exist to develop ROM ? Can anyone guide me or provide me link how to proceed further ?
I searched a lot in google, but could not find any site which gives details on it. What I am getting on search is only setting-up the envirnment and compiling the source code, but nobody deals with how to modify or develop further on ROM.
Any help on this regard will be appreciated.
Edit: I found it, we can use eclipse itself for the editing and I think to build the source code modified, we need to proceed in the same way. Below is the link:
http://wiki.cyanogenmod.com/wiki/Loading_source_in_eclipse
Thanks
gurung_vishwas1 said:
....I mean, is there any eclipse like IDE (Development Environment) exist to develop ROM ?....
Click to expand...
Click to collapse
Win-rar..
..if you know what i mean..
So i'm computer programmer and i develop programms, in C#,Pawn,mSL,PHP... A bit C. Mostly in C-Type languages.
And i was wondering , since i don't have much a background for linux Operating Systems, is there any guide in order to create your own Android ROMs, Mods, Like PAC , or Caynogen Mod, or ParanoidAndroid, AOKP ... or even combine them like pac did. I'm allready aware that in order to do that i need to learn this to procceed. Since i know how to develop applications and i know the programming stuff i would like to have for example a Unique Mod for my Phone, something that i can build it exactly to my needs.
PAC ROM is a very good one, but it has a lot of limitations, such us Lack of Radio FM, 2MP Cammera, and so on. Anyway is there any tutorial,guide or whatever in order sto learn the basics about compiling the new Android Base, and how can i embed a mod, or modify its system.?
For kernel side its very easy, just download kernel source, ramdisk, a toolchain, and kernel kitchen or use the Sony script.to pack .elf files
Once you got this just start edit what you want, compile, pack the zimage with a ramdisk and next pack it to .elf.
Finally flash it
Sent from my LT26i using xda premium
Be sure to check out this - http://xda-university.com/
It is very good for learning new stuff
There are many guides around here on XDA which tell us how to build roms from source too. Good luck:laugh:
Thank you for your help guys. Appriciated it.!
I am follower of xda !!
i learn so many thing.
now i want to create AOSp or any rom based on source code.
There is all where Guide who teach how to create custom rom till ------ brunch mako or luch mako ----
they just teach :-
How to set up environment and
How to set up repo
And how to download source code by repo **** and second last REPO SYNC
And final step brunch or lunch make or **** .
HEy guys is there any such guide who teach basic things :-
1. how to solve logcats (( i have seen some guide abt this but they are very limited and dont cover many things ))
2.how to create device tree (( pls dont tell search on github for my device tree,.,.,.,.,..))--- i want to learn how to create device tree if i am first one from that device.
3.Any such documentation who teach abt --- RIL
4.where should do changes in SOURCE CODE.
is there such a big guide who teach really things instead of downloadig source code and setuo environment ???
i have seen some things in chinese sites but they are akward in google translate.
XDA DONT CONTAIN SUch THINGS GUYS ????
I'm not really sure what this has to do with paranoid android, but there are plenty of tutorials on xda on how to cherry pick and resolve issues
#stayparanoid
Pirateghost said:
I'm not really sure what this has to do with paranoid android, but there are plenty of tutorials on xda on how to cherry pick and resolve issues
#stayparanoid
Click to expand...
Click to collapse
can you pls give gud links for this beginer.
and also some big guide in LOGCAT solution.i have seen some thread but they dont give proper details.
No.
Find your own guides
#stayparanoid