Setting up repositories and pulling source? - Android Q&A, Help & Troubleshooting

Would anyone point me in the direction to do this, new to this so please use lamens terms!
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!

b-eock said:
Would anyone point me in the direction to do this, new to this so please use lamens terms!
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!
Click to expand...
Click to collapse
Hey
You will find all the information related to android development at
http://developer.android.com/guide/index.html
And if you want to pull all sources for android related devices then follow this link,
http://source.android.com/source/initializing.html
For this you will need to be using Linux OS/ Mac OS X OR use cygwin or emulator on windows.
I have given you the most generic instructions available and maintained by Google.
I am not sure which sources do you want to retrieve exactly.
ENJOY!!!
Sent from my CSL-MI410 using XDA App

Napstar said:
Hey
You will find all the information related to android development at
http://developer.android.com/guide/index.html
And if you want to pull all sources for android related devices then follow this link,
http://source.android.com/source/initializing.html
For this you will need to be using Linux OS/ Mac OS X OR use cygwin or emulator on windows.
I have given you the most generic instructions available and maintained by Google.
I am not sure which sources do you want to retrieve exactly.
ENJOY!!!
Sent from my CSL-MI410 using XDA App
Click to expand...
Click to collapse
I have 2 laptops, one will boot Linux, im ok with setting it up(have b4, but couldnt continue cuz it was so old and the HDD was almost full)
But the newer one will not boot into linux, any help, cuz the newer one has plenty of space to work with!
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!

b-eock said:
I have 2 laptops, one will boot Linux, im ok with setting it up(have b4, but couldnt continue cuz it was so old and the HDD was almost full)
But the newer one will not boot into linux, any help, cuz the newer one has plenty of space to work with!
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!
Click to expand...
Click to collapse
I suggest you to use the laptop with high configuration (cpu n RAM) because source compilation is heavy on cpu.
So you can clean hdd of old laptop if its good.
Or make use new laptop.
If you want to use new laptop you can either install linux-ubuntu by partitioning hdd to have dual boot : windows/any other + ubuntu
Or use softwares like VMware to emulate ubuntu in windows. (But this wont be efficient)
Sent from my CSL-MI410 using XDA App

Napstar said:
I suggest you to use the laptop with high configuration (cpu n RAM) because source compilation is heavy on cpu.
So you can clean hdd of old laptop if its good.
Or make use new laptop.
If you want to use new laptop you can either install linux-ubuntu by partitioning hdd to have dual boot : windows/any other + ubuntu
Or use softwares like VMware to emulate ubuntu in windows. (But this wont be efficient)
Sent from my CSL-MI410 using XDA App
Click to expand...
Click to collapse
The old laptops HDD is like 32 GBs, and i tried dualbooting on the new better laptop and it just wouldnt boot, im not a total noob, i know a great deal of things, just i cant get it to boot on the better laptop, can laptops have their bootloaders locked down/
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!

b-eock said:
The old laptops HDD is like 32 GBs, and i tried dualbooting on the new better laptop and it just wouldnt boot, im not a total noob, i know a great deal of things, just i cant get it to boot on the better laptop, can laptops have their bootloaders locked down/
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!
Click to expand...
Click to collapse
Hey,
I am sorry if you are offended, I was just unaware of your situation.
Well I have never faced a situation like locked bootloader on laptops.
Tell me what errors did you find while booting?
Which method did you use while installing? (CD or USB)
Have you been able to boot into Live CD or installation CD of UBUNTU?
Sent from my CSL-MI410 using XDA App

Napstar said:
Hey,
I am sorry if you are offended, I was just unaware of your situation.
Well I have never faced a situation like locked bootloader on laptops.
Tell me what errors did you find while booting?
Which method did you use while installing? (CD or USB)
Have you been able to boot into Live CD or installation CD of UBUNTU?
Sent from my CSL-MI410 using XDA App
Click to expand...
Click to collapse
Im not offended at all, just saying i have some idea on what to do! Im using Wubi to make a partion dedicated to Linux, then i go to boot it up and it just hangs and never boots up.
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!

b-eock said:
Im not offended at all, just saying i have some idea on what to do! Im using Wubi to make a partion dedicated to Linux, then i go to boot it up and it just hangs and never boots up.
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!
Click to expand...
Click to collapse
Okay
From what I have understood, you were able to boot into installation cd and installed the linux system. And after installation when you try to reboot it stucks at bootscreen. Am I right?
Can you specify the details of partition table that you have used during installation? I just want to be clear on all aspects.
Sent from my CSL-MI410 using XDA App

