[Q] cyanogenmod, webos, arch arm triple boot question - TouchPad Q&A, Help & Troubleshooting

searched forums, had no luck.
okay so i have moboot, cyanogenmod9 and webOS at the moment.
i want to install arch linux ARM alongside them.
what should i do now if i want not to mess up my touchpad?
should i create a new partition or what?

shinelt said:
searched forums, had no luck.
okay so i have moboot, cyanogenmod9 and webOS at the moment.
i want to install arch linux ARM alongside them.
what should i do now if i want not to mess up my touchpad?
should i create a new partition or what?
Click to expand...
Click to collapse
From the CM9 Alpha0 post on rootzwiki
CAN I MAKE A TRI-BOOT SYSTEM? (WebOS, CM7, and CM9)
Yes, but don’t bother. There may be instructions forthcoming on this, but it’s a bit advanced - just pick one.
Click to expand...
Click to collapse
Maybe once they provide instructions they may be a useful, substituting Arch Linux for CM7. Depends on how they accomplish the triboot.
Sent from my cm_tenderloin using Tapatalk

The main problem is that there is not much room on the /boot partition for several OS's to exist. 2 seems to be the limit right without changing the size of the partition. Dale grin and others have said they may work on it soon but right now it's a real pain and could screw up the touch pad.
Sent from my Touchpad using Tapatalk

Moshe5368 said:
The main problem is that there is not much room on the /boot partition for several OS's to exist. 2 seems to be the limit right without changing the size of the partition. Dale grin and others have said they may work on it soon but right now it's a real pain and could screw up the touch pad.
Sent from my Touchpad using Tapatalk
Click to expand...
Click to collapse
Not true. There are people triple booting with webOS, Android and Linux. Check the threads under "Other Touchpad Developement". And ARCH is one of the Linux versions that work.

Related

[Q] Installing Linux on Android

I have installed Ubuntu on my android phone by following the nexusonehacks.net guide. All is working well. The reason I am creating this thread is because in nexusonehacks.net guide he mentions that he got his ubuntu.img from some guys at the xda forums.
I am wanting to get an ARM img of mint linux (LXDE version) and while I have spent countless hours trying to figure out how to install mint linux with an ARM emulator it appears to be above my linux knowledge.
I know that mint linux is based on ubuntu and should have the latest linux kernel and therefor has ARM support built in already, so that is not a problem, no need to compile a kernel with support for ARM.
Basically I am just looking for someone who is running an ARM emulator or has an ARM based laptop to install mint linux (LXDE version) and do a disk dump of the HDD into an image file I can then use to replace the ubuntu.img file I am currently using on my phone.
If this would be a simple task for someone to do and upload the image, I would be most appreciative.
It would be best if I could have the dev who provided the original ubuntu.img file to nexusonehacks.net do the dd of mint linux as I am sure he knows all of the details of how to do a proper dd for use on an android phone. If anyone can point me in the direction of that particular dev, that would be great, thanks!
Buddy of mine was working on gentoo for his N900, which is an ARM proc. Ubuntu has an emulator for that, he said that it seems only ubuntu does, but you run a virtual machine with an ARM emulator. Thing is that I'm not sure if a standard ARM emulator would work too well, the chip on the N1 has some extra stuff on it apparently
It sounds to me complicated because Linux Mint is not distributed for ARM...
Take Debian
I know I did not helped, I just gived my advice on how to get Linux on Android phones: get debian which is available for tons of architectures, including ARM, natively.
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Getting debian and LXDE running on the N1 is pretty easy to do. There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
jairuncaloth said:
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Click to expand...
Click to collapse
I guess you were talking about Ubuntu, not Debian?
jairuncaloth said:
Getting debian and LXDE running on the N1 is pretty easy to do.
Click to expand...
Click to collapse
Very easy: Debian is available for ARM:
[alpha][amd64][arm][armel][hppa][i386][ia64][mips][mipsel][powerpc][sparc][s390][source][multi-arch]
jairuncaloth said:
There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
Click to expand...
Click to collapse
I would love to see that.
Well this pretty much answers my question. Thank you very much. At least I have ubuntu running on it, I will be happy with that.
Sent from my Incredible.

