Related
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
Hey guys. I'm helping out my cousin with is Incredible 2. I've searched through the stickies and forums and really haven't found a way to root 2.3.4. Any help? Thanks.
Sent from my Eclipsed DROID X2
armopride07 said:
Hey guys. I'm helping out my cousin with is Incredible 2. I've searched through the stickies and forums and really haven't found a way to root 2.3.4. Any help? Thanks.
Sent from my Eclipsed DROID X2
Click to expand...
Click to collapse
I see you didn't look here……
Sent from my Incredible 2 HD using Tapatalk and Ice Cream
Wow that looks complicated lol thanks though ill attempt it. Thanks for the link!
Sent from my DROID X2 using XDA App
armopride07 said:
Wow that looks complicated lol thanks though ill attempt it. Thanks for the link!
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
It's not as painful as it looks.
It worked for me with XP Pro sp3 and some drag n drop to the cmd window.
The important part is to make sure that the files are on the root of C:\.
That's where the program looks for the files...
Good luck and happy flashing...
It's pretty simple. Just be sure to follow the instructions and don't miss any step.
Just to be sure, even though Im pretty sure I know the answer to this question, I need and thr android sdk right?
Sent from my DROID X2 using XDA App
bump. ^^^ yes? no?
SDK
armopride07 said:
bump. ^^^ yes? no?
Click to expand...
Click to collapse
I'm not sure if SDK IS needed to downgrade and root I just followed that link that tylerlawhon posted and everything went so quick that I honestly remember.
If you search UTube, there is a couple of great vids regarding ALL you might want to know.
I remember back when I was preparing for the transition to Android, I downloaded the FULL SDK.
What a 10+ GB mistake that was.
I think the basic SDK (android-sdk_r10-windows.zip) weighs in at about 32 MBs.
I can't remember exactly what I needed it for tho.
Here is the ReadMe from that file:
-----------------------------------------------------------------------
Welcome to the Android SDK!
The Android SDK archive initially contains only the basic SDK tools. It does
not contain an Android platform or any third-party libraries. In fact, it
doesn't even have all the tools you need to develop an application.
In order to start developing applications, you must install the Platform-tools
and at least one version of the Android platform, using the SDK Manager.
Platform-tools contains build tools that are periodically updated to support new
features in the Android platform (which is why they are separate from basic
SDK tools), including adb, dexdump, and others.
To install Platform-tools, Android platforms and other add-ons, you must
have an Internet connection, so if you plan to use the SDK while
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "SDK Manager.exe".
From the command-line you can also directly trigger an update by
executing:
tools\android.bat update sdk
For more information, please consult the Android web site at
http://developer.android.com/sdk/
Hope that helps.
Wow dude you saved my life. I checked YouTube and realized I didn't need anything I downloaded -___-
Thank you so much!
Sent from my DROID X2 using XDA App
First of all i would like to say,
You guys are doing a great job and i really appreciate what you all are doing with this community. Spending a lot of time and money i am sure to develop and distribute these great ROMs.
On that note....
I would like to start developing my own roms to share to the world as well. I was wondering if someone could help me out atleast getting started on doing so.
Like what progs i am going to need
any type of coding or w.e i am going to have to learn
anything i need to do to start developing i can sure as hell try my damdest lol
Thank you for your help.
SlimPickins
PS: Sorry if this is not suppose to be in this forum.
Start by learning adb .
Google android sdk and download and install the android sdk. Load the sdk manager at the end of windows installer or through ./android i believe in your extracted folder on linux (depending on what you use) and download platform tools. You now have adb. There are tons of tutorials on setting this up and its use.
Apktool. This is available on Google code. And Google search will pull it up.
Apktool d yourapk.apk
Apktool b yourapk.apk
Will decompile and compile apk respectively. You'll need java to run all of the above. Again, there are tutorials out there.
I recommend getting your feet wet with learning the basics of adb and Apktool and then you can dive into building android from source should you so choose..
I suggest you go to the top of the forum there is a section there called " chef central " & read most of the whole thing ....lots of info there not always about this phone but most works either way ....that's why it's called learning
Sent from my SPH-D710 using xda premium
barnacles10 said:
Start by learning adb .
Google android sdk and download and install the android sdk. Load the sdk manager at the end of windows installer or through ./android i believe in your extracted folder on linux (depending on what you use) and download platform tools. You now have adb. There are tons of tutorials on setting this up and its use.
Apktool. This is available on Google code. And Google search will pull it up.
Apktool d yourapk.apk
Apktool b yourapk.apk
Will decompile and compile apk respectively. You'll need java to run all of the above. Again, there are tutorials out there.
I recommend getting your feet wet with learning the basics of adb and Apktool and then you can dive into building android from source should you so choose..
Click to expand...
Click to collapse
so i may be too stupid to learn lol...
I am not a reader for tutorials thats why i lost intrest in tings so fast... hmmm **** is confusing lol
slimpickins said:
so i may be too stupid to learn lol...
I am not a reader for tutorials thats why i lost intrest in tings so fast... hmmm **** is confusing lol
Click to expand...
Click to collapse
At least you are honest.
Sent from my SPH-D710 using Tapatalk 2 Beta-2
Hello, I'm developer of linux software and I tested capabilites to get full Linux on our phone.
Sorry for posting in general, but i'm unable to post in development.
At the beginning - some theory:
1) We don't need to unleash Linux, because Android IS build on top of linux.
2) Availability of software depends on standard C library - in GNU/Linux it's glibc, in android - bionic.
So we need to port glibc, not linux.
We have following solutions:
-mount and chroot on top of android:
It's really simple: read here.
-build glibc and replace bionic-it's great idea, but may cause some Android problems.
read here.
-build a whole system: but then, we can't use gsm and android at all ,and it's extreemly hard.
Any questions? If sbd need any tutorials, i can help.
i thought you should contact mai77. he seems to be really interested in porting a linux on sgy. he even have made a thread about it. you may see the thread in development section.
Yes, I know. Unfortunately I have not enough posts to post there, but I really want to help him. I've an idea to develop "ready to run" archlinux images,easy to mount and run lxde. Is there anybody interrested?
Count me in just give me the
instructions
Sent from my GT-S5360 using xda premium
well...you only need another 8 post or you can directly pm him.
Lol, he can beat about the bush,to get 10 post.to post in dev,,
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
MichalBn said:
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
Click to expand...
Click to collapse
It really interresting count me in
Sent from my GT-S5360 using xda premium
count me in too...though i am not a dev...hehehe
OK, I've tested DebDroid, and i think that my work have no target-it's all already done. So happy using LinuxInstaller - I will rather help them than create it from scrath.
Not sure if anyone is interested or not but I have a chrooted Ubuntu 12.04 and Ubuntu 13.10 on my N7 running.
If anyone is interested I can post the steps and scripts I used, so you can do it yourself, and learn as you do it which is fun lol.
Most of the information is available via google searches however some things are not mentioned.
I have almost got LXDE running in the chroot without vnc, however not fully.
The problem I am having is when I startx or xinit /usr/bin/lxsession it displays a blank screen. When I kill the process, the LXDE background displays with a cursor. Not sure why it waits to display when I kill the process kind of weird.
Anyways thoughts, comments, constructive criticism.
photo of the adb screen launching startx img1.jpg
photo of the actual N7 screen img2.jpg
I guess there is a guide already from what I read.
No need for a guide unless someone wants to try making their own Ubuntu chroot. Then you will have the ability to make you own image size etc.
If anyone is interested or wants to do this post here and I will provide the steps.
And assist with scripts and what not.
By no means did I come up with this on my own, however many guides have scripts that don't work etc due to your version on android or device etc.
Sent from my Galaxy Nexus using xda app-developers app
I'm using the guide in the General Section to use Kali PwnPad with my N7. I was using Backtrack with my 2012 and just bought a 2013 and very happy so far that everything works with Kali but with a better performance!
Wifi USB host was the main concern and it works great.
Nice job you have done too can you send me or share your chroot script please?
djxtabay said:
I'm using the guide in the General Section to use Kali PwnPad with my N7. I was using Backtrack with my 2012 and just bought a 2013 and very happy so far that everything works with Kali but with a better performance!
Wifi USB host was the main concern and it works great.
Nice job you have done too can you send me or share your chroot script please?
Click to expand...
Click to collapse
yes, do you need startup scripts or launch scripts for vnc and x
or just the chroot script to get into linux?
UPDATE
I made scripts which will allow the creation of the linux image right on the device itself.
It downloads approximately 200 megs for the packages, no more need to download huge image files...
Right now ubuntu works for sure testing others...
userdelroot said:
I made scripts which will allow the creation of the linux image right on the device itself.
It downloads approximately 200 megs for the packages, no more need to download huge image files...
Right now ubuntu works for sure testing others...
Click to expand...
Click to collapse
Great job! Could you share those somewhere (I'm interested in running other distributions e.g. Fedora and Mer)
vrutkovs said:
Great job! Could you share those somewhere (I'm interested in running other distributions e.g. Fedora and Mer)
Click to expand...
Click to collapse
of course, but need to finish scripts and work out some bugs.
userdelroot said:
of course, but need to finish scripts and work out some bugs.
Click to expand...
Click to collapse
Hey, any news on this?
vrutkovs said:
Hey, any news on this?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2627255