yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] JieeHD:
AudioStreamOut* AudioHardware::openOutputStream(
uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
{
{ // scope for the lock
android::Mutex::Autolock lock(mLock);

// only one output stream allowed
if (mOutput) {
if (status) {
*status = INVALID_OPERATION;
} else {
LOGD("Output stream already exists, using existing channels and format");
*status = NO_ERROR;
}
}
return mOutput;
}

// create new output stream
AudioStreamOutMSM72xx* out = new AudioStreamOutMSM72xx();
status_t lStatus = out->set(this, devices, format, channels, sampleRate);
if (status) {
*status = lStatus;
}
if (lStatus == NO_ERROR) {
mOutput = out;
} else {
delete out;
}
}
return mOutput;
}

Hopefully should be a fix for audio on the N1, maybe you want to have a look at it for the Hero?

Full file is here - https://github.com/JieeHD/android_hardware_msm7k/blob/ics-libaudio/libaudio-qsd8k/AudioHardware.cpp
[Hero, G2 Touch Android Development] dkelley:
sweet man, sweet

JieeHD, is anyone on other platforms having issues with display timeout settings? it doesn't render the 1 min 2 min, 5 min etc select box on my phone... the screen blurs for a sec like it's about to render something cool, then just reverts. maybe it's a screen resolution issue?

---------- Post added at 08:50 AM ---------- Previous post was at 08:46 AM ----------

oh, and my baseband version is 63.18.55.06SH_6.35.17.03.

I notice our ics rom uses fly 13 by default - nice :-). any chance it would work better with lv 0.6.2 with any of these issues?
[Hero, G2 Touch Android Development] JieeHD:
Can't say I've noticed, could be a surface flinger issue as most devices seem to have a problem with it atm
[Hero, G2 Touch Android Development] snailydale:
I'm very interested to try this so I will do when I get the chance :)
[Hero, G2 Touch Android Development] nickholtus:
I can't make calls anymore

i maked 1 call and than i have no network.

and ICS is really slow, i have many force closes and i cant acces the menu.

in the video it is a lot faster.

After try to enter the menu i get the android logo and then i get to the lockscreen
[Hero, G2 Touch Android Development] dkelley:
now THAT sounds more like what I experienced :-)

although mine is relatively speedy for a first build of a brand new OS release that isn't optimized at all yet for the hero....

but the seemingly random issues and instability of calls/data... yes I agree.
[Hero, G2 Touch Android Development] Prof Peach:
Tried flashing lv kernel but made no difference.

Lots of code on the cdma pages re sound if that might be of any help.

sent from HeroDeck using XDA App
[Hero, G2 Touch Android Development] Prof Peach:
Lots of progress being made for the LG Optimus 3D...... youtube video will get us all more than a little excited.

http://xdaforums.com/showthread.php?t=1348810
[Hero, G2 Touch Android Development] Lirasina:
Got terrible ill half a day after I posted my last thingy, so not been on XDA so back now. Gonna check the Alpha 2 and to see if I can again do something on that one.

BTW again on some post I saw about CM support. I think for 70% that CM will not support the older devices with ICS XD like the Hero and the magic and all those :P So I guess we need to figure out most ourselfs.
[Hero, G2 Touch Android Development] bamboo2005:
Yes,my hero is too old to use the ROM,my hero entry home page,after 1minutes,my hero restart again,and again.. and no signal for CMCC

Thanks,you have done a good job.keep it.

It is a hope for hero..
[Hero, G2 Touch Android Development] Lirasina:
That is because you still have a sim in your phone, I had the same. When I removed my sim and my phone stopped pinging for my carrier it worked. Though it aint a phone then so that is crap :P
[Hero, G2 Touch Android Development] loco00:
hm... as far as I know, this ICS have native FLAC support right? (well, my FLAC audio files is shown in music playlist, so it means it should work)
[Hero, G2 Touch Android Development] Prof Peach:
I have mix of music formats on my SD card, none of which show up on music player..... although I have a few mp3 in notification folder which do show up. The player shows them playing but with no sound via speaker or headphones. No static sound from headphones either when plugging in or out

