yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] x24:
Wow, nice one. I'm also trying to port this sweet little thing (jelly bean).

I edited ramdisk (using nexx's CM9 kernel), and get the ROM to boot in software mode, but launcher, systemui, etc all FCing due to lack of lib, driver etc I think, totally unusable atm.

Then I tried to add libs, modules, key layout etc step by step. Got the egl driver from CM9 to load, showing the boot animation. My current problem is with gralloc, it wouldn't load some libs, and also with audio flinger service. The ROM currently won't boot as the service manager is waiting for media and audio flinger service. And the audio flinger service seems to fail to load. Still looking for workaround for the audio flinger.

I will compare lib and etc with this ROM, as obviously, the OP has a lot more experience in porting than I do. I think the jelly bean has some differences in gralloc and audio architecture.

Downloading...
[HTC Desire S] proxuser:
Another idea. Just get the software for folder and file compare. then look at nexus s port what porter changed for porting. Base rom for nexus s, ported rom and original galaxy nexus rom must be compared for this..
[HTC Desire S] talktoraj83:
Where are you Prox....not seeing you around since long...:(
[HTC Desire S] vampire36:
Somehow gralloc issues exist everywhere...but doesn't occur with one-x kinda config but exist with msm7x30...all are trying to get their best...
[HTC Desire S] x24:
I also see someone in sensation thread having problems with gralloc on their msm8xxx. I think google make changes in how the graphic work... and audio too. With HOX, I think it's because of the tegra, if I'm not mistaken, there is dump from nexus 7 which is also based on tegra.

Yeah, I did this between galnex and sdk dump, easier than trying from scratch... lol. :D
[HTC Desire S] xdragonforce:
Mirror

Fixed the broken link. Downloads on sourceforges very fast servers now :)

https://sourceforge.net/projects/jellybeanalpha/files/htc/saga-jellybean-wip.zip/download
[HTC Desire S] lukrop:
Nice to mirror files thanks. :) But maybe you should mirror files that are less... let's say "broken".. I'm sure that would be very helpful ;) Anyway, thanks!

edit: uhm, that sounded odd.. i meant to say maybe you should mirror files of other ROMs and check back here if/when there has been some progress.
[HTC Desire S] dan-fish:
I'm curious. The Jelly bean source will drop soon. Even without kernel 3.0 will we still have the same functionality we see in ICS? Since the changes aren't major I would assume we would but I don't know enough to be sure.

@xdragonforce, your mirror is broken!

Also anyone tried the stock kernel 3? The Desire Z guys seemed to have made good progress in terms of the kernel on CM9. This could help Jelly Bean as well. Although it's probably useless without the source
[HTC Desire S] Karimmunir:
No luck getting it past the HTC splash-screen so I could have a logcat. I'll try what Prox suggested and see what happens.

Of course I know that any official JB will have Sense. I was worried that we might not get it. If we get it, it will have the kernel source as there might be some kernel changes in JB. I know that the main problem in the transition from GB to ICS was that the kernel jumped from 2 to 3 and we don't have the source. New changes in the kernel might prove difficult but won't be a major thing.
[HTC Desire S] mmmcfc:
Did you have to edit the kernel??
[HTC Desire S] pcrepair:
The source for jellybean would help as it is mainly fixes and improvements over ics and should allow for better builds rather than porting. I think we will still be in the same position we are with ics until kernel 3 source is released.

SIGNATURE

AOKP build 40 from Tectas, CM9 Music.apk, sweep2wake #3 kernel from nk111 and custom thundercats lockring.
[HTC Desire S] superkid:
I will upload my build so you guys can work on it, had only 2 hours to work on it on weekend, so didnt got much, just boot withought egl
[HTC Desire S] superkid:
Sorry it took me like 7 hours lol, slow update and fall asleep

deleted

i will try to reupload it so you guys dont kill my dropbox xD, also i hope i updated the right one :P