Im on a Fujitsu, and using wubi to make the partion for Linux and install it, but when i choose linux at boot, it just hangs
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!

b-eock said:
Im on a Fujitsu, and using wubi to make the partion for Linux and install it, but when i choose linux at boot, it just hangs
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!
Click to expand...
Click to collapse
Right now, I can think of only two possibilities,
1) incomplete installation (I hope that you have tried installing ubuntu multiple number of times b4 posting, so this possibility should not exist)
2) compatibility issue with your laptop's display chip. Pls try to follow this thread at http://ubuntuforums.org/showthread.php?t=1200519
Though thread discusses about problems during installation itself, but by using -X argument like they have suggested should clear one alternative.
Sent from my CSL-MI410 using XDA App

Napstar said:
Right now, I can think of only two possibilities,
1) incomplete installation (I hope that you have tried installing ubuntu multiple number of times b4 posting, so this possibility should not exist)
2) compatibility issue with your laptop's display chip. Pls try to follow this thread at http://ubuntuforums.org/showthread.php?t=1200519
Though thread discusses about problems during installation itself, but by using -X argument like they have suggested should clear one alternative.
Sent from my CSL-MI410 using XDA App
Click to expand...
Click to collapse
Yahh, ive tried more than 11 times .... i will check that out later cuz i have some work to do, and i will let you know if it helps!
Sent from my Stock KH3/4 2.3.4 Captivate using the XDA Premium App!

Got it to work!! :d
Ok so im on Ubuntu on my new laptop now!!! Thanks, if I need help setting up the repositories or anything would you help???

b-eock said:
Ok so im on Ubuntu on my new laptop now!!! Thanks, if I need help setting up the repositories or anything would you help???
Click to expand...
Click to collapse
Hushh!!!
Finally your ubuntu is up and ready. Congrats!!
Yeah, I will surely help you. But I doubt I will be much of your use. Because I have recently started playing with Android, so I am also still learning.
Anyway, till now I am able to setup cyanogenmod on my computer and have build CWM recovery for my phone (CSL Mi-410).
I have also pulled kernel sources for my device and could successfully compile them.
Tell me if you need any help. I will try to solve it.

Ok got the rwpositories setup, trouble with actually pulling the source, it just fails
Sent from my SAMSUNG-SGH-I897 using xda premium

b-eock said:
Ok got the rwpositories setup, trouble with actually pulling the source, it just fails
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
Do you mean that you have initialized repository by using
repo init -u http://xxxxx.git
by setting up repository?
And does your internet connection requires proxy authentication?

[email protected]:~$ curl*https://android.git.kernel.org/repo
*> ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:30 --:--:-- 0
curl: (7) Failed to connect to 2001:4f8:1:10:1972:112:1:0: Network is unreachable
Any Ideas????
Sent from my SAMSUNG-SGH-I897 using xda premium

I was just following the AOSP info, im up to the http://source.android.com/source/downloading.html and thts where ut fails
Sent from my SAMSUNG-SGH-I897 using xda premium

b-eock said:
[email protected]:~$ curl*https://android.git.kernel.org/repo
*> ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:30 --:--:-- 0
curl: (7) Failed to connect to 2001:4f8:1:10:1972:112:1:0: Network is unreachable
Any Ideas????
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
Does your internet connection requires proxy id and port settings?
Because in that case you will have to provide that to curl command,
Code:
curl -x my-proxy:port https://android.git.kernel.org/repo
And if this proxy requires authentication (like in my case, as I work in my office ) then in that case
Code:
curl -U user:passwd -x my-proxy:port https://android.git.kernel.org/repo

Napstar said:
Does your internet connection requires proxy id and port settings?
Because in that case you will have to provide that to curl command,
Code:
curl -x my-proxy:port https://android.git.kernel.org/repo
And if this proxy requires authentication (like in my case, as I work in my office ) then in that case
Code:
curl -U user:passwd -x my-proxy:port https://android.git.kernel.org/repo
Click to expand...
Click to collapse
I dont think it does but i will let u know!
Sent from my SAMSUNG-SGH-I897 using xda premium

b-eock said:
I dont think it does but i will let u know!
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
I have just found out one more thing.
The server for android.git.kernel.org has been hacked and hence sut down for last few days.
Temporarily you can try other mirror site so as to get your job done.
You can follow these steps given at: http://synrgi.wordpress.com/2011/09/07/android-repository-remedy/
I hope it works this time.