sent from HeroDeck using XDA App
[Hero, G2 Touch Android Development] Arranmc182:
When is alpha 3 coming out? Also found this not to slow but battery life was bad and my sim card worked connected to Three UK fine but APN did not work at all but its looking great good job.
[Hero, G2 Touch Android Development] Dazze:
Good job. Hope you get it stable. ICS on htc hero (Stable) will crush iphone :P
[Hero, G2 Touch Android Development] bluepinkpanther:
It's running better that gingerbread when the aosp was released. :)
[Hero, G2 Touch Android Development] a1Pha:
great! would you mind setting up a git repo so we could help?
[Hero, G2 Touch Android Development] dkelley:
oooh good call.
[Hero, G2 Touch Android Development] :
I wish I could tell you, but until I sort out the issues regarding calling and data, there's really no point in further development. As soon as I find a solution to that, there will be updates more often.

https://github.com/TeamICS :)
[Hero, G2 Touch Android Development] randomblame:
http://r.cyanogenmod.com/#change,10290

Source candy armv6 dalvik fix
[Hero, G2 Touch Android Development] loco00:
My carrier, DiGi from Malaysia can use this ROM, whether calls or data. radio used: 63.18.55.06SU_6.35.17.03
[Hero, G2 Touch Android Development] :
The radio issues seems to be solved! I'll test it during the day and upload a new version when I get home. After that, I can start fixing the rest of the bugs :)
[Hero, G2 Touch Android Development] sphinxy:
Nice :)

This is awesome and it looks fun to test....however, I have bought myself a new Galaxy Nexus! Looking forward to receiving it really soon!

Its been a pleasure and really do look forward to mucking around with this on my Hero :D (before i sell it!)
[Hero, G2 Touch Android Development] darkmansd:
awesome!!! cant wait for it... :)

but can you tell us what the issue was? just curious :)

@sphinxy: congratulations :) but do you experience the volume bug?
[Hero, G2 Touch Android Development] :
I just copied the libril and libhtc_ril from GB to ICS. I got a tip about it from an Evo dev :)
[Hero, G2 Touch Android Development] Lirasina:
Why did I not think about it....
[Hero, G2 Touch Android Development] puppyko:
Great work Stritfajt :D

It seems like you're the only one working on ICS for GSM Hero atm :rolleyes:

Big cheers for you!
[Hero, G2 Touch Android Development] Lirasina:
Ok it works now. but my phone just showed in the logcat that the phone process died. and well it tried to restart it and then went into a reboot.

And it also showed it was caused by BT audio headset service. BT is turned off but still XD

Yep the bluetooth headset service is bugging out on me.
[Hero, G2 Touch Android Development] :
I'll have a look at this!
[Hero, G2 Touch Android Development] stefpaul:
Well i made some modifications in the rom...and seems that i can make calls, but the other person on the line can't hear me... and i see that the market isn't working... So i need to install a file manager...

When i installed the rom i got the error : randon offset 0 x 62

I think that when CM9 will be released, we will have a more that a stable rom i think... but we can have a stable rom before CM9 is released...we just need to work:D

Keep you guys in touch if i get things working

Stefan
[Hero, G2 Touch Android Development] djsky2011:
Just to let u know stritfajt, all the guys from the galaxy ace forum have a lot of respect for u porting this. Our device is quite similar in archetecture so if u need any help u could pay our forum a visit. Our developers are looking for team members
[Hero, G2 Touch Android Development] :
Updated, as promised.
[Hero, G2 Touch Android Development] Loxxy:
just checking in will check out again once google account, file manager and file explorer working ... keep up the great work :D :D
[Hero, G2 Touch Android Development] dkelley:
yes - it would be REALLY helpful if a free file manager could be included in this rom please.

edit: I keep having to unzip the rom and copy a file manager apk into system/app and then rezip it before I flash it.
[Hero, G2 Touch Android Development] :
Will add in the next update! Could you test if data is working for you on this one? Calling and texting is working for me, but I can't get working 3G...
[Hero, G2 Touch Android Development] dkelley:
I forgot to test that but I went into mobile data and it automatically foudn my apn from some magical source not found in previous android versions (very cool!) so I selected it but dind't see the typically notification bar indicator of data connection.

I'll test that after I try to flash titanium backup into it. edit: my tit back zip seems corrupted... rebooting now without it and will try data.

