[Q] [SOLVED] Fastboot for Ubuntu 11.04, please help. - Milestone XT720 General

Hey guys,
I've been wanted to fastboot into fjfalcon's kernel. I am using ubuntu 11.04 and im pretty new to linux even though ive found my way around. I don't have fastboot in the tools folder. I tried downloading already compiled files but they seem to be for different devices and they have specific vendor ID's. Could someone guide me on how I can get fastboot to work in ubuntu for the Xt720? I'd be really grateful. Thank you.

Code:
mkdir ~/fastboot
cd ~/fastboot
wget http://xt720.ru/Tools/fastboot
wget http://xt720.ru/Kernel/boot2.img
chmod +x fastboot
sudo ./fastboot boot boot2.img
Good Luck.

Thanks, fjfalcon worked easy! Its nice to see ubuntu users, have you tried natty yet? Oh and thanks for the work on the kernel, it works really well with the new MIUI optimized ROM.

Well,i'am Linux user, but not an ubuntu =)
Gentoo and Archlinux mine distrib =)

fjfalcon said:
Well,i'am Linux user, but not an ubuntu =)
Gentoo and Archlinux mine distrib =)
Click to expand...
Click to collapse
Hi,fjfalcon.
In Arch Linux,How to use higher version gcc?
I have tried cross-arm-linux-gnueabi-gcc-base and cross-arm-none-eabi-gcc-base but they don't work anywhere.
Many warning like "variable 'c' set but not used [-Wunused-but-set-variable]"
Stop in one error:"drivers/misc/sec/bridge_pub2sec.S:37: Error: selected processor does not support ARM mode `smc 1'"
How to slove it?Thanks

agcc with export PATH to prebuilt toolchain? =)

thanks you

Thats cool, ive been on ubuntu for around 8 months and I love it. I guess for people starting out ubuntu is the way to go. They have their new unity interface which makes the transition from windows easier. Lol I spend more time modding my ubuntu than my android. Love the personalization.
Btw, for anyone looking at this thread to run fastboot in linux I realized you had to use the sudo command. So its:
$ sudo ./fastboot boot boot.img
or whatever .img you want to boot with.

sohrab.naushad said:
Btw, for anyone looking at this thread to run fastboot in linux I realized you had to use the sudo command.
Click to expand...
Click to collapse
While the thread title does say ubuntu, not all linux distros use sudo. If you are using such a distro (older versions of Fedora, for instance), you need to use "su" or log in as root.

If you want fastboot and adb standalone for Linux, then you can download my package: https://sites.google.com/site/ubukuntu/downloads/adb-fastboot-forlinux.tar.gz

Related

Android SDK 1.5 trouble in Linux

