android on PC-BSD - Android Software Development

I have PC-BSD 8.2 32bit installed.
How do i get adb to recognize my LG Optimus V ?

If its anything like Linux you'll need to add some rules. I know BDS & Linux are similar but I don't know how similar they are in this situation. In Linux you have to add a 70-android.rules file to the ect/udev/rules.d folder and add the specific device ID to the file. There's are instructions on the Android Reference page. Hope this helps.

PC-BSD has /compat/linux/etc/udev/rules.d/ .
i tried putting my rules file in there but did not work.
I was woundering if i should try this
http://freebsd.1045724.n5.nabble.com/Android-development-was-Re-best-way-to-run-RELEASE-and-CURRENT-on-the-same-machine-td4043315.html

Related

New Ubuntu Update 10.10 Broke my SDK?

[Q] Hey guys, I just updated to Ubuntu 10.10 and now my SDK is gone! I tried to look into why it wasn't working and the software manager tool in Eclipse says that Android is installed. I don't even have any of the Android SDK buttons showing anymore? Can someone help a fellow dev?
[SOLVED] Go to the eclipse website, download Eclipse for linux, uninstall your old eclipse, extract your new eclipse wherever and go into the folder and click the application button titled eclipse. Then reinstall all the android stuff.
At the informal android developer's meetup tonight, there were two of us with this same problem.
One issue that I found was that PATH in .profile got broken.
We suspect that using the version of eclipse that came with ubuntu, rather than 3.5 downloaded directly from eclipse might also be causing problems.
I have the same problem; ellarsee, can you be more specific how you got it running again?
(what is .mprofile and where is it, for example? (Googling isn't helping me find out))
Same thing happened to me
Upgrade to Ubuntu 10.10 broken my Android SDK as well.
Is it possible the Java packages are not installed anymore in Ubuntu?
I tried this...
sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk
Updated a lot of stuff but Eclipse Android is still gone...
Does anyone have this figured out yet??????????????????????????????? I NEED TO GET MOVING ON SOME APPS! THIS IS SO FRUSTRATING!
Removal and re-install of ADT plugin does not help
This is the error that appeared in my project the first time I ran eclipse after the 10.10 upgrade from 10.04.
Code:
The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project
I attempted to fix the build path (Properties->Java Build Path) and noticed that
com.adroid.ide.eclipse.adt.ANDROID_FRAMEWORK was not checked. I checked it but this made no difference.
Going to try complete uninstall of eclipse...
It's still not working for me
Not .mprofile .profile, it's like .bashrc, a script that is run when you log in, and can set your $PATH variable, or other environment variables.
emacs ~/.profile
or
vi ~/.profile
should enable you to edit it.
Has anyone tried just a fresh reinstall of everything to work on android apps?
Someone asked about java, it's still in /usr/bin/java
SOLUTION
Can't post outside links. So you'll have to google the bug numbers I give.
Ubuntu bug is here: bugs.launchpad # 633198
This points at a debian bug: bugs.debian.org # 587657
Debian bug contains a workaround where you edit the file:
~/.eclipse/org.eclipse.platform_*/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
And you change the concurrent package location (I had too entries, I had to remove them both and insert the line in the debian bug)
and then things magically worked for me again!
Best of luck everyone
Someone else?
Someone else found a way to fix it?
Cuz, everything up till now didnt work for me

Compiling USB Wireless drivers for Linux Native/Chroot

I don't want to spam any of those "How to install Linux" on our A500 Development forum and if I can get a good step-by-step I'll then edit this post to include it.
I am using both Ubuntu 11.10 Native and Backtrack (Ubuntu 10.04) in Chroot.
What I'd like is a procedure to build the module like I found here:
http://forum.xda-developers.com/showthread.php?t=1484339
[infernix] is refering to this post for the method : http://forum.xda-developers.com/showthread.php?t=1455382
I am a good learner and able to Google a lot but I can't find it...
I need a step-by-step to build my Realtek RTL8187 USB modules...
The linux headers are not the same as the kernel version and not too sure about the procedure to fix this.
Anyone who can provide me a good tutorial on how to fix this out Please?
How could I install the linux headers if I have untar the source code from Acer in /linux and not /usr/src ?
When I try to "make" the realtek drivers downloaded from Realtek it doesnt work as in /lib/modules I don't have the Acer kernel source files neither...
I know I'm not too far from the solution but starting to need help from experts ;-)
I would prefer to have the native method as it is quicker and I'll use it in native more than in chroot. It's about the same thing the missing files or wrong directory if you need the exact errors let me know and I'll retry it and paste here.
If the winner has paypal I will send you 10$
So basically, I need a Complete step-by-step on how to build modules for my Realtek RTL8187 USB using the Ubuntu 11.10 Native on my ROM: KJY2010_3.2.1_Honeylicious_Icy_Faux_Final_Rev_FZ
Thanks in advance to the winner
First off: For Linux Native the procedure is exactly the same as for any other Linux, i. e. compile, link, install and modprobe the module as usual... If you don't get the source for the driver or at least a usable blob, i. e. one that's been compiled for ARM and is compatible with your kernel, you're pretty much out of luck. If you do get the source, just hope it compiles and works on ARM...
Second: If you're running chrooted, the android kernel handles all I/O for you -- including network. So all you have to do is to set /proc/sys/net/ipv4/ip_forward (on android) to be a file just containing a single "1" and set up your nameserver in resolv.conf (inside chroot)... 8.8.8.8 (Google public DNS) will do.

Changing OS identification?

Is there a way to change the windows nt into windows 7?
I mean, when you try to install anything that requires a specific OS name, it wont install on Windows 8 because its names Windows NT.
So question is, is there a way to turn Windows NT into Windows 7? like by regedit?
I was having the same problem with Motorola Drivers not being valid and/or Windows8 not being recognized as a valid os? So I had go back and reinstall Windows 7???
Sent from my DROID RAZR using xda premium
use compatability mode, right click the .exe file and click "Troubleshoot Compatability" then click "Troubleshoot" then "This program worked in earlier versions of Windows" then select Windows 7
I had to browse the temporary files folder while the Motorola Driver installer was open so I could pull the files out and run the Installer in Compatibility mode, other than that, it worked fine.
They are all Windows NT, its the version that differs, drivers are dead easy to change, software is harder, if compatibility mode doesn't fix it then you could hope that there are some ini files you can edit but that's unlikely nowadays.
Drivers just need a entry in the INF that says its a supported OS then further down the INF add a new entry pointing that new OS version to the same files as Win 7. With out an example its kind of hard to show you and it can vary between drivers but its easy enough.
whether it works or not is a different matter, a new OS version may have changed things the driver needs so caution is always recommended

[Q] Unlock ZTE Open C

I want do do some development for Firefox OS and I have a ZTE Open C to work on. But I can't unlock the device. I've downloaded the Open_C_upgrade_Tool and run it in serveral environments. I only have a Mac and so I installed Bootcamp with Windows XP but the Upgrade Tool just says scanning for device ... and never finds it! Also tried it with XP running under VMware Fusion - the same result the UpgradeTool just searches for the ZTE and never finds it.
Before I pluged the ZTE to the system via USB I took out the SIM-Card and the SD-Card even tried with only SIM-Card out but again no success.
So can anyone here give any help with this. I read on other post that people had the same problem but there is no answer on this matter ...
And without unlocking my device it's no use to start any project.
Thanks for any help in advance!
Hi,
You can follow this guide to flash a the rooted image on your device (I assume you have an EU version) :
(Warning : not sure if it works on US version)
http://builds.firefoxos.mozfr.org/doc/en/devices/zte-open-c-eu
(and optionally update FirefoxOS with the provided -unofficial- builds)
The best would be to use a real Windows computer, I don't know if it works in a virtual machine for sure. But be sure to install the usb drivers (download link provided in the above guide) before trying to flash.
I have done it on my Open C and now I'm currently testing FxOS 2.1 (aurora)

Stuck On Porting With HADK For LG Optimus HD 4x

Stuck on Porting with HADK (simple question)
Hello sailors,
I want to port Sailfish OS to my LG Optimus HD 4x with the official HADK, but got stuck on chapter 14.3.2: Configure mountpoint information.
I don't know how to check (neither with cyanogenmod nor with TWRP) if initrd mounts the correct /boot and /data partitions.
On CM, I've checked with the CM file manager the directory /dev/block (there is no /dev/mmc on my device), but I don't know where I can find the information I need.
Below the list what i can see in /dev/block:
directory platform
directory vold
loop0
loop1 (and more file-iterations until loop7)
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p2 (and more file-iterations until mmcblk0p13)
mmcblk1
mmcblk1p1
in the platform directory, there is:
directory sdhci-tegra.2
directory sdhci-tegra.3
and in these directories are a few more files.
Can anyone give me a hint? I'm a newbie on porting, although I have some experience on Linux and Android. So I think it is be a simple question, just a few examples on how to solve this issue would help me a lot.
Link to HADK:
see sailfishos.org
Hiya,
I'm also new to this stuff, but maybe you could look into fstab? I could not find it on my lg 4x hd either.
i tried checking /etc/fstab and mount, but could not find anything which tells which mount point to use for /boot and /data partition.
i read somewhere you can check mount points in recovery in the file recovery.fstab.
I'm at work now, so i will try to help later!
Hey Sailor!
I checked in my device, but there were totally no binds to those specific mounts. But I found this:
https://github.com/CyanogenMod/android_device_lge_p880/blob/cm-10.2/fstab.x3
I think these are the ones which you have mentioned were in the platform directory right?
Keep up the porting power!
LGSailor said:
I want to port Sailfish OS to my LG Optimus HD 4x with the official HADK, but got stuck on chapter 14.3.2: Configure mountpoint information.
I don't know how to check (neither with cyanogenmod nor with TWRP) if initrd mounts the correct /boot and /data partitions.
On CM, I've checked with the CM file manager the directory /dev/block (there is no /dev/mmc on my device), but I don't know where I can find the information I need.
Click to expand...
Click to collapse
Hi, the basic idea is to look at the device paths described in your device fstab with "ls -l /dev/something" and it should be a symbolic link to the actual device which is usually something like /dev/block/mmcblk*. Then you have to create a separate case for your device in the $ANDROID_ROOT/hybris/hybris-boot/fixup-mountpoints, you can use the other ones as an example to see how it should look like. I suggest you come to #sailfishos-porters IRC-channel on Freenode where you can get help quickly with various problems. Also a little hint, you should use cm-11.0 as a base for Sailfish OS instead of cm-10.1.
Ok great, thanks a lot for your help!
I also thought about taking my question in the #sailfishos-porters IRC-channel, but I knew that that I'll be very busy in September with no time for porting, and hoped that in the meantime someone could help me.
Nevertheless, I will show up in the IRC-channel sooner or later
By the way, why is CM11.0 better as a base for Sailfish OS than CM10.1.3? I thought just to follow the instructions in the HADK, but if there are no differences in porting I'll use CM11.0.
Thank you two again for your help!
LGSailor said:
By the way, why is CM11.0 better as a base for Sailfish OS than CM10.1.3? I thought just to follow the instructions in the HADK, but if there are no differences in porting I'll use CM11.0.
Click to expand...
Click to collapse
You should get a new version of HADK, it has changed a lot just a few days ago. It is now more logical for new porters. The reason why you should use either CM11 or CM12.1 is that CM10.1 ports don't currently have the possibility for camera, hardware video decoding etc and most likely won't have in the future either.
LGSailor said:
Ok great, thanks a lot for your help!
I also thought about taking my question in the #sailfishos-porters IRC-channel, but I knew that that I'll be very busy in September with no time for porting, and hoped that in the meantime someone could help me.
Nevertheless, I will show up in the IRC-channel sooner or later
By the way, why is CM11.0 better as a base for Sailfish OS than CM10.1.3? I thought just to follow the instructions in the HADK, but if there are no differences in porting I'll use CM11.0.
Thank you two again for your help!
Click to expand...
Click to collapse
Hi LGSailor i want to port sailfish os on my lg g3 32 gb and i want to know if there is a simple way to port sailfish on my device. I've to install a linux distro on my pc?!
elio935 said:
Hi LGSailor i want to port sailfish os on my lg g3 32 gb and i want to know if there is a simple way to port sailfish on my device. I've to install a linux distro on my pc?!
Click to expand...
Click to collapse
Yes you need a linux distro. In the HADK, it is recommended to use a ubuntu 64bit machine, but if you don't like to install ubuntu (although you can use it parallel to windows), you can also use a virtual machine like Oracles Virtual Box. The only thing you have to keep in mind is that you should have at least 4 GB RAM (the more the better), and with a virtual machine, Windows itself needs at least 1 GB RAM.
But installing ubuntu is the easiest step in porting, so you'll have to learn and read a lot. Nevertheless, the HADK is a good guide
LGSailor said:
Yes you need a linux distro. In the HADK, it is recommended to use a ubuntu 64bit machine, but if you don't like to install ubuntu (although you can use it parallel to windows), you can also use a virtual machine like Oracles Virtual Box. The only thing you have to keep in mind is that you should have at least 4 GB RAM (the more the better), and with a virtual machine, Windows itself needs at least 1 GB RAM.
But installing ubuntu is the easiest step in porting, so you'll have to learn and read a lot. Nevertheless, the HADK is a good guide
Click to expand...
Click to collapse
okok i will try!:S thanks!

Categories

Resources