Ubuntu sbf_flash.iso [Moderator Please Remove, Thanks] - Droid 2 General

Formerly:
"[Q] Droid 2 Users using 32-bit(x86) or 64-bit?"
I'm trying to develop something that will help droid2 users but I need to know whether most people use a 32-bit OS or have a 64-bit OS. This way I can help the most people by starting on the one with the most users. Thanks for your input.
This is for any OS Windows or Mac or Linux.
MODERATOR: Please Close and Remove This Thread, Thanks!

If you have a 64bit you can run x86 so why not just make that version. <-- Windows at least
Anyways, I am running Windows 7 Ultimate x64

I thought about starting with that but because I'm running a 64-bit OS aswell I have to make the 32-bit product on a 32-bit OS so I'd have to do tweak it a little bit and was hoping most people were using 64-bit.

that makes sense.

32 bit is always the safest route to take because of the backwards compatibility of 64 bit OS with 32 bit executables. You are going to have to make that call though. If you want to reach the most people though, I would say 32 bit.
Sent from my DROID2 using Tapatalk

Can you shed some light on what you are creating? I am interested in this project. I can also host it for you if needed.

lol it has to do with linux and that's all I'll put out right now but I'll update as soon as I get further into it. This was going to be my test post because I want to start making it I just needed so guidance as to where to start.
That would be awesome if you could host (I'm new to dev stuff and was gonna ask for some help getting it out there).

not a problem. just let me know when you need it. I am currently working on acquiring a new domain so that it will host droid2 files and we can grow this section of the forums because the Droid 2 is lacking in the dev department lol

I'm new to d2 but facelessuser makes a good point. I'm intrigued...
Sent from my Full Android on Vogue using XDA App

This is just a heads up post
I'm almost done making a custom ubuntu 10.04.1.iso with adb and the sbf_flash script for linux install this will allow anyone to flash their phone in linux as it's a live cd and will be booted from the disk tray for a single session. No windows driver problems or RSDlite errors.
(it's in x86 if you were wondering; which was the main reason it's not already posted.)

Related

[Q] Start ROM developement.

Im kind of new to this. Iv'e created some apps succesfully in Eclipse and stuff like that.
But, I like to start with ROM development. I have no idea where to start! Would be really nice if someone could tell me how to start with creating/porting a ROM.
Iv'e read that you need to have Linux Ubuntu, is that true?
So Iv'e almost installed Ubuntu now on a Virtual machine, downloading HTC Android Kitchen. Am I doing right?
EDIT: Märkte att det nog fungerar till Windows. <- Also noticed that I wrote that on Swedish! :S (I wrote: Noticed that it propably works with Windows.)
As far as I know I don't think you need Ubuntu, but you've probably figured that out by now It should work for windows and mac too, although it looks like ubuntu is the only linux-based distribution it works on..
And I'm curious, How is the rom-making going?
I wouldn't recommend flashing roms using a virtual machine... a screwup in the vm might make your test phone a 600 dollar paperweight... check out wubi... actual partitioned ubuntu installer that when unstalled defaults back to the windows bootloader...so you don't have to screw with lilo or grub...oh also leaves windows as the default OS...so you don't accidentally boot into ubuntu after every reboot
Sent from my ADR6300 using Tapatalk
Ubuntu is perfect for ROM development/porting. A virtual machine is perfectly fine to dev on. But you will need at least a 12gb virtual disk though. These sites should get you up and running
http://source.android.com/
http://developer.android.com/index.html
Sent from Conical .07
I already got everything set up on windows.
HTC android ROM kitchen, SDK manager and eclipse.
I dont really know where to start. Ive just created a simple ROM using the shipped RUU, added like apps2sd, root and that stuff. Also edited like status-bar background in framework-res.apk and stuff like that.
Id like to go in abit more deeper, whats next?
Use the first link. Go to porting. Then go to "get source" on the left side.
You need to get the source. Then compile.
Sent from Conical .07
linuxmotion said:
Use the first link. Go to porting. Then go to "get source" on the left side.
You need to get the source. Then compile.
Sent from Conical .07
Click to expand...
Click to collapse
There is no "get source"? Link?
My bad. Its under source : -)). That site should be a good place to start
Sent from Conical .07

