Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Macrodroid said:
Ok, I'm sure this is been asked before and I'm sure there's references somewhere...I've looked for a couple of days and found what should be answers, but nothing is working like the instructions I've seen...
Here's the simple question; How do I get the Android SDK and Java JDK setup in Ubuntu? I've tried the sudo commands to get the JDK to install, not working for me (as Ubuntu tells me it can't find the files I'm looking for). I've tried moving the SDK into the Root Folder (in the File System area itself), don't have permissions even though I'm logged in as the administrator. I've tried getting the SDK Manager to run through Terminal (home/android-sdk-xxxxx_xxxx/tools/android), can't find the file in terminal, but it's there in the file system exactly where I'm pointing it to.
I'm very new to Linux, but if I'm going to do things that I want to do, I'm going to have to learn. For the most part, I'm prepared to read whatever I need to in order to learn from this, but I also know when I need to ask for some help here. It seems like every command shown to get this started is just not working in the partition I have setup for this. If anyone can help get me started, I'm sure I can pick the rest up along the way!
Thanks in advance!
Click to expand...
Click to collapse
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
roirraW "edor" ehT said:
I think you could possibly use part of the EasyDev-v6 script in the Development and just cut out everything after installing prerequesites. It probably installs the JDK and the SDK among everything else, and it probably wouldn't hurt with the other things that installs, too. Just cut out everything after the prerequesites (it's just a regular text file but it'll be easier to edit in Ubuntu with OpenOffice).
Also check out http://maketecheasier.com/install-android-sdk-in-ubuntu-karmic/2010/01/11. As far as I know it worked when I tried it.
Click to expand...
Click to collapse
Dude, thanks so much! That worked perfectly. Thanks!
Sent from my Froyo Tazz using XDA App
You're welcome!
Ok, sorry ahead of time for the n00b question, but I cannot get my archos a70 to show up when I query ./adb devices on my Mac. I tried to update the .ini using echo "0x0e79" >> ~/.android/adb_usb.ini like Archos says, and I currently have SDE (Angstrom) on the device. Running the device in USB Debug as well. Is there some really basic step I am missing?
Well, managed to get the initramfs from $aur0n and the zImage from ardatdat working on the dev edition. Still can't launch ./adb shell though, so I haven't been able to partition my external sd card and relocate the dev edition to there...
Please, anyone, help. I'm dying here.
I too am having problems (bit of a noob im afraid!)
Could somebody please explain in detail exactly where to put the ini file modification.
Pretty please.
pfarrelliv said:
so I haven't been able to partition my external sd card
Click to expand...
Click to collapse
just reread all the rooting posts and realized that I'm doing the partition wrong and don't need to be in adb to partition.
i am currently mounting the external sd via the Archos since i don't have an SDreader. trying to use this post, http://forum.xda-developers.com/showpost.php?p=10324687&postcount=89, in order to partition, but can't seem to be able to figure out how to do it in terminal.
man, i'm such a noob. perhaps i should have waited til a better, Mac oriented guide was posted....
i'm going to stop posting here as it is no longer adb related.
what kind of problem are you having with the terminal commands?
I am just starting to root my A70 this minute, and they look fairly straightforward. head's up? maybe i can help? what's the issue?
digibucc said:
what kind of problem are you having with the terminal commands?
I am just starting to root my A70 this minute, and they look fairly straightforward. head's up? maybe i can help? what's the issue?
Click to expand...
Click to collapse
I'm having a hard time getting ./adb devices to recognize that i have the archos plugged in.
I also am unable to perform the fdisk -l, and am confused about the entire partitioning process to be honest. if you are able to do it successfully, i'd really love to know how you did the very basic stuff they leave out of the original thread.
thanks again!
seems my sdcard sucks, i have ordered a class 10 and am waiting on it now... let me know if you figure it out and ill do the same.
Moved to general as not android development.
I am simply trying to modInstallLocation using adb to gain a little more space using my windows 7(64 bit) computer. I have the latest android sdk installed and it all works fine with my htc desire. However i am unable to get my archos 70 to show up as a connected device using the driver from the archos site.
I know how to modify the ini file but am unsure where abouts in the file to insert the modification.
Please help!
Hello guys anD GIRLs. semi-N00B here. tehehe. I say semi because I spent the last week learning evvvverything i could about "rootin'" my Area. phew, there's a lot to learn ... but I like to be fairly sure of how things work before I attempt nething./ I just have 1one question, before I do this to my DEVice... How do I flash a rom to my phone if the Aria doesn't support flash? Is there a guide to modifying flash lite for this? I can't find it.
Thanks in advance. Luv yas.
WTF NOOOOB!! YOU POSTED IN THE WRONG SECTION!! UGH. THIS SHOULD FREAKING BE POSTED IN DEVELOPMENT...i swear..noobs..anyways on a lighter note
welcome to the wonderful world of android!! im pretty new myself but have been trying to do this too. ive been reading various wikis and have come up with this(beware i am about to attempt this this weekend myself)
1)you need to be on froyo 2.2 (att official)
2)you need to pull out flashlite.apk using the android sdk
3)you need to decompile flashlite.apk with baksmali
4)you need to delete the flash files and replace them with romflash.txt
5)recompile with smali and rename it to romflash.apk
6)push it with adb
7)FLASH ROMS AND SCORE!!!!
good luck!! and hope to see moar of u around the forums!
YAY ROM FLASHERZ
ps. does anyone know what cm7 is? can you explain it to me? the guides arent telling me enough...
ps.s to the OP-heres a wonderful guide if smali is to complicated. this tool can help you decompile flash lite and works wonders!!
miui-au. co m/ add-ons/ apktool/(cant post links yet..sorr)
I'm not sure what Megamansrighthandman is talking about, but it isn't correct.
It sounds like both of you are confused about the use of the word "flash". Be careful with the terminology. When someone talks about "flashing a ROM", that simply means installing a ROM. It has nothing to do with Adobe Flash or HTC's Flash Lite. I understand the confusion though. I hope this clears things up.
The process for setting up your phone to be able to install custom ROMs basically breaks down to these steps:
1) "Root" the phone. This is accomplished by using the Unrevoked tool from a computer. There is more information about this in the other sections of this forum. This can only be done on phones that do NOT have the official Android 2.2 update installed. If you have 2.2, you can't root without special hardware.
2) Once "rooted", you can download ROM files and install them through the Clockwork recovery. Installing a ROM is generally referred to as "flashing" (there is a reason it is called this, but it has nothing to do with Adobe Flash).
Wait!! I need 2.1 not 2.2?? I had 2.1 but updated because megamanstightgland told me too. can I still use his methode, since i started already? i was at step 2 and didnt know how to pull out nething (im a girl so i never had to do that b4 tehehe) i didnt want too ask two many noob questions, so i ended up to googling searching his steps to figure out how to do some of them. (i think he meant abd not sdk) here's what I did after updating to 2.2....
[email protected]:~$ sudo su
[sudo] password for luvsmyBfdick:
[email protected]:/home/luvsmyBfdick# sh abd pull flashlite.apk
sh: Can't open abd
[email protected]:/home/luvsmyBfdick# dm -f pull abd out -m flashlite.apk /system/data
dm: command not found
[email protected]:/home/luvsmyBfdick# chmod -v remount adb pull* flashlite.apk /homo/user/system
chmod: invalid mode: `remount'
Try `chmod --help' for more information.
[email protected]:/home/luvsmyBfdick# --help
--help: command not found
[email protected]:/home/luvsmyBfdick# -x <85> /tools/win/usb drivers -r/w flashlite.apk
bash: syntax error near unexpected token `85'
Do you think there is a problem with my permission? I have a flash drive (not adobe) with updated permissions on it, but i canot currently find it.
ps. it's not like i wasnt prepare. i installed linux yesterday in my computer cause i read it make this easier... just trying to surprise my boyfriend with a rooted area for his birthday sunday. thanks so much for the help so far guys. your great!
now im readin that i have to be in root on my phone, not just my computer, to do meganmanswhitechesttanned's methode. i really need to help with one of you geeks. ;(
This is the most random troll thread I've ever seen.
drumist said:
This is the most random troll thread I've ever seen.
Click to expand...
Click to collapse
I couldn't agree more.
I had a so-called "wtf-moment". Apparently a girl with this PC: luvsmyBfdi[email protected] wants to be taken seriously with a question...
I'm thinking this is some weird troll thing...
Closed.
Below,I will list the steps I do to setup my webtop,I am using webtop2sd on a 32GB PNY Class 10 card, and used a 2GB Transcend (not sure on class,im sure its old) card to test with, same results with both pretty much,so I think something im doing is causing it to stop working.
What happends when it stops, is it just wont come up anymore. When I plug the phone into my lapdock, I either get a bluebox with an HDMI not found error (I'm assuming from the dock itself), or the red moto logo that just moves around. I would try resetting the phone, and reinstalling the executable through the webtop2sd app, and it still wont launch. This has happened about 5 times so far, I would get it setup how I would want it to be,then it stops working.
So here is what I would do (there is a phone reboot between each step pretty much)
1. Use my PC to partiton the SD card, ~22 GB FAT32 followed by an ~8GB ext3
2. Use webtop2sd to create the webtop, default settings, aside from the missing dock fix, which I only used 2-3 out of the 5 times I ran it
3. Once I am in the new webtop, I would install terminal and synaptic,then reboot.
4. Then I would run the webtop scripts, version 1.4, hitting yes to everything, then a reboot
5. I would check to see if synaptic is installed, the last time i did this, I had to use aptitude to install it.
6. Once I got synaptic up,I would use it to install the xfce4 package. Just about everytime I would go to install it,I would get an error on the "tzdata" package, the only way I could get past it,would be to uninstall tzdata, then most of the time,whatever I would go to install would reinstall it anyway. This does concern me, because when I remove tzdata, it appears to be tied to a critical package, which may be the source of my problem,but I am not sure.
7. Once I would get xfce4 installed,I would add xfdesktop and xfce-panel to the startup list (those may not be the exact package names,there is another thread I reference for that, can't remember atm, nor can I remember the exact name of that startup file, but its on this forum somewhere). I would also comment out the awmdock one and the webtop desktop one as well.
8. I would reboot,and it would actually boot up xfce4 just fine, the only gripe I have,is that I would usually get an error on the trash service needing thunar, when it is already installed. The one time,I was able to install open office, and test out some youtube videos.
9. At about this time, I would reboot my phone to see if it still works, then I would get the "bouncing moto logo of death" on my lapdock screen, and would have to start over.
One other unrelated note,about every other time I would reboot my phone, it would come up saying SIM card not installed, so I would reboot it again to fix the problem. So there were normally 2 reboots when a reboot is required.
So,I guess I would ask a few direct questions about my problem
1. Has anyone else had a problem with the tzdata package? Is there a way around it without uninstalling it?
2. Could the full xfce4 package be breaking the webtop? Do I only need certain packages out of it?
3. Even though I tested this on 2 different SD cards, could my problem be that the files are just getting corrupted on the card? Its pretty consistant though, I canpretty much say "Look,my awesome webtop is now setup how I want it to be, now watch me reboot my phone to see it not work anymore" everytime I go to set it up.
Info on my phone:
Stock firmware, unlocked bootloader, cwm installed (I thought I needed it,but not for webtop2sd) and rooted running latest webtop2sd. I havent messed with the stock webtop on the phone itself, i rather not since I like having it as a backup.
Btw, I am a bit of a linux n00b, I've pretty much just been reading what other people have been doing. Any help would be appreciated, thanx
You sure like to mod the webtop. Lol jk.
I have no issues and I have webtop with the Lapdock with the Ninja ROM. My phone is bootloader unlocked and rooted. I personally think you modded too much if that's possible. If I were you, I would start over and try webtop with stock firmware or a ROM with a fresh sd card. That way you can know if your phone has a hardware issue or if you modded too much. Hope this helps.
Sent from my Atrix XDA Premium App
I can assure you that your phone is more modded than mine is, since im running stock firmware. What I'm doing is really not that much modding, I'm just trying to get a better interface running on the webtop, which people have posted saying they have the same one working on theirs. Its also not that I can't get it working, its really not hard, just time consuming, I just need to know why it keeps breaking on phone reboots...
teeth_03 said:
I can assure you that your phone is more modded than mine is, since im running stock firmware. What I'm doing is really not that much modding, I'm just trying to get a better interface running on the webtop, which people have posted saying they have the same one working on theirs. Its also not that I can't get it working, its really not hard, just time consuming, I just need to know why it keeps breaking on phone reboots...
Click to expand...
Click to collapse
I honestly think you should try some of my suggestions. I think starting fresh is your best option. When something doesn't wok right or something goes wrong. Starting fresh can fix your issues.
Sent from my Atrix XDA Premium App
I've formatted the SD card about 6-8 times nowsince I got my lapdock 3 days ago
teeth_03 said:
I've formatted the SD card about 6-8 times nowsince I got my lapdock 3 days ago
Click to expand...
Click to collapse
Have you tried reflashing the phone yet with new firmwares or ROMS?
Sent from my Atrix XDA Premium App
why would I do that when the issue has something to do with the files on the SD card?
webtop2sd copies the webtop files from the phone, to the SD card,so the files on the phone are basically out of the equation at that point. So its not a problem with android,but with the other linux files from webtop on the SD card
Oh ok. Well have you tried an all new sd card yet?
Sent from my Atrix XDA Premium App
teeth_03 said:
Below,I will list the steps I do to setup my webtop,I am using webtop2sd on a 32GB PNY Class 10 card, and used a 2GB Transcend (not sure on class,im sure its old) card to test with, same results with both pretty much,so I think something im doing is causing it to stop working.
Click to expand...
Click to collapse
yeah......
I think I fixed it. by finding this little piece of info
http://forum.xda-developers.com/showpost.php?p=18465066&postcount=3
I believe tzdata has been my problem for he past like 3 days I've been messing with this
It has been running great for the past day. XFCE4 is a large improvement over the standard webtop.
Of course, I ran into another snag, I need to access windows network shares, and Samba doesn't seem to be functioning, specifically, the samba-common package wont install correctly.
This user was able to fix it:
http://forum.xda-developers.com/showpost.php?p=19132707&postcount=19
But I have no idea how to fix the read/sym links. Can any linux gurus here explain how that is fixed? Thanx guys!
teeth_03 said:
It has been running great for the past day. XFCE4 is a large improvement over the standard webtop.
Of course, I ran into another snag, I need to access windows network shares, and Samba doesn't seem to be functioning, specifically, the samba-common package wont install correctly.
This user was able to fix it:
http://forum.xda-developers.com/showpost.php?p=19132707&postcount=19
Click to expand...
Click to collapse
Yeah his post was kind of light on the details.
What it looks like is that when the /var/lib/dpkg/samba-common.postinst script is run by dpkg --configure -a it calls a program named ucf that in turn wants to run the symbolic link of "readlink" located in /usr/bin.
This is where i got stuck. I am by no means a linux guru.
I tried deleting the symlink to force ucf to use the "readlink" in the path, tried setting the symlink to point to the "readlink" located in /system/bin and in /system/xbin, and set the symlink to the busybox in /system/bin and to the custom busybox webtop2sd uses in /system/etc/webtop2sd but it did not help.
The output of dpkg changed slightly depending on which "readlink" ucf used but still the same error, "readlink: invalid option", and no samba-common.
Btw my busybox is 1.19.3
2.3.5 webtop on sdcard with fixed dependencies
A little help would be appreciated.
I was told on IRC that the actual problem is that the stock kernel does not include CIPs support, which is what is required for connectivity
but I still dont like the fact that samba package is still broken...
I'm using faux123's 0.2.3 kernel though, which might have CIPs support. Its hard to tell from the changelog and features listed in his kernel thread. Btw the 0.2.3 kernel fixes the broken top panel.
Hey, apparently I can't post in the dev forums yet so here is my question. I have after a week of experimentation gotten webtop2sd to work with a few different set ups on my Atrix with lapdock. However, here is the issue:
I have the latest and greatest Aura ROM Debloated version installed on my (obviously) rooted and unlocked Atrix. I have the webtopmod installed. I have busybox in the correct location. I have a working webtop with working configurator and lxterminal and all that goodness. Problem is when I run the webtop2sd program so I can move the image to the sdcard, the program does the partition part just fine, but consistently fails the file copy portion of the process and aborts. I have no idea what to do. Is it possible to manually copy the webtop image to the section of the sdcard set up for it and if so how?
Thanks ahead guys. Oh and Kudos to Sogarth for making this possible!
well the problem seems to have fixed itself. Though I have no idea why. I kept rebooting and trying and eventually the copying worked. Now have an unlocked jauntu desktop Thanks so much to everyone who posts in this forum regularly. now off to figure out the next part...