I am a new to using Linux, I just downloaded the SDK 1.5 and I am having some trouble getting the tools to work properly. For example. If I try to open the emulator it will just sit there and do nothing. I cannot get adb to work either. I set it up / the instructions. Any ideas on what I am missing? Thanks
easiest way to fix the adb problem is to move your adb command that is included in the SDK into your /usr/bin or /bin directory. if you have a problem with either of those then type cd ~/<sdk>/tools followed by ./adb the "./" tells the phone to run the command in the current directory, otherwise you could just type the directory to adb to run it i.e. ~/SDK/tools/adb that's all you need. as far as the emulator i have no idea because i have never gotten it up and running properly
How do I add the ADB command to usr/bin?
You can do as followed:
- Run the Terminal
- cd to your sdk/tools directory
- Run these command:
Code:
#./adb kill-server
#./adb devices
If you see your HTC has been remounted, it's done!
sudo mv ~/sdk/tools/adb /usr/bin/adb
tubaking182 said:
sudo mv ~/sdk/tools/adb /usr/bin/adb
Click to expand...
Click to collapse
Got it thanks for your help! I still can't get the emulator to work. Oh well Thanks again
What version of Linux? Are you using 64 Bit? What is the result of typing
Code:
java -version
You created the AVD, right?
What do you get when you type:
Code:
android list avd
stovenator said:
What version of Linux? Are you using 64 Bit? What is the result of typing
Code:
java -version
Ubuntu version 9.04 & 64 Bit
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
You created the AVD, right?
What do you get when you type:
Code:
android list avd
Click to expand...
Click to collapse
bash: android: command not found
They made a change in 1.5 SDK that you must specifiy the virtual device you want the emulator to run. if you just double click on "emulator", it will print the error to console and exit.
So first cd to the tools directory of the sdk and type android[return]
you will be given the commands that android (the program) will accept. you can also do this for emulator.
Great!! Everything is working well now. Thanks for everyones help!!
How Do I get fastboot working in Ubuntu?
jordanjf86 said:
How Do I get fastboot working in Ubuntu?
Click to expand...
Click to collapse
http://andblogs.net/fastboot/
fastboot is included in the 1.5 sdk, once you get adb working it should start working as well.
billc.cn said:
fastboot is included in the 1.5 sdk, once you get adb working it should start working as well.
Click to expand...
Click to collapse
Actually it doesn't seem to be in the Linux 1.5 SDK; I had to build it. It's in the Windows SDK, though. Kinda weird.
Android SDK 1.5 emulator trouble in windows
hi i m new to xda and to android i m not tech savy
i install sdk 1.5 i try ddms it works good what when i try to lanch emulator nothing happnes and i try by going in command promt im getting this error can any one help me out in this
C:\Documents and Settings\jass>emulator
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
If you *really* want to *NOT* run an AVD, consider using '-data <file>'
to specify a data partition image file (I hope you know what you're doing).
karan09 said:
hi i m new to xda and to android i m not tech savy
i install sdk 1.5 i try ddms it works good what when i try to lanch emulator nothing happnes and i try by going in command promt im getting this error can any one help me out in this
C:\Documents and Settings\jass>emulator
emulator: ERROR: You did not provide the name of an Android Virtual Device
with the '-avd <name>' option. Read -help-avd for more information.
If you *really* want to *NOT* run an AVD, consider using '-data <file>'
to specify a data partition image file (I hope you know what you're doing).
Click to expand...
Click to collapse
First, this is the wrong thread for such a question. This thread is about SDK issues in Linux, and you're asking about using debugging tools in Windows.
Second, if you say yourself that you are "not tech savvy", then I'm not quite sure why you are wanting to play with the SDK tools. I don't mean this in a derogatory way; I'm just not sure what it is that you're trying to accomplish.
That said, Android dev docs can be found here, and information specifically about the emulator is here.
- Chris

[SOLVED] (Sort of)[APP ?] EasyTether on Ubuntu 10.04 x64

See post 2!
Has anyone gotten this working? I emailed the developers and they sent me the drivers with instructions but the drivers are 32-bit (i386). The instructions are: Unsip to desired folder (in this case my home folder), in folder where unzipped
Code:
./sudo easytether connect
, then
Code:
sudo dhclient easytether0
. When I type the first command, I get
Code:
sudo ./easytether: command not found
I would really like some help with this. Thanks.
Edit: Btw, I have the correct libs and tried to --force architecture and nothing seems to work.
Google is my best friend... well, after my wife of course!
I found this: http://www.humans-enabled.com/2009/12/how-to-tether-your-verizon-droid-as.html
I downloaded and ran the python script and it's working great! Using it right now!
Best part of this is no root required!
Mods, this installs an app to the phone called azilink which can be found here. Also, if this has been posted elsewhere please feel free to move/remove/merge, however I posted this as more of a method to tether with Ubuntu. Thank you!

[Linux/Mac] ADB & Fastboot (Un)Install Script [Team BlueRidge]

[Linux/Mac] ADB & Fastboot Install Script
I have created a script to be used to install ADB and Fastboot on a Mac or a Linux computer. Simply run the script in Terminal or a similar application and it will copy ADB and Fastboot to /usr/local/bin/
Also, as of Version 3.1 this also installs the JDK for Linux-based systems.
While advanced users probably won't need this, it would be good for new users who need help using the ADB and Fastboot commands.
You can see the source at GitHub.
Download
If you have any problems or errors, let me know.
Changelog:
20171202
Moved entirely to GitHub
On Debian-based Linux, installs the adb and fastboot packages
Other systems, the binaries are pulled from Google's website
Executables are given +x permissions
Version 5.0
Hosted on GitHub and Google Code
Uses latest adb and fastboot (as of April 3, 2014)
Install to /usr/local/bin/
Version 4.1
Uses cp rather than mv
Hosted on GitHub again
Team BlueRidge project
Version 4.0
Now installs adb and fastboot to /usr/bin/ which is a more appropriate directory for the files.
Includes Readme now!
Version 3.1
Added JDK Install for Linux
Version 3
Created separate scripts for Linux & Mac
Updated uninstall script
Version 2.1.1
Fixed errors in installer
Version 2.1
More code efficient.
Better comments in script.
Version 2
Combined installer scripts into one Universal
Updated Uninstall.sh to remove udev rules
Version 1.1
Added udev rules for Linux
Version 1
Initial release
Linux
Didn't work on linux, I suggest making a seperate script for linux, I believe the problem is where it detects linux. It gets sudo but nothing more. I ran each command by itself under linux and it worked. Thanks.
shootind5nukes said:
Didn't work on linux, I suggest making a seperate script for linux, I believe the problem is where it detects linux. It gets sudo but nothing more. I ran each command by itself under linux and it worked. Thanks.
Click to expand...
Click to collapse
Thanks! I'll fix that and post an update soon!
JDK is now installed on Linux systems!
Now hosted on Google Code rather than GitHub.
Now installs to /usr/bin/, which is a more appropriate directory as these files are not required for normal system booting or are required for the general functions of your operating system.
i know this thread is old but i need some help.
my devices are not showing up after running the script.
i used adb devices and ./adb devices
boneskid1 said:
i know this thread is old but i need some help.
my devices are not showing up after running the script.
i used adb devices and ./adb devices
Click to expand...
Click to collapse
Does it say that ADB is not found or your devices?
Try enabling ADB (USB Debugging) on your device if it says no devices were found.
Gingerbread: Settings>Applications>Development>USB Debugging
Ice Cream Sandwich: Settings>Developer options>Android debugging
Thanks!!!! This worked perfectly. Using Ubuntu 11.10.
romuloxiii said:
Thanks!!!! This worked perfectly. Using Ubuntu 11.10.
Click to expand...
Click to collapse
I'm happy I could help! Don't forget to click "Thanks" if you liked it!
If you have any issues in the future with it, please feel free to let me know!
Good news!!! This is now a Team BlueRidge project and is on Team BlueRidge's GitHub
since tar.gz files are linux that means I download the zip file on my mac right? sorry if the question is obvious
prflash3 said:
since tar.gz files are linux that means I download the zip file on my mac right? sorry if the question is obvious
Click to expand...
Click to collapse
Download whichever for whichever platform. It's the script inside that you use that matters.
Trying to run the script on OSX, but when I am prompted to enter my password I can't type anything. Please help.
Ditto ul49, being prompted for a password, please advise
Simply type your account password. It won't look like anything is being typed but it is. This is how the "sudo" command works. It is for security.
really glad i found this.
i run "sh "sh script name" and i get this error
ADB-Install-Linux.sh: 5: ADB-Install-Linux.sh: Syntax error: newline unexpected
not sure if it's installed or what
thanks for making this set of scripts and if u could advise me on that error id be grateful.
---------- Post added at 05:46 PM ---------- Previous post was at 05:44 PM ----------
crazy
apt-get install android-tools-fastboot
and
apt-get install android-tools-adb
worked
Just released the first update in two years. Sorry to leave this project unmaintained. The files are now hosted by Team BlueRidge as Google Code no longer supports downloads.
First, thank you very much for putting this together for fellow users. While I'm not the most savy of guys I thought I might just share my experience while installing this ADB + Fastboot package on my MacBook Pro (mid 2012) running OS X Mavericks 10.9.3 in the hopes that somebody might benefit from it as well.
So here it goes:
I tried running the installation script found in "Androidv5.zip" which up until now is the latest version (I think). The script failed to install:
"This will install ADB and Fastboot on your computer.
Root Permissions required. Please type your password.
Password:
Changed directory to /Users/User/Downloads/Androidv5
Moving ADB
cp: /usr/local/bin/adb: No such file or directory
ADB Moved to /usr/local/bin/adb
moving Fastboot
cp: /usr/local/bin/fastboot: No such file or directory
Fastboot moved to /usr/local/bin/fastboot
You may now run Android Debug Bridge and Fastboot commands
Have a nice day."
So I figured I'd open the script file and run each command manually but they would still not work. I then decided to open the target directory
from terminal and it couldn't find it either, so I openned the /usr/ directory to find where the /bin/ directory was... and I found it at | /usr/bin | instead of | /usr/local/bin |.
I ran the commands in the script again manually one by one with the target directory set to | /usr/bin | and then closed terminal and reopened. After that I tried running "adb devices" and the output was "permission denied".
I then applied a "chmod 775 /usr/bin/adb" "chmod 775 /usr/bin/fastboot", closed & reopened terminal and voilà it worked!
Again I'm not a savy guy... there might probably be a better way to do this or perhaps I didn't run the install script as it was supposed to but anyway I decided to let you guys know how it went just in case it proves useful to somebody else....
Then again thanks a lot for sharing this! I finally have ADB + Fastboot on my Mac without having to nag about downloading the Android SDK. :laugh: :good:

[Q] TF300T Setup on Linux?

Hi all,
I recently made the switch over to Linux full-time (Mint 14, Cinnamon desktop) and I absolutely love it. I did, in my haste to finally switch, overlook my tablet and all the fun I have with it, so I didn't plan for flashing or anything like that while on Linux.
My question is, is there any quick & dirty setup guide to get Linux users started? I know life is alot easier because there are no drivers, Android is Linux-based etc, but I don't know the specifics of it.
My Linux knowledge is limited but growing rapidly. I am comfortable navigating, moving files, and making changes via terminal (and prefer it over the GUI methods most of the time), but a user-friendly GUI wouldn't hurt every once in a while
So the basics I need to figure out are:
Fastboot, ADB, NVFlash/Wheelie (how to send, I already have the files created), and if absolutely necessary, how to get the tablet working/recognized in a Win 7 virtual machine.
I am intimately familiar with all the processes on Windows (and in the middle of writing a -very- thorough and comprehensive guide) so I don't view myself as a noob, or need any special instructions. Just help me get up and running in my Linux machine so I can continue to enjoy all that XDA offers for tablets.
Thanks everyone!
-Opethfan89
No win 7 needed, you can run everything from Mint/Ubuntu
To get fastboot and adb working: http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
just remember, you need to "sudo fastboot .............. or sudo adb............." without the sudo command fastboot and adb commands don't work.
This should be a good start
No further tricks needed to mount the TF300, itś included in the above link, Mounts any android device I've tried until now, TF300T(G), Sony Mint, HTC Desire Z and a few others I tried.
opethfan89 said:
Hi all,
I recently made the switch over to Linux full-time (Mint 14, Cinnamon desktop) and I absolutely love it. I did, in my haste to finally switch, overlook my tablet and all the fun I have with it, so I didn't plan for flashing or anything like that while on Linux.
My question is, is there any quick & dirty setup guide to get Linux users started? I know life is alot easier because there are no drivers, Android is Linux-based etc, but I don't know the specifics of it.
My Linux knowledge is limited but growing rapidly. I am comfortable navigating, moving files, and making changes via terminal (and prefer it over the GUI methods most of the time), but a user-friendly GUI wouldn't hurt every once in a while
So the basics I need to figure out are:
Fastboot, ADB, NVFlash/Wheelie (how to send, I already have the files created), and if absolutely necessary, how to get the tablet working/recognized in a Win 7 virtual machine.
I am intimately familiar with all the processes on Windows (and in the middle of writing a -very- thorough and comprehensive guide) so I don't view myself as a noob, or need any special instructions. Just help me get up and running in my Linux machine so I can continue to enjoy all that XDA offers for tablets.
Thanks everyone!
-Opethfan89
Click to expand...
Click to collapse
I'll come back a little later and add a couple of things to this list. I don't have windows. Gota go.
Here is a link to fix adb permissions so you don't need to run sudo.
more adb permissions fix - I have needed both a couple of times - I can't remember about mint
Add USB Vendor device ID
Open HOME folder(nautilus) and enable Show Hidden Files
Open .android folder >> right click >> Create New Document >> Empty Document, name it adb_usb.ini and open it. Type the following two lines.
0x0b05
0x18d1
save it
0x0b05 is asus ID
0x18d1 is google ID
Add context open terminal from nautilus
use software center to add gparted – add ntfs in addition if you still have windows in the house
use software center to add 7zip – add rar addition
Remove global menu.
Remove LibreOffice.
Download apache openoffice.
Install - sudo dpkg -i *.deb
Nvflash - wheelie see post #11 and #14 - rayman is the op and dev for the nvflash thread.
Windows virtual - I don't have windows - I did borrow a windows machine for three weeks and wrote a guide to get Universal Naked Drivers properly installed - see my signature. In a virtual machine you may find the drivers are provided by the host; try that first.
ADB & Fastboot
Flash recovery
fastboot -i 0x0B05 flash recovery recovery.img (this could also be recovery.blob)
fastboot -i 0x0B05 reboot to reboot your tablet
Stock update
fastboot -i 0x0B05 flash system update.blob
fastboot -i 0x0B05 reboot
adb shell
su
dd if=/sdcard/twrp.blob of=/dev/block/mmcblk0p4 Then reboot to complete installation. - mmcblk0p4 = staging
adb reboot
If you are considering creating kernels or roms you will need 64 bit version of linux -according to google
I'm sure there is more but this should give you some things to think about; you may not want some or all of these but I do these to every linux installation.
tobdaryl said:
I'll come back a little later and add a couple of things to this list. I don't have windows. Gota go.
Here is a link to fix adb permissions so you don't need to run sudo.
more adb permissions fix - I have needed both a couple of times - I can't remember about mint
Add USB Vendor device ID
Open HOME folder(nautilus) and enable Show Hidden Files
Open .android folder >> right click >> Create New Document >> Empty Document, name it adb_usb.ini and open it. Type the following two lines.
0x0b05
0x18d1
save it
0x0b05 is asus ID
0x18d1 is google ID
Add context open terminal from nautilus
use software center to add gparted – add ntfs in addition if you still have windows in the house
use software center to add 7zip – add rar addition
Remove global menu.
Remove LibreOffice.
Download apache openoffice.
Install - sudo dpkg -i *.deb
Nvflash - wheelie see post #11 and #14 - rayman is the op and dev for the nvflash thread.
Windows virtual - I don't have windows - I did borrow a windows machine for three weeks and wrote a guide to get Universal Naked Drivers properly installed - see my signature. In a virtual machine you may find the drivers are provided by the host; try that first.
ADB & Fastboot
Flash recovery
fastboot -i 0x0B05 flash recovery recovery.img (this could also be recovery.blob)
fastboot -i 0x0B05 reboot to reboot your tablet
Stock update
fastboot -i 0x0B05 flash system update.blob
fastboot -i 0x0B05 reboot
adb shell
su
dd if=/sdcard/twrp.blob of=/dev/block/mmcblk0p4 Then reboot to complete installation. - mmcblk0p4 = staging
adb reboot
If you are considering creating kernels or roms you will need 64 bit version of linux -according to google
I'm sure there is more but this should give you some things to think about; you may not want some or all of these but I do these to every linux installation.
Click to expand...
Click to collapse
Thanks tobdaryl!! It is a pleasure as always. I will look through each of these and work out what I need and don't need. Some of this stuff I've already done (like gParted w/ NTFS support) and some stuff I don't have (No global menu on Mint, that's a Unity thing on Ubuntu), but all of this is definitely helpful sir!!
opethfan89 said:
Thanks tobdaryl!! It is a pleasure as always. I will look through each of these and work out what I need and don't need. Some of this stuff I've already done (like gParted w/ NTFS support) and some stuff I don't have (No global menu on Mint, that's a Unity thing on Ubuntu), but all of this is definitely helpful sir!!
Click to expand...
Click to collapse
You're welcome! Beyond here I'm afraid you'll need to ask. I'm aware these are just my preferences and will suit only a few. Choose what may be of use to you.
I just looked at the thread you were given to setup sdk and think you may want to add a little more. You might wish to compile simple things like boottools, blobtools and others.
sudo apt-get update
$ sudo apt-get install openjdk-6-jdk
if you are running 64bit
sudo apt-get install ia32-libs
tobdaryl said:
You're welcome! Beyond here I'm afraid you'll need to ask. I'm aware these are just my preferences and will suit only a few. Choose what may be of use to you.
I just looked at the thread you were given to setup sdk and think you may want to add a little more. You might wish to compile simple things like boottools, blobtools and others.
sudo apt-get update
$ sudo apt-get install openjdk-6-jdk
if you are running 64bit
sudo apt-get install ia32-libs
Click to expand...
Click to collapse
I actually am taking a Java programming class and already have the JDK installed and configured from Oracle, directly. I'd imagine that it should work just as well, if not better than, the Open JDK?
opethfan89 said:
I actually am taking a Java programming class and already have the JDK installed and configured from Oracle, directly. I'd imagine that it should work just as well, if not better than, the Open JDK?
Click to expand...
Click to collapse
Great! I'm sure it will handle your class with no issues.
Good luck with that class!