phone works but I have no idea if microphone works (I've read here that it doesn't!?). does anyone know if wired headset mics work (like the included stock hero headphones/mic combo)?
[Hero, G2 Touch Android Development] :
Microphone actually work, just that the person at the other end can't hear you ;) You can hear your own echo though! :rolleyes:
[Hero, G2 Touch Android Development] dkelley:
ok, on rebooting after having previously configured that telus apn, my 3g data DOES WORK!

I HAVE DATA. I HAVE PHONE (except, presumably, microphone built in).

not sure about network based location services though - so far that isn't working for me but wil have to push in a file manager and see what I can get from this.

because popup select boxes dont' work, I can't change my timezone manually (it's wrong and not updating automatically probably due to broken location services).

so it shows 3 hours off time.

I would place a high priority on:

- solving these popup select boxes that don't render (and actually cause an apk reset, like it restarts settings.apk if you do this from within settings).

- solving built in mic functionality.

- keyboard is missing bottom row of buttons - so no punctuation or space character... edit: only problme in portrait, landscape keyboard is fine. I'm sure it was fine in portrait when I flashed alpha 2 originally though... odd

I mean, obviously right? and like I can't help solve the problems, but I figure it's best to point out the items that appear to be broken AND seriously detrimental to every day use of this rom.

I can't BELIEVE how good this is however!

note: downloading file expert apk over 3g right now! update: the file never actually downloaded although it appeared as "downloading" in notification bar with animation that imho indicates waiting to start downloading... could be the url though....
[Hero, G2 Touch Android Development] :
I haven't noticed the broken popup boxes actually, will have to take a look at that. I do agree with you regardin the audio though, that must be solved for this to be usable.
[Hero, G2 Touch Android Development] riddick541:
I must have done something terribly wrong, because alpha 3 isn't even asking for my pin and doesn't find my sim. Gonna try reflashing and report after
[Hero, G2 Touch Android Development] :
If you can't get it working, try removing your pin first. I don't know if pins are supported yet.
[Hero, G2 Touch Android Development] dkelley:
for anyone interested, here's a flashable zip I made of file expert (my favorite file manager for android once you go into it's settings and pretty much reverse every toggle setting it has).
[Hero, G2 Touch Android Development] dkelley:
hey, this rom isn't rooted, is it?? file expert doesn't pop up superuser request when I choose root explorer mode.

This could make tit backup rather pointless LoL
[Hero, G2 Touch Android Development] Prof Peach:
Could someone stick all the essential root tools in a zip so we can play?

Tit backup,

z4root (or similar)

good file explorer..... (root explorer)

Slow download for v3..... drumming fingers...... Tum te Tum te Tum.
[Hero, G2 Touch Android Development] slobo2712:
anyone have numbers on tastature?
[Hero, G2 Touch Android Development] dkelley:
root ex costs $.

use the free fileexpert I posted above instead. it has root capability in settings, but again: root isn't working in this rom for me at the moment.
[Hero, G2 Touch Android Development] Prof Peach:
Can I suggest USB mass storage be added to the list of priority jobs.
[Hero, G2 Touch Android Development] superples:
first I couldn't believe this would actually work, but it does!
[Hero, G2 Touch Android Development] dkelley:
huh? ........

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

oh MAN... runing armored strike and it's REALLY SLOW on this rom LoL. edit actually game becomes unresponsive on an early menu. spira defense works though quite well (although screen drawing is a visibly low framerate...) which is cool to see :-)

but hell - I'm impressed that I can play games at all on it heh heh

and to confirm, I definitely have no root on this nor superuser app etc. this is not a rooted rom.

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

there does appear to be no speaker output from this rom - like games or media have no output that I can hear.
[Hero, G2 Touch Android Development] :
Well, we don't have any hardware acceleration yet, that's why it's slow. Once we fix that, this ROM should become quite responsive. :)
[Hero, G2 Touch Android Development] Habarug:
Yup :-) and once you have improved the speed I'm up to some sweet ics testing again :-)

sent with love from me to you
[Hero, G2 Touch Android Development] dkelley:
it's already really amazingly good! fix the sound, get it rooted if possible, and fix the popup select box widgets in the settings app, and voila - a rom that can be used as a daily driver!

I tried camera 360 but it can't see any camera hardware naturally. it was worth a shot though LoL.
[Hero, G2 Touch Android Development] Ciprilik:
what is Random offset: 0x1ae when flashing the rom?
[Hero, G2 Touch Android Development] dkelley:
uh oh - your cpu is dying.... I hate that message on the hero, end of life is getting near...

