[Q] New to the whole Development - EVO 4G Q&A, Help & Troubleshooting

I'm interested in developing a ROM for my HTC evo I thought i could tackle this project by just browsing the forum But it seems that I have a search overload to say the least, Are there any useful threads for developing ROM's as I said earlier I have looked I may have missed something of importance and any one with tips hints and or suggestions would be most appreciated.
Thanks in advanced
SinisterTensai-

find a base rom or deodexed stock rom! install android kitchen or a kitchen of your choice!
note: android kitchen runs on linux!
Trial and era like the rest of us have done!
anything you use that others have ask them for permission and give them props always when you post your work or anything for that matter! good luck its not easy!
Sent from my Full Android using XDA App

eVoKINGS said:
find a base rom or deodexed stock rom! install android kitchen or a kitchen of your choice!
note: android kitchen runs on linux!
Trial and era like the rest of us have done!
anything you use that others have ask them for permission and give them props always when you post your work or anything for that matter! good luck its not easy!
Sent from my Full Android using XDA App
Click to expand...
Click to collapse
I have a linux sandbox of some sorts I could install the OS I have had issues with kitchen's in the past
Trial and era is what I'm used too
and of course I will credit any one who has helped and or work(s) I have used

I suggest you start theming first
Sinistertensai said:
I have a linux sandbox of some sorts I could install the OS I have had issues with kitchen's in the past
Trial and era is what I'm used too
and of course I will credit any one who has helped and or work(s) I have used
Click to expand...
Click to collapse
Swyped from Eva running Myn's RLS4!

Related

[ROM HELP] Need some help Cooking in the Kitchen

I created my ROM kitchen using the guide i found in the fourms. It was an easy and awesome guide.
I have been playing around in the "Kitchen" playing around with some ROMS and there is only so much a person can customize.
Basically im asking how can someone customize more then what is offered in the "Kitchen" made by XDA Developers
ROM Guide from XDA forums
I want to know how you DEV's put custom colors like Freak has in his ROM or OC a Kernal so i can package it into a ROM release, or Launcher bars and key locks...
Thanks
Here:
http://forum.xda-developers.com/forumdisplay.php?f=613&order=desc
Especially this:
http://forum.xda-developers.com/showthread.php?t=697938
And of course this:
http://forum.xda-developers.com/showthread.php?t=667298
elegantai said:
Here:
http://forum.xda-developers.com/forumdisplay.php?f=613&order=desc
Especially this:
http://forum.xda-developers.com/showthread.php?t=697938
And of course this:
http://forum.xda-developers.com/showthread.php?t=667298
Click to expand...
Click to collapse
Thanks,
This will keep my busy for a while

How do you dive into Android development?