edit: reuploaded http://goo.im/devs/Super/JBAlphaSuperKid.rar enjoy :P
[HTC Desire S] vampire36:
Okay yest reporting from scratch...Mine for now gets stuck at bootanimation with errors about /net/RawSocket something something...gralloc issue hasn't stuck me yet and egl was loaded...the current seems libc issue...lets see how far i go with this today night...as i had expected egl thing to splash but somehow it loaded everything and didn't give the eglrendering issue...now will need to see if i replace libc with the jb 1 what all breaks for now root cause seems framework which calls something from this libc and that seems to have changed...:)
[HTC Desire S] superkid:
:P Put logcat if you can hehe, i have tommorow a test, and no time, so cant atm really work on it, bu ti can look at logcat and try to help if you want :P
[HTC Desire S] MicShadow:
It's probably just me, but I cant this to install through recovery,even after i rezipped it. How do you get it to install?
[HTC Desire S] vampire36:
I actually haven't looked at it much...will post it when am back home...now in office :P

I guess my office will kick me out if I continue porting here too :P

Edit :

Something like this...
[HTC Desire S] superkid:
Just go to that smali in and take the missing native methods :P
[HTC Desire S] vampire36:
This is not framwork related...so dont guess smali issue...
[HTC Desire S] superkid:
It is smali issue, but not on framework :P dalvikvm = smali :P
[HTC Desire S] vampire36:
Didnt get you i guess baksmali and smali are tools to edit jar files...

Hows dalvikvm = smali ?
[HTC Desire S] superkid:
smali/baksmali is an assembler/disassembler for the dex format used by dalvik

meanin, the code inside smali files is dalvik code :P

anyways... lets back to focus.. i will try to edit the gralloc later .. maybe it will work
[HTC Desire S] vampire36:
Ahh that way...yup i was looking at it more from dalvikvm point of view :P

Neways let me see how i progress
[HTC Desire S] smokin901:
I am stuck on same error when tried porting to HD2.I have compared framework.jar from ics and JB and could not find it's implementation anywhere.
[HTC Desire S] superkid:
I fixed the missed methods, but then i get to this

http://logcat.miui.us/885023
[HTC Desire S] vampire36:
Guess you porting it the other way causing major issues...files missing...egl issues...

Try cm9 as base and put media framework fonts and stuff from sdk to your base...

then libs and etc folder copy paste...but don't replace anything new files skip existing ones...

Done..then fix issues...atleast gralloc and stuff are loaded well...:)
[HTC Desire S] superkid:
gralloc loaded well, missing files doesnt matter, and the small egl issue its at the beggining and then its creates the folder, then works... so its good... vampire, can you get me your build?
[HTC Desire S] dan-fish:
May be off topic slightly, but will we see anything from you when the source comes out superkid or will it only be through miui?
[HTC Desire S] superkid:
I have no idea if i will have time, i start my vacations in 1 week :P so i might hehe

edit: thats why i am so busy ;)
[HTC Desire S] shrome99:
Yay, vacations for you = JB for us :D

Sent from a device waiting for the Kernel 3 source code. WAKE UP HTC !!!!!
[HTC Desire S] x24:
Wow, that's great. Could I get the modified libs? If you wouldn't mind of course. I'm currently stuck with gralloc, hwcomposer, and out of memory issues. :o
[HTC Desire S] vampire36:
Sorry it was 1 at night yest...here i go...upploading should be up in an hour :)

Link : https://docs.google.com/open?id=0BygRxyDRJOTcSjVqUjdaR3dKdWs
[HTC Desire S] lukrop:
1114:	E/rmt_storage( 1380): usage: /system/bin/rmt_storage <st1_path> <st2_path> <radio_config_path> [<fsg_path>] [<9k_efs1_path>] [<9k_efs2_path>] [<mdm9k_config>]

looks like the rmt_storage binary gets called the wrong way but you might have guessed that. The question is what could the problem actually be... maybe one of the pathes is wrong or one of the config files is corrupt or non existent.
[HTC Desire S] SolInvictus:
But if that was the case, wouldn't the error message be more like path or target not found. The error message shows how to correctly use the binary, which to me says that the command isn't using the correct arguments. Could that mean then that the arguments have changed from Ics to jb, and that one of the Ics files that have been copied across is trying to use the old style command arguments?