Related

Odin

I like to odin back every so often just for giggles. But I took windows off my computer and installed ubuntu 10.10 its awesome by the way but now I can't find odin for linux. If all else fails I could reinstall windows but I really don't care to do that. Anyone have a link to a .deb file?
Sent from my SGH-T959 using XDA Premium App
Twisted galaxy s said:
I like to odin back every so often just for giggles. But I took windows off my computer and installed ubuntu 10.10 its awesome by the way but now I can't find odin for linux. If all else fails I could reinstall windows but I really don't care to do that. Anyone have a link to a .deb file?
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
Not sure if Heimdall will work for you or not never ran ubuntu
http://forum.xda-developers.com/showthread.php?t=834195
nomadrider123 said:
Not sure if Heimdall will work for you or not never ran ubuntu
http://forum.xda-developers.com/showthread.php?t=834195
Click to expand...
Click to collapse
I will give it a try man thanks
Sent from my SGH-T959 using XDA Premium App
Here is the posting I put up on Heimdall, there are varieties of ways to compile on Ubuntu
http://forum.xda-developers.com/showthread.php?t=944598
Here is a link to show how to compile Hiemdall on Ubuntu
http://redkrieg.com/2010/11/23/compiling-heimdall-on-ubuntu-10-10/
This should get you going............ cheers
oka1 said:
Here is the posting I put up on Heimdall, there are varieties of ways to compile on Ubuntu
http://forum.xda-developers.com/showthread.php?t=944598
Here is a link to show how to compile Hiemdall on Ubuntu
http://redkrieg.com/2010/11/23/compiling-heimdall-on-ubuntu-10-10/
This should get you going............ cheers
Click to expand...
Click to collapse
Thanks oka1
Sent from my SGH-T959 using XDA Premium App

root help using ubuntu for stock 2.2.1

Can anyone point me in the right direction with rooting my galaxy ace.
I'm using Ubuntu and have the stock 2.2.1 firmware on my phone.
Have tried to run superoneclick with mono but cant even get that running.
Thanks in advance
Peter
Of course. Have a look at the dev section and specifically the rooting/flashing/modding STICKY post at the top!
have now got superoneclick running with mono but it will not show my phone. any help?
PJ147 said:
Of course. Have a look at the dev section and specifically the rooting/flashing/modding STICKY post at the top!
Click to expand...
Click to collapse
thanks, this is were i first looked. it all seems to be for windows. will look again
So I tried and tried and tried again to get superoneclick to recognise my phone last night and failed. It hung after starting ADB connection. Would not continue no matter what I tried. Anyone encountered this problem or even tried superoneclick using Ubuntu?
I have looked for a script to run to achieve root but can't find one, as I can use ADB manually. Very frustrating.
Can't even update firmware with Sammy software cos it needs windows
Sent from my XT910 using Tapatalk
A couple of users report success with z4root. Not working here.
I'll keep searching.
Sent from my XT910 using Tapatalk
Use ClockworkMod and upd_1.zip, can all be done on your phone. No need for a pc
Sent from my GT-S5830 using xda premium
KieranFoot said:
Use ClockworkMod and upd_1.zip, can all be done on your phone. No need for a pc
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Aint worling on froyo
Willill it
I say use odin to flash GB
Then u can roo
Sent from my GT-S5830 using xda premium
odin is for windows only i believe, which i dont have, dagnabbit!
i am looking at heimdall although it is not supported and nobody seems to have tried it. atleast not from my quick searching. ill continue to look.
so if i cant root 2.2.1 with linux then i should look at updating firmware to 2.3 and then i can root with standard recovery and a zip update?
download windows 8 consumer preview
its free -_-
Sent from my GT-S5830 using xda premium
spacecaker said:
download windows 8 consumer preview
its free -_-
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
sounds fun. ill try it

(Q) APP installation Errors