I installed fedora on my droid x

Yeah..... I would love to post a tutorial to the developers part of this Droid X forum but I can't until I post at least 10 times. I figured since I spent a lot of time working on this (because I have no computer and have done it all on my phone) I'd post a tutorial on it
No loopback module required and I'm working on uploading a working version for all Droid X devices (with the latest update) which will include X11 with a small desktop environment (LXDE) and vncserver.
Please don't spam - if you have something to share, please do, and you and I can work out the details rearding the thread's location.
Sent from my DROID2 using XDA App
Are there any major benefits to running Fedora? And does it shut down Android, or run like an app in the foreground?
N4melessS0ldier said:
I really don't think anything I've posted so far is technically spam, just posts and replies..... such as this, this is indeed a reply.
Sent from my DROIDX using Liberty 1.5 with FC10 Linux chrooted!
Click to expand...
Click to collapse
Let me rephrase - I feel like you're just trying to 'burn' posts until you can post this in development, by using this thread as a teaser. Please do not do this. Instead, please post what you've got on the subject now, in this thread. You will easily pass 10 posts with substantive discussion and, after that, I see no reason why the thread can't be moved in to Dev (just as so many threads are moved OUT of Dev... )
mrkite38 said:
Let me rephrase - I feel like you're just trying to 'burn' posts until you can post this in development, by using this thread as a teaser. Please do not do this. Instead, please post what you've got on the subject now, in this thread. You will easily pass 10 posts with substantive discussion and, after that, I see no reason why the thread can't be moved in to Dev (just as so many threads are moved OUT of Dev... )
Click to expand...
Click to collapse
Sorry, I kinda asked him to reply to my posts with legitimate questions so that he could make the 10 posts. Didnt mean to encourage any spamming
Sent from my DROIDX using XDA App
mod edit: appreciated, this 10 post thing is new to all of us.
Thread cleaned. OP, please follow the instructions per my last post.
N4melessS0ldier,
Can you drop your instructions in here for those of us who want to give this a try? Then I'm sure Mrkite would be more than happy to move the post to development when you have enough posts! =)
Mrkite,
forgive me if i'm putting words in your mouth... just taking what I though you inferred in a previous post
zehkaiser said:
Are there any major benefits to running Fedora? And does it shut down Android, or run like an app in the foreground?
Click to expand...
Click to collapse
The benefits of running Fedora, from my standpoint, are mainly for developers that want custom binaries, that run in linux, to run on their Droid X orrrrr for regular end users who want a precompiled version of the Fedora 10 root filesystem that includes binaries (applications/programs) that are useful.
As far as running linux, it does not replace the Android OS. You aren't actually booting linux. Since Android OS is already techincally linux, you can just "chroot" into the root filesystem of a precompiled Fedora 10 distribution for ARM based devices.
So, the short answer is that Fedora will run parallel to Android OS and in order to access the desktop environment you need to run an android app that works as a VNC Viewer and connect to your own device (localhost).
I will be uploading a precompiled Fedora 10 to my server which will include a VNC server, LXDE (desktop environment), X11 (X windows server), and maybe a few other binaries specifically compiled for the Droid X (the kernel for the Droid X cannot be changed as most of you know (or maybe I'm just unaware of how to change it)).
Oh and by the way, I will be uploading this to my server @ anonymouslyacquired DOT info (if posting my website is against xda policy, please let me know and I will edit out the domain name registered to my server)
edit: uploaded rootfs-f10/fedora.txt to my server which I typed up to give people some info on how to do this themselves.....
Please post some instructions!
I am avidly wanting this. Especially if you get an X server running natively without the need for a vnc loopback!
I would love to be able to ssh to my server and get some x11 forwarding going If only just for the heck of it.
N4melessS0ldier said:
The benefits of running Fedora, from my standpoint, are mainly for developers that want custom binaries, that run in linux, to run on their Droid X orrrrr for regular end users who want a precompiled version of the Fedora 10 root filesystem that includes binaries (applications/programs) that are useful.
As far as running linux, it does not replace the Android OS. You aren't actually booting linux. Since Android OS is already techincally linux, you can just "chroot" into the root filesystem of a precompiled Fedora 10 distribution for ARM based devices.
So, the short answer is that Fedora will run parallel to Android OS and in order to access the desktop environment you need to run an android app that works as a VNC Viewer and connect to your own device (localhost).
I will be uploading a precompiled Fedora 10 to my server which will include a VNC server, LXDE (desktop environment), X11 (X windows server), and maybe a few other binaries specifically compiled for the Droid X (the kernel for the Droid X cannot be changed as most of you know (or maybe I'm just unaware of how to change it)).
Oh and by the way, I will be uploading this to my server @ anonymouslyacquired DOT info (if posting my website is against xda policy, please let me know and I will edit out the domain name registered to my server)
edit: uploaded rootfs-f10/fedora.txt to my server which I typed up to give people some info on how to do this themselves.....
Click to expand...
Click to collapse
Can you post the rest of the files for this on the site?
Sorry....
Sorry, guys I had it running on my Droid X for awhile, but then I lost the phone. Eventually I switched to T-Mobile and now I have a Samsung Galaxy S 4G running Fedora 12 with X server (only viewable through droid-vnc-viewer, an ssh server and XFCE4 desktop environment). Since the SGS4G doesn't have nearly as much internal memory as the Droid X does, I created a fedora.img file that is on the sdcard and run a script I modded (from the bootubuntu script) which mounts the image and chroots into the OS. If you guys are still interested I can post instructions on what I remember of putting Fedora on the Droid X but I will be uploading the filesystemm image to hxxp://anonymouslyacquired.info/fedoraonsgs4g along with the scripts that make it possible!
Note: the filesystem I'm uploading is preinstalled with a bunch of stuff and its 1.5GB total (oops) its actually really only around 900Mb but I left some space for installing stuff.
with my scripts just copy everything to a folder called "fedora" under the root of your sdcard and run "sh /sdcard/fedora/fedora.sh" in android terminal emulator. It will tell you what to do next (type "bootfedora" press enter). Once you're in fedora type "startvnc" and/or "service sshd start"
Instructions for SGS4G
http://forum.xda-developers.com/showthread.php?t=1163571

[Q] Settinng up linux for Android Dev 32 or 64 bit?

Hi, If I'm setting up Linux for Android dev should I use the 32bit or 64 bit version? I read somewhere that if I want to dev for Froyo it's 32 bit if I want GB or higher use 64bit. If I use 64bit can I still do Froyo stuff as well or am I only limited to building for Froyo? I'm finally getting into the world of linux after being a winblows programmer for years. So if there is any other place you guys know with a lot of good info on the topic of getting started please let me know. I already found http://source.android.com/source/download.html
I went through setting everything up but I did it on a 32 bit install of Ubuntu. Is it advised that I have 64 installed instead of 32? I got up to the point to make a make but it gave me some error about being on a 32 bit machine and only being able to build for froyo, that's when I thought maybe I should have installed the 64 bit version on ubuntu
You're best off using 64bit. With 64 you can work on anything.
option94 said:
You're best off using 64bit. With 64 you can work on anything.
Click to expand...
Click to collapse
Ok Thanks Option! Sorry about posting in the wrong place. I wasnt sure if it went here or in the Dev forum so thanks for moving it for me to the correct place
Is this the best place to go as a guide?
http://source.android.com/source/download.html

[Q] [INFO]Need a wing to be taken under.

Ok XDA im fairly new to this but have a decent background with software and such. And i am looking for a bit of assistance on cooking/modding my own rom. and just wondering if you guys have any pointer? Thank you!
A few questions, mostly for others to help:
Do you have some sort of Linux distribution installed on your computer, such as Ubuntu? If you are, do you feel comfortable with terminal commands?
If not, do you run Windows or OS X? Would you be willing to install Ubuntu or something similar through alongside, or us Wubi if you would like to use it inside your current OS?
Are you planning on compiling AOSP, port from other phones, or base it on stock?
Are you going to be theming and/or optimizing?
Do you have a 32- or 64- bit-capable computer?
I'll post some links in a minute to what I use
Sent from my PC36100 using xda premium
i think paul at modaco may even have a kitchen available. that makes things easy.
lithid has a compiler for android <3.0, i believe. use your powers of google-fu
tropicalbrit said:
A few questions, mostly for others to help:
Do you have some sort of Linux distribution installed on your computer, such as Ubuntu? If you are, do you feel comfortable with terminal commands?
If not, do you run Windows or OS X? Would you be willing to install Ubuntu or something similar through alongside, or us Wubi if you would like to use it inside your current OS?
Are you planning on compiling AOSP, port from other phones, or base it on stock?
Are you going to be theming and/or optimizing?
Do you have a 32- or 64- bit-capable computer?
I'll post some links in a minute to what I use
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
I have a basic knowedge of commands. really basic. i run windows 7 on a 64 bit. and as for what i want to do? well im looking to learn it all. ive mostly been tinkering with sense roms. ive been using Team Nocturnals Shooter for E4G as my daily. good place to start?
Need Java JDK first: here
Definitely need ADB and Fastboot, great YouTube video by QBKing here
7-Zip and/or WinRAR. I have both, but I prefer 7-Zip. Get the 64-bit beta version here. WinRAR here too, get the 64-bit
UOT Kitchen for some theming here
Gimp, for theming
Notepad++ for editing text
Of course, a kitchen: Custom ROM Creator Studios here . Has many tools that you will need, including APK Tool and deodexing tools.
Great for Sense, "What You Know about Rosie?" And more by Tommy here
Chef Central for Android
so i followed the adb video to a t and it isnt workin?

Ubuntu and the Nexus 10

Hello everyone,
Before you start flaming me for posting a redundant thread, please hear me out.
After bricking my TF300T (had xubuntu installed and had to f*** with partitions..and I f***** it real good) I've decided to get myself a Nexus 10. I've been doing some research on the matter of running Ubuntu Desktop (NOT touch) on it I've seen many tutorials on how to do it I've come across plenty howtos on how to install it on the Nexus 7.
My question is, is it possible to use the same process/images for my brand new Nexus 10? How different are the devices from each other?
I've seen that Canonical has released a Ubuntu Dual Boot Installer compatible with the Nexus 10. Would it be possible to use the Rabbits kernel I used for the TF300T? Also, as far as I've seen Multiboot is only compatible with the Nexus 7.. or have I seen wrong? Did I make a bad purchase and should've gotten an other tablet?
Thanks in advance for your time and help and my advanced apologies for inconveniencing anyone with this thread.
As far as I know (and I've only triedndoing this once a while back so I may be wrong) there is no way to partition the storage in the nexus 10 to install Ubuntu, and there is no kernel to support it. You would have to run the Ubuntu iso through chroot in the terminal, and then use a VNC client app to use Ubuntu. Effectively, you'd be running Ubuntu in the background whilst running android to view it, so performance (and compatibility) takes a hit.
But, like I say, times and developers have changed so I may be entirely wrong now...
Say you manage to partition the emmc.. Then what? You'll need to port drivers over from Android (not an easy thing to do since they're proprietary).. Ubuntu touch is Android based.
a hammerhead wrote this.

Categories

Resources