For example how do you make programs that do 1-click rooting, or modify the official ROM such that it does not update HBOOT, or make mods for it? What programming languages do you have to know? What system environment (Windows, Linux, etc.) do you have to be running?
Love Android, want to start contributing after end of my national exams (November )
good skills in Linux and Java-Programming seems to be a good combination
BrainMcFly said:
good skills in Linux and Java-Programming seems to be a good combination
Click to expand...
Click to collapse
Then how do you make programs that do 1-click rooting, or pre-load applications like busybox into the ROM? You'd have to manually edit the source code of the ROM, don't you?
fterh said:
Then how do you make programs that do 1-click rooting
Click to expand...
Click to collapse
Years of hardware hacking experience and days of work / problem solving.
bedeabc said:
Years of hardware hacking experience and days of work / problem solving.
Click to expand...
Click to collapse
I'm 16, no prior programming experience (unless you count a Hello World as one), on Windows right now. How would you advise me if I want to start contributing to the Android scene?
I've found a post which looks like a good starting point and contains a lot of helpful links:
hxxp://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
Regards,
Tom
P.S: Sorry, had to cripple the link, because I'm a new user and therefore not allowed to post a "real" link.
fterh said:
or pre-load applications like busybox into the ROM? You'd have to manually edit the source code of the ROM, don't you?
Click to expand...
Click to collapse
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Rudolfje said:
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Click to expand...
Click to collapse
You mean system/app lol
Sent from my HTC Desire using Tapatalk
Rudolfje said:
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Click to expand...
Click to collapse
You mean /system/app? There is nothing under /data/ in my phone.
fterh said:
You mean /system/app? There is nothing under /data/ in my phone.
Click to expand...
Click to collapse
Data/app is where installed apps go, chances are u dont have anything there cuz ur using apps2sd
Sent from my HTC Desire using Tapatalk
data/app is where you can put user-removable and other apps you want seperate from the system/app in a custom rom - has to be added to the rom itself like A2SD does.
AndroHero said:
Data/app is where installed apps go, chances are u dont have anything there cuz ur using apps2sd
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Oh okay. So before trying my hands at developing a ROM I should try writing some apps first?
Edit: But my ROM Manager has a "Move to SD Card" button, which means it should be in /data/app?
Bump. Then do I need to be on a Linux environment? Any gurus can give some pointers to a newbie to the Android scene?
being on linux would be easier - knowledge of the OS would be better.
If you use Linux you can use dsixda's kitchen to sign and build the rom after youve finished adding removing, editing etc. It's going to be a case of trial and error, but you cant break the phone as long as you're using a rooted/su rom, without the HBOOT or radio in it. You might get a bootloop/freeze, or 57 force closes but you can always re-flash.
Say i wanted to remove certain preinstalled apps from the official Froyo ROM, how would i know which files to delete from the zip?
Sent from my HTC Desire using XDA App
TomakiD said:
I've found a post which looks like a good starting point and contains a lot of helpful links:
hxxp://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
Regards,
Tom
P.S: Sorry, had to cripple the link, because I'm a new user and therefore not allowed to post a "real" link.
Click to expand...
Click to collapse
Where going to post the exact same link. It contains all that you need, usually.
fterh said:
Say i wanted to remove certain preinstalled apps from the official Froyo ROM, how would i know which files to delete from the zip?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
You'll find a lot of info on the following thread. There you're linked to Android Developers pages where the structure of a ROM etc is described. All the info you need is there.
http://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
I think I'll try writing some apps on Ubuntu before even thinking of maintaining and developing my own ROM. This way I can get close and cozy with the Android system and learn Linux. One question though: Is the learning curve steep?
fterh said:
I think I'll try writing some apps on Ubuntu before even thinking of maintaining and developing my own ROM. This way I can get close and cozy with the Android system and learn Linux. One question though: Is the learning curve steep?
Click to expand...
Click to collapse
Bump. Is the learning curve steep for someone who has no prior programming experience?
fterh said:
Bump. Then do I need to be on a Linux environment? Any gurus can give some pointers to a newbie to the Android scene?
Click to expand...
Click to collapse
If you have never had ANY programming experience before I would reccomend learning another language first, before trying to learn Java. Try vb.net if you have Windows, learn that and you get the gist of how to programme, then install Linux Ubuntu or another distro, familiarize yourself with the Terminal command line, then go on to learn Java, then the Android SDK, then make some apps, then learn how to modify roms etc. The last thing you want is a bricked phone

Need Help learning Rom development and porting