Just an educated guess.
[HTC Desire S] superkid:
http://d-h.st/tFn

http://d-h.st/qXH

This are the fixes for the missing native methods, i will work with the build later, too busy :P

edit: maybe we can get some kind of Super-Vampire build haha
[HTC Desire S] suku_patel_22:
Super-Vampire would be super deadly :)

May the vacations approach super fast for you :D

Tapatalked from a Desire S waiting for Kernel 3 sources. WAKE UP HTC!!!!!!
[HTC Desire S] vampire36:
Sure was a bit down on helath...up and running...lemme see what all can i fix :)

Hope my build helps :)
[HTC Desire S] superkid:
Sorry guys, worked on the build, couldnt do much, it gets stuck to me on

and not sure what can do, and my time is out :P
[HTC Desire S] shrome99:
Meh, I'd be lying if i said that I believed we would get something out of the SDK/system dumps. Look at the bright side though, the source lands in about 2 weeks :D

Sent from a device waiting for the Kernel 3 source code. WAKE UP HTC !!!!!
[HTC Desire S] vampire36:
Will be great if you can put the whole log...seems its missing an field basically :)
[HTC Desire S] nickholtus:
hi,

i am trying to port this to the xperia play (also msm7x30 same hardware as the desire s)

only one problem left:

E/ ( 112): Failed to connect to host (QemuPipeStream)!!!

E/EGL_emulation( 112): Failed to establish connection with the host

if this error is fixed it is booting and a port to this device is easy:)

hope anyone can help
[HTC Desire S] superkid:
You using emulation egl :S change the egl folder in lib :P put in the egl.cfg 0 1 android or the one on cm9... and after this error you will get lots more , harder, so dont expect it to boot after it
[HTC Desire S] nickholtus:
haha tried that

it boots after editing it to 0 1 android but with really strange issues lockscreen appears after 30 seconds it hangsand dissapear.

so it is an egl issue (asked also google devs who says use emulation in egl.cfg)
[HTC Desire S] superkid:
wtf, you saying that google devs told you to use emulation in egl? can you please forward me to them, so i can arrange them to get fired?

emulation egl are for NO HARDWARE, its only to emulate hardware in software (emulator in sdk)
[HTC Desire S] nickholtus:
Because the ardeno drivers need to be rewritten they said it is easier to do that yes
[HTC Desire S] superkid:
Adreno drivers dont need to be rewritten, maybe the other way, jb need to be changed to fit the drivers :P

and no, still, if there is no adreno drivers you use 0 1 android that is a basic gles prepared for basic hardware, never an emulator one :S
[HTC Desire S] nickholtus:
Tried that then I get some egl issues in logcat.... And then I only sometimes get the lockscreen

Just waiting 1 a 2 weeks then the sources are out
[HTC Desire S] Px80:
Where did you get this Jelly Bean Rom ? ^^
[HTC Desire S] mmmcfc:
It's either from the Nexus 7 system dump or Galaxy Nexus JB preview from Google IO, depending on which ROM you are referring to.

On another note, any progress guys? Sorry I haven't made any more attempts - been busy these last few days. Will try again tomorrow.
[HTC Desire S] shrome99:
It's here. The jellybean source has arrived. Let the games begin :D

Sent from a device waiting for the Kernel 3 source code. WAKE UP HTC !!!!!
[HTC Desire S] mmmcfc:
Compiling ... will take a while because my laptop is not very fast
[HTC Desire S] shrome99:
Where the hell is superkid when you need him :p:p:p
[HTC Desire S] dan-fish:
This won't work with CM9 repositories will it? Tried it mmmcfc? CM9 is the closest thing we have to AOSP
[HTC Desire S] SolInvictus:
Might have a crack at compiling it myself tonight.

How hard can it be? :-P
[HTC Desire S] Kolo39:
Any news about project JellyBean :P