Dual boot on LG Optimus 2X

Hey I was wondering if there is a way to get dual boot on my O2X. The type I would love the most is the one of this kind forum.xda-developers.com/showthread.php?t=1095658
But dual boot with any other system would be great. If anyone are able to make this happen that would be great. I myself have no idea how to make this work so help would be great. Thanks for your attention.
Sent from my LG-P990 using XDA App
i don't think it's possible to do that
the o2x has 400MB of system ROM and most of rom uses up to 350MB, qhere do you want to put other roms?
Hi,
it's not a dual boot, but you can now launch a full linux system from android using the chrooting method, see here:
http://forum.xda-developers.com/showthread.php?t=1151931
That is great
Im having some trouble with the installment of ubuntu though
They have hadded BT5 now that's real sweet to have with you on the go.
seems they are working towards native boot with usb host support that would be the golden price
the hdmi out is suppose to work on it, still havent gotten to test myself though
Anyone tried Bootmanager on O2X?
https://market.android.com/details?id=com.drx2.bootmanager
Dual boot is actually possible.But till my exams end i am not working on that Project.Till then enjoy my chroot images.My exams end on 22nd august.Will start working on Native linux booting after that.
mparack said:
Anyone tried Bootmanager on O2X?
https://market.android.com/details?id=com.drx2.bootmanager
Click to expand...
Click to collapse
I couldn't resist for €2, but the device is unsupported, so I have to fill in the the details manually. Such as:
- Device
- Sdcard block
- System size
- Data size
- Cache size
As soon as I see a chance to test it properly, I will report more.
coilfan said:
I couldn't resist for €2, but the device is unsupported, so I have to fill in the the details manually. Such as:
- Device
- Sdcard block
- System size
- Data size
- Cache size
As soon as I see a chance to test it properly, I will report more.
Click to expand...
Click to collapse
Any news on this. I found this interesting but saw our device still unsupported as you have already mentioned. It will be wonderful if o2x gets supported. And the best part is not only dual boot but supports upto four/five including the ROM in phone.
Hi
Also looking for more info on this. Did you get it working in the end?
coilfan said:
I couldn't resist for €2, but the device is unsupported, so I have to fill in the the details manually. Such as:
- Device
- Sdcard block
- System size
- Data size
- Cache size
As soon as I see a chance to test it properly, I will report more.
Click to expand...
Click to collapse
manasgirdhar said:
Dual boot is actually possible.But till my exams end i am not working on that Project.Till then enjoy my chroot images.My exams end on 22nd august.Will start working on Native linux booting after that.
Click to expand...
Click to collapse
Now that so many different flavours of GB ROMs available for our device (CM with working A2DP & FM, MIUI-FM expectedly will be working shortly since CM has made it & STOCK ROMs) a Dual /Multi boot will make a great value addition to O2X. Hoping to hear something positive from you.
parthabhatta said:
Now that so many different flavours of GB ROMs available for our device (CM with working A2DP & FM, MIUI-FM expectedly will be working shortly since CM has made it & STOCK ROMs) a Dual /Multi boot will make a great value addition to O2X. Hoping to hear something positive from you.
Click to expand...
Click to collapse
Erogeon was working on a Linux dual boot...Did u check his thread???
very nice
Striatum_bdr said:
Hi,
it's not a dual boot, but you can now launch a full linux system from android using the chrooting method, see here:
http://forum.xda-developers.com/showthread.php?t=1151931
Click to expand...
Click to collapse
full linux system? :O
so does that mean we can run linux on phone like on pc??
darkmystel said:
full linux system? :O
so does that mean we can run linux on phone like on pc??
Click to expand...
Click to collapse
Sort of yes....But not everything works...for example sound from within the chroot enviornment does not work,etc
manasgirdhar said:
Sort of yes....But not everything works...for example sound from within the chroot enviornment does not work,etc
Click to expand...
Click to collapse
so bro is it like a real dual boot? or do u run it from inside?? n sound fails inside the linux only right???
it wont affect the main OS will it??
darkmystel said:
so bro is it like a real dual boot? or do u run it from inside?? n sound fails inside the linux only right???
it wont affect the main OS will it??
Click to expand...
Click to collapse
Its not exactly a dual boot...U will boot into android and then manually run the script in terminal emulator and run linux on top of Android..think of it as a virtual Machine...there will be no sound from within Linux..The android O.S will continue to function as Normal..There will be no effect on the Main O.S...other than Memory consumption while you run the chroot..ofcourse that is to be expected..