I am a beginner and very interested in developing for android. I have some basic knowledge of app development for android and knowledge of java and c.
I searched but couldn't find a good tutorial for rom development or porting.
Could anybody please suggest some resources from where I could learn rom development??
Thanks in advance.
Best advice I could give you is look at the source code. And brush up on your xml. Unless you have a specific question that's the best I can do.
Hope it helps!
Sent from my SCH-I520 using XDA App
Thor development said:
Best advice I could give you is look at the source code. And brush up on your xml. Unless you have a specific question that's the best I can do.
Hope it helps!
Sent from my SCH-I520 using XDA App
Click to expand...
Click to collapse
I'm interested in learning rom porting from a Device X to Device Y.
I have complied Android from source code and looked at the different folders and architecture but in absence of a good tutorial i wasn't able to build upon it.
I'm looking for resources which could help me in learning components of a basic android rom and how to build on it.
I read that prior to rom developing, it would be helpful if I would learn rom porting, that's why I'm looking for rom porting tutorials.
Thanks.
There was a pretty good web page that I can't find at the moment, but I dig these up:
http://forum.xda-developers.com/showthread.php?t=784121
http://forum.xda-developers.com/showthread.php?t=757817
I just deodexed my first roms tonight, so I think the next step is porting!
gee one said:
There was a pretty good web page that I can't find at the moment, but I dig these up:
http://forum.xda-developers.com/showthread.php?t=784121
http://forum.xda-developers.com/showthread.php?t=757817
I just deodexed my first roms tonight, so I think the next step is porting!
Click to expand...
Click to collapse
Yeah I also remember that page, and I bookmarked that page but recently when I tried to browse that page, it said that page is not available.
I deleted its link also.
Please let me know if you find any further resources.
I deodexed two shipped roms and repacked them using dsixda kitchen, but now of them went post boot screen after installation.
I tried using "adb logact" but it just showed "waiting for device".
I'm not able to figure out why did it happened.
ddms in the android-sdk is pretty good for figuring out what is going on. It basically gives you a streaming logcat as the device is running.
I had a bootloop with one rom because I only deodexed the framework, not the apps. Also don't forget about framework-res.apk in /system/framework.
This thread was a great compilation of rom development and porting resources :
http://forum.xda-developers.com/showpost.php?p=6738713&postcount=1
But it has been removed by the administrator.
There are a few more guides which I was able to search, these are :
http://forum.xda-developers.com/showthread.php?p=18463306
http://forum.xda-developers.com/showthread.php?t=1222746
http://forum.xda-developers.com/showthread.php?t=1076687
And this link has links to some other useful resources :
http://www.neopeek.com/viewtopic.php?f=24&t=6208
Please post other useful resources which you guys have, so that new developers interested to contribute to android community can learn.
Please help me making this post useful for those interested to learn about android rom development.
Paste all useful links which you can find in this thread.

[GUIDE] dsixda's Android Kitchen - Now supports GS3 SGH-I747 (Windows/Linux/Mac)