When can we expect an unstable but bootable ROM?
[HTC Desire S] 92Lucio92:
Tell me if you need help as tester ;)
[HTC Desire S] dan-fish:
Jelly bean development on msm7x30 seems to be dead. I've downloaded the source but haven't had a chance to see if it compiles.
[HTC Desire S] mmmcfc:
The source only came out a day ago, the other devs (e.g nexx, superkid) will definitely get it working soon. My compile failed after an hour :@ will try again tomorrow... busy today.
[HTC Desire S] superkid:
I will get working on it this friday :P i just finished the first part of my project :P so i will have time
[HTC Desire S] vampire36:
I tried my best...modified files...half way down have reached a road block...

ERROR: prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar only run on 64-bit linux

32 bit machine just can't compile jb...so i can't...Btw was using my office pc...:(
[HTC Desire S] nk111:
my build still runs... :silly:

wish me some luck
[HTC Desire S] shrome99:
Not dead dan-fish, I have a LOT of hope from superkid and nk111, it would be great if they worked together ;) Although, there's nothing coming from the IS or DHD sections, both devices are ditched by the devs apparently.......
[HTC Desire S] mmmcfc:
I made one more attempt at compiling today but this error keeps coming up:

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Any suggestions as to how I can get past this?
[HTC Desire S] dan-fish:
Yeah I guess ICS was just a bigger deal which is why development probably isn't as quick
[HTC Desire S] lukrop:
Did you already recompile with the -Xlint flag? should give more information as stated.
[HTC Desire S] amidabuddha:
These are warnings, you should be able to compile fine with them. At least it did at ICS

If it gives you error and stops the build make sure that you have the proper java SDK version
[HTC Desire S] suku_patel_22:
Common java warnings .

Google is using old deprecated methods.. :)

Tapatalked from a Desire S waiting for Kernel 3 sources. WAKE UP HTC!!!!!!
[HTC Desire S] mmmcfc:
How would I do that?

I have Java JDK 6 but it stops compiling because of this error.

when I type java -version this is what I get:

java -version

java version "1.6.0_33"

Java(TM) SE Runtime Environment (build 1.6.0_33-b03)

Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
[HTC Desire S] amidabuddha:
Yes it is the proper one.

Please search for the exact error message it will be more informative. I am sure it is somewhere among these Note lines
[HTC Desire S] mmmcfc:
I searched for 15+ minutes and couldn't find a solution. I even downloaded the source again...
[HTC Desire S] amidabuddha:
Sorry, I meant to search in the output of your Terminal when the compiling stops :) Sometimes especially if you use more than one CPU thread for building the compiling continues several second after an error pop ups and you have to scroll back in the Terminal to find it.

I am sorry that my answer was not clear enough. Anyway there should be an error description beside this warnings...
[HTC Desire S] Troja:
where can I download it. the server is not so good?
[HTC Desire S] dan-fish:
Just curious

Did anyone else have to add LOCAL_MODULE_TAGS to several files? I'm thinking my repo sync may be bad.
[HTC Desire S] vampire36:
I did go on...gps might give an issue some inc5000 if am not wrong...just delete gps folder for now...and go on :)
[HTC Desire S] dan-fish:
Yeah i got that issue after. That's what I did although I think there may be a better solution
[HTC Desire S] superkid:
Time to start syncing lol
[HTC Desire S] dan-fish:
Do you guys think it would be easier if there was a github which had the jellybean branch with the changes already made for the saga? I've seen other devices have already done it.

Nice to see you starting early superkid!
[HTC Desire S] shrome99:
:D:D:D:D:D Now I'm excited. Do you have any more college or just vacations? I hope you're free ;)
[HTC Desire S] superkid:
I aint 100% free yet, but a lot more :P damn, syncing will take years to me :P asking for a server to someone ;)
[HTC Desire S] SolInvictus:
I have a fresh sync set up, haven't had chance to look at the code. In fact, I don't even know what to do, but I've decided now is as good a time as ever to learn!
[HTC Desire S] dan-fish:
The glacier has a ROM booting from source. Seems progress is being made
[HTC Desire S] :
Superkid, if you need my compiling machine with fast internet, give a PM and ill pass you my Teamviewer details ;-)

