Hi Folks
I've been hacking away getting CM-10.2 to build for x86 based devices, It turned out to be not too bad in the end with a couple of patches here and there to get things building :good:
I already submitted the patch for bionic upstream to CM and will submitting the busybox / build system changes after I run a couple of more tests to make sure I haven't broken anything elsewhere. In the meantime I've setup a custom manifest which "should" build a x86 cm-10.2 without error
I've only provided a basic device tree as I've not got a device ( yet! ) and am I reluctant to do blind builds as I rather not be responsible for some ones shiny expensive brick on account of something I've forgotten, included or plain f'ed up etc.
As this is not a lesson in how to build CM from source, I'll just say the magic words are
Code:
repo init -u git://github.com/trevd/android_manifest.git -b cm-10.2 -m p52xx.xml
repo sync
Like I mentioned the Device Tree is very basic and there's still much to do with regards .. well everything really but mainly the hardware libraries and what is open source and what isn't, at this stage it shouldn't cause too much of an issue for all the hardware libraries ( those found in /system/lib/hw and /system/vendor/hw ) to be ripped from the device because the api levels haven't changed between 4.3 and 4.2.2 AFAIK .
Anyway It's a starter for 10 to anyone who's interested once again if anyone is making changes to the device tree the obviously you are free to fork the project github or if you send me your github user name I'll happily add you as a collaborator to the existing repo ( https://github.com/trevd/android_device_samsung_p52xx )
Hack On Folks! :laugh:
Ill have a look to complete the device tree this week
deleted
Hi Folks,
Just a quick update on this, The bionic and busybox patches are now upstream in cyanogenmod's sources, So it's Just the kernel building and a small patch to powertop to see CM's source's building out of the box without the need for my "special" manifest :good:
I don't want to sound bossy or anything
May I ask if there will some sort of vanilla ROM for the Galaxy Tab 3 10.1 wifi variant?
Because Touchwiz seems to slow down the device quite a lot.
I do not wish to be in polite, I apologise if I am
Battlehero said:
May I ask if there will some sort of vanilla ROM for the Galaxy Tab 3 10.1 wifi variant?
Because Touchwiz seems to slow down the device quite a lot.
I do not wish to be in polite, I apologise if I am
Click to expand...
Click to collapse
Not from me there won't be , sorry . I'm just doing a bit of "device enabling" here at the minute. But build roms isn't really that difficult once you get started Get Involved
trevd said:
Not from me there won't be , sorry . I'm just doing a bit of "device enabling" here at the minute. But build roms isn't really that difficult once you get started Get Involved
Click to expand...
Click to collapse
But I tried on the internet on how to port Cyanogenmod, but the process seems a difficult considering my knowledge of coding. I guess I'll just have to wait for a port
Thank you for your response.
Battlehero said:
But I tried on the internet on how to port Cyanogenmod, but the process seems a difficult considering my knowledge of coding. I guess I'll just have to wait for a port
Thank you for your response.
Click to expand...
Click to collapse
Admittedly , There is a learning curve involved and piecing together of information, mainly figuring out what a device is made up of this and then just doing and experimenting, Although it maybe a brave soul who tries that on a shiny £300GBP device with no previous experience.
This book is probably the only thing out there that kinda goes into details of adding new devices http://shop.oreilly.com/product/0636920021094.do . I picked up the electronic version for around $7 USD after searching around for vouchers for various ebook retailers although it's well worth its cover price.
I will say this manifest is a good start and does pull in the kernel for the device based off of samsung open source stuff
On a side note : I've been talking to some of the CM team while getting these patches upstream and they are actively working on adding x86 support internally so who knows you might see something official pop out [ ** starts the rumor-mill ** ]
Thank You!
trevd said:
Admittedly , There is a learning curve involved and piecing together of information, mainly figuring out what a device is made up of this and then just doing and experimenting, Although it maybe a brave soul who tries that on a shiny £300GBP device with no previous experience.
This book is probably the only thing out there that kinda goes into details of adding new devices http://shop.oreilly.com/product/0636920021094.do . I picked up the electronic version for around $7 USD after searching around for vouchers for various ebook retailers although it's well worth its cover price.
I will say this manifest is a good start and does pull in the kernel for the device based off of samsung open source stuff
On a side note : I've been talking to some of the CM team while getting these patches upstream and they are actively working on adding x86 support internally so who knows you might see something official pop out [ ** starts the rumor-mill ** ]
Click to expand...
Click to collapse
You sir certainly have risen my hopes! but I don't know if I want to start getting into Android development as of yet because I have my school courses to study. I will see later on if I have some free time to start learning how to do basic coding!
I think I will just wait for someone to make a x86 version of CyanogenMod and hopefully they'll make an official release for this tablet as I think this 10.1 inch tablet has some potential.
trevd said:
Hi Folks
I've been hacking away getting CM-10.2 to build for x86 based devices, It turned out to be not too bad in the end with a couple of patches here and there to get things building :good:
I already submitted the patch for bionic upstream to CM and will submitting the busybox / build system changes after I run a couple of more tests to make sure I haven't broken anything elsewhere. In the meantime I've setup a custom manifest which "should" build a x86 cm-10.2 without error
I've only provided a basic device tree as I've not got a device ( yet! ) and am I reluctant to do blind builds as I rather not be responsible for some ones shiny expensive brick on account of something I've forgotten, included or plain f'ed up etc.
As this is not a lesson in how to build CM from source, I'll just say the magic words are
Code:
repo init -u git://github.com/trevd/android_manifest.git -b cm-10.2 -m p52xx.xml
repo sync
Like I mentioned the Device Tree is very basic and there's still much to do with regards .. well everything really but mainly the hardware libraries and what is open source and what isn't, at this stage it shouldn't cause too much of an issue for all the hardware libraries ( those found in /system/lib/hw and /system/vendor/hw ) to be ripped from the device because the api levels haven't changed between 4.3 and 4.2.2 AFAIK .
Anyway It's a starter for 10 to anyone who's interested once again if anyone is making changes to the device tree the obviously you are free to fork the project github or if you send me your github user name I'll happily add you as a collaborator to the existing repo ( https://github.com/trevd/android_device_samsung_p52xx )
Hack On Folks! :laugh:
Click to expand...
Click to collapse
Are you still in development for this device ?
Hi
I will refer you to this weeks cm blog post
http://www.cyanogenmod.org/blog/last-week-in-cm-oct-27-13
and this patch
http://review.cyanogenmod.org/#/c/51502/
By the way that post reads I was never working on it lol. Regardless it seems official support. isn't too far off in the future.
I pushed pciutils last week so My work is done here as you can now build cm's userspaces for x86 ..kernel building however is as I told them. I'd let them figure out the changes internally because the file is a wreck and it should never have been left to get to that point... it's there mess to sort
Sent from my GT-P1000 using XDA Premium 4 mobile app
There is now a build of cm10.2 for Razr i....its alpha but its booting and works
Enviado desde mi XT890 mediante Tapatalk
Marco Lomas said:
There is now a build of cm10.2 for Razr i....its alpha but its booting and works
Enviado desde mi XT890 mediante Tapatalk
Click to expand...
Click to collapse
Its fully functional on the 10.1?
Sent from my GT-P5210 using xda app-developers app
EVIIIL said:
Its fully functional on the 10.1?
Sent from my GT-P5210 using xda app-developers app
Click to expand...
Click to collapse
No, its only an alpha build NOT for galaxy, its for Razr I, but its also a x86 processor
Enviado desde mi XT890 mediante Tapatalk
Marco Lomas said:
No, its only an alpha build NOT for galaxy, its for Razr I, but its also a x86 processor
Enviado desde mi XT890 mediante Tapatalk
Click to expand...
Click to collapse
Step in the right direction. Sucks that there isnt any options for these.
Sent from my GT-P5210 using xda app-developers app
EVIIIL said:
Step in the right direction. Sucks that there isnt any options for these.
Sent from my GT-P5210 using xda app-developers app
Click to expand...
Click to collapse
It wouldn't take much effort to get the razri rom to work, just some small changes here and there.
still working on it... but itś a pain..
New recovery builds, but doeasn boot...
CM never completes the build.... Pain in the Brain.
Patching now, lets see what will happen.
Made:
device_samsung_p52XX
&
vendor_samsung_p52xx
When I hava an alpha you will hear from me.
But a new kernel & recovery will be posted before that... I think....
If you wanna collaberate, sand me a PM... as i'm not a great cm guru
PS. I need a boot.img from a p5200
And trevd... I found a file in the system that is interesting...
Have you any idea on how we might be able to use it?
Process.P
Code:
out/target/product/santos103g/obj/STATIC_LIBRARIES/libsec_cryptfs_intermediates/../../../system/vold/Process.o: \
vendor/samsung/common/external/libsec_devenc/cryptfs/../../../system/vold/Process.cpp \
build/core/combo/include/arch/target_linux-x86/AndroidConfig.h \
bionic/libc/include/stdio.h bionic/libc/include/sys/cdefs.h \
bionic/libc/include/sys/cdefs_elf.h \
bionic/libc/include/android/api-level.h bionic/libc/include/sys/_types.h \
bionic/libc/arch-x86/include/machine/_types.h \
/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEANPLUS_SANTOS10-RF_EUR-OPEN_REL-USER/android/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/include/stdarg.h \
/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEANPLUS_SANTOS10-RF_EUR-OPEN_REL-USER/android/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/include/stddef.h \
bionic/libc/include/sys/types.h bionic/libc/include/stdint.h \
bionic/libc/kernel/common/linux/posix_types.h \
bionic/libc/kernel/common/linux/stddef.h \
bionic/libc/kernel/common/linux/compiler.h \
bionic/libc/kernel/arch-x86/asm/posix_types.h \
bionic/libc/kernel/arch-x86/asm/posix_types_32.h \
bionic/libc/kernel/arch-x86/asm/types.h \
bionic/libc/kernel/common/linux/types.h \
bionic/libc/arch-x86/include/machine/kernel.h \
bionic/libc/include/sys/sysmacros.h bionic/libc/include/unistd.h \
bionic/libc/include/sys/select.h bionic/libc/include/sys/time.h \
bionic/libc/kernel/common/linux/time.h bionic/libc/include/signal.h \
bionic/libc/include/limits.h bionic/libc/include/sys/limits.h \
bionic/libc/kernel/common/linux/limits.h \
bionic/libc/arch-x86/include/machine/internal_types.h \
bionic/libc/arch-x86/include/machine/limits.h \
bionic/libc/include/sys/syslimits.h \
bionic/libc/kernel/arch-x86/asm/page.h \
bionic/libc/kernel/arch-x86/asm/page_32.h bionic/libc/include/string.h \
bionic/libc/include/malloc.h bionic/libc/kernel/arch-x86/asm/signal.h \
bionic/libc/kernel/common/asm-generic/signal.h \
bionic/libc/include/errno.h bionic/libc/kernel/common/linux/errno.h \
bionic/libc/kernel/arch-x86/asm/errno.h \
bionic/libc/kernel/common/asm-generic/errno.h \
bionic/libc/kernel/common/asm-generic/errno-base.h \
bionic/libc/kernel/arch-x86/asm/siginfo.h \
bionic/libc/kernel/common/asm-generic/siginfo.h \
bionic/libc/include/sys/sysconf.h \
bionic/libc/kernel/common/linux/capability.h \
bionic/libc/include/pathconf.h bionic/libc/include/fcntl.h \
bionic/libc/kernel/common/linux/fcntl.h \
bionic/libc/kernel/arch-x86/asm/fcntl.h \
bionic/libc/kernel/common/asm-generic/fcntl.h \
bionic/libc/include/dirent.h bionic/libc/include/ctype.h \
bionic/libc/include/pwd.h bionic/libc/include/stdlib.h \
bionic/libc/include/alloca.h bionic/libc/include/strings.h \
bionic/libc/include/memory.h bionic/libc/include/poll.h \
bionic/libc/kernel/common/linux/poll.h \
bionic/libc/kernel/arch-x86/asm/poll.h \
bionic/libc/kernel/common/asm-generic/poll.h \
bionic/libc/include/sys/stat.h bionic/libc/kernel/common/linux/stat.h \
bionic/libc/arch-x86/include/endian.h bionic/libc/include/sys/endian.h \
system/core/include/cutils/log.h bionic/libc/include/time.h \
bionic/libc/include/pthread.h bionic/libc/include/sched.h \
system/core/include/cutils/uio.h bionic/libc/include/sys/uio.h \
bionic/libc/kernel/common/linux/uio.h system/core/include/cutils/logd.h \
system/core/include/android/log.h \
vendor/samsung/common/external/libsec_devenc/cryptfs/../../../system/vold/Process.h
vendor/samsung/common/external/libsec_devenc/cryptfs/../../../system/vold/Process.cpp :
build/core/combo/include/arch/target_linux-x86/AndroidConfig.h :
bionic/libc/include/stdio.h bionic/libc/include/sys/cdefs.h :
bionic/libc/include/sys/cdefs_elf.h :
bionic/libc/include/android/api-level.h bionic/libc/include/sys/_types.h :
bionic/libc/arch-x86/include/machine/_types.h :
/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEANPLUS_SANTOS10-RF_EUR-OPEN_REL-USER/android/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/include/stdarg.h :
/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEANPLUS_SANTOS10-RF_EUR-OPEN_REL-USER/android/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/bin/../lib/gcc/i686-linux-android/4.6/include/stddef.h :
bionic/libc/include/sys/types.h bionic/libc/include/stdint.h :
bionic/libc/kernel/common/linux/posix_types.h :
bionic/libc/kernel/common/linux/stddef.h :
bionic/libc/kernel/common/linux/compiler.h :
bionic/libc/kernel/arch-x86/asm/posix_types.h :
bionic/libc/kernel/arch-x86/asm/posix_types_32.h :
bionic/libc/kernel/arch-x86/asm/types.h :
bionic/libc/kernel/common/linux/types.h :
bionic/libc/arch-x86/include/machine/kernel.h :
bionic/libc/include/sys/sysmacros.h bionic/libc/include/unistd.h :
bionic/libc/include/sys/select.h bionic/libc/include/sys/time.h :
bionic/libc/kernel/common/linux/time.h bionic/libc/include/signal.h :
bionic/libc/include/limits.h bionic/libc/include/sys/limits.h :
bionic/libc/kernel/common/linux/limits.h :
bionic/libc/arch-x86/include/machine/internal_types.h :
bionic/libc/arch-x86/include/machine/limits.h :
bionic/libc/include/sys/syslimits.h :
bionic/libc/kernel/arch-x86/asm/page.h :
bionic/libc/kernel/arch-x86/asm/page_32.h bionic/libc/include/string.h :
bionic/libc/include/malloc.h bionic/libc/kernel/arch-x86/asm/signal.h :
bionic/libc/kernel/common/asm-generic/signal.h :
bionic/libc/include/errno.h bionic/libc/kernel/common/linux/errno.h :
bionic/libc/kernel/arch-x86/asm/errno.h :
bionic/libc/kernel/common/asm-generic/errno.h :
bionic/libc/kernel/common/asm-generic/errno-base.h :
bionic/libc/kernel/arch-x86/asm/siginfo.h :
bionic/libc/kernel/common/asm-generic/siginfo.h :
bionic/libc/include/sys/sysconf.h :
bionic/libc/kernel/common/linux/capability.h :
bionic/libc/include/pathconf.h bionic/libc/include/fcntl.h :
bionic/libc/kernel/common/linux/fcntl.h :
bionic/libc/kernel/arch-x86/asm/fcntl.h :
bionic/libc/kernel/common/asm-generic/fcntl.h :
bionic/libc/include/dirent.h bionic/libc/include/ctype.h :
bionic/libc/include/pwd.h bionic/libc/include/stdlib.h :
bionic/libc/include/alloca.h bionic/libc/include/strings.h :
bionic/libc/include/memory.h bionic/libc/include/poll.h :
bionic/libc/kernel/common/linux/poll.h :
bionic/libc/kernel/arch-x86/asm/poll.h :
bionic/libc/kernel/common/asm-generic/poll.h :
bionic/libc/include/sys/stat.h bionic/libc/kernel/common/linux/stat.h :
bionic/libc/arch-x86/include/endian.h bionic/libc/include/sys/endian.h :
system/core/include/cutils/log.h bionic/libc/include/time.h :
bionic/libc/include/pthread.h bionic/libc/include/sched.h :
system/core/include/cutils/uio.h bionic/libc/include/sys/uio.h :
bionic/libc/kernel/common/linux/uio.h system/core/include/cutils/logd.h :
system/core/include/android/log.h :
vendor/samsung/common/external/libsec_devenc/cryptfs/../../../system/vold/Process.h :
It has a Process.o as well in: /system/vold
One question
Is the Samsung Open Source Center a bit of helping?
Sent from my GT-P5210 using xda app-developers app
Take it. Here is a boot.img from GT-P5210. Hope it helps!
Related
TIME TO MOVE ON
i wil be on xperia section
i am happy that i could help this section
Best Regards, Happy Cookling and Programing!
Hy all
I started this tread because the interest to android is growing
I invite all people with linux knowledge or C programing skills to join
If you know some hardware programing is better
We need
- developpers
- testers
i will not post an guide how to setup the compiler and set variables
if you dont know this stuff please stick to Google Android thread and dont post here stupid questions as IT IS READY / WHEN WILL IT BE READY
WE DO THIS IN OUR SPARE TIME AND WE HAVE FAMILY AND LIFE
So shell we invite the penguin to our phones?
WIKI Page
(Thanks Bikor_gj)
http://wiki.xda-developers.com/index.php?pagename=Niki_Android
GIT Trees
Vogue
http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue
MSM
http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25
Reserved For Messages
Build Instructions for the ones that want to help
- Create working dir:
Code:
mkdir ~/android-kernel
- Go to the dir:
Code:
cd ~/android-kernel
- Clone the Linuxtogo GIT:
Code:
git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git
- Go into newly created dir:
Code:
cd ~/android-kernel/kernel
- Create a new branch, call it htc-msm and link it to the official htc-msm development branch:
Code:
- Descend into the "main" android dir:
Code:
cd ~/android-kernel
- Get toolchain:
Code:
wget http://www.codesourcery.com/gnu_too...-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
- maybe you need to rename the just downloaded file (because after .tar.bz2 wget has added ?lite=arm). (HINT FOR LINUX-NEWBIES: USE TAB TO COMPLETE KNOWN FILENAMES!! - In this case type: mv arm(TAB) arm(TAB) -> backspace till 'bz2' is the last word)
Code:
mv arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2\?lite\=arm arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
- unpack the toolchain:
Code:
tar -xjf arm-2008q1-126-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
- ascend again into the 'kernel' directory:
Code:
cd ~/android-kernel/kernel
- make the kernel:
Code:
git checkout -b htc-vogue origin/htc-vogue
You also have to use
Code:
make vogue_defconfig ARCH=arm
- export path so the newly downloaded toolchain will be used instead of your default compiler (which would compile for your computer instead of your phone):
Code:
export PATH=~/android-kernel/arm-2008q1/bin:$PATH
- make the zImage-file:
Code:
make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
Now the zImage file is created inside the directory kernel/arch/arm/boot.
When uploading this to your phone, remember that you only have to replace the zImage after each kernel build - the Linux environment on top of the kernel can just stay the same, so initrd (which is the ramdisk filesystem) can stay the same.
BR
Reserved For Kernel Status
Kernel status
no more power button //thanks biktor_gj
nike mtype added
audio working
call working
data working
sms unknown //due to keyboard and ts
keyboard screwed // somethings not right needs investigation
OnSreenKeyboard working
Touch screwed // SOLVED
when this kernel probelms will be solved i will release the new kernel
I have knowledge of both C and linux so I vollunteer
hi,
i can be a tester... also i have some little linux knowledge...
I have limited knowledge of both c and linux, so I possibly could help.
It seems useful however to setup an SVN or something, so even 'non-registered' developers can write patches and submit them for review. You can set up such an SVN for free at assembla.com, together with a wiki, TRAC and more. They even say you can ask for more storage space and stuff if your project is an open-source project.
If you have such an SVN developers like me can help without making any false promises of some sort.
I hope you know what I mean, it sounded better in my head
i know linux and i can do beta tester. i'm studying engineering too.
i also know linux and a bit of C...i can do testing too.
as you already know, I'm in too for development...
i will try the new kernel asap...
I tried this kernel and indeed, the keypad works on mine!
(touched the TS though, just because you said I wasn't allowed ) It froze, so reboot...
awesome! keys work all good! numbers work and also dpad and enter works!
(by the way: how will you make it possible to enter text? android is coded to enter numbers...
the_fish said:
awesome! keys work all good! numbers work and also dpad and enter works!
(by the way: how will you make it possible to enter text? android is coded to enter numbers...
Click to expand...
Click to collapse
I believe by the end of this year or somewhere in the beginning of 2009 Google is making a system for creating software input methods, which would theoretically allow us to write an application that would reroute direct hardware input. I think. We'll have to see what the future will (or the talented developers here) bring.
man, awesome!!! good job, jerpelea. keys work great!!
graey said:
I believe by the end of this year or somewhere in the beginning of 2009 Google is making a system for creating software input methods, which would theoretically allow us to write an application that would reroute direct hardware input. I think. We'll have to see what the future will (or the talented developers here) bring.
Click to expand...
Click to collapse
ok... the onscreen keyboard would be ok for the time we have to wait
Jerpelea: Why do you want Ubuntu as dev os? I'm using OpenSuSE and am able to build the kernel.
I am thinking (since 2 weeks) to try Ubuntu again (used to use it), but may take while before I get to it...
Boylen said:
Jerpelea: Why do you want Ubuntu as dev os? I'm using OpenSuSE and am able to build the kernel.
I am thinking (since 2 weeks) to try Ubuntu again (used to use it), but may take while before I get to it...
Click to expand...
Click to collapse
I think he is just saying that because it's easier for people to use??
works fine for me on vanilla debian
new kernel works fine screen still too responsive keys work calls work
it works! but after few minutes my nike is auto-turned off :O
garsim said:
it works! but after few minutes my nike is auto-turned off :O
Click to expand...
Click to collapse
i guess we have turn the auto turn off in wm to unlimited or run it on usb plug...
== Modded SpareParts for Android 2.2 ==
As no one seems more than that interrested into this, I'll not maintain this thread.
SpareParts Mod sources are still on github.
I'll now one integrate this to Settings into my ROM.
THIS THREAD IS FOR DEV
Hi,
I'm the cooker of LeoFroYo, a Android 2.2 ROM.
In that ROM I started modding the basic SpareParts from AOSP 2.1-update1.
Quite some people enjoyed it.
So here I am, releasing my sources to get it vastly improved by all devs and to get it included by all the ROMs that would like to.
I know Java for... like 2 weeks.
So my code needs to be improved and more flexible for the other ROM cookers.
I'm developing this only for Google Nexus One - but feel free to port.
Special thanks to imfloflo for help and support, djmcnz for ideas and advices and jlevy73 for betatesting (not the only one, but mostly).
== Source code ==
@github: http://github.com/leonnib4/development_apps_SpareParts
# aptitude install git-core
$ cd && git clone git://github.com/leonnib4/development_apps_SpareParts.git
To compile it, you will need the Android source and copy my repo:
# aptitude install git-core gnupg sun-java5-bin sun-java5-jre sun-java5-jdk sun-java5-demo flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev bison
Alternatively you can get java5 here: http://android.shk-desktop.com/java5/
$ curl http://android.git.kernel.org/repo ~/bin/repo
$ chmod a+x ~/bin/repo
$ cd && mkdir android && cd android
$ repo init-u git://android.git.kernel.org/platform/manifest.git -b eclair
$ repo sync
This will take time... and download something like 2.4GB.
$ rm -rf developement/apps/SpareParts
$ mv ~/development_apps_SpareParts developement/apps/SpareParts
$ make SpareParts && adb install -r out/target/product/generic/system/app/SpareParts.apk && adb logcat
== Readme ==
This is meant to be included by who ever would like to.
But please respect my work (on my free time as I'm also studient in a IT school):
- do not say this is only your work
- do not forget to give me credits
- respect my english (as I'm a young french) and my poor skills in Java (which is totally new to me)
You also might want to consider to buy me a beer
To adapt to your ROM:
1. Get the sources
-or-
2. Get apktool.
$ apktool d SpareParts.apk out/
Edit out/res/values/string.xml and out/res/xml/spare_parts.xml.
$ apktool b out
To not forget to sign the .apk!
== Downloads ==
old
http://github.com/leonnib4/development_apps_SpareParts
Addons & co. : http://android.shk-desktop.com/SpareParts/
new
Now integrated into Settings: http://github.com/leonnib4/packages_apps_Settings
New addons & co: http://android.shk-desktop.com/LeoParts/
http://android.shk-desktop.com/SpareParts/
== Features ==
from leonnib4
ROM infos
Name
Version
Build
Fingerprint
System version
Kernel
Radio
Check for update
Tweaks
Stock App2SD
Screen Timeout
UI sounds
Fix permissions
Quick commands
Reboot
Reboot recovery
Reboot bootloader
Remount RW
Remount RO
Addons
Bootanimation
Notification bar
Trackball Alert
Headset volume ctrl.
Trackball Wake
HTC_IME
Restore stock Launcher2
(Samsung) Galaxy LWPs
About
from Enomther
Data Storage Options
from Google
Original SpareParts as of AOSP 2.1-update1
== ToDo ==
Show progress bar % during download
Check if file exists in /data/local/tmp after download
Auto set defaults values (checks)
And I might need help for this.
== Legal ==
Bootanimation: stock or mine (from frysee
Notification bar: free
Trackball Alert (from lilHermit)
Headset volume ctrl: from t0ol
Trackball Wake: actually myLock, free from Market
HTC_IME: free
Launcher2: stock
So this adds trackball wake?
Good post.
Thanks for thanks.
I have a question cause i'm not totally sure about the addons section have you got all rights to use and share this software in your mod ?
And if you can add a little line of description for each futur it'll be the perfect MOD
Markdental said:
So this adds trackball wake?
Click to expand...
Click to collapse
This is not yet for all roms.
Work in progress.
And no for now my modded SpareParts installs myLock and set it to act like:
- double press unlock
- power button unlcok directly
Trackball Waker simply do NOT work for Android 2.2 for now
LEGAL
@imfloflo:
Bootanimation is stock or mine
Notification bar is free
Trackball Alert is OK (lilHermit)
Headset volume ctrl. is free from xda
Trackball Wake is myLock, free, from Market
HTC_IME is free
stock Launcher2: well, it's stock
Basicly it just download apk I pull from my device after installing from Market
except from RockDivxPlayer which I found on xda and RemVol (same).
Hope I'm not sharing things I should not...
PM me I'll remove IMMEDIATLY
[Mod edit:
Removed link due too divx player is in beta and xda has been notified not too post/insert into roms.
Click to expand...
Click to collapse
Done all is OK
thanks
imfloflo said:
[Mod] edit:
Removed link due too divx player is in beta and xda has been notified not too post/insert into roms.
Click to expand...
Click to collapse
Just saw that.
Actually, I removed them from my ROM just 10 minutes ago
EDIT:
I mean I removed from the website (mine) where they were and removed them from my 1.0.0 beta rom.
My SpareParts also gets uploaded to not include RockPlayer.
Perfect
when you said booanimation which one have you include in your mod ?
is it possible to have a folder in /sdcard/bootanimation where i can put many bootanimation.zip and choose which one i want to apply ?
Updated for Old a2sd method and dalvik-cache to sdcard
Requiered scripts are on my leofroyo repo.
this is very cool. i am going to give it a try
lpasq said:
this is very cool. i am going to give it a try
Click to expand...
Click to collapse
You already have it in your ROM, don't you?
Also, I do not maintain this thread because nobody seemed interrested
BUT sources are still on github for anyone willing to take a look
leonnib4 said:
You already have it in your ROM, don't you?
Also, I do not maintain this thread because nobody seemed interrested
BUT sources are still on github for anyone willing to take a look
Click to expand...
Click to collapse
i did use it in one of my "shameless kang-bang" roms. but that rom was nothing but a dsixda_android_kitchen cooked rom based on other's work. i think i just included your loeparts.apk with no real idea that some of the mods would need to be compiled in source for some features to work.
this time, i am looking at your leoparts' source and practicing two thing:
- i am working on doing more than just repo aosp and modding source by copying git commit code...now i'm slowly trying to get knowledge on how to incorporate a cloned git tree into my repo
- also, i'm reading your leoparts mods through to the source code to simply learn the structure of things and where the referenced mods resides in framework and such.
i missed that you closed the thread. sorry.
lpasq said:
i did use it in one of my "shameless kang-bang" roms. but that rom was nothing but a dsixda_android_kitchen cooked rom based on other's work. i think i just included your loeparts.apk with no real idea that some of the mods would need to be compiled in source for some features to work.
this time, i am looking at your leoparts' source and practicing two thing:
- i am working on doing more than just repo aosp and modding source by copying git commit code...now i'm slowly trying to get knowledge on how to incorporate a cloned git tree into my repo
- also, i'm reading your leoparts mods through to the source code to simply learn the structure of things and where the referenced mods resides in framework and such.
i missed that you closed the thread. sorry.
Click to expand...
Click to collapse
You mainly missed the fact that I distributed the APK in exchange for credits PLUS re-write of strings.xml to not use my repo.
By acting like that, this leads to people wanting to make closed-sources things.
Please read before copying APKs...
leonnib4 said:
You mainly missed the fact that I distributed the APK in exchange for credits PLUS re-write of strings.xml to not use my repo.
By acting like that, this leads to people wanting to make closed-sources things.
Please read before copying APKs...
Click to expand...
Click to collapse
i think i understand what you are saying and will PM to confirm.
No pb
Replied
Anyone can use this but please read readmes etc.
Free software does not mean anarchy software
Sent from my Full Android on Passion using XDA App
Hi, setting app2sd to Internal will install apps to internal memory?
Android Open Source Project Gingerbread Development Central
Introduction: Many of you know me for my PhoenRom nexus rom but today I want to start a thread that hopefully will become a clear place HEAVILY ORIENTED TO AOSP DEVELOPERS where they can gather the latest fixes, kernels and mods so that they can easily be merged to the latest Gingerbread AOSP branch. This post will also provide guidance for setting up a AOSP developer machine, and all possible needed how to's that are related to the subject.
Also with time I realized that users demand always the same mods over and over between versions. So if we post the source of those modifications here it will allow them to be easily ported between versions.
This will also benefit the mods qualities itself since a community work might enhance them, amplifying their features or simply making them more stable.
What exactly WILL this post cover:
AOSP Development tools
Guidance to modifying, merging and compiling AOSP
AOSP Fixes and patches
AOSP Mods
Kernels
Useful collection of how to's links
What exactly WILL NOT cover:
Roms
Apps
Themes
About the thread: Ill personally will update this thread the best I can and test as many mods posted as possible. If anyone want to post their mods or feel that something should be posted here and its missing, feel free to do it, or private message me so I can post it. If something posted here is of special relevance and falls directly into the "WILL CONTAIN" I would post it in the opening post and hopefully will end up with a nice source library. I will also try to upload this sources to github so they are friendly mergeable.
Setting up AOSP development environment
Minimum Requirements to build Android form Source:
2GB of RAM
20GB of hard drive free space
Linux: You can use any distribution but I highly recommend Ubuntu for AOSP development.
Currently you can build AOSP in both 32bit and 64bit Ubuntu versions as long as you have the right repositories installed. Working through virtual machines its perfectly compatible, and for this purposes I personally recommend VirtualBox.
Deploying the environment, android source and compile it the easy way (default is set to CyanogenMod gingerbread branch, edit the script if you want to build from Master instead):
FOR 32 BIT LINUX ONLY:
Code:
Download this script [URL="http://dl.dropbox.com/u/6751304/androidmake"]http://dl.dropbox.com/u/6751304/androidmake[/URL]
(Courtesy of nicandris)
FOR 64 BIT LINUX ONLY:
Code:
Run this command line in terminal
apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
and then use the 32 bit script.
[URL="http://dl.dropbox.com/u/6751304/androidmake"]http://dl.dropbox.com/u/6751304/androidmake[/URL]
(Courtesy of nicandris)
Set the script permissions to executable and finally run the script.
NOTE: Downloading and compiling will take several hours.
Mac:
Visit this thread for guidance (Building CyanogenMod for Nexus One) http://forum.xda-developers.com/showthread.php?t=775505
AOSP Branches
Gingerbread Branches:
Master
repo init -u git://android.git.kernel.org/platform/manifest.git -b master
CyanogenMod
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
AOSP Fixes and issues
Master
Code:
CyanogenMod
Code:
[URL="http://forum.xda-developers.com/showpost.php?p=11161803&postcount=33"]CM7 make fails and complains about RomManager.apk[/URL]
AOSP mods
Rooting + Superuser.apk
Code:
(Courtesy of wdfowty & ChainsDD)
1) You need to clone ChainsDD's Superuser.apk into your source tree
[CODE]
cd ~/android/system/packages/apps
git clone -b gingerbread http://github.com/chainsdd/android_packages_apps_Superuser.git Superuser
2) Next, you need to disable the original su binary from being built. In a console/terminal, type
Code:
gedit ~/android/system/system/extras/su/Android.mk
Then replace all text in the file with this
Code:
ifeq ($(BUILD_ORIGINAL_SU),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= su.c
LOCAL_MODULE:= su
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_STATIC_LIBRARIES := libc
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug
include $(BUILD_EXECUTABLE)
endif
That's it. Superuser.apk and su binary are included in every build after.
More info can be found here: http://howto.ccroms.net/android_project/build/mod/root
[/CODE]
Trackball Alert
Code:
CM6 Code: [URL="https://github.com/lilHermit/ta-framework-os"]https://github.com/lilHermit/ta-framework-os[/URL]
CM7: all ready has this built in.
Gingerbread: framework can be patched with trackball alert via smali patch option.
Trackball Wake & Unlock
Code:
[URL="https://github.com/CyanogenMod/android_frameworks_base/commit/88c07d2fd8419a287d6ed56ad6b1aab583b63ed3"]https://github.com/CyanogenMod/android_frameworks_base/commit/88c07d2fd8419a287d6ed56ad6b1aab583b63ed3[/URL]
[URL="https://github.com/CyanogenMod/android_frameworks_base/commit/809be3bf813258434b98c0987e38d58b28edab6c"]https://github.com/CyanogenMod/android_frameworks_base/commit/809be3bf813258434b98c0987e38d58b28edab6c [/URL]
[URL="https://github.com/CyanogenMod/android_frameworks_base/commit/17a5669474c01b0e49b8e1dd65e92c9c0a68e2ca"]https://github.com/CyanogenMod/android_frameworks_base/commit/17a5669474c01b0e49b8e1dd65e92c9c0a68e2ca[/URL]
Battery %
Code:
1)To enable battery % we need to generate the 2 modified xml files, stat_sys_battery.xml and stat_sys_battery_charge.xml.
We can do this with this 2 bash scripts:
[B]generate-battery-xml.sh[/B]
[URL="http://android-leonextlevel.googlecode.com/hg/generate-battery-xml.sh?r=60a06f198e7e5262e0197cb645a66c507b63b5df"]http://android-leonextlevel.googlecode.com/hg/generate-battery-xml.sh?r=60a06f198e7e5262e0197cb645a66c507b63b5df[/URL]
[B]generate-battery_charge-xml.sh[/B]
[URL="http://android-leonextlevel.googlecode.com/hg/generate-battery_charge-xml.sh?r=60a06f198e7e5262e0197cb645a66c507b63b5df"]http://android-leonextlevel.googlecode.com/hg/generate-battery_charge-xml.sh?r=60a06f198e7e5262e0197cb645a66c507b63b5df[/URL]
to do so, just run in this two command lines where you created the script files and gave them executable permissions.
[B]./generate-battery-xml.sh > stat_sys_battery.xml[/B]
[B]./generate-battery_charge-xml.sh > stat_sys_battery_charge.xml[/B]
2)Now copy and replace this 2 xml to the source directory "android/system/frameworks/base/core/res/res/drawable" (you'll need root permissions")
3)Add your battery%(1-100) images to the source directory "android/system/frameworks/base/core/res/res/drawable-hdpi" (you'll need root permissions")
4)Finally compile the source
Tips: you can use UOT Kitechen to generate the battery images [URL="http://circle.glx.nl/"]http://circle.glx.nl/[/URL]
(Courtesy of leonnib4)
[URL="http://code.google.com/p/android-leonextlevel/source/detail?r=60a06f198e7e5262e0197cb645a66c507b63b5df"]http://code.google.com/p/android-leonextlevel/source/detail?r=60a06f198e7e5262e0197cb645a66c507b63b5df[/URL]
Enable transparency
Code:
[URL="http://review.cyanogenmod.com/#change,2189"]http://review.cyanogenmod.com/#change,2189[/URL]
Shut Down extra options (Recovery & Reboot)
Code:
[URL="https://github.com/CyanogenMod/android_packages_apps_CMParts/commit/e68ba6a7211c3c6a66b5e13930be7b9ce837edbd"]https://github.com/CyanogenMod/android_packages_apps_CMParts/commit/e68ba6a7211c3c6a66b5e13930be7b9ce837edbd[/URL]
[URL="https://github.com/CyanogenMod/android_frameworks_base/commit/06507942da1b847f60c162160ac1d46c78f93730"]https://github.com/CyanogenMod/android_frameworks_base/commit/06507942da1b847f60c162160ac1d46c78f93730[/URL]
Pull-down notification area power widget (Glaxsy S style power widget)
Code:
(Courtesy of Pedlar)
[URL="https://github.com/Pedlar/android_frameworks_base/commit/eb0e39732842151e947f27cf64a00480d75e5631"]https://github.com/Pedlar/android_frameworks_base/commit/eb0e39732842151e947f27cf64a00480d75e5631[/URL]
Sip Calling not only over wifi
Code:
(Courtesy of paul o'brien)
In the framework-res APK edit the following setting...
[COLOR="SeaGreen"]<bool name="config_sip_wifi_only">[COLOR="Red"]false[/COLOR]</bool>[/COLOR]
For more info visit [URL="http://android.modaco.com/content/google-nexus-s-nexuss-modaco-com/327770/using-gingerbread-internet-calling-sip-without-wifi/"]http://android.modaco.com/content/google-nexus-s-nexuss-modaco-com/327770/using-gingerbread-internet-calling-sip-without-wifi/[/URL]
BusyBox
Code:
Here you can find the latest ARM binaries:
[URL="http://busybox.net/downloads/binaries/"]http://busybox.net/downloads/binaries/[/URL]
App2SD
Code:
[URL="http://forum.xda-developers.com/showthread.php?t=715940"]http://forum.xda-developers.com/showthread.php?t=715940[/URL]
Incognito Browser
Code:
[URL="https://github.com/CyanogenMod/android_packages_apps_Browser/commit/3e82693651aa2b5a27f54ffd883177a624c09574"]https://github.com/CyanogenMod/android_packages_apps_Browser/commit/3e82693651aa2b5a27f54ffd883177a624c09574[/URL]
Proxy
Code:
Info:
(Coyrtesy of leonib4 & Ninpo)
[URL="https://github.com/leonnib4/packages_apps_Settings/commit/264954500ba24f7fe27837e731ebc4d7ae7b0d4c"]https://github.com/leonnib4/packages_apps_Settings/commit/264954500ba24f7fe27837e731ebc4d7ae7b0d4c[/URL]
[URL="https://github.com/CyanogenMod/android_frameworks_base/commit/ed99b80128f1aea8889a24f96ac33c5de0faef3a"]https://github.com/CyanogenMod/android_frameworks_base/commit/ed99b80128f1aea8889a24f96ac33c5de0faef3a[/URL]
[URL="https://github.com/CyanogenMod/android_frameworks_base/commit/c2e62d24d0f57c9315e40e9957e918e68b41bc4b"]https://github.com/CyanogenMod/android_frameworks_base/commit/c2e62d24d0f57c9315e40e9957e918e68b41bc4b[/URL]
Enable HSPA icon
Code:
(Courtesy of Rusty!)
change config_hspa_data_distinguishable to true in SytemUI.apk's /res/values/bools.xml
Add silence & vibration to volume keys
Code:
STATUS:Waiting for submit
OTHER VERY USEFULL MODS
(Courtesy of leonnib4)
http://code.google.com/p/android-leonextlevel/wiki/Progress
http://code.google.com/p/android-leonextlevel/source/list
(Courtesy of cyanogen)
http://review.cyanogenmod.com/
GingerBread Kernels
(Courtesy of redstar3894)
2.6.35.10_AVS-950mV_CFS-GB_20110110_0001 OC & UV to 950mV
2.6.35.10_AVS-925mV_CFS-GB_20110112_0025 UV to 925mV
Source Files can be found at github https://github.com/redstar3894
How to's collection
How to compile AOSP Gingerbread
Building CyanogenMod for Nexus One (Gingerbread)
How to fork in github
THIS THREAD IS UNDER CONSTRUCTION...FEEL FREE TO POST ANY MODS, IDEAS, FIXES OR WHAT EVER YOU WISH MEANWHILE. HELP IS APPRECIATED!
Reserved space
Feel Free to add my two gingerbread kernels
2.6.35.10_AVS-950mV_CFS-GB_20110110_0001 OC & UV to 950mV
2.6.35.10_AVS-925mV_CFS-GB_20110112_0025 UV to 925mV
Both are compatible with AOSP gingerbread and based off my latest source...
What about enabling internet calling not over wifi, per Paul's finding:
http://android.modaco.com/content/g...ingerbread-internet-calling-sip-without-wifi/
See CyanogenMod github account.
Also I pretty much covered those commits:
Sources: http://code.google.com/p/android-leonextlevel/wiki/Progress
My commits: http://code.google.com/p/android-leonextlevel/source/browse/LeoGingerBread/ChangeLog
Help yourself
Thanks, all.
Does anyone know where in cyanogenmod github I can find the code for the Notification area power widget (wifi, bluetooth, gps, silence) ???
mordokak said:
Does anyone know where in cyanogenmod github I can find the code for the Notification area power widget (wifi, bluetooth, gps, silence) ???
Click to expand...
Click to collapse
frameworks/base cyanogenmod see the history should be there
charnsingh_online said:
frameworks/base cyanogenmod see the history should be there
Click to expand...
Click to collapse
and also if ur working in AOSP there is no such thing as framework-res to edit, that is done using smali on an already compiled rom
If you want an HSPA icon, you need to change config_hspa_data_distinguishable to true in SytemUI.apk's /res/values/bools.xml
Rusty! said:
If you want an HSPA icon, you need to change config_hspa_data_distinguishable to true in SytemUI.apk's /res/values/bools.xml
Click to expand...
Click to collapse
Thanks, added to OP
Thanks : )
Nice thread.. thanks for sharing information mate.. It is really helpful.
What about the sources needed to get the camera fully working on Gingerbread, like is your ROM?
'cause I can't get it to work for now
That fix is actually Cyanogens Team, not mine. I just compiled their latest branch.
I guess I could have a look at cyanogenmod github and search for changes in the related files (cam and video libs)
Which is what I'm trying to do since quite some days now.
If I found the right commits, I'll PM you so you can add those to POST#1.
That would be awsome ^_^
Howdy gents,
Don't know if you're interested but I've recently spruced up the gingerbread battery. Here's the raw files if anyone's interested. You might want to change the timings as I tend to run it a little quicker.
new-gingerbread-battery.zip
This is awesome, all the info that is really hard to find and corelate in one place !!
Can I make one simple request ?
Could you (or anyone) post a recipe for actually doing development as in beyond just compiling patches. I am (and I hear I am not alone) very confused by the instructions for git/repo and various AOSP depots about how to do good development where I follow a development tree, sync regularly and make sure my patches work before I submit.
Or is there such a doc someplace and I have failed to find it ?
Actually I was planning to do so ^_^, but I would appreciate if someone could help me, if someone post a detailed git repo guide y will post it in OP. If not ill do it myself when I get back to my normal computer. I really like it when people contribute here ^_^
This module is not for end-users. It's only valuable for kernel developers.
Intro
I wrote this module for the purpose of extracting kernel config from our running kernel 2.6.29 in my X8 (an educational purpose).
Instruction
Everyone who wants to try:
Download the module below (only for X8 with latest kernel + baseband 015)
Extract
Push to /system/lib/modules
From adb shell
Code:
insmod /system/lib/modules/x8kconfig.ko
gunzip -c /proc/config.gz > /mnt/sdcard/x8config.txt
Mount USB, open x8config.txt from your sdcard with wordpad
You will see these in some first line:
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29
# Tue Jan 18 23:38:24 2011
#
Click to expand...
Click to collapse
Source was pushed to github: https://github.com/doixanh/X8Features
Licence violation will be discussed later
SE is treating it's end users like s*it as we all can see....
This will pass,only we need to spread the news.
News:Sony is hiding latest open source kernel,does sony afraid or newest source can unlock bootloader.
Because of user rights when qouastion will asked we can only guess whay they will say nothing or they can go to jail.
Sent from my X8 using XDA Premium App
Why don't you take the boot.img from the latest se rom and extract it so you can get the origenal kernel ..
then build a costom one debending on it
That's insane... I've just forwarded it to Polish android board, everyone should know this.
me using your module I obtain it:
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29
# Sun Jan 30 20:24:17 2011
#
hmm, why cant we use the older kernel to unlock the bootloader?
just asking.
doixanh, are you going to contact http://gpl-violations.org/ those guys?
does the kernel tree compile with the config extracted from the device?
I think the different build dates are not really a good proof that the published archive is not the real one because they probably did multiple builds with different configs. I know that when I tried compiling kconfig support into the previous kernel/baseband it turned out to be useless and had a bunch of undefined config flags compared to the published kernel tree.
Because the configuration is newer you assume changes to source? That's pretty far fetched... Releasing updates on this big scale you don't do last minute changes to code... Gpl said release changes to code. What code is missing / changed?
Sent from my E15i using XDA Premium App
lol i posted this to SE's facebook page and it got deleted in under 5 minutes
http://www.facebook.com/sonyericsson
chewdaniel said:
lol i posted this to SE's facebook page and it got deleted in under 5 minutes
http://www.facebook.com/sonyericsson
Click to expand...
Click to collapse
what did you post? i mean the exact words.
well i said something about them abandoning us X8/10mini customers and making us stuck at 2.1 and that since they don't care about us the community will and asked them to release their code so the devs can work better
it wasn't rude or anything maybe SE just didn't like the idea of ppl developing the software for their phones
I posted this on polish sony ericsson on fb , bcause I have been blocked on english site
Sent from my Arc-X8 using Tapatalk
This is f*cking unbelievable! They were playing with us since they released 2010 products and now we see another thing.
doixanh many thanks to YOU!
They surely should be reported gpl site http://gpl-violations.org but who will do this? I don't want to be rude but YOU know what to say so why don't you do that?
Sent from my E15i using XDA Premium App
chewdaniel said:
lol i posted this to SE's facebook page and it got deleted in under 5 minutes
http://www.facebook.com/sonyericsson
Click to expand...
Click to collapse
I´ve posted similar threads there aswell and the threads got deleted.
I was starting to look at kernel stuff today for my X10 Mini Pro = and also couldn't find the latest kernel on the site.
However I downloaded the x10_x10mini_x8_eclair_2.1.A.0.390 file anyway to have a look - and according to the makefile for this it's
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 29
EXTRAVERSION =
NAME = Temporary Tasmanian Devil
So has the kernel actually changed since this release - as this looks like a 2.6.29 to me?
cyttsp_i2c_init: Cypress TrueTouch(R) Standard Product I2C Touchscreen Driver (Built Jan 18 2011 @ 23:43:30) returned 0
got the same text too
Code:
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.29
# Tue Jan 18 23:38:24 2011
oisteink said:
Because the configuration is newer you assume changes to source? That's pretty far fetched... Releasing updates on this big scale you don't do last minute changes to code... Gpl said release changes to code. What code is missing / changed?
Sent from my E15i using XDA Premium App
Click to expand...
Click to collapse
It's entirely far fetched, as OP is trying to correlate something that isn't the cause.
The only thing he's proven is someone typed make oldconfig or make menuconfig, there is usually no indication of source code changes in the .config, outside of new kernel config options that may be in the running kernel vs provided defconfig (did you even check? no). The fact that you didn't even mention looking at the actual kernel build timestamp in /proc/version tells me you don't really know what you're doing, it's not in the .config...
Are there any modules that exist on stock but aren't available for compilation from source? Are there any kernel modules that are exporting tainted symbols? (i.e. is /proc/sys/kernel/tainted 0?) That would rule out any use of proprietary or missing modules. Do any of the stock modules export newer versions or kmsg info that isn't in the source? I highly doubt you looked through the source this extensively.
Most production kernel development cycles I've been a part of involve a period of code freeze before the final release. Usually during this period only absolutely show-stopping bugs are fixed and things like debugging and factory/test hardware modules are removed. It is likely that this is what happens at SE.
Do you really think they put relatively untested code in the kernel during that 5 day period from source finalization and production build? Any changes, especially the security measure you speculate were put in, would require extensive testing. Judging by the contributions that SE has provided in AOSP, they test their software and hardware for compliance more than the average vendor. It's illogical to me to assume they've snuck some code in when they spend countless man-hours doing testing and QA.
This type of speculative witch-hunt makes the community look bad, not SE. You need to provide factual evidence of a license violation, not .config file changes.
Hi guys, I would like to ask you what IDE's and other software I need to make and modify android roms. I am particularly looking at helping with ICS production. I know java and some C++ if this helps, I am unsure of what to use whether that be eclipse or some other IDE/SDk. Also there are a few file types I am unfamiliar with and want to know how to edit those such as .so's and other files. Thanks P500 community you guys are awesome D
If you haven't already, I'd highly reccomend setting up a build environment and trying to sync the cm repos. Once you have the code, you can play around and see what you need from there, in terms of an IDE.
Sent from my LG-P500 using XDA
Fantastic, I shall get onto that right away.
May the force be with you, bro!
Sent from my LG-P500 using Tapatalk 2
gymfreak7855 said:
Hi guys, I would like to ask you what IDE's and other software I need to make and modify android roms. I am particularly looking at helping with ICS production. I know java and some C++ if this helps, I am unsure of what to use whether that be eclipse or some other IDE/SDk. Also there are a few file types I am unfamiliar with and want to know how to edit those such as .so's and other files. Thanks P500 community you guys are awesome D
Click to expand...
Click to collapse
gymfreak7855 said:
Hi guys, I would like to ask you what IDE's and other software I need to make and modify android roms. I am particularly looking at helping with ICS production. I know java and some C++ if this helps, I am unsure of what to use whether that be eclipse or some other IDE/SDk. Also there are a few file types I am unfamiliar with and want to know how to edit those such as .so's and other files. Thanks P500 community you guys are awesome D
Click to expand...
Click to collapse
Read some android books.you already know c++ and Java so you will become good dev.
For playing with code you need.
Ubuntu.
Notepad.
sdk & adb.
And this "good luck!"
Yeah! Actually even i am interested in learning.
I know c/c++. No java yet
I'll be finishing my exams on the 3rd of may and would have around 2 months of vacations to learn
So guidance would really be appreciated. Do we need a separate sdk for linux based os? I have sdk on windows, isnt that enough?
What is the advantage of using linux for android development? I have backtrack(ubuntu based) on vmware. Will it do?
Essential Software:
Ubuntu 11.10 (dual boot not virtual machine, it's too slow)
Eclipse IDE with the Android plugins
Meld (for easy directory compares)
Mastery of the terminal especially git / repo commands
Github account
CyanogenMod gerrit account
Google Plus account
I'm assuming you're coming from Windows since you don't know what a .so file is (like I did when starting). .so files are android's versions of .dll files. 'executables' don't have a file extension. Kernel modules use the .ko extension.
(I think .so means shared object, .ko means kernel object. Makes sense to me anyway )
The worst thing about starting is simply the sheer size of the project, it is a whole operating system we are dealing with here!
Start simple and easy, follow the instructions on how to make your own build and flash it. (and feel proud you have your own build string in about phone!) Then do it again without the instructions. (harder than it sounds )
The programming side may not be such a problem for you if you already know it. I didn't know anything. reading library files written in c++ ain't so bad, but getting used to how an android app is written in java was a huge mindf**k for me at first.It still is actually
I'm really just your average code hacker, I just hack based on educated guesses but I have taken copious notes on what I do and how things work. Seriously, I have two A5 notebooks full of lists, commands, file locations, diagrams and other tips I've found over the past 6 months.
Prepare to read a lot, be confused a lot, say WTF?!?!?! a lot, delighted when you make your first changes and they work, a ton of waiting for builds to finish and perhaps a bit nervous when you are ready to submit your first commit to CyanogenMod...
Can't we practice on something less taxing than the the whole cyanogenmod, like maybe some prebuilt system apps?
I have allocated 2.9gb of ram and enough cpu to my vm for it to run smoothly so speed isn't really an issue here
Will backtrack do or would ubuntu be better(backtrack is a network security related os based on ubuntu only)
And how important is java. I have two months of almost pure vacations(just have to make a project) so time wont be much of an issue and i'll anyway be doing java in a year or two at college so starting now wont be any harm.
BTW just curious why is g+ account an essentiality here?
Edit
Oh and yeah ill be switching from win to linux and that IS going to be a pretty big problem :/
I don't even properly know what a kernel is and what it does.
Edit2
Iv added you to my circles adfad please add me.
These guides could help!
http://forum.xda-developers.com/showthread.php?t=1272270
http://forum.xda-developers.com/showthread.php?t=667298
I'm starting learning too. I already know the android framework and java.
I have some problems when I try to compile for a device.
Code:
[email protected]:~/WORKING_DIRECTORY$ source build/envsetup.sh
including device/moto/wingray/vendorsetup.sh
including device/samsung/maguro/vendorsetup.sh
including device/samsung/toro/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
It doesn't include device/cm_device_lge_p500/vendorsetup.sh (I'm using androidmeda's sources) and if I run "lunch":
Code:
[email protected]:~/WORKING_DIRECTORY$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_maguro-userdebug
5. full_toro-userdebug
6. full_panda-eng
7. cm_anzu-userdebug
8. cm_captivatemtd-userdebug
9. cm_coconut-userdebug
10. cm_crespo-userdebug
11. cm_crespo4g-userdebug
12. cm_epicmtd-userdebug
13. cm_galaxysbmtd-userdebug
14. cm_galaxysmtd-userdebug
15. cm_galaxys2-userdebug
16. cm_haida-userdebug
17. cm_hallon-userdebug
18. cm_i777-userdebug
19. cm_iyokan-userdebug
20. cm_mango-userdebug
21. cm_maguro-userdebug
22. cm_p1-userdebug
23. cm_p1c-userdebug
24. cm_p3-userdebug
25. cm_p4-userdebug
26. cm_p4tmo-userdebug
27. cm_p4vzw-userdebug
28. cm_p4wifi-userdebug
29. cm_p5-userdebug
30. cm_p5wifi-userdebug
31. cm_p920-userdebug
32. cm_p970-userdebug
33. cm_p990-userdebug
34. cm_p999-userdebug
35. cm_pyramid-userdebug
36. cm_satsuma-userdebug
37. cm_shooter-userdebug
38. cm_shooteru-userdebug
39. cm_smb_a1011-userdebug
40. cm_smultron-userdebug
41. cm_tenderloin-userdebug
42. cm_tf101-userdebug
43. cm_tf201-userdebug
44. cm_toro-userdebug
45. cm_urushi-userdebug
46. cm_vibrantmtd-userdebug
47. cm_wingray-userdebug
48. cm_zeus-userdebug
Which would you like? [full-eng]
There isn't our phone.
I think it can't know I've added another device. Does anybody know how to solve this problem? I'm sure it's something pretty stupid...
P.S. I'm using Ubuntu 11.10
EDIT: Ok, I think I've done something wrong syncing androidmeda sources.
What I've done is:
Code:
[email protected]:~$ cd WORKING_DIRECTORY
[email protected]:~/WORKING_DIRECTORY$ repo init -u git://github.com/androidmeda/cm_device_lge_p500.git
repo initialized in /home/francesco/WORKING_DIRECTORY
[email protected]:~/WORKING_DIRECTORY$ repo sync
Fetching projects: 100% (248/248), done.
Syncing work tree: 100% (248/248), done.
I've done this for git://github.com/androidmeda/cm_vendor_lge_p500.git and git://github.com/androidmeda/lge-kernel-msm7x27.git too. I can't see them though.
Solved the problem. Cloned androidmeda's device folder into device/lge/p500
EDIT2: FINALLY COMPILING!
EDIT3:
Code:
make: *** Nessuna regola per generare l'obiettivo "device/lge/p500/init.p500.usb.rc
It's 'No rule to make target'. I don't know what to do, I can't even find that file, but I've got a file called init.thunderg.usb.rc
Solved renaming init.thunderg.usb.rc to init.p500.usb.rc. It's compiling now
adfad666 said:
Essential Software:
Ubuntu 11.10 (dual boot not virtual machine, it's too slow)
Eclipse IDE with the Android plugins
Meld (for easy directory compares)
Mastery of the terminal especially git / repo commands
Github account
CyanogenMod gerrit account
Google Plus account
I'm assuming you're coming from Windows since you don't know what a .so file is (like I did when starting). .so files are android's versions of .dll files. 'executables' don't have a file extension. Kernel modules use the .ko extension.
(I think .so means shared object, .ko means kernel object. Makes sense to me anyway )
The worst thing about starting is simply the sheer size of the project, it is a whole operating system we are dealing with here!
Start simple and easy, follow the instructions on how to make your own build and flash it. (and feel proud you have your own build string in about phone!) Then do it again without the instructions. (harder than it sounds )
The programming side may not be such a problem for you if you already know it. I didn't know anything. reading library files written in c++ ain't so bad, but getting used to how an android app is written in java was a huge mindf**k for me at first.It still is actually
I'm really just your average code hacker, I just hack based on educated guesses but I have taken copious notes on what I do and how things work. Seriously, I have two A5 notebooks full of lists, commands, file locations, diagrams and other tips I've found over the past 6 months.
Prepare to read a lot, be confused a lot, say WTF?!?!?! a lot, delighted when you make your first changes and they work, a ton of waiting for builds to finish and perhaps a bit nervous when you are ready to submit your first commit to CyanogenMod...
Click to expand...
Click to collapse
Thanks man Your work has really inspired me and yes haha I am moving from windows all though I have had some experience with ubuntu before. It makes sense about the extensions. Thanks for your advice Will ask questions if I need to
I'm having problems compiling using make -j4
Code:
make -C kernel/lge/p500 O=/home/francesco/WORKING_DIRECTORY/out/target/product/p500/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=/home/francesco/WORKING_DIRECTORY/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- cyanogenmod_p500_defconfig
make[1]: ingresso nella directory "/home/francesco/WORKING_DIRECTORY/kernel/lge/p500"
make[1]: *** Nessuna regola per generare l'obiettivo "cyanogenmod_p500_defconfig". Arresto.
make[1]: uscita dalla directory "/home/francesco/WORKING_DIRECTORY/kernel/lge/p500"
make: *** [/home/francesco/WORKING_DIRECTORY/out/target/product/p500/obj/KERNEL_OBJ/.config] Errore 2
make: *** Attesa per i processi non terminati....
'No rule to make target "cyanogenmod_p500_defconfig". Stop'
Any idea?
When I've used make -i I haven't had this problem
EDIT: Solved moving cyanogenmod_p500_defconfig in p500 folder
Ok, I'm trying to tidy up everything a bit. I've noticed there is a new github. I've seen this:
Code:
LG P500 ICS Setup
Copy/paste it WORKING_DIR/.repo/local_manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/lge/p500" name="p500/cm_device_lge_p500" remote="github" revision="master" />
<project path="vendor/lge/p500" name="p500/cm_vendor_lge_p500" remote="github" revision="master" />
<project path="kernel/lge/p500" name="p500/lge-kernel-msm7x27" remote="github" revision="android-ics-msm-2.6.35" />
</manifest>
I have no local_manifest.xml. Do I have to create it? Or do I have to add these three lines to manifest.xml (which is in .repo folder)? And do I have to add toolchain too?
Question: if installing Ubuntu with wubi on Windows XP, will it show the dual-boot screen on every boot?(or else what shortcut?)
And does it need to defragment, or is it safe just like that?
vlt96 said:
Question: if installing Ubuntu with wubi on Windows XP, will it show the dual-boot screen on every boot?(or else what shortcut?)
And does it need to defragment, or is it safe just like that?
Click to expand...
Click to collapse
No idea, never tried.
If you understand anything:
http://en.wikipedia.org/wiki/Wubi_(Ubuntu)
Why dont you use vmware instead?
Now someone help me with this:
Whenever i try to recompile the framework-res.apk(pasquale test)(even without editing) i get this error:
What can i do about it?
rishabh22 said:
No idea, never tried.
If you understand anything:
http://en.wikipedia.org/wiki/Wubi_(Ubuntu)
Why dont you use vmware instead?
Now someone help me with this:
Whenever i try to recompile the framework-res.apk(pasquale test)(even without editing) i get this error:
What can i do about it?
Click to expand...
Click to collapse
VM got me an error when installing saying it is incompatible with win xp (I could install, but didn't wanna risk, windows is harder to recover than Android)
try using virtual box.
https://www.virtualbox.org/
rishabh22 said:
try using virtual box.
https://www.virtualbox.org/
Click to expand...
Click to collapse
yea I did that... but did anyone try it on XP, it says it failed incompatibility tests or something (same error I got when trying to install windows 7 video drivers on xp) and I don't wanna risk, anyone?
I don't think it's good to install ubuntu to compile android in a virtual machine, I think the compilation would be too slow. I'm sorry I can't help you, I've installed ubuntu from a Live CD and I didn't have many problems with the installation process.
BTW, added the three lines to manifest.xml synced repo. It's compiling well using make -j4
vlt96 said:
yea I did that... but did anyone try it on XP, it says it failed incompatibility tests or something (same error I got when trying to install windows 7 video drivers on xp) and I don't wanna risk, anyone?
Click to expand...
Click to collapse
huh? both vmware and virtual box arn't compatible with xp
why the heck were u trying to install win7 video drivers on xp
And why dont you dual boot?
---------- Post added at 08:37 PM ---------- Previous post was at 08:34 PM ----------
ZatBaloo said:
I don't think it's good to install ubuntu to compile android in a virtual machine, I think the compilation would be too slow. I'm sorry I can't help you, I've installed ubuntu from a Live CD and I didn't have many problems with the installation process.
BTW, added the three lines to manifest.xml synced repo. It's compiling well using make -j4
Click to expand...
Click to collapse
if you have enough ram and a good enough processor there shouldnt be any problem in using a virtual machine. i use backtrack with 2.9/4gb ram and am able to use both windows7 and backtrack simultaneously without any problems/lag
I have an i5 2.3-2.9GHz
Sure it depends on what you want to compile. It was just a suggestion to compile faster. You probably won't notice lag, but it will take more to compile everything.