dsixda's Android Kitchen - Now for Samsung Galaxy SIII SGH-I747
Compatible with Windows (Cygwin) / Linux / Mac OS X
The following is a guide to assist you with creating your own Samsung Galaxy SIII SGH-I747(M) (AT&T, Rogers, Bell, Telus) custom ROMs with the kitchen. This is NOT a guide to help you become Cyanogen or do fancy things with AOSP, but it may be your springboard to bigger things in the future.
Some of you already know about the Android Kitchen. It is a project I started on back in February 2010 to help newbies create their own custom ROMs and learn more about Android. As of the latest versions, you can now create your own Galaxy S3 I747 ROMs with the kitchen.
I have already posted an equivalent thread for the T-Mobile SGH-T999 Galaxy SIII, so no need for redundancy. The same steps will work for your device:
CLICK HERE FOR KITCHEN INSTRUCTIONS FOR YOUR GALAXY SIII.​http://forum.xda-developers.com/showthread.php?t=1939420
Since the above link is for SGH-T999 discussion only, please post all SGH-I747 talk in the thread right here. Enjoy!
​
Nice, will check this out
Sent from my SGH-I747 using Tapatalk 2
I've been waiting for something like this for our phones. Thanks for your hard work, the time and effort in creating something like this is very much appreciated. :good:
Yea this android kitchen is awesome!!! I wasted no time trying it out, and its really straight forward too. Thanks again dsixda!
Oh yea!? Thems fightin words....
Thanks dsixda. Will be looking into your kitchen!
White Hot! GS3.
Nice! I have been using older versions of the kitchen on my GS3 to deodex with minimal issues. Going to update right away. Thanks Dsixda!
Thanks dsixda I have been using kitchen since the note even though it wasn't supported with 0 problems glad to see you are supporting the s3 even though I never had problems with it
Sent from my SAMSUNG-SGH-I747 using xda premium
dsixda: Thank you for such a great tool. I've written my share of scripts so I can definitely appreciate how much work something of this size has in it. I've used your kitchen for de-odexing pretty much every ROM I've built.
About that, does API 16 work with the kitchen now? Just curious.
Jirv311 said:
dsixda: Thank you for such a great tool. I've written my share of scripts so I can definitely appreciate how much work something of this size has in it. I've used your kitchen for de-odexing pretty much every ROM I've built.
About that, does API 16 work with the kitchen now? Just curious.
Click to expand...
Click to collapse
Hmm not sure, since the latest smali tools were released in September
your the Man Dsixda!!
Sorry of being off topic
Hi Dsixda
I'm a big fan of your work and I'm using your kitchen in my own custom roms
I don't whether you heard about this or not Qube 2 and me managed to port HTC one X rom to international S III. we still struggling with some stability issues along with ril issues as well.
Now I've got At&t variant of S III which has exact similar hardware of At&t HTC one XL. intially I thought porting would be easier as both has the same hardware but the rom won't boot and I frankly don't know why !!
I'm wondering if such a thing gets you interested to help me ?!
Now I'm really sorry to post this here and to use this thread for off topic subject.
Thanks and really glad to have you here.
This is awesome!! Thanks so much for all you do.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Oweida said:
Hi Dsixda
Now I've got At&t variant of S III which has exact similar hardware of At&t HTC one XL. intially I thought porting would be easier as both has the same hardware but the rom won't boot and I frankly don't know why !!
I'm wondering if such a thing gets you interested to help me ?!
Click to expand...
Click to collapse
Thanks for the comments. Na, I don't know anything about porting, and I'd rather not spend more time sitting at a computer, especially considering my health.
BIG thanks. Now to remember how to use the kitchen again…
Hi !
Great works !! Thanks !
I try it with a Stock ROM (Last Bell), and when I make the option 9 (Checkup), I have this error in the list:
>> ERROR: wiperiface_v02.so not found in working folder
Can I skip this error or how to fix it ?
Thanks !!
??
Also, someone have a good place to start to add MOD, THEMES, SOUND, etc.. to our custom ROM we make with this kitchen ?
Thanks !
Ok, it’s been a while since I used the kitchen. For my project, I’m using a stock rooted rom (UCALG1). I was hoping to use a nandroid backup from CWM. I use to do this quite often for the Nexus One. On the SG3, the nandroid backup files for the system are –
system.ext4.tar
system.ext4.tar.a
system.ext4.tar.b
The “a” & “b” have file size (different sizes) and the system.ext4.tar is empty.
There is only one boot.img file.
Looks like I can rename system.ext4.tar.a file and drop “a” and that will be the valid file to use. I’ve gone thru most of the steps, just wondering if anyone done this on a nandroid backup?
mustard007 said:
Hi !
Great works !! Thanks !
I try it with a Stock ROM (Last Bell), and when I make the option 9 (Checkup), I have this error in the list:
>> ERROR: wiperiface_v02.so not found in working folder
Can I skip this error or how to fix it ?
Thanks !!
??
Also, someone have a good place to start to add MOD, THEMES, SOUND, etc.. to our custom ROM we make with this kitchen ?
Thanks !
Click to expand...
Click to collapse
Did you add the Wipe Data option?
Sent from my phone
Jirv311 said:
Did you add the Wipe Data option?
Sent from my phone
Click to expand...
Click to collapse
I will check that !
Thanks !
Status 0 error flashing.
So when I use the G1 ODIN rom base with the only changes being deodexing and rooting, I get a status 0 error on the flash.
I'm using the updater-script that the kitchen is making, to no avail.
Has anyone else come across this? If so - how did you fix it?
I am convinced that the updater script is the issue, there is some symatical issue in there - mounting something wrong I am not sure, though I could be wrong - often am.
I will try this weekend with a captivate stock rom and my cappy, but the target is the AT&T GS3.
dsixda - great work I love it.
Hi dsixda,
I’m using att’s new JB rom from mrRobinson in your kitchen. I mainly added some items in the /data/app section. When I flash the rom, I receive the following error message -
Status 0 – Installation aborted. Can’t partition non-vfat: datamedia. Can’t partition unsafe device: /dev/blockmmcblkpl. Can’t format unknown volume: /emmc
This has actually has been happening on all the stock ICS roms I have attempted to create in the kitchen. Must be something simple I’m doing wrong in the SG3. Never had an issue creating roms for the SG2.