EDIT: downloading JB source now. lol i'd fancy some jelly beans now x) REPOOOO SYNC

---------- Post added at 12:14 PM ---------- Previous post was at 12:05 PM ----------

OR you could add the folder from CM9 source. worked for me when i compiled AOSP ICS ;)

---------- Post added at 12:16 PM ---------- Previous post was at 12:14 PM ----------

Yes, its normal that you need to do that ;) Same with ICS AOSP
[HTC Desire S] superkid:
Yeah, i need a compiling pc, mine just turned off at hte beggining of compile :P anyone have one with ssh support i can use?
[HTC Desire S] :
Anyone on a device tree yet?

---------- Post added at 01:36 PM ---------- Previous post was at 01:36 PM ----------

Im installing ssh and ill send you a pm in a few. maybe an idea to open an IRC?

aah good 'ol ICS times
[HTC Desire S] Zokormazo:
sudo apt-get install openssh-server

sudo adduser superkid

sudo passwd superkid

add random password and give him ip user and pass, it's done!
[HTC Desire S] superkid:
sure! Register an irc now :P i will join directly :)
[HTC Desire S] nk111:
i created the jellybean tree for the cm_saga device repo today :angel:

it just includes the changed logging macros (LOG -> ALOG)

More stuff will probably follow. My build doesn't get through yet either. Lots of fixes needed. Audiolibs made me crazy. OMX headers needed to be changed too. Some module tags had to be set. And most of the time I don't really know what I am doing exactly :D

And I'm 100% sure IF it will compile some day it WONT boot. But I'll continue trying... next week!

cu guys
[HTC Desire S] :
havent registered this thing yet, but try #jellysaga on webchat.freenode.net:D im on it on my compile machine and normal pc x)

great work nk111!, too bad i dont have code knowledge :(

---------- Post added at 01:48 PM ---------- Previous post was at 01:44 PM ----------

hmm did this, password and username = superkid, what IP do i need to give him? my public?
[HTC Desire S] superkid:
nice nk111 :D
[HTC Desire S] Zokormazo:
Yep, public ip to be able to access your machine. BTW, you'll have to forward port 22 to your machine on firewall/router/gateway/whatever you use to connect to internet ;)
[HTC Desire S] :
hmm server connection keeps timed out... lol high speed internet but crappy router (ZTE H220N)
[HTC Desire S] nk111:
the jellybean tree for android_device_htc_msm7x30-common should be up very soon. I asked kali to create it so i can start pushing my changes there :cool:

not that I repaired much but maybe it helps someone to get a start
[HTC Desire S] shrome99:
Kali's still on 7x30? AWESOME :D:D:D He was the one who fixed HW acceleration on ICS, right?

BTW, there's a lot of buzz about provisiondev 's work around twitter. He and Paradoxx (the guy who made Hydrogen ROM) have made some brilliant mock ups and beginning work on that. You may want to check out their source.

Sent from a device waiting for the Kernel 3 source, WAKE UP HTC
[HTC Desire S] M..N:
Seems its up (I think) https://github.com/CyanogenMod/android_device_htc_msm7x30-common/tree/jellybean
[HTC Desire S] shrome99:
M..N I see you're here too :) I think someone should call shaky and twisted umbrella and restart the IRC :D

Sent from a device waiting for the Kernel 3 source, WAKE UP HTC
[HTC Desire S] dan-fish:
I'm assuming it's not done since the changes haven't been made
[HTC Desire S] amidabuddha:
Was wondering why it doesn't sync :)

Let's see can we cook this one :cool:

Sent from my HTC Desire S
[HTC Desire S] nk111:
the changes first have to be provided...

... by us or someone else!

:D

---------- Post added at 03:43 PM ---------- Previous post was at 03:38 PM ----------

to be more specific... kali just cloned the ics tree to the jellybean tree so we can start working on that new branch now.

so better start fixing errors and submitting patches everyone! :cool:
[HTC Desire S] amidabuddha:
fatal: https://github.com/Cyanogenmod/android_device_htc_msm7x30-common/info/refs not found: did you run git update-server-info on the server?
fatal: https://github.com/Cyanogenmod/android_device_htc_saga/info/refs not found: did you run git update-server-info on the server?

Am I doing something wrong or we have to wait a bit more?
[HTC Desire S] dan-fish:
You need a capital M in CyanogenMod. I had the same problem!
[HTC Desire S] :
hmm compiling JB here now for quite some time. lol i cant keep my eyes of that terminal x)
[HTC Desire S] superkid:
damn cant keep my eyes out of your terminal? :P
[HTC Desire S] mmmcfc:
shaky announced on twitter that he won't develop again on xda, and that he has deleted his account
[HTC Desire S] lhn1989:
it sounds great! good luck !
[HTC Desire S] onlyankush_s:
What's the progress djpbx and superkid....