[DEV]Chroot-Linux on Xperia Devices Locked/Unlocked Bootloaders(Debian,Ubuntu,BT5up)

Hi,
I have just bought a new Xperia Pro and Here is My first Contribution.Hope you guys like it.
I have tested it personally on the Unoffical MIUI port for PRO.But it should work on other Kernels and Xperia Devices as well.
I am posting a few Screens for you guys and as you can see lxde is already pre-installed for you guys.
Feel Free to comment
Disclaimer:-
I am Not responsible if anything Happens to your Phone.You do it at your own Risk and Responsibilty,
If you Screw Up then dont Blame Me.
I am not responsible for Anything.
What is chroot?
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.
Things required:-
1)Terminal
2)Root
3)Sdcard with atleast 2GB of free space
4)A Brain
Please Consider Donating to add to my late night coffee and Books Fund.
Link:-
https://www.dropbox.com/s/4k1f5l9jxy2nr9n/debian.7z
Mirror:-
http://www.4shared.com/archive/uNEXsuNS/debian.html?refurl=d1url
Note:
Please read the ReadMe.txt file attached to this post first for instructions.
A special request to all those who are donatinglease send me a P.M so that i know who you guys are.
Donators:-
None So Far
Thank you.
Posting Ubuntu over Here
Remember to Read the Read Me File First.
Link:-
https://www.dropbox.com/s/z7ekya7u7zo19p8/ubuntu.7z
Mirror:
http://www.4shared.com/archive/Qv0u_lWN/ubuntu.html
Mirror:
http://min.us/mZVpflpS5
Posting Back Track 5 Linux
Remember to Read the Read Me
Back Track linux Temp mirror(From My O2x Thread)
https://www.dropbox.com/s/ccf7lhfazl7li7u/btl.7z
Mirror:-
http://www.4shared.com/archive/EoGkvPD9/btl.html?refurl=d1url
NOTElease Download the file btl attached to this post and extract it on your computer and copy the btl file within and paste it in the btl directory downloaded from the above hosts replacing the old one.Now the chroot should run.
added a new Script and deleted the old one.Please use that now.I tested it personally on Stock and it is working perfectly.
As soon as it boots it asks if you wanna start VNC server?Press N and then follow the readme file.
Incase of any probs please let me know
and another
One More
Final Reserve
Nice Run..! First..
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
xperiap said:
Nice work:good:
And im gonna donate [if you make mods I need]
But what is so usefull to have this??
Click to expand...
Click to collapse
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Riyal said:
Hi! Have you tried this on stock kernel? I believe stock kernel doesn't have loop devices enabled and MIUI is a rebase of CM? Not sure though that's why I'm asking.
Click to expand...
Click to collapse
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
manasgirdhar said:
The Miui i used was on Stock Kernel.The Kernel Does Support Loop devices.Miui is a Rebase of CM but the loop functionality is related to Kernel.So,Yes it Works on Stock Kernel on Locked/Unlocked Bootloaders Both as we are not flashing anything.
Anyway Give Ubuntu a go.
Click to expand...
Click to collapse
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Riyal said:
Thanks! Just clarifying things out I haven't meddled with stock kernel that much that's why I am asking. Well the kernel sources sony provided has loop devices disabled by default glad that it's enabled on the official precompiled one.
Anyways! Try packing backtrack that should be alot useful than debian w/ lxde or a classic ubuntu image.
I got backtrack to run on Pro sometime ago when I was still using gingerbread.
Click to expand...
Click to collapse
Already Did.Will upload it sometime Later today or tomorrow.
Debian and Ubuntu both have lxde pre-installed.
Edit:-BT5 UP.
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Riyal said:
Hi! seeing that you're a fanatic of these perhaps it would be useful if I give you these.
http://50.56.186.177/filez/
Those are packed and reduced sizes of debian & fedora arm images made to fit for chrooting on mobile devices. I made those for my previous device and is very stable already with 256mb RAM
the debian image is a squeeze version. Plus included is the fix for pulse audio. I'm not sure if it would work out of the box for android but with just a little bit knowledge with basic linux stuffs you could get it running perfectly
Click to expand...
Click to collapse
THANKS for the link...Meego wont chroot..tried it on the optimus a few months ago and failed..problem with zephyr..will give it a go later.fedora I had as well..but the thing is ...Does anyone except me even use these here????
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
In theory yes its possible.but changes will have to be made to the arm kernel to chroot.when u type uname in terminal the output inside the chroot is different than the android kernel.but I think native booting will be better than chrooting..not being interested is just odd....its so much fun having linux on the go
manasgirdhar said:
A chroot image is like a Virtual Machine where you are running an O.S within an O.S.The point of this is that you have a whole Linux System running on a phone where you can ofcourse access all the utilities available in Linux.and as it runs inside of android you dont need to flash anything and can use both the chrooted O.S and Android together.check the Screenshots.
GO ahead:Try Ubuntu...it will give you a better Idea.
Click to expand...
Click to collapse
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
ameer1234567890 said:
It would help a lot of people if you would put this description in the first post, or even a better description. Great work!
Click to expand...
Click to collapse
Thanks for the advice.added to first post...not good with explanations
Riyal said:
I do but not that much. Like I said I just only tried backtrack and obviously I use it only when needed
Say do you think it would be possible to include a custom kernel on a chrooted image? It would be cool if we have backtrack here with monitor mode enabled. I think the wlan drivers/hardware of Xperia devices have the capability.
Or also try posting this thread to some other Xperia Sub forums. Arc/Pro users seem to be not very open to these kind of works. They just care on custom ROMs
In short they aren't geeky enough They aren't even that interested in dual booting.
Click to expand...
Click to collapse
Actually I know I am going to say something Off-Topic
1) People on XDA are now the people who have got a smartphone just because they can afford one and wanna make their phone look "kewl" than the others with the same device
2) People do dumb things like cross flashing kernels.. They dont even read carefully what the OP says..
3) Running linux on a phone would be the best thing.. specially on an xperia pro where you get a harware keyboard..
I would like all noobs to see this - http://forum.xda-developers.com/showpost.php?p=16682226&postcount=2441
and this - http://forum.xda-developers.com/showpost.php?p=15826094&postcount=45