[R&D] Writing custom Gear 2 roms, starting with the source.

As the most of you probably know the Gear 2's sources are released by Samsung over here: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=r381
Are there amongst you who already started the development of custom software for this device or who have experience with Tizen's source code?
What I want to know right now:
How do I compile these sources?
Found information:
I found this guide (https://source.tizen.org/documentat...ctions/creating-tizen-images-scratch-one-page) which describes how to compile Tizen from scratch.
[UPDATE: 21/6/14] So we figured out you need a 32 bit Ubuntu install to be able to compile these files.
How can I push the compiled code to the Gear 2?
Found information:
Probably the tools provided with the Tizen SDK have the ability to create a rom package which we can deploy (Am I right here?) to the Smartwatch with Odin (http://forum.xda-developers.com/gal...08-2013-odin-3-09-odin-1-85-versions-t2189539). For the people unfamiliar with flashing watches (like me), here is how you set the watch in download mode: https://www.youtube.com/watch?v=EXT7kr3j2Ac.
Where do I have to start modding these sources to eventually be able to create an open platform for the Gear 2?
All help is appreciated!
Thanks
We probably have to see if we can even flash anything without modifications
CovXX said:
We probably have to see if we can even flash anything without modifications
Click to expand...
Click to collapse
This weekend I'm going to experiment with the source to see if I can compile it. I'll keep ya updated on the progress!
Corstian said:
This weekend I'm going to experiment with the source to see if I can compile it. I'll keep ya updated on the progress!
Click to expand...
Click to collapse
have you made any progress ??? even at emulated level ????
gav-collins1983 said:
have you made any progress ??? even at emulated level ????
Click to expand...
Click to collapse
I was stuck on compiling the source. My Ubuntu installation gives errors which say that it can't execute binary files. Also, on my primary PC I don't have enough free space on my hard disk to install Ubuntu. So after a while other stuff came through and I stopped trying around.
Whatsoever, I still have Gear 2 which is useless to me and you just motivated me to continue the journey
Btw, all help is appreciated
Corstian said:
I was stuck on compiling the source. My Ubuntu installation gives errors which say that it can't execute binary files. Also, on my primary PC I don't have enough free space on my hard disk to install Ubuntu. So after a while other stuff came through and I stopped trying around.
Whatsoever, I still have Gear 2 which is useless to me and you just motivated me to continue the journey
Btw, all help is appreciated
Click to expand...
Click to collapse
I have linux kali set up. On a vm on one of my machines. But I've only just started to learn linux. And my god there is a lot to learn. Once I get my wireless adaptor running in kali. Which I've had a little trouble with. And not a lot of time . I can maybe help. Even if it means installing Ubuntu onto another of my laptops . I just feel a little useless not knowing all the jargon for Linux as yet. Cmd is complicated even with Google help. I have a windows 7 a windows 8 and an Xp machine if it helps
gav83collins said:
I have linux kali set up. On a vm on one of my machines. But I've only just started to learn linux. And my god there is a lot to learn. Once I get my wireless adaptor running in kali. Which I've had a little trouble with. And not a lot of time . I can maybe help. Even if it means installing Ubuntu onto another of my laptops . I just feel a little useless not knowing all the jargon for Linux as yet. Cmd is complicated even with Google help. I have a windows 7 a windows 8 and an Xp machine if it helps
Click to expand...
Click to collapse
Practically the only thing you have to know is how the commands within the terminal works. Also, I can recommend you to already start downloading the source from the Samsung Opensource site (Search for SM-R380) as the download is very slow (1.3 Gb at 40 Kb/s). With the source, a guide is provided which exactly tells you how to compile it. Read this guide very carefully when trying to set up your environment!
Furtheron, once we're able to compile it all we can try to modify the source. I really don't know your coding skills but please notice this isn't a project to learn how to code. But for now, lets try to compile it all.
I'm out camping in the sticks at the moment. But once um home il look into it
ok dude im home, and im downloading, the sm-r380 --- sm r381 source code, i have the standalone sbd, but im gonna need the sdk too i imagine, so il grab that too, now to wait
edit.....
oh i see windows 8 isnt supported, this is my main machine, my win 7, is my wired media centre into my tv/av reciever......
gonna try running in compatibility for win 7 on my win 8 machine, fingers crossed, if not, il create a second linux vm, next to kali, ubuntu of course
gav83collins said:
ok dude im home, and im downloading, the sm-r380 --- sm r381 source code, i have the standalone sbd, but im gonna need the sdk too i imagine, so il grab that too, now to wait
edit.....
oh i see windows 8 isnt supported, this is my main machine, my win 7, is my wired media centre into my tv/av reciever......
gonna try running in compatibility for win 7 on my win 8 machine, fingers crossed, if not, il create a second linux vm, next to kali, ubuntu of course
Click to expand...
Click to collapse
I'd STRONGLY recommend you to run Ubuntu (12.04) for your build environment to prevent unnecessary hassle.
I'm downloading and installing an Ubuntu 12.04 AMD64 build. I guess, and hope, that the errors I got during my first time trying were because I used a x86 build of Ubuntu.
Corstian said:
I'd STRONGLY recommend you to run Ubuntu (12.04) for your build environment to prevent unnecessary hassle.
I'm downloading and installing an Ubuntu 12.04 AMD64 build. I guess, and hope, that the errors I got during my first time trying were because I used a x86 build of Ubuntu.
Click to expand...
Click to collapse
, ive had no errors installing the sdk i just toubleshooted compatibility first, and updating the repos, was pretty straight forward, i too am on an amd 64 bit windows,,,,,,,
what issues have you had, did you try the windows sdk b4 u installed linux
im still waiting on my source to download, after 6 hours waiting we had a power shortage here in western australia, typically my luck, ive restarted
gav83collins said:
, ive had no errors installing the sdk i just toubleshooted compatibility first, and updating the repos, was pretty straight forward, i too am on an amd 64 bit windows,,,,,,,
what issues have you had, did you try the windows sdk b4 u installed linux
im still waiting on my source to download, after 6 hours waiting we had a power shortage here in western australia, typically my luck, ive restarted
Click to expand...
Click to collapse
The problem isn't in installing the Tizen SDK. The problem is in compiling the Tizen source code and the dependencies needed to do this. I have attached the contents of the "HOW_TO_BUILD" file so you can see the steps needed to compile the Tizen source you are currently trying to download.
HOW_TO_BUILD
System requirement (Strongly recommended)
* OS: Ubuntu 12.04 or newer
Installing Development Tools in Ubuntu
* Open the source list by using text editor.
$ sudo vi /etc/apt/sources.list
* Add Tizen tools repository to the source list.
deb http://download.tizen.org/tools/latest-release/Ubuntu_12.04 /
* Resynchronize the package index files from the sources specified in the source list by executing the following command:
$ sudo apt-get update
* Install a development tool by executing the following command:
$ sudo apt-get install gbs
Build root strap setup
* Download build rootstrap and unpack into home directory
$ sudo tar xfz {build rootstrap name} --same-owner
* Change root to the build rootstrap
$ sudo chroot standard-armv7l
* Change account to abuild
$ su abuild
Building a package
* Source packages are in the /home/abuild/rpmbuild/SRPMS
* Build a package with rpmbuild
$ cd /home/abuild/rpmbuild/SRPMS
$ rpmbuild --rebuild {src.rpm name}
* You can find binary rpms in /home/abuild/rpmbuild/RPMS
Install a package
* rpm -ivh {src.rpm name}
* if {src.rpm name} is already installed : rpm -ivh --force {src.rpm name}
Corstian said:
The problem isn't in installing the Tizen SDK. The problem is in compiling the Tizen source code and the dependencies needed to do this. I have attached the "HOW_TO_BUILD" file so you can see the steps needed to compile the Tizen source you are currently trying to download.
HOW_TO_BUILD
System requirement (Strongly recommended)
* OS: Ubuntu 12.04 or newer
Installing Development Tools in Ubuntu
* Open the source list by using text editor.
$ sudo vi /etc/apt/sources.list
* Add Tizen tools repository to the source list.
deb http://download.tizen.org/tools/latest-release/Ubuntu_12.04 /
* Resynchronize the package index files from the sources specified in the source list by executing the following command:
$ sudo apt-get update
* Install a development tool by executing the following command:
$ sudo apt-get install gbs
Build root strap setup
* Download build rootstrap and unpack into home directory
$ sudo tar xfz {build rootstrap name} --same-owner
* Change root to the build rootstrap
$ sudo chroot standard-armv7l
* Change account to abuild
$ su abuild
Building a package
* Source packages are in the /home/abuild/rpmbuild/SRPMS
* Build a package with rpmbuild
$ cd /home/abuild/rpmbuild/SRPMS
$ rpmbuild --rebuild {src.rpm name}
* You can find binary rpms in /home/abuild/rpmbuild/RPMS
Install a package
* rpm -ivh {src.rpm name}
* if {src.rpm name} is already installed : rpm -ivh --force {src.rpm name}
Click to expand...
Click to collapse
thanks, but thats ubuntu, unless absolutley neccessary, i want to use windows 8, i dont think my machine will handle ubuntu with my linux kali on a vm, and all my cloud, n media editing software aswell, il just configure the enviroment variables to make it work..........hows your compiling going
gav83collins said:
thanks, but thats ubuntu, unless absolutley neccessary, i want to use windows 8, i dont think my machine will handle ubuntu with my linux kali on a vm, and all my cloud, n media editing software aswell, il just configure the enviroment variables to make it work..........hows your compiling going
Click to expand...
Click to collapse
Well crap! So I've installed Ubuntu 12.04 AMD64 as VM (Which runs pretty amazing btw) and I still have the same errors. Le me trying to dig deeper into the operating system to find the problem of this all. (I'm also not really into UNIX OS's) Turns out I / we all need a 32 bit operating system to be able to use the binary files.
Running the file xargs command on the xargs file gave this result:
Code:
xargs: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.25, stripped
Whatsoever, I gotta start downloading a 32 bit Ubuntu 12.04 iso.
Corstian said:
Well crap! So I've installed Ubuntu 12.04 AMD64 as VM (Which runs pretty amazing btw) and I still have the same errors. Le me trying to dig deeper into the operating system to find the problem of this all. (I'm also not really into UNIX OS's) Turns out I / we all need a 32 bit operating system to be able to use the binary files.
Running the file xargs command on the xargs file gave this result:
Code:
xargs: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.25, stripped
Whatsoever, I gotta start downloading a 32 bit Ubuntu 12.04 iso.
Click to expand...
Click to collapse
again thats ubuntu, with windows 64 win 8, you can runx86 0n 64 bit, dynamically, and also sys compat to any previous version, if you get errors, change the correct enviroment variable path
you do your way, il try mine, between us, we should get somewhere
i gotta be honest reading up on this app making, standalone, or otherwise, is blowing my mind, im not the brightest spark
gav83collins said:
again thats ubuntu, with windows 64 win 8, you can runx86 0n 64 bit, dynamically, and also sys compat to any previous version, if you get errors, change the correct enviroment variable path
you do your way, il try mine, between us, we should get somewhere
i gotta be honest reading up on this app making, standalone, or otherwise, is blowing my mind, im not the brightest spark
Click to expand...
Click to collapse
So I tried multiple editions of Ubuntu and still no luck in compiling the source. How's it going on Windows?
Corstian said:
So I tried multiple editions of Ubuntu and still no luck in compiling the source. How's it going on Windows?
Click to expand...
Click to collapse
My source download keeps failing. Can you mirror it to a fat er site
Like Google drive . Your own and share the folder to me. Australian Internet is ****. I'm currently dev testing the gear 2 Cam app on the s3 s5 and s5 over multiple android versions and builds 4.1.2, 4.2.2, 4.3, 4.4.x - aosp, Aokp, miui, cyanogen. Slim. Pa etc
When running the command "su abuild", I got the error message "bash: /bin/su: cannot execute binary file".
I use a vm of ubuntu 12.04 64bit.

Categories

Resources