just kidding! sorry :-) . I have no idea what that means.
[Hero, G2 Touch Android Development] :
Just uploaded a new release. Sound is working, except for ringtones (suspect a codec issue but I have to go to sleep). It already was rooted, but I've installed the Su app from now on. I've also included a simple file manager.

I will have to investigate the popup boxes in settings. Some of them work and some don't... Will also take a look at the camera tomorrow.

Anyways, as of this release we actually have basic telephone functions working. Great success! :)
[Hero, G2 Touch Android Development] puppyko:
This is amazing! Now microphone on phone works (ie. able to output sound) ?

Edit :- ok, saw your newer release now. Thx
[Hero, G2 Touch Android Development] Ciprilik:
@dkelley:

Phew ! I thought there was something wrong with the installation or it's just something normal in the update script :D Well if my Hero's cpu is dying then I am going to replace the phone with a brand new Hero ( my battery is kinda dying on me also) :D just kidding too :P but not about the battery :(.

@stritfajt: Great Job! The calling function is fully operational indeed :D ... the phone rang with the default ringtone ... the others are not working even on preview. Superuser is not working... I've tried SetCpu and Titanium Backup and both can't obtain root access.
[Hero, G2 Touch Android Development] dkelley:
DAMN! this is the fastest progress on a completely brand new leading edge android major version release that I've ever seen, and fundamentally from one hero guy who's doing all of this porting and investigation and building work!

amazing...

---------- Post added at 03:41 PM ---------- Previous post was at 03:37 PM ----------

is anyone in other forums working on gapps integration? besides cm of course which could take a while. market is the biggest priority of course, everything else can be pulled from market in theory.

---------- Post added at 03:53 PM ---------- Previous post was at 03:41 PM ----------

trying something here for google accounts: I flashed a flashable gmail apk to see if it adds a google account to the device (it "ought" to, but who knows).

EDIT: it worked! gmail is up and running and doing first sync on my phone.

attached to this message is the flashable gmail apk
[Hero, G2 Touch Android Development] Prof Peach:
I have my sim pin locked but when I boot up ICS it never asks me to enter a pin. Never has since V1.

Is that normal or am I cracking up?
[Hero, G2 Touch Android Development] :
There is market in the latest version. If you launch it, you will be prompted to sign in to your google account. There seemed to be some problems with syncing but I'll work on that tomorrow :)
[Hero, G2 Touch Android Development] dkelley:
I still don't have root.... just checked. it wasn't the missing SU app, it's that this rom isn't rooted (at least not on my phone LoL)

sorry for bad news :-)

edit: I flashed this over alpha3... I wonder if that caused the new features not to show up?

also I tried checking for sound in a game but there was no sound output... but I haven't checked microphone built in yet to see if it works in calls.

edit: trying something crazy.... wiped all, flashed alpha4, flashed gmail, and now also flashing an older market version. why not eh? prob won't work, but never hurts to try.
[Hero, G2 Touch Android Development] Prof Peach:
Same here. No Root access.
[Hero, G2 Touch Android Development] Lirasina:
I am amazed by the speed this rom is going XD. I will check for root to see if I can do something about it XD maybe.
[Hero, G2 Touch Android Development] Ciprilik:
Could it be a problem that in Superuser the binary is not an actual version and it's showing as vnull? Maybe it's something wrong with the su file from /system/xbin/ ?
[Hero, G2 Touch Android Development] dkelley:
flashed old market and at first seemed to be setting up account ok but no - google framework "stopped working".

oh well...

---------- Post added at 04:15 PM ---------- Previous post was at 04:14 PM ----------

huh, I'll try flashing my flashable su binary to see if it helps.

By the way, it does seem that flashing over top of alpha 3 works just fine - I thought that was the cause of the root problem but no, it's fine to upgrade without a wipe it would seem. in case that helps for anyone who has configured and nandroided a decent alpha 3 build (like I did).
[Hero, G2 Touch Android Development] Lirasina:
I had the same idea.
[Hero, G2 Touch Android Development] dkelley:
I'm just booting up now after flashing the su binary flashable that is in the SFM thread. will let you know if it works...