I'm on MM CM 7.2 & have been unsuccessful in installing certain apps
Can knockdown 2, Cross court tennis, etc to name a few
Basically heavy games are not being installed
I'm confused with this issue
But another problem
Certain games like temple run & fruit ninja are getting installed however they cannot be moved to sd card
I've reported this issue multiple times to the developer but did not get any reply
Can anyone help me plz
Sent from my Xperia X10 using xda premium
Anyone?
Sent from my Xperia X10 using xda premium
kirti_grewal said:
Anyone?
Sent from my Xperia X10 using xda premium
Click to expand...
Click to collapse
Try to install them with adb, I am using it every time if something cant be installed. Adb will show you why.
Syntax:
adb install /path/to/application.apk
(it will return error why it cant be installed or return simply Success)
HeliumX10 said:
Try to install them with adb, I am using it every time if something cant be installed. Adb will show you why.
Syntax:
adb install /path/to/application.apk
(it will return error why it cant be installed or return simply Success)
Click to expand...
Click to collapse
Thanks man
Although I'm a noob & don't know how to use adb
But I will definitely mess around now & see what happens
Sent from my Xperia X10 using xda premium
kirti_grewal said:
Thanks man
Although I'm a noob & don't know how to use adb
But I will definitely mess around now & see what happens
Sent from my Xperia X10 using xda premium
Click to expand...
Click to collapse
OK, then
YOu have used Flashtool yes? That means you have already installed adb drivers, hopefully
Am I right?
Will continue if this is true
HeliumX10 said:
OK, then
YOu have used Flashtool yes? That means you have already installed adb drivers, hopefully
Am I right?
Will continue if this is true
Click to expand...
Click to collapse
Yes you're correct
I already have the drivers
But
This adb thing is going over my head
So
Installed apps through flashtool
But they're not moving to sd card
Adb is out of league
I'm not a dev just a plain user
Sent from my Xperia X10 using xda premium
By the way I contacted the developer even though development is stopped
He said it's most probably a build.prop error
Sent from my Xperia X10 using xda premium

Ubuntu 12 on i9300?

Hi just seeing if it is possible to install Ubuntu using the Omega ROM or if anyone has tried it as the stock ROM gives a ' loop device '. So basically anyone know if the Omega ROM is loop-Device enabled please.
Many thanks.
Sent from my GT-I9300 using xda premium
I installed Backtrack (based on Ubuntu) on my Omega V3 rom a few hours ago. No problems at all. I could even hook up my mouse and my keyboard via OTG and use them inside Backtrack.
member68 said:
I installed Backtrack (based on Ubuntu) on my Omega V3 rom a few hours ago. No problems at all. I could even hook up my mouse and my keyboard via OTG and use them inside Backtrack.
Click to expand...
Click to collapse
that is good to know. how much did you use it? is it stable on the S3?
Hello,
Somebody can explain how to do that ?
I haven't see any info about that
TY
Ankta'
mertzi said:
that is good to know. how much did you use it? is it stable on the S3?
Click to expand...
Click to collapse
Used it for ~30 minutes. It can't compete with my dedicated server but it's definitely usable and stable.
anktarius said:
Hello,
Somebody can explain how to do that ?
I haven't see any info about that
TY
Ankta'
Click to expand...
Click to collapse
Try this https://play.google.com/store/apps/details?id=com.zpwebsites.completelinuxinstaller
Sent from my GT-I9300 using xda premium
Do you know if i can only install an custom kernel which will work with ubuntu for the SGS 3 (loop device)? instead of installing the omega rom?
Doesn't the stock kernel support it? Well, you should be able to flash a kernel with loop support to make it work.
Sent from my GT-I9300 using xda premium
Yeah but which kernel? And will i lose data if I do?
Have you tried running Ubuntu with the stock kernel? Only if it did NOT work, use another kernel. You won't loose your data by doing so. Just look up in the development forum which Kernel Omega uses (I think it was IntraTech's Insecure Kernel), find a download link for your version (e.g. ALE8, 9, D, F) and flash it.
Sent from my GT-I9300 using xda premium
No with the stock kernel it does not work.... sadly
i tried ubuntu 12 with omega v4 but loop devices still not enabled. any suggestions?
Sent from my GT-I9300 using xda premium
I did the same here, i now have root and omega v4.
With orginal script a error that says unable to create loop device.
With latest script it says:
"ubuntu.sh[23]: cut: not found
Error: This script requires root! Type: su
1|[email protected]:/sdcard/ubuntu # su
[email protected]:/mnt/sdcard/ubuntu # sh ubuntu.sh
ubuntu.sh[23]: cut: not found
Error: This script requires root! Type: su
1|[email protected]:/mnt/sdcard/ubuntu #"
I am really getting agritated....
What the hell am i doing wrong?
Only thing i can think of is that member68 got it working with omega 3 because maybe omega 3 has a kernel with loop and omega 4 does not, anyone?
Really appreciate all help!
member68 said:
I installed Backtrack (based on Ubuntu) on my Omega V3 rom a few hours ago. No problems at all. I could even hook up my mouse and my keyboard via OTG and use them inside Backtrack.
Click to expand...
Click to collapse
So you only installed omega v3.0 and backtrack worked?
Not another kernel or something?
I had Chainfire's insecure kernel installed before I installed Omega V3. After that, I switched to V4 and it's still working.
Sent from my GT-I9300 using xda premium
well figured it out:
see....
http://forum.xda-developers.com/showthread.php?p=27166633#post27166633

