Related
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.
hell_lock said:
Click to expand...
Click to collapse
You upgrade a kernel version, by upgrading the kernel updates for that version.
lithid-cm said:
You upgrade a kernel version, by upgrading the kernel updates for that version.
Click to expand...
Click to collapse
Can u elaborate sir?
Sent from my GT-S5360 using XDA
hell_lock said:
Can u elaborate sir?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
It is pretty self explanatory.if you want a 3.0+ kernel, then merge a 3.0+ kernel into your source. Most aosp kernel track from the linux kernel. I am not going to get into the step by steps about it, that you can google.
lithid-cm said:
It is pretty self explanatory.if you want a 3.0+ kernel, then merge a 3.0+ kernel into your source. Most aosp kernel track from the linux kernel. I am not going to get into the step by steps about it, that you can google.
Click to expand...
Click to collapse
But the 3.xx kernel sources are not released for my phone so what should I do?
Sent from my GT-S5360 using XDA
hell_lock said:
But the 3.xx kernel sources are not released for my phone so what should I do?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
One of 4 things, Wait, merge from the linux kernel, merge from a 3.0+ device with similar hardware, or cry about it.
lithid-cm said:
One of 4 things, Wait, merge from the linux kernel, merge from a 3.0+ device with similar hardware, or cry about it.
Click to expand...
Click to collapse
I will choose option 3. Do u know what files should be changed?
Sent from my GT-S5360 using XDA
hell_lock said:
I will choose option 3. Do u know what files should be changed?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
No, pending your source, and the other source, there are way to many different changes that could take place. I would use a tool like beyond compare and diff the folders to see what files are different, then based on your experience, start making changes, compile test, rinse and repeat.
lithid-cm said:
No, pending your source, and the other source, there are way to many different changes that could take place. I would use a tool like beyond compare and diff the folders to see what files are different, then based on your experience, start making changes, compile test, rinse and repeat.
Click to expand...
Click to collapse
I am ready to do that.. Can u tell me how can I reduce the chances of hard brick by doing this intensive testing?
Sent from my GT-S5360 using XDA
hell_lock said:
I am ready to do that.. Can u tell me how can I reduce the chances of hard brick by doing this intensive testing?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Before you start working on it, nandroid backup your system. Its just the kernel, so you can always revert via recovery. Though you should already know that.
lithid-cm said:
Before you start working on it, nandroid backup your system. Its just the kernel, so you can always revert via recovery. Though you should already know that.
Click to expand...
Click to collapse
One wrong step in kernel can hard brick my phone right? Seniors in my forum have taught me not to mess with a kernel unknowingly cuz it has high chances of hard bricking the phone.
Sent from my GT-S5360 using XDA
hell_lock said:
One wrong step in kernel can hard brick my phone right? Seniors in my forum have taught me not to mess with a kernel unknowingly cuz it has high chances of hard bricking the phone.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
That is crap the kernel gets initialized during boot, unless your kernel is flashing a recovery as well, or your using a device without a dedicated recovery?
What do you mean by a dedicated recovery? I am using a samsung phone and we have a recovery mode and a download mode. We have both a permanent cwm and a zip fiw cwm(temporary).
Sent from my GT-S5360 using XDA
the dedicated recovery is a partition on is own, so lets say your mtd/emmc is structured like this
boot
recovery (this should be the dedicated recovery)
system
data
therefore you will be able to delete/flash/reflash the boot without affecting the tablet/system/other partitions
There are some devices that have a different recovery structure (tablets based on the rockchip soc)
Thanks for the help you both! I will learn more about partitions in my phone and come back on this thread.
Sent from my GT-S5360 using XDA
I guess most Samsung phones doesn't come as a recovery partition, it comes as an extra ramdisk as mentioned here.
Anyways I've flashed boot.img which I've compiled, and the first boot was a bootloop, of course. And after doing some changes, compiled again and flashed, and it was a success. So I don't think Kernels can hard-brick the device (IMO though).
For samsung...as long as you have download mode your in the clear...with download mode you can use Odin or heimdall to flash a working kernel or even stock software to return to stock.
Samsungs do not have a partition for recovery...its its own ramdisk..."recovery-ramdisk.img" so you can lose both recovery and boot with a kernel but with download mode and heimdall all you have to get is a working kernel with a working recovery, open terminal and type "heimdall flash --kernel kernelnamehere.includinganyfileextention" so "heimdall flash --kernel boot.img"
Sent from my SGH-I997 using Tapatalk 2
You guys rightly said! We have a ramdisk included with a zImage in a boot.img. I have also seen cases where the recovery mode doesnt come but the download mode is still intact.
A guy from our forum once flashed a s2 kernel on my Y and he hard bricked it. No modes were opening on his phone but according to the theory given by you guys, atleast the download mode should have been working! Care to explain me why that happened? I think the same thing will happen with me when I use sources of other phone for my kernel.
Sent from my GT-S5360 using XDA
So what I read from this thread, if you don't have a recovery dedicated for your device you would hard brick it???
Coz I tried n tested some kernels
They didn't work out -but it was a soft brick
Not a hard brick
I had not made those
Now I'm willing to try once I get some hold on building kernels
And I have a Sony Xperia Neo V
It doesn't have stock recovery like Samsung so if I make or atleast try to make kernels on my own, would I risk my phone getting hard bricked???
Or just soft brick?
Ty for your time!
Sent from my MT11i using xda premium
is there a way to change the SONY logo (not the boot animation, the first image on boot) using windows? ( i dont have time for linux)
i found a tutorial (which is so damn hard) using windows which is unusable ( i cant compile anything on it )
help guys, i know im not the only one around here who wants personalized devices...
btw, thanks in advance
Do you have an unlocked bootloader? Cause you have to edit the kernel
Sent from my Nexus 7 running Android 4.2.1
Yes u can change it using android kitchen....
U can extract a boot.IMG using it...
I have the tut in my browser as bookmark I can send u the tut once I access my PC
Edit: u can follow this tut
http://forum.xda-developers.com/showthread.php?t=1962183
Sent from my SK17i using XDA Premium HD app
RadarZgin said:
i found a tutorial (which is so damn hard) using windows which is unusable ( i cant compile anything on it )
Click to expand...
Click to collapse
I've found a few using the power of Google. change boot img screen, so as with most things you're trying to learn it's going to take reading, practice and more reading if you screw up.
Hi everyone i want to run my device as an emulator for app development.. Im on Ubuntu 12.04
..so the problem is i can't list my device in adb it shows
??????? No permissions...
Things i already did
Created /51–android.rules file
I couldn't find my vendor on google dev site so i copied vendor id by listing all usb devices attached to my computer.. But even that didn't work.. Please help
Sent from my A89 using xda app-developers app
Ummm don't know your device but I would add all the vendors from the dev site and if that won't work I'd Google your devices maker and see if anyone has ever accomplished it
Sent from my Nexus 4 using xda premium
on linux you should run adb as root then it would work , if using eclipse , run it using root user .. and it would also detect phone then..
I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate and tell me please. I am in desperate need for help.
Sent from my LG-P350 using Tapatalk 2
Chain Hacker said:
I am trying to compile a kernel for LGE-P690 from CM ICS source but i don't have the device in my hand i searched all over the net for vendor files but i was unsuccessful in finding vendor files for ics but i found one for gingerbread so is there anyway i could perform ./extract-files.sh without device or can i convert gingerbread vendor files to ics if so how elaborate and tell me please. I am in desperate need for help.
Sent from my LG-P350 using Tapatalk 2
Click to expand...
Click to collapse
If theres not already a master ICS source for your phone(No device tree),then yes you have to use the custom ICS rom on your phone so it can copy the right proprietary files to the source you repoed,or it will not run,you will get bootloops or a soft brick.
eugeneeaster18 said:
Hey, do you have a noobs guide on making a device tree. I know how to compile cyanogenmod, but I have this low legacy device, the Samsung Dart, and it doesnt have a device tree. I want to make ics or jb for it, but have not a clue how to make a tree, all my other phones are htc and samsungs, they already have some.
Click to expand...
Click to collapse
http://linux-sunxi.org/Starting_a_CyanogenMod_device_tree
I have the device tree my question is how to perform ./extract-files.sh without device or is there a way to convert gingerbread vendor files to ics.
Sent from my LG-P350 using Tapatalk 2
Anyone help me please
Sent from my LG-P350 using Tapatalk 2
Ignore this post
Sent from my LG-P350 using Tapatalk 2
Ignore this post
Sent from my LG-P350 using Tapatalk 2