IT WORKS!! the root access alert is squished but you can still see the "ALLOW" button and it works! titanium backup is running now! find the flashable SU binary in the sfm thread and flash it guys.... also flash the gmail apk I posted in this thread. but no market access yet, I've tried, don't bother, it messes up your system.

EDIT: first thing I did is install setcpu and upped low frequency to 352 and high to 652 LoL
[Hero, G2 Touch Android Development] Ciprilik:
I've tried to push the su file from Elelinux's GB rom from recovery but it didn't do anything still on vnull ... maybe I failed as this is the first time I ever try to push a file using sdk ... you guys had any luck ?
[Hero, G2 Touch Android Development] Lirasina:
I got it booted with that su thingy but my rom keeps on rebooting... stupid bluetooth headset service... am I the only one who has that?
[Hero, G2 Touch Android Development] dkelley:
yup, just you Lira.

read my post a couple back that I updated - SU binary flashable from sfm thread WORKS!!!
[Hero, G2 Touch Android Development] Lirasina:
I wonder why... cuss I got a BT stack in my body maybe?? but bt is turned off... and it still does that. well it is linked to the phone.process and well that one dies. and then it tries to reboot it. and well cuss that one died the bt one died to and then it tries to re-enable that one... :(

maybe need to flash a new radio.
[Hero, G2 Touch Android Development] Ciprilik:
I've attached the flash-able su binary from SFM thread.
[Hero, G2 Touch Android Development] dkelley:
why did google swap the "ok" and "cancel" buttons on full screen dialog boxes?

idiots.... "let's change for the sake of change" appears to be the motto sometimes.

cancel or install... cancel... UGH!

open or accept... open... UGH!
[Hero, G2 Touch Android Development] Lirasina:
lol, ok installed new radio, hope it worked, was running the 15.14 one now on the 17.03 one. Maybe my bt with me is no longer linked and then the hospital will call like, AAA Are you dead?? :S

Ok no difference. just wondering am I the only dutch located to test this? cuss I had a lot of Dutch logcat errors out of nothing, that it failed to load dutch bla and dutch bla....
[Hero, G2 Touch Android Development] dkelley:
OK WHAT THE HELL...

the market is IN THIS ROM!!! the new market of course... but my su app just started auto updating itself and then I tapped the icon of the su app in notification bar and it poped up the "accept ;license agreement" thing in market app... and now I'm in teh market!?!?!?!

you launch market from the app drawer, market icon in top right of the window!!

but I can't download any apps - they just sit there trying to start downloading...

and you guys figured out that this rom comes wiht settings link in the notification bar, right? you tap the little settings icon (3 horizontal lines with drag bars in it)...

I can't believe how much stuff google included in this rom!!! it's so cool... too bad our phones are so slow LoL
[Hero, G2 Touch Android Development] Ciprilik:
try older markets see if they work... I'm sorry guys but I have to go to bed... it's 3 AM in my country and I have to get up for work at 7AM :)) 4 hours left to sleep. See ya all tomorrow.
[Hero, G2 Touch Android Development] Lirasina:
I think if we can get the basic things working, this rom may work even beter then GB... cuss how it is done now it works better then AOSP GB when it got released like this. Then come to think of it. GB is like the Windows Vista and then google released 4.0 :O XD

maybe I found my problem. My SDCard... Just a stupid Idea I had... XD
[Hero, G2 Touch Android Development] case0:
Amazing that an ICS rom is being developed for the Hero! Sadly I'm (finally) upgrading when my Galaxy Nexus arrives. Just wanted to say it's great that you're doing this! The Hero crowd always did (and still does) rock! :D
[Hero, G2 Touch Android Development] dkelley:
i love this rom....

Posted from tapatalk app on android 4.01 on my gsm hero......
[Hero, G2 Touch Android Development] sphinxy:
I couldnt get my APN to work :(

(on the side....I havent received my GN yet....been held off from Handtec).
[Hero, G2 Touch Android Development] darkmansd:
guys....we should absolutely submit this to the portal!

i think this is big news....that one of the oldest devices gets the taste of ice cream sandwich among the first :)

btw: flashing alpha4 right now
[Hero, G2 Touch Android Development] hirencj:
DAMN HAPPY TO SEE ICS FOR OUR SWEET HERO... THANKYOU VERY MUCH... KEEP DEVELOPING..

dOWNLOADING NW....