[GUIDE] dsixda's Android Kitchen - Now supports Sprint GS3 SPH-L710 (Win/Linux/Mac)

dsixda's Android Kitchen - Now for Samsung Galaxy SIII SPH-L710
Compatible with Windows (Cygwin) / Linux / Mac OS X
The following is a guide to assist you with creating your own Samsung Galaxy SIII SPH-L710 (Sprint) custom ROMs with the kitchen. This is NOT a guide to help you become Cyanogen or do fancy things with AOSP, but it may be your springboard to bigger things in the future.
Some of you already know about the Android Kitchen. It is a project I started on back in February 2010 to help newbies create their own custom ROMs and learn more about Android. As of the latest versions, you can now create your own Galaxy S3 L710 ROMs with the kitchen.
NOTE: This guide should also work with other variants of the Sprint S3, such as the C Spire SCH-L710.
Special thanks to lostcausenjtown for testing and providing feedback!
I have already posted an equivalent thread for the T-Mobile SGH-T999 Galaxy SIII, so no need for redundancy. The same steps will work for your device:
CLICK HERE FOR KITCHEN INSTRUCTIONS FOR YOUR GALAXY SIII.​http://forum.xda-developers.com/showthread.php?t=1939420
Since the above link is for SGH-T999 discussion only, please post all SPH-L710 talk in the thread right here. Enjoy!
​
What took you so long...:banghead::banghead::banghead::banghead:
Sent from my SPH-L710 using xda premium
I will definitely check out once I get a laptop thank you
Nice!!!!
This is the first update I made to the kitchen in over a year lol still awesome
Thanks!
Totally awesome. Not sure if i will a gs3 rom since phantomhacker is doing the exact kind of rom i prefer but i will play with it and continue to develop as a dev
Sent from my SPH-L710 using Tapatalk 2
Thanks for this.
dsixda I <3 you
Huge thanks for this.
PS. Seeing you actively update your awesome kitchen made my week.
PPS: FYI Just installed your latest kitchen on fresh Windows 8 box and can report no issues .
Sweet! thanks for your work!
How do we update to newest kitchen just wondering by the way I have the sg2 version of kitchen but all I used for is signing and zipa ROMs so lmk plz tia
__________________________________________________
Sent from my SPH-L700-GNEX-using Tapatalk 2
---------- Post added at 11:41 PM ---------- Previous post was at 11:41 PM ----------
O yeah thank you for ur fine work kind sir
__________________________________________________
Sent from my SPH-L700-GNEX-using Tapatalk 2
Firstly, thank you dsixda for coming out of semi-retirement to get this working for the SIII--have used this before with the Vision/G2, and when New Phone Time comes around in a few months it'll definitely give me something to test the things I'll be playing with
For those who do use VirtualBox but really don't want to mess with the fail that is Unity in more recent Ubuntu versions, I have found (happily) that the instructions given for installation of the kitchen (in the "Mother Thread") can be followed almost identically with Linux Mint 13 (I used Cinnamon, though I'd expect Linux 13 Mate would also work)--use the "Ubuntu" settings for installing a disk image in VirtualBox, but otherwise it's the same except that (happily) VirtualBox Guest Additions and OpenJava JDK 6 are pre-installed (Yes, setting up a kitchen in VirtualBox using Linux Mint is even EASIER than Ubuntu.)
It's not really surprising that Mint works (it's an Ubuntu derivative except that it uses a different (and IMHO better) window manager based on Gnome3, and I've found it tends to have better performance on smaller systems)--definitely an option to play with for those with the disk space and horsepower to spare (and pretty much any desktop PC built in the past year should be able to handle this OK).
Now to play around with slimming down some stock ROMs in prep for a month or two from now
southphillysean said:
What took you so long...:banghead::banghead::banghead::banghead:
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
?
Owning an S3 or new Android toy doesn't entitle you to expect me to update the kitchen..
Nice!
Thread stuck!
FNM
Thank you for this!
-Sprint Galaxy Slll_Transformer Prime-
Stock ROM...
Ok, I've got JDK installed, Cygwin setup, and the kitchen ready to go.... Now I need to figure out from where I can get my base ROMs from. The original kitchen thread recommends to check stickies, but I didn't see a sticky containing unrooted stock ROMs for the Sprint SGS3. Does it ahve to be unrooted? I'd really like to play with the leaked LIH JB build, if possible; however the only versions of those I can find are rooted Odexed, or rooted DeOdexed. As Odexed is what we get from Samsung, could I push that through the Kitchen?
DrgnRebrn said:
Ok, I've got JDK installed, Cygwin setup, and the kitchen ready to go.... Now I need to figure out from where I can get my base ROMs from. The original kitchen thread recommends to check stickies, but I didn't see a sticky containing unrooted stock ROMs for the Sprint SGS3. Does it ahve to be unrooted? I'd really like to play with the leaked LIH JB build, if possible; however the only versions of those I can find are rooted Odexed, or rooted DeOdexed. As Odexed is what we get from Samsung, could I push that through the Kitchen?
Click to expand...
Click to collapse
Hi,
The part you are referring to above (in the original kitchen thread) says "The instructions below are for HTC devices in general. For other devices, please visit the appropriate thread."
For your device, follow the guide that I linked on page 1 of this thread:
http://forum.xda-developers.com/showthread.php?t=1939420
i.e. A stock ROM would consist of the files system.img.ext4, cache.img.ext4, boot.img -- or a TAR/ZIP file containing these files.
Just make sure you read the instructions very carefully, there is a lot of information out there, but if you follow the instructions at the link above then you should be ok.
Thank you!
dsixda said:
Hi,
The part you are referring to above (in the original kitchen thread) says "The instructions below are for HTC devices in general. For other devices, please visit the appropriate thread."
For your device, follow the guide that I linked on page 1 of this thread:
http://forum.xda-developers.com/showthread.php?t=1939420
i.e. A stock ROM would consist of the files system.img.ext4, cache.img.ext4, boot.img -- or a TAR/ZIP file containing these files.
Just make sure you read the instructions very carefully, there is a lot of information out there, but if you follow the instructions at the link above then you should be ok.
Click to expand...
Click to collapse
Thank you for the quick reply! I had read that line, but thought that it was referring to file types that the kitchen was compatible with. I guess I needed to read it over a couple more times.
Thank you for this great opportunity!
I've had better success with making an nandroid backup and using that file to make a working folder off of. Works great for me. I have the LJ1 going in the kitchen now.
great work sir! definitely will give this a try
dsixda said:
dsixda's Android Kitchen - Now for Samsung Galaxy SIII SPH-L710
Compatible with Windows (Cygwin) / Linux / Mac OS X
The following is a guide to assist you with creating your own Samsung Galaxy SIII SPH-L710 (Sprint) custom ROMs with the kitchen. This is NOT a guide to help you become Cyanogen or do fancy things with AOSP, but it may be your springboard to bigger things in the future.
Some of you already know about the Android Kitchen. It is a project I started on back in February 2010 to help newbies create their own custom ROMs and learn more about Android. As of the latest versions, you can now create your own Galaxy S3 L710 ROMs with the kitchen.
NOTE: This guide should also work with other variants of the Sprint S3, such as the C Spire SCH-L710.
Special thanks to lostcausenjtown for testing and providing feedback!
I have already posted an equivalent thread for the T-Mobile SGH-T999 Galaxy SIII, so no need for redundancy. The same steps will work for your device:
CLICK HERE FOR KITCHEN INSTRUCTIONS FOR YOUR GALAXY SIII.​http://forum.xda-developers.com/showthread.php?t=1939420
Since the above link is for SGH-T999 discussion only, please post all SPH-L710 talk in the thread right here. Enjoy!
​
Click to expand...
Click to collapse
Hi, Could you please advice if i can use this kitchen for Korean S3 SHV-E210S ? Thanks in advance.:fingers-crossed:

Categories

Resources