*SORRY BOUT THE LATENESS ON UPDATING THIS! So 2.3 AOSP decides to come out when I take a 2 day hiatus to work on an iptv show! :X*
This is not a rom thread holding a Gingerbread 2.3 ROM!
This is a thread for us to collab on BRINGING 2.3 AOSP to the Hero after source is released.
Mission Statement:
I am creating this thread as a one stop to start progress and relay information on building the 2.3/Gingerbread AOSP source for the Hero. THIS IS NOT A ROM THREAD, but a place for DEVS to build knowledge on building the 2.3 AOSP source for the Hero and how to do it, what the roadmap is in development and what drivers are needed/fixes/etc. for it to work properly on the Hero.
Things to do:
1. Download SDK/Try 2.3 in emulator... DONE! (DAMN performance sucks in the emulator.. hope to see something better on native hardware...)
2. Download 2.3/Gingerbread source---Need to download (will today)
3. Test existing open drivers for Hero. Works/Does Not work, and what we need to do to fix what does not.
4. Stabilize
5. Create How-To's for folks to build and create dev roms for themselves.
Available test ROMS(SDK Emulator rom based : no radio access):
[GPL][UNSTABLE] aospMod v0.1 | Android 2.3 SDK (Gingerbread) [12/07/2010] Author - AOSP
See 2nd Post for roadmap.
Reserved for RoadMap, Resources, and Dev recognition.
Roadmap:
(personal)Set up Ubuntu 10.10 on target desktop (AMD Athlon x2 5600+ yeah I know it's not that fast, but good enough) Done.
Download Source: Will be as soon as I get home anyway...
Set up source: Not yet to fruition.
Build Source: Not yet to fruition.
Test on Hero: (Done, not by me)
Current Bugs: Not by me: Reset to blank until we know what the source and current drivers do.
Resources:
Android 2.3 aka "Gingerbread" aka "API Level:9" platform information
Youtube Video of how to setup the Android SDK and test Gingerbread in an emulator (thanks to Asadullah for the video)
Information on getting the 2.3 Source Code
How to Compile CM6 for Hero (old, but resourceful)
Android 2.3/Gingerbread User Guide (From Scribd.com)
GINGERBREAD-KaosGingerbread (for Eris) Thread.
Guide to installing Java 1.5 /JDK 1.5 on Ubuntu 10.10
Building Requirements (from Google Android Developer's site)
Code:
To set up your Linux development environment, make sure you have the following:
Required Packages:
Git 1.5.4 or newer and the GNU Privacy Guard.
JDK 5.0, update 12 or higher.Java 6 is not supported, because of incompatibilities with @Override.
flex, bison, gperf, libsdl-dev, libesd0-dev, libwxgtk2.6-dev (optional), build-essential, zip, curl.
$ sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
You might also want Valgrind, a tool that will help you find memory leaks, stack corruption, array bounds overflows, etc.
$ sudo apt-get install valgrind
Intrepid ( 8.10) users may need a newer version of libreadline:
$ sudo apt-get install lib32readline5-dev
Newest SDK Changes:
-Windows installer will install SDK to C:\Program Files (x86)\Android\android-sdk-windows
-ADB is moved to: C:\Program Files (x86)\Android\android-sdk-windows\platform-tools
Contributors/Devs on the scene:
Me.. More to come I am sure.. PM me or just post if you want to contribute. I am not the oversee-er of this mission as we all want to see this come to fruition, but I am dedicated to bringing this to the Hero and I want to be in the trench as well as a spectator.
Devs:
Special Recognition:
punk.kaos - First XDA-Dev to build 2.3/Gingerbread for any Android device (Eris) (can also be used on the Hero) (from sdk rom)
Hotaru - First 2.3 ROM build specifically for Hero (from sdk rom)
AOSP - First Second 2.3 ROM build specifically for Hero (from sdk rom)
Have you already tried the old kernel switcheroo? to see if it boots on our device? If not I'm on my linux partition and could real quick using the kernel from from darches cyanogen build.
Asadullah said:
Have you already tried the old kernel switcheroo? to see if it boots on our device? If not I'm on my linux partition and could real quick using the kernel from from darches cyanogen build.
Click to expand...
Click to collapse
aosp's problem was with java, it was looking for keys and the heroc didn't understand.
Hexscrew, you can always visit aosp's IRC channel, I'm sure that you guys could talk it out a little bit. This is a great idea for a thread though. I'll refrain from ALL further clutter as I'm not in the position to help while I'm working.
Asadullah said:
Have you already tried the old kernel switcheroo? to see if it boots on our device? If not I'm on my linux partition and could real quick using the kernel from from darches cyanogen build.
Click to expand...
Click to collapse
i did that and got it to boot. i'm uploading a flashable zip now.
edit: here it is: kaosgingerbread-v2-heroc.zip
removed text
Porkrinds said:
Will the work here include a basic guide for building aosp gingerbread from source as a starting place? I'm not asking for handholding, just the basics.
Click to expand...
Click to collapse
it'll probably be pretty much the same as building aosp froyo... but it won't be possible to build gingerbread from source until google releases the source.
HA, sometimes you gotta fake it to make it. My fake @$$ gingerbread hero.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I grabbed the some framework earlier with gingerbread baked in.
hotaru said:
it'll probably be pretty much the same as building aosp froyo... but it won't be possible to build gingerbread from source until google releases the source.
Click to expand...
Click to collapse
they released it yesterday. BTW great work hotaru, but how far did it boot? Though the Eris IS as close to the Hero as you can get
But yeah, the ultimate goal here is to have a full walkthrough of how to build 2.3 from source specifically for the Hero so we can start devving out new roms asap
@dean.d at least your honest on the fake! lol. Hey btw, that would make a nice theme for 2.2 for now.
@smoothtaste thanks for the heads up. I forget theres an irc for almost everything these days
lol im hopeful boots up fine i still think they should have changed the ui a lil more than some color adjustments but eh. It boots all the way just camera, wifi, bluetooth, audio dont work....the browser loads web pages faster but it keeps closing itself plus its a lil laggy but hey this is the first attempt and im very impressed.
removed text
10 chars my bad
Porkrinds said:
@hexskrew: so does such a guide exist for froyo? I toyed with it last night but wasn't sure what people like aosp used to get a build that works with our phones. I would imagine we need the HTC files like CM6 does. Like I said, CM6 is almost idiot proof for building. I wish it was a bit more involved.
Sorry, getting off topic here. Use PM if you'd like.
One question back on topic: What version of Java to use? Google suggests 5, but CM6 worked fine with java6-
Click to expand...
Click to collapse
Nah it's fine. These are legit responses, I just didn't want 10000 replys of "OMG IT'S 2.3 4 T3h H3r0 yay!", and then "Why isn't 2.3 working yet? Where is it?"
criptix said:
10 chars my bad
Click to expand...
Click to collapse
It's all good it happens.
I dunno if it works with java6 or not (I just uninstalled because of the said "incompatibility") but that was what I was going to do. Research cm6 building and then cross-reference with building 2.3 AOSP as per google.
I think the biggest question I have is how to pull the driver source from the 2.1-ish kernel, or do we need to worry about that at all and just shove another kernel into it? As far as screen resolution and such I think I have a good idea on where to change the variables for that.
The one other big question I have is what do we use to replace gapps?! I mean we could always just shove another market into the rom but what about gmail and etc? Not even sure if 2.2 gapps will work or if we have to wait for google to put it out :X
Well off topic as it is, I have to go get a new tire put on my car (damned is my wallet)... Will be back on soon.
Well none of the hardware except radio and touchscreen is working I also installed gapps market works but a lot of apps are missing my gmail sync worked just fine. Seems like they will work only thing that was acting up in my brief test was the browser like I said in my last post. I also flashed the newest cfs kernel no bootloop.
Sent from my HERO200 using Tapatalk
My suggestion is this there are quite a few of us that are trying to learn how to compile from source. We should get together and figure it out then make a how to video.
On another note I read Java doesn't work for compiling beyond version 1.5 or 5 the one with 5 in it
Sent from my HERO200 using XDA App
Asadullah said:
My suggestion is this there are quite a few of us that are trying to learn how to compile from source. We should get together and figure it out then make a how to video.
On another note I read Java doesn't work for compiling beyond version 1.5 or 5 the one with 5 in it
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Yeah it's java 5 that you have to have (or rather java 5.? or higher.. cant remember the exact revision number). I havent' found how to find anything else besides jdk/java 6 on ubuntu 10.10. If you have better luck with an earlier version then holla back! lol.
HAHA! I was looking right at it:
Code:
sudo apt-get install git-core gnupg sun-java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl libncurses5-dev zlib1g-dev
For those of you like me using ubuntu 10.10, check the 2nd post for a link to a blog on installing jdk/java 5.
removed text
AOSP just posted a gingerbread rom.... haven't tried it but go check it out! hope it helps.
Bumped for importance. This thread is taking a turn..
BTW, this thread is supposed to be about gearing everyone up for the SOURCE CODE release. My bad, I didn't realize at first that like what aosp has done is just pulled the rom from the sdk emulator and changed the kernel to use with the Hero. Which is why until we get the source to dev on, we won't have radio access as of course the sdk is compiled just to simulate radio access.
So as of right now my linux box is fully set up to sync with the repo (actually it is currently sync'd) however meaning when google releases the source to gingerbread.
So as of now we need to go back to 2.1 aosp and compile some info on what to edit to get it to our needs, so we can make as speedy of a development as possible once the source hits.
hexskrew said:
Bumped for importance. This thread is taking a turn..
BTW, this thread is supposed to be about gearing everyone up for the SOURCE CODE release. My bad, I didn't realize at first that like what aosp has done is just pulled the rom from the sdk emulator and changed the kernel to use with the Hero. Which is why until we get the source to dev on, we won't have radio access as of course the sdk is compiled just to simulate radio access.
So as of right now my linux box is fully set up to sync with the repo (actually it is currently sync'd) however meaning when google releases the source to gingerbread.
So as of now we need to go back to 2.1 aosp and compile some info on what to edit to get it to our needs, so we can make as speedy of a development as possible once the source hits.
Click to expand...
Click to collapse
I just want the music from the video.... PM me plz with the name title of song please..
Related
KERNEL 2.6.29 for 32A RADIO 6.35.* and SPL 1.76.2007. just make-things-running kernels. the sources are from msm-kernel-2.6.29 which are provided by google, and I modified them to work with new radio and spl.
working: most things, but didn't test much.
gps
wlan
bluetooth
sensor
lights
camera
recording will not work in 2.x ROM
test them yourself, and tell me if something don't work. (for gps, maybe you should push the correct libgps.so into the phone before first boot, i am not familiar with these)
for android 1.6 which are made for DREAM/32B/old Radio, use the kernel in test-donut.img
if you want use a 2.x ROM for old radio and keep it with the NCommander's work, you can try this one too, but i didn't try it myself.
FOR GPS in donut:
it can work (or work partially) with some of donut ROMs, and not with some others. which I had tried is rav-donut, with some lib replacements. I can not remember the details.
please try it yourself. for more detail (but not all), you can read some replies below. with some ROM, you can turn off your wifi, reboot, and test the gps again (and watch your logcat). if works, it may give you some thoughts .
if you find (not just a guess) there are something wrong with the kernel side and you can provide some details, plz tell me. I will look into it and if it is and fix it before I post my sources.
(to my knowledge, if the gps issues is caused by the kernel side, it means that the issues can not be fixed by some tweaks)
most of my works need more programming skills, they are not some config tweaks and compiling jobs. and they are not prepared well for further tweaks too.
so if I post my sources now, there will be more chaos when everyone introduce their tweaks.(if you are a programmer you should understand what i say) that's one of the reasons I decided that I will post my sources later but not now.
for android 2.x ROM running on HERO device, use the kernel in test-NOCDB.img, remember replace akmd for sapp sensor, etc.
they are just boot.img files in zips, NOT update.zip or some update package you can apply them from recovery.
test-donut.img.zip contains boot.img which is needed by donut.
i test it with rav-donut-1.6 ROM, so the boot.img in test-donut.img.zip includes ramdisk from rav-dount-1.6. you can find the ROM here:
http://forum.xda-developers.com/showthread.php?t=538645
test-NOCDB.img.zip contains boot.img which is needed by eclair/any 2.1 rom for HERO device.
i test it with jnwhiteh r6, so the boot.img in test-NOCDB.img.zip includes ramdisk from jnwhiteh r6. you can find the ROM here:
http://htcpedia.com/forum/showthread.php?t=1528
the "driver" of camera in this ROM is from the leaked HTC HERO2.1, though it is buggy too .
(btw, the "driver" everybody called is a user-space interface provider, which is same important as the real driver.)
flash the ROM (now you have a phone can not boot), then flash the boot.img through fastboot (can boot up now), or you can create and sign your update.zip and flash it from recovery.
wlan.ko is uploaded too, push it into /system/lib/modules for wireless lan.
if you know what sapphire-keypad files are , and you want fix the can-not-load-xxxx problem in any ROM(this problem not only appears at the ROMs above), push them into /system/usr/keylayout and /system/usr/keychars.
these two kernel can be use with any 1.6/2.x ROM, you should extract them from boot.img (use the famous split-bootimg.pl), and mkbootimg (from android tools) with proper ramdisk.
thanks: RA, jnwhiteh, and all other guys.
update:
ouch i am too tired, i forgot the most important person i must thanks to: cursordroid . without his work, i won't upgrade to new radio and do these things...
and if you want to upgrade your radio, follow his instruction here: http://forum.xda-developers.com/showthread.php?t=605239
next:
these kernels are in a very early stage of development, if there are enough people who want use new radio with new android version, I will continue to improve them.
1. make it running better and fix bugs.
2. refactor android parts in kernel source, HTC/Qualcomm/Google did a dirty job, and I want to clean some most dirty things.
3. tell me what you want (for example: what cyanogen mod have) and I will do the most important and wanted things.
4. if there are no hero guys do same thing, I will port it to hero device for a preliminary experiment.
my main goal is make a android-specified kernel which can be ported to any HTC android phone easily and can be tweaked and compiled for working with different android version.
but first, i need some testers . not with you, I can not go farther.
and, sorry for my poor english.
p.s. if someone can make update.zip for other users, you have my appreciate. i am too tired to do more things...
go to bed now
How did you modify the sources? I would be very interested to know.
This would basically mean that the hardware limitations are overcome and we could use any true HERO ROM by using above kernel. Is this correct?
Regards,
F
cursordroid said:
How did you modify the sources? I would be very interested to know.
Click to expand...
Click to collapse
since we couldn't patch or copy-paste htc-hero-2.6.27 to msm-kernel-2.6.29 directly, the first thing is understanding what htc does and what are the differents between new Radio and the old one and between different devices.
then we can modify source of msm-kernel-2.6.29 manually, to let it working with our hardware/radio by ourself. I will upload my sources when some jobs are done.
some thing i forgot to mention: some HTC functions(most are USB related) are not added (they have lower PRI on the list). so if you test a SenseUI ROM, it may not run properly at current.
feicher said:
This would basically mean that the hardware limitations are overcome and we could use any true HERO ROM by using above kernel. Is this correct?
Click to expand...
Click to collapse
mostly.
linux is a modern system, most devices can install it, and our phone is not so different with PC (or other devices) now. there are hardware limitations just because Google/HTC/Qualcomm let them there.
now, for HERO ROM, the USB (just for HTC functions) related jobs i mentioned above is not done yet. and you may need do some cooking job (like build.prop/default.prop etc) with some certain ROM. i am not familiar with cooking skills, i just do a little changes in ROM and ramdisk.
with help from good cookers, we can combination any ROM with a kernel which are running properly and tweaked for some special functions. with a reorganization of the kernel source, the tweaks can be done easily in the future, as install a driver on our XP, or just a little bit harder than that.
sanpei said:
since we couldn't patch or copy-paste htc-hero-2.6.27 to msm-kernel-2.6.29 directly, the first thing is understanding what htc does and what are the differents between new Radio and the old one and between different devices.
then we can modify source of msm-kernel-2.6.29 manually, to let it working with our hardware/radio by ourself. I will upload my sources when some jobs are done.
some thing i forgot to mention: some HTC functions(most are USB related) are not added (they have lower PRI on the list). so if you test a SenseUI ROM, it may not run properly at current.
mostly.
linux is a modern system, most devices can install it, and our phone is not so different with PC (or other devices) now. there are hardware limitations just because Google/HTC/Qualcomm let them there.
now, for HERO ROM, the USB (just for HTC functions) related jobs i mentioned above is not done yet. and you may need do some cooking job (like build.prop/default.prop etc) with some certain ROM. i am not familiar with cooking skills, i just do a little changes in ROM and ramdisk.
with help from good cookers, we can combination any ROM with a kernel which are running properly and tweaked for some special functions. with a reorganization of the kernel source, the tweaks can be done easily in the future, as install a driver on our XP, or just a little bit harder than that.
Click to expand...
Click to collapse
Wow.... i sense some good stuff popping up throughout the weekend.
Eskibo said:
Wow.... i sense some good stuff popping up throughout the weekend.
Click to expand...
Click to collapse
THAT'S WHAT SHE SAID!!!
..sorry...
cursordroid said:
THAT'S WHAT SHE SAID!!!
..sorry...
Click to expand...
Click to collapse
lol.... should have seen that one coming.
Thank you for all of your hard work on this effort.
As soon as you are ready, can you please post your kernel source at github, so we can all play with it?
Thank you!
i think that this is pretty sick stuff i would definitely appreciate it if you continued developing
i think it a good idea 2 develop this project.i will have a wonderful value.
sanpei said:
KERNEL 2.6.29 for 32A RADIO 6.35.07.29 and SPL 1.76.2007. just make-things-running kernels. the sources are from msm-kernel-2.6.29 which are provided by google, and I modified them to work with new radio and spl.
working: most things, but didn't test much.
gps
wlan
bluetooth
sensor
camera: for eclair or other 2.x ROM at 3MP (1MP can not be selected, it will crash)
recording not work (i tested recording with 2.x but not 1.6)
test them yourself, and tell me if something don't work.
they are just boot.img files in zips, NOT update.zip or some update package you can apply them from recovery.
test-donut.img.zip contains boot.img which is needed by donut.
i test it with rav-donut-1.6 ROM, so the boot.img in test-donut.img.zip includes ramdisk from rav-dount-1.6. you can find the ROM here:
http://forum.xda-developers.com/showthread.php?t=538645
test-NOCDB.img.zip contains boot.img which is needed by eclair/any 2.1 rom.
i test it with jnwhiteh r6, so the boot.img in test-NOCDB.img.zip includes ramdisk from jnwhiteh r6. you can find the ROM here:
http://htcpedia.com/forum/showthread.php?t=1528
the "driver" of camera in this ROM is from leaked HTC HERO2.1, though it is buggy too .
(btw, the "driver" everybody called is a user-space interface provider, which is same important as the real driver.)
flash the ROM (now you have a phone can not boot), then flash the boot.img through fastboot (can boot up now), or you can create and sign your update.zip and flash it from recovery.
wlan.ko is uploaded too, push it into /system/lib/modules for wireless lan.
if you know what sapphire-keypad files are , and you want fix the can-not-load-xxxx problem in any ROM(this problem not only appears at the ROMs above), push them into /system/usr/keylayout and /system/usr/keychars.
these two kernel can be use with any 1.6/2.x ROM (donut with 1.6 and NOCDB with 2.x), you should extract them from boot.img (use the famous split-bootimg.pl), and mkbootimg (from android tools) with proper ramdisk.
thanks: RA, jnwhiteh, and all other guys.
update:
ouch i am too tired, i forgot the most important person i must thanks to: cursordroid . without his work, i won't upgrade to new radio and do these things...
and if you want to upgrade your radio, follow his instruction here: http://forum.xda-developers.com/showthread.php?t=605239
next:
these kernels are in a very early stage of development, if there are enough people who want use new radio with new android version, I will continue to improve them.
1. make it running better and fix bugs.
2. refactor android parts in kernel source, HTC/Qualcomm/Google did a dirty job, and I want to clean some most dirty things.
3. tell me what you want (for example: what cyanogen mod have) and I will do the most important and wanted things.
4. if there are no hero guys do same thing, I will port it to hero device for a preliminary experiment.
my main goal is make a android-specified kernel which can be ported to any HTC android phone easily and can be tweaked and compiled for working with different android version.
but first, i need some testers . not with you, I can not go farther.
and, sorry for my poor english.
p.s. if someone can make update.zip for other users, you have my appreciate. i am too tired to do more things...
go to bed now
Click to expand...
Click to collapse
Hey, im a bit confused...so u essentially got cam workin on eclair ? did u use ncommanders work or no ? also does gpu drivers work for eclair ?
Thanks
I prefer the new radio ,appreciate what you guys did.
All CursorSense and Cursordroid fans will be more than thrilled, if you continue to develop your new kernel. Keep up the good work.
This is great news!
Now we can use the latest 32A radio & SPL to run the latest roms!
Please keep this project alive.
edit: I read the OP again slowly and found the answers myself ;-)
There are a lot of CursorSense users (IMO the best rom so far) which would really love this project to be developed. Keep up the good work!
Daneshm90 said:
Hey, im a bit confused...so u essentially got cam workin on eclair ? did u use ncommanders work or no ? also does gpu drivers work for eclair ?
Thanks
Click to expand...
Click to collapse
i didn't use his work. i modified the kernel source (it's not just for the camera), make two versions:
one for donut, can work with .so lib in ION ROM.
another for eclair or later, can work with .so lib in leaked official HERO2.1.
so that's why there are two kernels here.
but these .so lib of camera functions have some bugs as they run on hero device. when the final version of Hero 2.0 have released, the bugs can be fixed easily.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
as you can see, the .so libs include "CameraHardwareInterface" and "Proprietary Camera Libraries" in this image (from google).
the "CameraHardwareInterface" is opensource somewhere, but leaked some important defination to compile it. and NCommander have fixed this problem.
but the "Proprietary Camera Libraries", including libqcamera.so in 1.6 or liboemcamera.so in 2.x, are not opensource. I think NCommander load the libqcamera.so from the 1.x ROM, let it work with 2.x ROMs (which are for Dream/old Radios).
the old libqcamera.so can not be used with our new Radio and Hero's very well. so I have no reason to use his work, but use the files from HERO 2.1 instead.
I will take a look at his work.with our own implementation of "CameraHardwareInterface" (NCommander's work), if I can get more understanding about the behaviors of libqcamera.so from HTC/Qualcomm, I will try make a libqcamera.so/liboemcamera.so myself. then we can drop all properietary things on camera part. but this work will take a long time, and it is not my goal, because it is not kernel things I care about.
for the gpu "driver", I think you mean some .so libs too. I don't know if we need some more .so lib to work with eclair, or something are lacked to have the hardware accel. I think if the HERO 2.1 ROM we have got is with those lib, then we don't need more.
I have not time to look at this yet. try different 2.x ROMs, run the Qaulcomm 3D Demo, play video of different formats, and post the results.
i don't think I can undertake so many things , but with enough infomation everyone providing, maybe we will have the right people to do each of them. and if I have some idea, I will post it here or do it myself.
cursordroid said:
Thank you for all of your hard work on this effort.
As soon as you are ready, can you please post your kernel source at github, so we can all play with it?
Thank you!
Click to expand...
Click to collapse
I will post it at a suitable time or progress, as soon as possible.
Im amazed by your understanding of these things, sanpei. You're a wizard. Looking forward to the cooperation of you and cursordroid.
sanpei said:
i didn't use his work. i modified the kernel source (it's not just for the camera), make two versions:
one for donut, can work with .so lib in ION ROM.
another for eclair or later, can work with .so lib in leaked official HERO2.1.
so that's why there are two kernels here.
but these .so lib of camera functions have some bugs as they run on hero device. when the final version of Hero 2.0 have released, the bugs can be fixed easily.
as you can see, the .so libs include "CameraHardwareInterface" and "Proprietary Camera Libraries" in this image (from google).
the "CameraHardwareInterface" is opensource somewhere, but leaked some important defination to compile it. and NCommander have fixed this problem.
but the "Proprietary Camera Libraries", including libqcamera.so in 1.6 or liboemcamera.so in 2.x, are not opensource. I think NCommander load the libqcamera.so from the 1.x ROM, let it work with 2.x ROMs (which are for Dream/old Radios).
the old libqcamera.so can not be used with our new Radio and Hero's very well. so I have no reason to use his work, but use the files from HERO 2.1 instead.
I will take a look at his work.with our own implementation of "CameraHardwareInterface" (NCommander's work), if I can get more understanding about the behaviors of libqcamera.so from HTC/Qualcomm, I will try make a libqcamera.so/liboemcamera.so myself. then we can drop all properietary things on camera part. but this work will take a long time, and it is not my goal, because it is not kernel things I care about.
for the gpu "driver", I think you mean some .so libs too. I don't know if we need some more .so lib to work with eclair, or something are lacked to have the hardware accel. I think if the HERO 2.1 ROM we have got is with those lib, then we don't need more.
I have not time to look at this yet. try different 2.x ROMs, run the Qaulcomm 3D Demo, play video of different formats, and post the results.
i don't think I can undertake so many things , but with enough infomation everyone providing, maybe we will have the right people to do each of them. and if I have some idea, I will post it here or do it myself.
Click to expand...
Click to collapse
Now thats called a proper response Ok imma try different roms n c, cuz my main issue was playing videos on eclair roms, it just CUDNT. Thanks for all ur work.
I will test it once i get some free time.
This is ice cream sandwich for the Dream/Sapphire. Yes, you read that right. Android 4.0, Ice Cream Sandwich. We currently have cm9 and AOKP mostly working. AOSP is next
What works:
It boots
Touchscreen
Wifi
Mobile data
Audio
sdcard
Bluetooth (maybe. It turns on. I don't have devices to test with)
What doesn't:
Camera
Hardware acceleration
probably everything else, tell us
info:
Android 4.0.4
latest cm9 source as of 09 Aug 2013
Latest aokp code as of 6 of June 2012
Downloads:
Cm9:
Alpha3 - https://dl.dropboxusercontent.com/u/19978192/cm-9-20130802-UNOFFICIAL-dream_sapphire.zip
Alpha2.2 - http://dl.dropbox.com/u/19978192/android/update-cm-9.0.0-RC0-dream_sapphire-alpha2.2.zip
Alpha2 - http://db.tt/ejZqOHDX
alpha1.1 - http://uniteddev.com/wordpress/file...0-RC0-dream_sapphire-UNOFFICIAL- alpha1.1.zip
alpha1 - http://uniteddev.com/wordpress/file....0.0-RC0-dream_sapphire-UNOFFICIAL-alpha1.zip
alpha0 - http://uniteddev.com/wordpress/files/update-cm-9.0.0-RC0-dream_sapphire-UNOFFICIAL-signed.zip
Aokp:
Alpha2 - http://db.tt/p2lQtue2
Alpha1 - skipped
Alpha0 - http://db.tt/jErGK56g
kernel -
ezterry's kernel + ics patches and some performance tweaks (enabled 710mhz overclock and other things) http://www.mediafire.com/?py8asp6ab109dyl
ezterry's ezgb 1.5.2 http://sandbox.devnull.name/android/ezgb-kernel/ezgb-2636-v1.5.2_S.zip
cmtd files
http://www.mediafire.com/?amh4qn763gi339r
http://www.mediafire.com/?vw51n1ctl8j1p4t
http://uniteddev.com/wordpress/files/roms/cm9/mtdpartmap.txt
Note: the rom zips are not signed. Flash with clockworkmod, or sign yourself. Once this becomes more usable, I will start signing them.
very slim gapps http://www.mediafire.com/?o94hh30vh0q1oy7 (there are here for testing purposes. contains copyrighted google code that I am not really allowed to distribute. use at your own risk!)
possible fix for camera:
http://www.mediafire.com/?smfhlv2xon1e45z
flashing instructions:
you need to use custom mtd. I used 140 for /system and 20 for /cache (rom currently requires a /cache partitoin. will be fixed in a later update)
1. download all needed files and place them on your sdcard. mtdpartmap.txt needs to be at the root of it
2. flash recovery patch.
3. wipe system, data, and cache
4. reboot into recovery.
5. flash rom and kernel
6. Flash gapps if desired
7. flash boot patch
8. reboot into rom
9. wait.
10. enjoy the awesome
To use data, you need to put in your apn settings. Google to find these.
Thanks to:
Google - android
CyanogenMod team - the awesome rom
Aokp team - aokp
Ezterry and AndDiSa - kernel for ics
Infinimint and the united dev team - hosting and support
My girlfriend - for loving me even though I worked almost all day on this.
Pictures (screenshots later)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sorry for the blurry pics. Used my other phone running cm9 with a partially working cam
Roadmap:
Slim down (in progress)
Mess with hw acceleration and camera (maybe never) - this will be alpha3/beta1 if it happens
Port AOSP
Changelog:
Alpha2.2: update to latest code. good cm9 release.
Alpha2.1: not released
Alpha2: fixed audio
Alpha1.1: small fixes (keyboard, other stuff) cm9 only bugfix release
Alpha1: fixed wifi, sdcard, and home button (skiped in aokp)
Alpha0: initial public release.
If you want to build yourself (please do, we need more people fixing stuff), the repo init command will look like this:
Code:
$ repo init -u https://github.com/UnitedDev/android.git -b ics
Note: rules on using this rom for other projects
Most of android is under the apache2 license. just don't violate that and we're good.
more specific rules: source is on my github, do whatever you want within the terms of the licences. make your own rom, use it to port other devices, release a rom that is exactly the same with a new name and a shiny theme, I don't care as long as you are building from source.
If you use prebuilt anything from releases of this rom, please be nice and send me a pm asking for permission. this is supposed to be an open community, but i hate seeing 20+ cm7 roms with nothing different except name and bundled apps. If you don't ask, and you havent made something different enough from this rom to be worth having its own thread, it may or may not get reported.
First
cm9 ! i will use now !
thanks !
Wow....speechless...
Sent from my HTC Dream using Tapatalk
OK my mind is officially blown for the day. I am completely amazed. Im gonna try this ASAP.
forgot to post kernel in the op. fixed
tvall said:
forgot to post kernel in the op. fixed
Click to expand...
Click to collapse
OK good stuff. this is probably why it wouldnt boot for me (no kernel). Downloading and testing now
Don't forget to use CustomMTD with an mtdpartmap.txt containing:
Code:
mtd 140 40
CM9 on MT3G:
Mind = Blown
Posted pictures in post 2. Enjoy
If you look at them carefully, you can see the box thos was built on. And you can see my girlfriend's leg
Tvall....amazing ---- cm9 on the dream! Don't care if this isn't fully working I'm super impressed to see another ics rom for the g1. Who would have thought! Keep it up! Will download when I get to a computer
Sent from my HTC Vision using xda premium
Can anyone confirm the status of wifi and data? I'd test wifi, but I can't find my girlfriend's phone and she is asleep...
I don't want to put water into the wine, but ... The status of the ROM is more or less in the same state as I had my ICS some month ago. (@Tvall: you should have a look at my repo, if you didn't do that already.) Wifi / Bluetooth should work without problems, at least at that time I had it working. The biggest problem (and the most important reason why I suspended the wok on it): to low memory on the G1. Startup of services from time to time failed even without any additionals apps installed.
Probably on the MyTouch it will run better, but I do not expect, that it will run decently on the G1, but I might be wrong ...
AndDiSa said:
I don't want to put water into the wine, but ... The status of the ROM is more or less in the same state as I had my ICS some month ago. (@Tvall: you should have a look at my repo, if you didn't do that already.) Wifi / Bluetooth should work without problems, at least at that time I had it working. The biggest problem (and the most important reason why I suspended the wok on it): to low memory on the G1. Startup of services from time to time failed even without any additionals apps installed.
Probably on the MyTouch it will run better, but I do not expect, that it will run decently on the G1, but I might be wrong ...
Click to expand...
Click to collapse
It runs decently (apps dont close much) on my mytouch, which is why I'm working on it. My plan is to get cm9 stable enough, then work on an aosp rom. That should be a little lighter.
Has anybody gotten this to run on a g1 yet. I managed to install, but it went crazy. I started doing a force close loop. By that i mean that it booted started then said trebuche has stopped working. I press ok then com.android.phone stopped working. i press ok then trebuche has stopped ... and so on. I followed the install to the letter a few times but i couldn't get it to run.
Nice work! Have you tried the EGL files from here: http://forum.xda-developers.com/showthread.php?t=1526920 ? Hero has same gpu (adreno 130) as dream/sapphire so it *should* work Not sure about kernel however
e334 said:
Nice work! Have you tried the EGL files from here: http://forum.xda-developers.com/showthread.php?t=1526920 ? Hero has same gpu (adreno 130) as dream/sapphire so it *should* work Not sure about kernel however
Click to expand...
Click to collapse
Not yet, thanks for the link! If that works, I'll release another alpha as soon as I fix the home button..
alex_camacho said:
Has anybody gotten this to run on a g1 yet. I managed to install, but it went crazy. I started doing a force close loop. By that i mean that it booted started then said trebuche has stopped working. I press ok then com.android.phone stopped working. i press ok then trebuche has stopped ... and so on. I followed the install to the letter a few times but i couldn't get it to run.
Click to expand...
Click to collapse
I have a mytouch 3g 1.2. It has more ram. So... if it works for me it might or might not work on a regular 32b device
Oh my...now this is impressive. I'm really interested how this turns out. Best of luck!
I told you not to get me in that picture...
I can't wait to do more testing. (My boyfriend is amazing! He's currently working on getting the wifi to work)
Sent from my Dream/Sapphire using Tapatalk 2
Hi every one I want help improve the SGS4G by stimulating galaxy 4g users to develop, so I am going to give you a couple of links to help develop for the galaxy s 4g(BE CAREFUL WITH WHAT ARE YOU MESSING IF YOU SCREW UP YOUR PHONE I AM NOT GOING TO BE RESPONSIBLE )
http://www.codecademy.com is a great page to start learning how to write JavaScripts codes. Is a very funny, curious and a very interactive page for noobs like me
http://forum.xda-developers.com/showthread.php?t=1661770 This is a post made by neroyoung that helps people how to start developing and making roms for android. Personally I thing this videos made by neroyoung are the best way to begin developing for our phone
REMEMBER THAT GALAXY S 4G IS NOT VIBRANT OR OTHER ANDROID PHONE:highfive:
EXTRA
http://forum.xda-developers.com/showthread.php?t=1697040 This is a post by dark_knight35 that have a bunch of build.prop that I have personally tested in the galaxy s 4g and I most say that it works GREAT FOR OUR DEVICE!!!! ( I am using currently Raver's Valhalla Black Edition FB modified with thomas.raine's lighting zap):good::good:
http://forum.xda-developers.com/showthread.php?t=1227269 This is a post by knzo that some buid.props from the last link are repeated but some are not repeated so enjoy with another big buid.probs package for your phone (IMPORTANT YOU MUST CHECK THAT THE BUID.PRO AREN'T REPEATED OR YOUR DEVICE WILL BE SLOW AS HELL)
UPDATE
http://forum.xda-developers.com/showthread.php?t=1446233 This an basic kitchen for the great aspiring themers and basic for the rom developers the application is pretty cool all you need is install the application and taraaa!! you have a cool themers app (NOTE: It only works with ubuntu soo sorry bill and steve ) (2 NOTE: Don't come and say to me that this application doesn't runs on ubuntu I have tested with ubuntu 12 and linux mint 12)
http://forum.xda-developers.com/showthread.php?t=1491689 This kitchen is almost the same as the early but it as more developers options and it as a nice interface I preferable like this app more because it has more features and a nice interfece
NOW THE BIG ONE
http://forum.xda-developers.com/showthread.php?t=1635108 THIS IS THE BIGGEST GUIDE RECOPIILATION OUT THERE you will never find such a good thread like this is AMAZING I spend like 3 Hours just reading six guide it's amazing WHEN YOU GO TO THIS THREAD SAY THANKS TO THIS GUY PLEASE HE REALLY DID HIS BEST FOR THE GUIDE
MORE COOL EXTRA
Some cool bootanimations just for you guys the easiest way to install this is to use Root Explorer. Download the file and rename to bootanimation.zip. Copy the file and navigate to system/media change the permissions to R/W (read/write) by clicking the button in the top right. Rename the existing bootanimation.zip to bootanimation.bak. Then paste the file in this directory. Change permission back to R/O (read only). Reboot and enjoy the show.
THE SIMPSONS who loves simspsons I love simpsons do you love simpsons whatever lol(homer voice: Humm android:silly::silly
http://downloadandroidrom.com/file/bootanimation/800x480/Simpsons/bootanimation.zip
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ICS BOOTANIMATION NOT ICS !!! Do you want an ICS experience in gingerbread then check the ICS bootanimation http://downloadandroidrom.com/file/bootanimation/800x480/ICS/bootanimation.zip
REACTOR this is a cool bootanimation that is like the first xbox console bootanimation check it out it's pretty awesome for show to your friends:victory:http://downloadandroidrom.com/file/bootanimation/800x480/Reactor/bootanimation.zip
SERIOUS DEVELOPMENT
http://forum.xda-developers.com/wiki/Samsung_Galaxy_S/SGH-T959V/Building_From_Source A pretty good guide to start building from source kernels and roms you can follow to this link http://source.android.com/source/building.html
Initialization a build environment you can choose from this http://source.android.com/source/initializing.html or this http://forum.xda-developers.com/wiki/Samsung_Galaxy_S/SGH-T959V/Setup_A_Build_Environment
links this are one of the requirements for building from source
http://source.android.com/source/downloading.html This one of the requirements for building a source rom or kernel you must remember this is this heart for your rom development
LOGCAT
After you make your rom or kernel please check with a logcat if you find an error https://play.google.com/store/apps/...t#?t=W251bGwsMSwxLDEsIm9yZy5qdGIuYWxvZ2NhdCJd
I WANT TWEAKS FOR MY SGS4G
Well you have two tweaks options first you have(IMPOTANT IT ONLY WORKS FOR BML ROMS):
A.S 14-1 by dsexton702
http://forum.xda-developers.com/showthread.php?t=1236779
LIGHTING ZAP
http://forum.xda-developers.com/showthread.php?t=1386027
I WANT TO MAKE MY PHONE INVINCIBLE A.K.A CHUCK NORRIS
You have to be patient and respect the complete guide, this is a guide made by AdamOutler this guide will transform your phone from UN-BRICKEABLE http://forum.xda-developers.com/showthread.php?t=1333424
I WANNA MAKE A COOL BOOTANIMATION AN CHANGING THE BOOTLOADER GRAPHIC
OK first making a bootanimation not risky follow this guide http://forum.ppcgeeks.com/android-d...ry-create-preview-manage-boot-animations.html Now making a bootloader graphic is dangerous (i'm not the kind of guy who says this "weird word") but anyway here is the link http://forum.xda-developers.com/showthread.php?t=1493466
I'M NOOB I HAVE FROYO AND I WANT GINGERBREAD
Classic stuff you just have to follow Lumin30 guide http://forum.xda-developers.com/showpost.php?p=21953587&postcount=1 and then read for the love of GOD
I WANT CUSTOM ROMS
OK so let's start first with someting basic YOU MUST BE ROOT WITH CWM
FIRST FROYO ROMS:
ROMMMMMMMIT BETA 1 http://forum.xda-developers.com/showthread.php?t=1116484
TRIGGER 0.4 http://forum.xda-developers.com/showthread.php?t=1117486
BIONIX FROST 6/11/11 http://forum.xda-developers.com/showthread.php?t=1119986
VOMMMMIT - TEMPLATE ROM http://forum.xda-developers.com/showthread.php?t=1124047
SGS4G-Bionix Black Ice - Public Test http://forum.xda-developers.com/showthread.php?t=1131257
Black Ice - Stable.2 http://forum.xda-developers.com/showthread.php?t=1134979
Team (ACID) Beautiful SGS4G http://forum.xda-developers.com/showthread.php?t=1150804
Audiophile:Frayo The Bump in your trunk or the... updated http://forum.xda-developers.com/showthread.php?t=1161553
Audiophile Series: Redux: v1.3.3 http://forum.xda-developers.com/showthread.php?t=1195878
GINGERBREAD
Hebrew Vahalla 3.5(sorry itzik2sh for forget uploading your thread) http://forum.xda-developers.com/showthread.php?t=1448860
Team Acid GB2.3.4-Audiophile FTW Edition yawn i guess i sould hand out updates lol http://forum.xda-developers.com/showthread.php?t=1214260
Cwm-GB-2.3.6-Octane-V3.0 XPLOD NO CIQ EDITION http://forum.xda-developers.com/showthread.php?t=1305145
*ROM* SCOMv4.4 and Floyd Edition http://forum.xda-developers.com/showthread.php?t=1574130
Valhalla Black FB Edition http://forum.xda-developers.com/showthread.php?t=1598561
Valhalla Final [KJ6 Based][Happy Holidays] http://forum.xda-developers.com/showthread.php?t=1402966
Barebone http://forum.xda-developers.com/showthread.php?t=1669364
Pure Entity™ | FireStorm™ Series http://forum.xda-developers.com/showthread.php?t=1668614
UNNAMED http://forum.xda-developers.com/showthread.php?t=1556882
icbinb 2.3.7_v2 http://forum.xda-developers.com/showthread.php?t=1278389
MTD ROMS
CyanogenMod 7.2 http://forum.xda-developers.com/showthread.php?t=1618016
updated* *ROM* miui-Revenge-mtd http://forum.xda-developers.com/showthread.php?t=1625341
updated* *rom* DianXinOS/TapasOS build 2 http://forum.xda-developers.com/showthread.php?t=1706923
ROM][WIP][Team NoOb.LuLz]Ligux Port[*UPDATED*] http://forum.xda-developers.com/showthread.php?t=1702236
*rom* moKeeOS-mtd http://forum.xda-developers.com/showthread.php?t=1690787
ROM][WIP][Team NoOb.LuLz]Shendu OS[*UPDATED* - ORIGINAL PORTED] http://forum.xda-developers.com/showthread.php?t=1702255
joyOS build 1 http://forum.xda-developers.com/showthread.php?t=1688784
Q/A
I HATE YOU MAN THIS IS TO COMPLICATED FOR ME
Nothing is complicated is just that you must read and read to learn and being a pro:victory:
I WANT "X" GUIDE FOR DEVELOP "X" STUFF FOR THE PHONE
Of course I will update this thread each time you want any guide you only have to write a comment and I will use my magic crystal ball ....GOOGLE:laugh:
MAN I LOVE YOU THANKS FOR YOUR AWESOME THREAD WILL YOU MERRY ME?
Ahh NOOO! with just saying thanks you just make my day better
CAN I DONATED YOU?
No=I'm just 13 years old an I live on Venezuela and more important I don't have credit card LOL
DOES THIS WORKS FOR OTHER DEVICES?
Of course yes but only the bootanimations (check if your device is HDPI),the NOT galaxy s 4g guides threads and the build.pro
TEST MY KERNEL OR TEST MY ROM
No I will help you with logcats but no testing your roms or kernels (I don't want an expensive paperweight.. and being grounded)
CAN I TROLL YOU?
NO!!!!!!!
WHERE'S THE THANKS BOTTOM I CAN FIND IT?
This question doesn't deserve a respectful answer
HAA YOU BRICKED MY PHONE YOU [email protected]&*@
Has the op says be careful with your messing up THATS WY I LEAVE YOU THE UN-BRICKEABLE MOD FOR ONLY HARD BRICKS
HIT THANKS IF I HELPED!!:good:
ON NEXT UPDATE
PICS PERSONALLY TAKEN BY ME OF EVERY ROM
YOU TELL ME....
Thanks! I like how the first link is interactive, and showing you how to code little by little. I'll have to check these out more in detail sometime. Should be very helpful for people wanting to get their feet wet in doing their own development.
The 2 other links you posted have an extra "http://" at the beginning which gives an invalid link. I took one of them out and got to the right page, but wanted to let you know so you can edit the OP.
I would say if anyone else has any other helpful links, post them up!
Links now working sorry about that!! ( I didnt checked before because i was studing for the final exams )
thread updated with more fun:victory::victory::victory:
like a machine more cool stuff added
Solrac, it might be better if you would concentrate your efforts on updating our wiki since some information has already been repeated a few times, particularly the roms list. If you wind up putting them in the wiki then other users can edit it once you decide to not update this thread. I've seen it happen to at least two other threads already which is why team acid have moved some of our instructions to the wiki.
Sent from my SGH-T959V
Ohh sorry man I see if i can only updated the wiki I thinked that I was doing a good job by trying making a super post ( I spend like 2 hours making it)
Sent from my SGH-T959V using XDA
solrac1212 said:
Ohh sorry man I see if i can only updated the wiki I thinked that I was doing a good job by trying making a super post ( I spend like 2 hours making it)
Sent from my SGH-T959V using XDA
Click to expand...
Click to collapse
I agree with fb most people *we hope* would read the wiki and find all this awesome info
and if you do update the wiki update the way java6 is installed because unless i did it wrong i could get it working with this:
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
Looks like the package isn't in the archive anymore. I had to do this to install java6 jdk.
Code:
sudo add-apt-repository [B]ppa:ferramroberto/java[/B]
sudo apt-get update
sudo apt-get install sun-java6-jdk
erikmm said:
I agree with fb most people *we hope* would read the wiki and find all this awesome info
and if you do update the wiki update the way java6 is installed because unless i did it wrong i could get it working with this:
Code:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
Looks like the package isn't in the archive anymore. I had to do this to install java6 jdk.
Code:
sudo add-apt-repository [B]ppa:ferramroberto/java[/B]
sudo apt-get update
sudo apt-get install sun-java6-jdk
Click to expand...
Click to collapse
Well erikmm I have a question are you going to had something to the wiki or I should update with my stuff first to the wiki?
solrac1212 said:
Well erikmm I have a question are you going to had something to the wiki or I should update with my stuff first to the wiki?
Click to expand...
Click to collapse
i don't have time to do it so if you can go ahead bro i was just adding my two cents to improve it by adding the correct java6 installation instructions.
Ok tomorrow is THE BIG WIKI'S DAY....on small step for the developers on big step for noobs and users EDIT: Don't worry erikmm I will do all the dirty job tomorrow cuz' is Friday for the love of GOD finally!!!
I am missing one of the ROMs in the list.
Sent from my SGH-T959V using xda premium
Oh sorry itzik2sh forget me man right now i will upload the thread EDIT: check it now itzik2sh your rom is now uploaded
Sent from my SGH-T959V using XDA
I don't think JavaScript and Java is the same. Or am I mistaken that Android reads JavaScript and not Java?
---------- Post added at 10:08 AM ---------- Previous post was at 09:52 AM ----------
solrac1212 said:
MORE COOL EXTRA
Some cool bootanimations just for you guys the easiest way to install this is to use Root Explorer. Download the file and rename to bootanimation.zip. Copy the file and navigate to system/media change the permissions to R/W (read/write) by clicking the button in the top right. Rename the existing bootanimation.zip to bootanimation.bak. Then paste the file in this directory. Change permission back to R/O (read only). Reboot and enjoy the show.
ICS BOOTANIMATION NOT ICS !!! Do you want an ICS experience in gingerbread then check the ICS bootanimation http://downloadandroidrom.com/file/bootanimation/800x480/ICS/bootanimation.zip
I WANNA MAKE A COOL BOOTANIMATION AN CHANGING THE BOOTLOADER GRAPHIC
OK first making a bootanimation not risky follow this guide http://forum.ppcgeeks.com/android-d...ry-create-preview-manage-boot-animations.html Now making a bootloader graphic is dangerous (i'm not the kind of guy who says this "weird word") but anyway here is the link http://forum.xda-developers.com/showthread.php?t=1493466
Click to expand...
Click to collapse
I'm confused and lost and scared. What is the difference between changing the bootanimation and bootloader graphic?
bootloader graphic is the second animation but if you are scared dont change that animation and the bootanimation you dont have to worry you only have to check if the bootanimation is HDPI
EDIT: java and javascript is not the same ( java is for ui and javascript is for web pages and other stuff)
Sent from my SGH-T959V using xda app-developers app
solrac1212 said:
bootloader graphic is the second animation but if you are scared dont change that animation and the bootanimation you dont have to worry you only have to check if the bootanimation is HDPI
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Ok thanks I was a bit paranoid. If the phone fails to load the bootanimation it falls back to a "Android" logo correct? Cause that's what happened to me
in theory yes if you still scared bootloader graphic then dont play with that I am warning you because im not going to be responsible of bricks
Sent from my SGH-T959V using xda app-developers app
How to Build CM11
for the HTC One M8
by bracketslash
Requirements:
Ubuntu 14.04 (64-bit) up and running. Minimum specs: 150GB Hard Drive, 4GB RAM, 2.5GHz processor
Patience
(Actual build requirements: http://source.android.com/source/building.html)
Installing the Necessities:
Code:
sudo apt-get install bison build-essential curl flex git gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre phablet-tools pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
Setting Up our Work Directory:
Code:
mkdir -p /home/<USER>/android/system
Getting Started
Code:
cd /home/<USER>/android/system
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
git config --global user.email "[email protected]"
git config --global user.name "your name"
repo sync
Now, wait a day. It'll take a long time.
Once it's done, we need to add TheMuppets' proprietaries:
Code:
mkdir /home/<USER>/android/system/.repo/local_manifests
Create and edit /home/<USER>/android/system/.repo/local_manifests/local_manifest.xml
Put this inside it:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="git://github.com/TheMuppets/" name="muppeteer"/>
<project name="proprietary_vendor_htc" path="vendor/htc" remote="muppeteer" />
</manifest>
Now, run repo sync again
Code:
repo sync
This will run much faster...It doesn't have to download anything this time EXCEPT for the proprietaries we told it to catch.
Once that is done, we continue with the build:
Code:
cd /home/<USER>/android/system/vendor/cm
./get-prebuilts
cd /home/<USER>/android/system
prebuilts/misc/linux-x86/ccache/ccache -M 75G
export USE_CCACHE=1
source build/envsetup.sh && time brunch m8
Now, just wait. When it is finished, the zip will be in /home/<USER>/android/system/out/target/product/m8/ in the form of cm-11-YYYYMMDD-UNOFFICIAL-m8.zip and cm-11-YYYYMMDD-UNOFFICIAL-m8.zip.md5sum
The md5sum is what you give to people so they know they're in good shape with the right file before flashing.
Changelog
082714
Code:
Initial release
If you find anything wrong or have any questions, just let me know!
Thanks for posting this!
Built my first CM based ROM!
Thanks again for the tutorial!
One step you may want to include is downloading repo command and adding it to path after you download build essentials.
And I am not sure on this but I run Oracle Java so you may want to put a reference to having Oracle java preloaded.
EDIT: Ooops, no sounds. Was there a vendor step missed?
My first build
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
scrosler said:
Built my first CM based ROM!
Thanks again for the tutorial!
One step you may want to include is downloading repo command and adding it to path after you download build essentials.
And I am not sure on this but I run Oracle Java so you may want to put a reference to having Oracle java preloaded.
EDIT: Ooops, no sounds. Was there a vendor step missed?
My first build
Click to expand...
Click to collapse
No sound definitely wasn't something that I had to deal with! I'm not sure on that one.
Also, I have installation instructions listed to install openjdk so that is what can be used to install it.
Additionally, I don't think that I ever installed repo manually. I ran `which repo` and it showed up in /usr/bin/ and I definitely never put it there myself!
Edit: However, if anyone does have issues with repo, Google's official instructions are here: http://source.android.com/source/downloading.html
bracketslash said:
No sound definitely wasn't something that I had to deal with! I'm not sure on that one.
Also, I have installation instructions listed to install openjdk so that is what can be used to install it.
Additionally, I don't think that I ever installed repo manually. I ran `which repo` and it showed up in /usr/bin/ and I definitely never put it there myself!
Edit: However, if anyone does have issues with repo, Google's official instructions are here: http://source.android.com/source/downloading.html
Click to expand...
Click to collapse
Im going to re-install my O/S and resync.
Maybe I have conflicting tools installed.
scrosler said:
Im going to re-install my O/S and resync.
Maybe I have conflicting tools installed.
Click to expand...
Click to collapse
That could be...I guess there could be an issue somewhere along the m8 nightlies that caused the issue as I only do dirty flashes. If it's a huge widespread change, maybe I could be missing it? Food for thought. Let me know what you find, regardless! :cyclops:
I was set up for AOSP by the book. It required a different set of build tools and java. And you are correct, Repo was there when I installed your build tools.
Looks like the Google AOSP maintainers and writers could take note of how you have this set up :good:
Im syncing now...
scrosler said:
I was set up for AOSP by the book. It required a different set of build tools and java. And you are correct, Repo was there when I installed your build tools.
Looks like the Google AOSP maintainers and writers could take note of how you have this set up :good:
Im syncing now...
Click to expand...
Click to collapse
Glad to hear that we found a consistent way of doing it!! Downloading the repo executable seemed like an unnecessary step, so it being automagically included with the build tools as instructed seems pretty convenient...The way I see it, the more people building, the more the opportunity for someone great to rise to fame with an awesome ROM.
@scrosler looks like cm committed something that broke audio in the 8/29 nightly so you probably had it synced correctly the 1st time. To fix the no audio for now you can flash project era.
bracketslash said:
Glad to hear that we found a consistent way of doing it!! Downloading the repo executable seemed like an unnecessary step, so it being automagically included with the build tools as instructed seems pretty convenient...The way I see it, the more people building, the more the opportunity for someone great to rise to fame with an awesome ROM.
Click to expand...
Click to collapse
Indeed!
Synced again last night and audio still broken... I see why now
|
|
\/
krazie1 said:
@scrosler looks like cm committed something that broke audio in the 8/29 nightly so you probably had it synced correctly the 1st time. To fix the no audio for now you can flash project era.
Click to expand...
Click to collapse
Ahahaha! Thought it was something I did!
scrosler said:
Indeed!
Synced again last night and audio still broken... I see why now
|
|
\/
Ahahaha! Thought it was something I did!
Click to expand...
Click to collapse
Yeah man everyone was freaking out in the cm11 thread, so you most likely built it right the first time. You can wait for a fix, flash project era or go back to the 8/27 nightly.
scrosler said:
Indeed!
Synced again last night and audio still broken... I see why now
|
|
\/
Ahahaha! Thought it was something I did!
Click to expand...
Click to collapse
Well...it's sort of like a win, then! A broken build is only a bad build if you caused the problem...so, good build!
Thanks guys.
Now here is a legit question...
How can I revert back to a specific nightly build.
With AOSP I specify a version, not a date in my manifest info.
What would be the key to doing that in CM11? How can I specify a specifc date to revert my local repo too?
scrosler said:
Thanks guys.
Now here is a legit question...
How can I revert back to a specific nightly build.
With AOSP I specify a version, not a date in my manifest info.
What would be the key to doing that in CM11? How can I specify a specifc date to revert my local repo too?
Click to expand...
Click to collapse
Idk but the audio has been fixed and and commited
krazie1 said:
Idk but the audio has been fixed and and commited
Click to expand...
Click to collapse
Effin A! Even better.
I will regain confidence on this build!
scrosler said:
Effin A! Even better.
I will regain confidence on this build!
Click to expand...
Click to collapse
Here is the commit channel if you didn't know it http://www.cmxlog.com/11/
Now I am getting "torch" errors.
Because I am still a CM newb I am going to re-install and re-sync.
After a complete OS reload and fresh sync I have to say...
We have lift-off!
I can confirm the guide in Post #1 is perfect! :highfive: :good:
Thank you for taking the time to elaborate and help!
scrosler said:
After a complete OS reload and fresh sync I have to say...
We have lift-off!
I can confirm the guide in Post #1 is perfect! :highfive: :good:
Thank you for taking the time to elaborate and help!
Click to expand...
Click to collapse
Glad we could get it
Sent from my One M8 using XDA Free mobile app
As far as AOSP..
CM specific pre-builts aside, the build tools are also perfect for pure AOSP.
You just need to run Oracle Java instead of OpenJDK :good:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
https://mega.nz/#!CYUC2KzI!KnHmytu3EnTdxO16gWMC8YeiIRql2DSZYjqflwwcCC0[
/CENTER]
GIDR (named GIDE on the play store) is a ROOT application that installs a fully working GCC compiler on your phone. It works from the GUI as still from the Terminal. (Note that Jackpal Terminal is required to run this app.
Features:
- GCC 5.2.0
- standalone install
- no delete on uninstall
- heavy install (250 mb on internal storage)
Known bugs / faults:
- UI sucks (yes it does )
- Takes very long time on extracting (up to 5 min on a s3 mini due to hardware restrictions)
Changelog:
1.1
- new design (sucks still)
- code improvements for faster extracting times (about 20 secs now)
1.0
- initial release
- added Material support
- created GitHub repo
XDA:DevDB Information
GTerminal, App for all devices (see above for details)
Contributors
Thargorsson
Source Code: [url]https://github.com/PythonLimited/GTerminal[/URL]
Version Information
Status: Beta
Current Beta Version: 1.0
Created 2016-11-21
Last Updated 2016-11-21
Reserved
Reserved #1
Is this still in the making bro? I am excited as hell for this. I have been searching for a month for an app like this. If u need any testers I would be more than happy to help
noob4598 said:
Is this still in the making bro? I am excited as hell for this. I have been searching for a month for an app like this. If u need any testers I would be more than happy to help
Click to expand...
Click to collapse
Jup i can send you test apps nearly daily. I'm actually implementing a new design along with full terminal support.
Thargorsson said:
Jup i can send you test apps nearly daily. I'm actually implementing a new design along with full terminal support.
Click to expand...
Click to collapse
Awesome bro that's sounds great. Send away. I will help any way I can. Bug reports, tests, you got it. My initial goal was to compile a kernel for my note 4 on the device itself but i havent been able to find a single guide or even a reference to someone doing it. A lot about compiling apps but none about compiling a kernel from source. I have a pc with manjaro and all the build tools but I can't carry that around with me all day and i know the note 4 has enough power to do it. If I knew enough and could build apps I would build one like a mobile android studio. Pick your source code, pick your toolchain, automatic detection of makefiles and such, built in make menuconfig, hit compile then boom....easy peasy.....here's your kernel sir. Haha. I know that would make things way too easy but what I don't get is with all the kernel developers, why nobody has made a kernel specific IDE..... just for compiling and modifying the android kernel......but anyway, damn got way off track there....shoot me the builds bro. And let me know what you need from me. Thanks
noob4598 said:
Awesome bro that's sounds great. Send away. I will help any way I can. Bug reports, tests, you got it. My initial goal was to compile a kernel for my note 4 on the device itself but i havent been able to find a single guide or even a reference to someone doing it. A lot about compiling apps but none about compiling a kernel from source. I have a pc with manjaro and all the build tools but I can't carry that around with me all day and i know the note 4 has enough power to do it. If I knew enough and could build apps I would build one like a mobile android studio. Pick your source code, pick your toolchain, automatic detection of makefiles and such, built in make menuconfig, hit compile then boom....easy peasy.....here's your kernel sir. Haha. I know that would make things way too easy but what I don't get is with all the kernel developers, why nobody has made a kernel specific IDE..... just for compiling and modifying the android kernel......but anyway, damn got way off track there....shoot me the builds bro. And let me know what you need from me. Thanks
Click to expand...
Click to collapse
Ok bro I'll send you the latest nightly build in about 1 hour. It has a new design (very simple but has error output). It downloads the GCC from my GitHub and then extracting it to /data/local/GCC. It creates links to /system/bin as well so you can test it out via terminal. It is a debug version so you can see logcat from it. One error I got (for now) is that it cannot unzip the GCC zip to /data in cause of permission errors but for somehow it copies. So that would be a starting point. And about your idea to create an IDE for Android and so on, GREAT that would be the goal for me. Cya later. Btw did you have Skype? Would be faster to talk to each other.
Thargorsson said:
Ok bro I'll send you the latest nightly build in about 1 hour. It has a new design (very simple but has error output). It downloads the GCC from my GitHub and then extracting it to /data/local/GCC. It creates links to /system/bin as well so you can test it out via terminal. It is a debug version so you can see logcat from it. One error I got (for now) is that it cannot unzip the GCC zip to /data in cause of permission errors but for somehow it copies. So that would be a starting point. And about your idea to create an IDE for Android and so on, GREAT that would be the goal for me. Cya later. Btw did you have Skype? Would be faster to talk to each other.
Click to expand...
Click to collapse
Thanks bro. Im excited as hell. No skype. I can probably get it. I do have telegram which I use and alot...mostly cuz it's so quick like sms. And quick is probably better because I would be grateful for your knowledge at times. I'm still learning...but only way for most to learn is by help from others with more skills and knowledge such as yourself. Do you build roms and kernels?
noob4598 said:
Thanks bro. Im excited as hell. No skype. I can probably get it. I do have telegram which I use and alot...mostly cuz it's so quick like sms. And quick is probably better because I would be grateful for your knowledge at times. I'm still learning...but only way for most to learn is by help from others with more skills and knowledge such as yourself. Do you build roms and kernels?
Click to expand...
Click to collapse
I'm actually teaching myself in.
Attached is the latest version.
Install it run it and then open up a terminal type in su and then you can run GCC / make etc.
Telegramm ist nice I'm gonna create a group.
Cya later
Edit c u tomorrow I have to sleep.
Awesome bro. Thanks.
What's this mean?
noob4598 said:
What's this mean?
Click to expand...
Click to collapse
That there was an error while unzipping :victory:
Ok if you are on Android 4.4 or above please go to settings->apps->GCC and ensure that storage permission is granted. Second did you allowed root access?
Third did you have BusyBox installed?
Fourth did you downloaded the file correctly? (Did the process has gone to 100%).
If you don't have root tell me then I will fix that.
I am on 6.0 MM and I have Systemmode Su 2.79. I made sure storage was granted and I keep my supersu set to always grant all. And busybox in xbin. Does it need to also be in sbin? Also wound mount namespace matter? I'm gonna attach screens
noob4598 said:
I am on 6.0 MM and I have Systemmode Su 2.79. I made sure storage was granted and I keep my supersu set to always grant all. And busybox in xbin. Does it need to also be in sbin? Also wound mount namespace matter? I'm gonna attach screens
Click to expand...
Click to collapse
Hmm check if there is a GCC compiler in /data/local/GCC then tell me.
It could be that it doesn't symlinks the files (that would explain the runtime error)
Oh yea I checked that first and it's there. Also .GCC hidden folder on sd. This is my path. Is there suppose to be a GCC/GCC subfolder
noob4598 said:
Oh yea I checked that first and it's there. Also .GCC hidden folder on sd. This is my path. Is there suppose to be a GCC/GCC subfolder
Click to expand...
Click to collapse
Ok then nice. Just go to bin and symlink those files to /system/bin
With those commands:
"ln -s /data/local/GCC/bin/arm-linux-androideabi-gcc /system/bin/gcc"
Replace the GCC with g++ or ar or ld.
Btw here is Telegramm Chat Link. Im Leonardo Meitz.
https://telegram.me/joinchat/COXZlz4B7y2wVqaqdQ6PbQ
Thargorsson said:
Ok then nice. Just go to bin and symlink those files to /system/bin
With those commands:
"ln -s /data/local/GCC/bin/arm-linux-androideabi-gcc /system/bin/gcc"
Replace the GCC with g++ or ar or ld.
Btw here is Telegramm Chat Link. Im Leonardo Meitz.
https://telegram.me/joinchat/COXZlz4B7y2wVqaqdQ6PbQ
Click to expand...
Click to collapse
No link bro to telegram.
https://telegram.me/joinchat/CkS7QUFTvf3Zse-PrnjpWw
I don't know how to add you other than this link.
noob4598 said:
No link bro to telegram.
https://telegram.me/joinchat/CkS7QUFTvf3Zse-PrnjpWw
I don't know how to add you other than this link.
Click to expand...
Click to collapse
Ok im in nro
I'm actually adding no root support. But there are some troubles with permissions in the /data folder so it will take about 1 additional day to work fully.
Attached latest test build. It extracts GCC now to /data/data/pythonlimited.gcc/GCC but the permission are still buggy so I can't execute GCC directly.
Will be fixed I promise.
Downloads
https://mega.nz/#!7A1RCKZb!4yBP6WuuuSmxY1v2ozXMwv5q0XXc0Q_zjKXkbtO1NbQ