[Q] S-off failed

Unfortunatly this is my 3rd thread about s-off and didnt succeed right now..
i do exactly the unlimited.io/juopunutbear.htm said but not working for me..
First i unlocked my bootloader
then make a ubuntu livecd and write a ubuntu dvd and then restart my window..
its start ubuntu and i click on Try Ubuntu then in ubuntu i open terminal and do exactly what they said..
on last step
Run ControlBear from terminal - sudo ./ControlBear
it said adb.tmp not found
fastboot.tmp not found..
i dont know where i am doing wrong i try almost 30 times and the same happend to me..
i m using window 7 64 bit
and my amaze running on 2.3 stock
shababmalik05 said:
Unfortunatly this is my 3rd thread about s-off and didnt succeed right now..
i do exactly the unlimited.io/juopunutbear.htm said but not working for me..
First i unlocked my bootloader
then make a ubuntu livecd and write a ubuntu dvd and then restart my window..
its start ubuntu and i click on Try Ubuntu then in ubuntu i open terminal and do exactly what they said..
on last step
Run ControlBear from terminal - sudo ./ControlBear
it said adb.tmp not found
fastboot.tmp not found..
i dont know where i am doing wrong i try almost 30 times and the same happend to me..
i m using window 7 64 bit
and my amaze running on 2.3 stock
Click to expand...
Click to collapse
Lol i accidentally hit the thanks button lol.. Just talk to the unlimited .io devs through their irc they will help
Sent from my HTC_Amaze_4G using xda premium
Do you have a windows pc? are you on GB or ICS?
Dark Nightmare said:
Do you have a windows pc? are you on GB or ICS?
Click to expand...
Click to collapse
I have a window 64 bit.
And my phone running on gb stock
Check your inbox.
Sent from my SGH-M919 using Tapatalk 4 Beta
shababmalik05 said:
I have a window 64 bit.
And my phone running on gb stock
Click to expand...
Click to collapse
If you have the s off windows version just run it from the windows administrator account and use the instructions as in unlimited.io, it worked for me that way.. I had 64bit aswell my 1sy attempt lead me to a soft brick cuz the s off process stopped in the middle so run it from administrator account
Sent from my HTC_Amaze_4G using xda premium
ravike14 said:
Lol i accidentally hit the thanks button lol.. Just talk to the unlimited .io devs through their irc they will help
Sent from my HTC_Amaze_4G using xda premium
Click to expand...
Click to collapse
okzx man i will try..
But is there any other process to do that..
i really dont like ubuntu
shababmalik05 said:
okzx man i will try..
But is there any other process to do that..
i really dont like ubuntu
Click to expand...
Click to collapse
Once you learn more about it you will appreciate Ubuntu and Linux a whole lot more. Linux is no joke it is a great kernel if you didn't know already Android is based off Linux and you run it every day.
While installing ubuntu onto your pc just to s off seems inconvenient it is actually safer on Ubuntu since unlimited.io found a vulnerability and discontinued the Windows S off method and moved it to ubuntu.
If you get a windows version you won't get support from unlimited.io and not so much from xda since we respect their wish of not supporting the windows method.
Sent from my HTC_Amaze_4G using Tapatalk 2
SuperAfnan said:
Once you learn more about it you will appreciate Ubuntu and Linux a whole lot more. Linux is no joke it is a great kernel if you didn't know already Android is based off Linux and you run it every day.
While installing ubuntu onto your pc just to s off seems inconvenient it is actually safer on Ubuntu since unlimited.io found a vulnerability and discontinued the Windows S off method and moved it to ubuntu.
If you get a windows version you won't get support from unlimited.io and not so much from xda since we respect their wish of not supporting the windows method.
Sent from my HTC_Amaze_4G using Tapatalk 2
Click to expand...
Click to collapse
Luckily that i still keep the version for windows, both of ics and gingerbread, you can download from here https://docs.google.com/folder/d/0BxyT6r2965jYNlcyS1NCQmtqbjQ/edit
Click tks if it's useful for you.
Sent from my HTC One X+ using xda premium

Categories

Resources