Port Ubuntu Touch

Hi guys,
If you're, like me, greatly excited to get Ubuntu Touch onto your phone, and/or tablet, here is a guide to port it!
It helps you get started on a port:
https://wiki.ubuntu.com/Touch/Porting
Also:
This is not a thread for eta:s for your device port. Nor is it a thread to ask for a port. Both of which you'll have to go to each device's own forum.
This is a thread for discuss ports, get help on them and to share experiences.
For Ubuntu Touch specific questions, see other threads.
FAQ:
Can you port device X?; Ask in your device X's forum. Or even better, try it yourself! It's not that hard, actually. See link above.
Does Ubuntu Touch run Android Apps?; No.
Will it?; Maybe. If anyone cares to actually make it work.
Do I need to have X; run Y; or do Z?; Check the Port guide! https://wiki.ubuntu.com/Touch/Porting
Sent from my GT-I9300 using xda app-developers app
Everyone with a nexus needs to install Ubuntu and then show everyone they know how in it's current state it is unusable except as a test device for apps.
Sv: Port Ubuntu Touch
Markk29 said:
Everyone with a nexus needs to install Ubuntu and then show everyone they know how in it's current state it is unusable except as a test device for apps.
Click to expand...
Click to collapse
Well, it is a dev release for developers and Ubuntu enthusiasts, so they probably already run Ubuntu. And if not, it's a 20 min install.
And porting it is still a large project by itself, so it'll go nicely hand in hand until the stable release of Touch, I think.
Sent from my Transformer using xda app-developers app
coming soon https://plus.google.com/u/0/107265043789873157543/posts/hAE1grem6hj
Kalashnikitty said:
coming soon https://plus.google.com/u/0/107265043789873157543/posts/hAE1grem6hj
Click to expand...
Click to collapse
is that S3 , in the pic if i am not wrong?
Porting posted:
https://wiki.ubuntu.com/Touch/Porting
S3 already has it: http://www.omgubuntu.co.uk/2013/02/ubuntu-phone-up-running-on-samsung-galaxy-s3
Just been reading through the process and if seems relatively straightforward to port so I can't wait to see what comes out of this
can i ask a question?what mean ubuntu is based on cm10.1?by which meaning?ubuntu i quess it will be an OS by itshelf.why based on cm10.1?
termagazis said:
can i ask a question?what mean ubuntu is based on cm10.1?by which meaning?ubuntu i quess it will be an OS by itshelf.why based on cm10.1?
Click to expand...
Click to collapse
Because some of the Android components are reused. Read here: https://wiki.ubuntu.com/Touch/Porting#General
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Actually pending when canonical gets to compile drivers for particular phones which incidentally is probably going to be for only their oem devices, they use the cm base.
Essentially just the drivers and hal layer.
Its not based on CM. It takes advantage of CM base. Its direct ubuntu.
And from what iv seen you can forget about lag. The alpha is awesome compared with android alphas
Sent from my GT-N7000 using xda premium
edy_3dz said:
Because some of the Android components are reused. Read here: https://wiki.ubuntu.com/Touch/Porting#General
Click to expand...
Click to collapse
yes i have read this but my english isnt perfect so i maybe didnt understant something.so because ubuntu and android are based in Linux kernel,they taking some stuff "ready" for more easyness.something like that?
Phones need drivers like your PC does and a kernel which acts as interaface between the hardware and the operating system.
Everyphone uses its own vendor supplied kernel with some modifaction and their own graphics driver. So they use the low-level stuff that already exists for Ubuntu.
You can't just make one "OS" for a smartphone that just works on all devices it has to be ported to the specific hardware (kernel and driver).
blackout23 said:
Phones need drivers like your PC does and a kernel which acts as interaface between the hardware and the operating system.
Everyphone uses its own vendor supplied kernel with some modifaction and their own graphics driver. So they use the low-level stuff that already exists for Ubuntu.
You can't just make one "OS" for a smartphone that just works on all devices it has to be ported to the specific hardware (kernel and driver).
Click to expand...
Click to collapse
thats what i mean.so they took the allready existing stuff from cm10.1 because it will work with ubuntu (or with some small changes) because both OS are based on Linux kernel.i understand right?
fromanbr said:
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Ubuntu is a distro or distribution which is a OS Linux isn't a OS it's a kernel (the underlying framework kinda like the glue)
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
TingTingin said:
Ubuntu is a distro or distribution which is a OS Linux isn't a OS it's a kernel (the underlying framework kinda like the glue)
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Click to expand...
Click to collapse
Wikipedia says Linux is an unix like OS, but the main component is the Linux Kernel. Android only uses the Linux Kernel and not so much the GNU system tools which make it unix like, that is why people generally don't refer to android as a Linux distro.
BukaKing said:
Wikipedia says Linux is an unix like OS, but the main component is the Linux Kernel.
Click to expand...
Click to collapse
But saying it like that makes it sound like u can use this as a Mac OS or Windows replacement which I think is what he was asking
Android only uses the Linux Kernel and not so much the GNU system tools which make it unix like, that is why people generally don't refer to android as a Linux distro.
Click to expand...
Click to collapse
I never said android was a Linux distro
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
TingTingin said:
But saying it like that makes it sound like u can use this as a Mac OS or Windows replacement which I think is what he was asking
I never said android was a Linux distro
PHONE SLOW CLICK ME?
_____________________________________
"If your doing the right thing then to hell with everyone else -Deadly"​
Click to expand...
Click to collapse
You didn't say android was a Linux distro but he did, I was just adding to the conversation.
I think I may understand what you're thinking though. Mac and Windows are not open source and you cant build your own version, so they are not as comparable in that sense, they are binary distributions. But you can build your own Linux configured the way you want outside of any distro, a distro is just a packaged version of Linux with additional packages and configurations.
Had angie tried to pull the source code? It's ridiculously slow on my end. About 15gb at 9 to 152kbs... I guess every dev in the world is trying to pull it...Lol...too bad there's no way to speed it up
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
fromanbr said:
Ubuntu is a distro. Linux is an OS. Android is kind of a distro too.
Please correct me if I'm wrong.
Click to expand...
Click to collapse
Actually, Linux is a clone of the UNIX kernel. Ubuntu is an operating system (or Linux distribution) with a Linux kernel. Android could be considered a Linux distribution as well, even though it's mostly Java stacks on top of a Linux kernel.
Sent from my Galaxy Nexus using Tapatalk 2