Fingercross I hope it boots....
[HTC Desire S] suku_patel_22:
Best to check on IRC

#jellysaga on freenode

Tapatalked from a Desire S waiting for Kernel 3 sources. WAKE UP HTC!!!!!!
[HTC Desire S] :
Ashame I'm at work today, but ill resume work around 7 GMT+2
[HTC Desire S] nk111:
Dunno how long this compile marathon already lasts... maybe like 4 days? Just fixed another issue by adding msm_mdp.h from CAF. Last 2 days i try to fix build errors all remote by only using the phone and irssi connect bot ;) Hail to hackers keyboard!!!
[HTC Desire S] nk111:
OMFG! Its dexing! Usually one of the final build steps...

I AM EXCITED!
[HTC Desire S] nk111:
Freaking out!
[HTC Desire S] X_lawl_X:
Wait, does it actually boot? I didn't really expect that. o.0
[HTC Desire S] nk111:
Ladies and gentlemen...

We have a build!

I'm 100% sure it won't boot...

I'm goin to flash now ;)

Cu after restore!
[HTC Desire S] dan-fish:
We don't know yet. The build has just finished compiling!
[HTC Desire S] superkid:
i been compiling for at least 6 hours... i might quit trying until i get a better enviroment
[HTC Desire S] :
Wait for three hours Superkid, ill fire up the beast then ;)
[HTC Desire S] nk111:
guess what.. it didn't boot :(

here's the logcat:

http://pastebin.com/QbpvhUXC

any ideas?
[HTC Desire S] :
I think thats an EGL issue ;)

07-14 19:46:12.891: E/libEGL(1209): eglGetDisplay:121 error 300c (EGL_BAD_PARAMETER)
07-14 19:46:12.891: E/libEGL(1209): eglInitialize:137 error 3008 (EGL_BAD_DISPLAY)
07-14 19:46:12.891: E/libEGL(1209): validate_display:209 error 3008 (EGL_BAD_DISPLAY)
07-14 19:46:12.891: E/libEGL(1209): validate_display:209 error 3008 (EGL_BAD_DISPLAY)

superkid has such a similar issue too... he had issues with libgenlock.so

I downloaded CM JB source now too. but i'll stick with AOSP. i only use it to fix some code if i run into errors :)
[HTC Desire S] nk111:
i'm not able to do much debugging here atm...

grab yourself the build and try to fix EGL if you want :D
[HTC Desire S] vampire36:
2 ways too look at it...

1 source file see what those functions do...if you can forward me the file can take a look and help...Just a parameter issue...maybe the function prototype has changed...

Or take a step back and just use the egl from cm9...and all related cm9 egl files..it loads up for sure wothout egl issues...for reference i have my build posted in this thread too :)...

Edit : Cool gottcha...I ll try the porting way tom and let you know :)
[HTC Desire S] :
Ill see later today or tomorrow. cant keep my eyes of my terminal :)

and i worked all day (and i need to work tomorrow too) so ill better chill out some too this evening. :angel:

Great vampire36. the more people on JB the better :)