What is needed to be an android developer?

What is needed to be an android developer? What things I have to learn to develop apps and make custom roms or kernels?
It isnt that easy. Just an app that is slightly complex can take 3-4 months if you have 0 knowledge before you start
Sent from my LG-P880 using xda app-developers app
alekthefirst said:
It isnt that easy. Just an app that is slightly complex can take 3-4 months if you have 0 knowledge before you start
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply. I am going to learn C, C++, VB.NET, Linux and Java. After an year and three months my course will complete. I want to know, what is needed more to learn. Please tell.
C language is the base for kernel development.. ROM is not difficult to make/develop/mod.. but Kernel is.. good luck friend
Sent from my LG-P990 using xda premium
Subhajitdas298 said:
Thanks for the reply. I am going to learn VB.NET, Linux and Java. After an year my course will complete. I want to know, what is needed more to learn. Please tell.
Click to expand...
Click to collapse
Visual Basic .NET is not required for android developing. VB (.NET) was created by Microsoft and is supposed to run and supported only on Windows. (can be emulated on linux though..)
Linux: you need to specify what you want to learn about linux. How to access the terminal, know the different shells (sh, bash, zsh, ..) and how to use them (executing commands, creating scripts, using system variables, pipes, ...). It's also good to know the boot process and how it's working to boot into linux (kernel -> initial ramdisk --> init --> usermode).
Another thing is how to compile applications using gcc and understanding the automatic building process using Makefiles and how to configure it (using defines, ./configure) to make a build that fits your need.
Other things to learn and understand: debugfs, tmpfs, ramfs, procfs, devfs, sysfs, ramdisk structure, and much more.
Also important are the differences between linux distributions. They all have it's own way to process different operations, for example, installing and updating the distribution or apps. (debian/ubuntu -> apt-get, fedora -> yum, suse -> yast, ...)
Java: only needed if you want to develop android apps running in userspace executed by the dalvik virtual machine (=> normal apps that run on android os). Java's coding syntax is based on C's. When coding apps for android os be sure you get used with the android sdk.
C: not bad to know. You can do kernel stuff and develop apps that can be executed by the linux/android kernel directly without involving the dalvik-vm which allows you to access internal things. Custom recoverys, for example, were developed using C and the android ndk with a modified ramdisk to execute the recovery binary instead of the dalvik-vm which initializes android.
C++: not really needed, but it supports object oriented programming which makes everything better structured and understandable. The android ndk has some support for c++ header files to work with.
So.. one year isn't enough. There is so much to learn and it's really not easy.. more frustrating
Then finally you can start to work build roms for a specific device, because every device has other hardware components and different ways to do this and that. You need to know and understand them to successfully develop software that runs fine on the specific device.
gordon0001 said:
Visual Basic .NET is not required for android developing. VB (.NET) was created by Microsoft and is supposed to run and supported only on Windows. (can be emulated on linux though..)
Linux: you need to specify what you want to learn about linux. How to access the terminal, know the different shells (sh, bash, zsh, ..) and how to use them (executing commands, creating scripts, using system variables, pipes, ...). It's also good to know the boot process and how it's working to boot into linux (kernel -> initial ramdisk --> init --> usermode).
Another thing is how to compile applications using gcc and understanding the automatic building process using Makefiles and how to configure it (using defines, ./configure) to make a build that fits your need.
Other things to learn and understand: debugfs, tmpfs, ramfs, procfs, devfs, sysfs, ramdisk structure, and much more.
Also important are the differences between linux distributions. They all have it's own way to process different operations, for example, installing and updating the distribution or apps. (debian/ubuntu -> apt-get, fedora -> yum, suse -> yast, ...)
Java: only needed if you want to develop android apps running in userspace executed by the dalvik virtual machine (=> normal apps that run on android os). Java's coding syntax is based on C's. When coding apps for android os be sure you get used with the android sdk.
C: not bad to know. You can do kernel stuff and develop apps that can be executed by the linux/android kernel directly without involving the dalvik-vm which allows you to access internal things. Custom recoverys, for example, were developed using C and the android ndk with a modified ramdisk to execute the recovery binary instead of the dalvik-vm which initializes android.
C++: not really needed, but it supports object oriented programming which makes everything better structured and understandable. The android ndk has some support for c++ header files to work with.
So.. one year isn't enough. There is so much to learn and it's really not easy.. more frustrating
Then finally you can start to work build roms for a specific device, because every device has other hardware components and different ways to do this and that. You need to know and understand them to successfully develop software that runs fine on the specific device.
Click to expand...
Click to collapse
Isn't VB.NET not required to make PC apps to manage phone, like some kind of phone manager or hacker or something like that?
In short I have to learn linux in core level- is that right? They told me, they are going to teach ubuntu. Don't know if they are going to teach in core level. Is there any ebook to learn Linux deeply?
Sure you can use it for developing apps for windows but it doesn't allow you to build native/winapi dynamic link libraries (dll) which can be quite useful. VB. NET also doesn't allow you to build userspace(ring3)/kernelspace(ring0) drivers which is essencial for supporting new hardware.
VB is, in my opinion, only good for building simple apps with a nice user interface. Sure it's quite easy to learn, but you do have not the possibilities like you have with C, C++ or Delphi.
And yea, the internals of linux would be a good start. But also getting used with KDE and GNOME (desktop managers) which both are useable on ubuntu. Ubuntu is also good cause google officially supports building android stuff on it.
Gesendet von meinem LG-P880 mit Tapatalk 2
gordon0001 said:
Sure you can use it for developing apps for windows but it doesn't allow you to build native/winapi dynamic link libraries (dll) which can be quite useful. VB. NET also doesn't allow you to build userspace(ring3)/kernelspace(ring0) drivers which is essencial for supporting new hardware.
VB is, in my opinion, only good for building simple apps with a nice user interface. Sure it's quite easy to learn, but you do have not the possibilities like you have with C, C++ or Delphi.
And yea, the internals of linux would be a good start. But also getting used with KDE and GNOME (desktop managers) which both are useable on ubuntu. Ubuntu is also good cause google officially supports building android stuff on it.
Gesendet von meinem LG-P880 mit Tapatalk 2
Click to expand...
Click to collapse
Thanks for reply but I didn't get the first paragraph. Anyways, what is delphi?
like gordon0001 already said, when you're new to android, start with a ROM, never with a kernel it can make you go crazy
and trust me, i know what i'm talking about
so for the start, i'd suggest you to learn java, maybe experiment with some apps, and then make your own rom.
if you're used to it a bit, you might want to start messing around with kernels. therefor you need C.
but be warned, i cannot be held responsible if you go crazy
simple application, less requirement.
start with examples within the sdk
Sent from my LG-P880 using Tapatalk 2
laufersteppenwolf said:
like gordon0001 already said, when you're new to android, start with a ROM, never with a kernel it can make you go crazy
and trust me, i know what i'm talking about
so for the start, i'd suggest you to learn java, maybe experiment with some apps, and then make your own rom.
if you're used to it a bit, you might want to start messing around with kernels. therefor you need C.
but be warned, i cannot be held responsible if you go crazy
Click to expand...
Click to collapse
I am not saying, I am going to start right away. It will take me one or more years to learn everything. I am just asking, what is required other than java, c and c++?
Also, is there an Ebook, where I can learn (understand) linux? Specifically Ubuntu.
K9998 said:
simple application, less requirement.
start with examples within the sdk
Sent from my LG-P880 using Tapatalk 2
Click to expand...
Click to collapse
I will keep that in mind.
Subhajitdas298 said:
I am not saying, I am going to start right away. It will take me one or more years to learn everything. I am just asking, what is required other than java, c and c++?
Also, is there an Ebook, where I can learn (understand) linux? Specifically Ubuntu.
Click to expand...
Click to collapse
for the building/compiling process, batch wouldn't be that bad
and about ubuntu, i'd suggest learning by doing
it's not really hard. with a few commands you can live with linux quite well
laufersteppenwolf said:
for the building/compiling process, batch wouldn't be that bad
and about ubuntu, i'd suggest learning by doing
it's not really hard. with a few commands you can live with linux quite well
Click to expand...
Click to collapse
I am totally Linux noob. So, someone has to teach me.
Can you tell me how to install ubuntu alongside Windows 7? I want to install it on a blank partition. I have 64 bit downloaded and burnt on a dvd.
just boot the dvd, the GUI will guide you through
still some Qs, tho:
and for partitioning, have you already partitioned your hdd? and what is it's size?
how much RAM do you have?
and which linux have you downloaded/do you want to use?
laufersteppenwolf said:
just boot the dvd, the GUI will guide you through
still some Qs, tho:
and for partitioning, have you already partitioned your hdd? and what is it's size?
how much RAM do you have?
and which linux have you downloaded/do you want to use?
Click to expand...
Click to collapse
Already partitioned. Using for 2 years.
HDD Size - 1 TB.
Partitions (GB) - 97 (Win 7 service pack 1, 32 bit, ram lock removed), 97 (blank, want to use for Linux, ubuntu 13.04 64 bit), 147 (songs, movies etc.), 480 (games and software collection), all that is left (tv recordings and other stuff).
RAM - 6 GB DDR3.
Processor - Intel Core 2 Duo @ 2.93 GHz (overclock to 3.2 GHz).
GPU - ASUS NVIDIA GeForce 210 Silent 1 GB DDR3.
Total graphics ram - 37** MB.
Subhajitdas298 said:
Already partitioned. Using for 2 years.
HDD Size - 1 TB.
Partitions (GB) - 97 (Win 7 service pack 1, 32 bit, ram lock removed), 97 (blank, want to use for Linux, ubuntu 13.04 64 bit), 147 (songs, movies etc.), 480 (games and software collection), all that is left (tv recordings and other stuff).
RAM - 6 GB DDR3.
Processor - Intel Core 2 Duo @ 2.93 GHz (overclock to 3.2 GHz).
GPU - ASUS NVIDIA GeForce 210 Silent 1 GB DDR3.
Total graphics ram - 37** MB.
Click to expand...
Click to collapse
i, for one, would recommend xubuntu. no bloatware, nice UI, pure performance but it is your call for sure
and with 6GB RAM, swap should not be needed (i'm running xubuntu with 4GB RAM, and no need at all for swap )

Categories

Resources