yashsingh1/xdaforums huggingface dataset:
[HTC Aria Android Development] munjeni:
I allso have problem with slow gps lock... so what is your experimence about first patch for gps in my rom (it was gingerbread librpc) ? If it was worked better I will back librpc to gingerbread librpc! Also please try gps.conf from attachment and let me know, I'm curently on another device and have not time to try
[HTC Aria Android Development] redd920:
Apps wont find my location right away have to press the button like 5 or 6 times
[HTC Aria Android Development] lsusparky621:
I believe the gingerbread librpc worked better. I can try it out an see how it goes. Thanks!
[HTC Aria Android Development] redd920:
It works better but still have to press the current location button twice

Edit: nvm it works fine now thanks
[HTC Aria Android Development] munjeni:
Using new gps.conf ??
[HTC Aria Android Development] redd920:
Yea
[HTC Aria Android Development] Syavick:
BTW any CM9 for Aria don't show mobile networks when choosing it in Select Network.
[HTC Aria Android Development] dimon2242:
I understand that the camera is still not stable, but the qr code, it does not recognize
[HTC Aria Android Development] Darius_bd:
Just here to point out that any app has a easy time "finding" the sats but a hard time "locking" them. By "lock" it means that it downloaded the data from that satellite and it's continually downloading it. So it's normal to see many sats in GPS Toolbox.

I'll try the patch though, it's been a long time since my lil Aria could lock-in like it did with the original ROM
[HTC Aria Android Development] redd920:
I wanna know if there's anyway you can put the messaging apk with a dark background.
[HTC Aria Android Development] lsusparky621:
GPS getting a faster initial lock with new gps.conf. Initial lock: 1-2 minutes, subsequent locks: 30 seconds
[HTC Aria Android Development] Darius_bd:
I'm using apps taken from this forum:

http://forums.acsyndicate.net/showt...Apps-(4-1-update-4-0-4-apps-google-voice-too)
[HTC Aria Android Development] redd920:
Thanks man
[HTC Aria Android Development] munjeni:
About force closes. Its kgsl-3d0 and stupid message out of memory... so when kgsl-3d0 gone to out of memory, vm restarts but hmmm why kgsl-3d0 is out of memory, maybe something about invalidating caches? I think its hapened after first patchset for camera to kernel and framework. I'm litle disapointed now but I will revert everything to old cm9 without camera.

About gps. Will use gingerbread librpc... sorry modpunk but qcom-librpc is better than latest librpc!
[HTC Aria Android Development] lsusparky621:
Battery life is great.

Edit: Also, this was with light to moderate use, Wi-Fi on the entire time, the April 15 version, and the automatic back light with the custom light levels in post #2.
[HTC Aria Android Development] lsusparky621:
Delete post. (Double posted)
[HTC Aria Android Development] vici0us:
how the heck do you do that?

My batts life sux!
[HTC Aria Android Development] benbailey84:
Munjeni and winsux, what are the chances of you guys helping out on the HTC one x with getting root access? I would love to see some good devs like you guys over there. Coming end of this month i will be upgrading...
[HTC Aria Android Development] munjeni:
same as me... sleep policu is fixed 2 month ago in my cm7 so kernel for cm9 is backported from my cm7...
[HTC Aria Android Development] munjeni:
Chance is null because I have aria:D
[HTC Aria Android Development] lsusparky621:
Did you wipe battery stats when you switched to CM9?
[HTC Aria Android Development] munjeni:
I wiped everything and all folders on sd card
[HTC Aria Android Development] vici0us:
yes i did.
[HTC Aria Android Development] dandrumheller:
Badass! I rarely get that much uptime on my SGS2! How much screen on time did you get out of that?
[HTC Aria Android Development] munjeni:
15h 57% battery + 10h (maybe) = 25h with normal phone usage :)

http://img841.imageshack.us/img841/3687/screenshot2012050914420.png
[HTC Aria Android Development] zhuoyang:
munjeni, could you compile this OPENMAX Codec for this rom?

http://xdaforums.com/showpost.php?p=25818407&postcount=600
[HTC Aria Android Development] munjeni:
Yes I will try these openmax. Currently I testing various kernel changes about allocating contiguous ebi nomap, this option curenly not working on our aria becouse these features is in kernel version 3... so my plans now is trying to get it working and fix anoying force closes. After fixing force closes I will play with youtube.

For developers to get an idea :D

/* set to indicate the region should not be managed with an allocator */
//enum pmem_allocator_type no_allocator;
[HTC Aria Android Development] best98:
hi,

I have been running this rom for more than a week now, I love it.

THere is an incompatibility maybe with the camera and timelapse apps (I just noticed it) but nevertheless, munjeni this is a great work man !

Thanks for your time and making this awesome small phone still accurate !

Pierrick
[HTC Aria Android Development] munjeni:
Done but only part of it (have scroling wallpaper very smooth now)... our kernel is old kernel :(, we need to port kernel version 3 for ics... kernel v.3 have generic "contiguous nomap" allocators allready ipmlemented and tested so new kernel can solve all problems with allocation and kgsl related things. :( I don't know what to do with ram memory, its stell is alltime full (not know what cause memory full) and only memory killers can solve problems with force close! Compcache service (s0be patch) I tried but it steel is not so good as I thinked it will be, there is problems so I removed it from init and added an script for it (zram 32mb 18% will be enabled by default in next version by script). About sd-ext, its mounted on init by default to seccond partition (auto determining partition type). A lot of upstream changes will be in next version like camera, like camera timer, gps is qcon-gps (back to my first working version, I tested new librpc verson but old qcom-librpc is better for gps). Kernel have a lot of changes like enabled KSM (Kernel Samepage Merging), disabled slab and enabled slob, enabled tiny_rco... these will improve memory(thanks s0be) all other changes that I done to allocators and all other you can see here -> https://gitorious.org/ics-cyanogenmod-2-6-35-kernel-msm7227-for-htc-aria/ics/commits/master ...etc...etc. Want to say, problem with force closes is still there, I think all kernels 2.6.35 have problem with it, so I think we need to port an kernel version 3! Going now to compile an build for you for test and will (temporary) compile gogleomx provided in zip few posts back (maybe youtube will work).
[HTC Aria Android Development] munjeni:
Its in new rom but it could not fix youtube :(

New rom is out... see first page for link and seccond page for changelog
[HTC Aria Android Development] dimon2242:
Again force close
[HTC Aria Android Development] munjeni:
Did you tried to "release memory" using airdroid? Using airdroid its stable for me
[HTC Aria Android Development] dimon2242:
Well, if you manually unload the program, and all the previous rom will not force close
[HTC Aria Android Development] munjeni:
Hmmm... need to port complete mempoll from kernell 3... it will fix remaining isues. Found a lot of interested things here -> https://github.com/tytung/android_kernel_htcleo-2.6.32-ics/commits/ics_HWA ...its kernel 2.6.32 and full working hw:)
[HTC Aria Android Development] zhuoyang:
I used V6 supercharger and force close problem is very rare
[HTC Aria Android Development] benbailey84:
How?
[HTC Aria Android Development] munjeni:
Found what cause frezes in youtube :). All aria cm9 builds use software bassed codecs for video but we no want that codecs! After deleting /system/lib/libstagefright_soft* I got dlopen error:

E/SoftOMXPlugin( 139): unable to dlopen libstagefright_soft_h264dec.so

So guys... lets see what is missing :D

Edit:

- missing E/QCvdec ( 139): Error: get_config Not Implemented

So first thing that we need is to enable and compile that video decoder
[HTC Aria Android Development] themacman1000:
If the memory leak and YouTube get fixed, I'm never going back to CM7. :)

Keep it up man!

Sent from my HTC Intruder
[HTC Aria Android Development] dust906:
same thing im waiting on !!
[HTC Aria Android Development] Syavick:
Network search still not working.
[HTC Aria Android Development] lsusparky621:
I've been using the April 13 version as my daily driver for a while now. Great if you can get over not having camera or HD YouTube videos.
[HTC Aria Android Development] Jmizzle:
Then why not just update to the latest version...?
[HTC Aria Android Development] Adam_J_T:
Sending/receiving SMS/MMS messages is taking a lot longer than normal. All in all, the AT&T's end seems to not like this ROM as much as CM7 or Sense ROMs. Is this a known bug?
[HTC Aria Android Development] lsusparky621:
Sounds like there's more problems with the newer ones than the one I'm on.
[HTC Aria Android Development] dust906:
so whats the scoop with this ? does it work !!??
[HTC Aria Android Development] munjeni:
As I say latest version is more stable for me. Yes, force closes is still presend but more tiny in comparation with older versions, but usind airdroid app and releasing memory when it gone full, rom is very stable. Problem is ics branch need new kernel feauture "new mempool" but that feature is old in kernels 2.6.35, it exist in newer kernels, I ported only part of it but need to port complete mempool, its hard, so I think I will search for an new kernel "stable" to start porting for aria, or at least maybe will investigate using some patches from tytung kernel... link in few posts back
[HTC Aria Android Development] Syavick:
One more bug - when somebody calling you, after answering to the call sometimes loudspeaker turns on and after 1 sec changes to a normal speaker.
[HTC Aria Android Development] zhuoyang:
munjeni, could you check your rom's minfree ?

it seams like the minfree value is 1,1,1,1,1,1.
[HTC Aria Android Development] munjeni:
adb shell cat /sys/module/lowmemorykiller/parameters/minfree

2048,3072,4096,6144,7168,8192

Thanks, you gave me idea now... found this link about multitasking... and found an great feauture from kernel 3 msm7627 about undervolting :eek:... that will be very good for aria... I think I will switch working now to kernel 3.2 from codeaurora

Try this and let me know if you have force closes :)

echo "1536,2048,4096,5120,15360,23040" > /sys/module/lowmemorykiller/parameters/minfree

or install appfreemanager and set to agresive... apply "on boot" :)
[HTC Aria Android Development] vici0us:
whats the problem with force close? i havent experience it after the last update. and its been a few days now.

why is it that some ppl experience it?
[HTC Aria Android Development] zhuoyang:
I think V6 SuperCharger will do it better , it has a minfree calculator which will calculate the best minfree for our device.

Can you check the busybox ? I have some problem while running V6 Supercharger. I reinstalled busybox and it working flawlessly.
[HTC Aria Android Development] benbailey84:
I had this issue all I did was fix permissions with rom manager and rebooted. Tried it earlier with cwm and didn't help.
[HTC Aria Android Development] vici0us:
what i mean is, i havent had any FC after the last update.
[HTC Aria Android Development] rawrv42:
Agreed. It's been running rather smoothly since the last few updates. Haven't had any force close issues and haven't done anything special other than reboot my phone after the initial boot after flashing the ROM. I really like the "new" status bar icons on the notification drawer that was included on the latest ROM.

Keep up the great work, always looking forward to the next update,

~Rawrv42
[HTC Aria Android Development] munjeni:
I created an small update for build 10.May.2012... see first page for link and seccond page for changelog. Simple install using recovery
[HTC Aria Android Development] dimon2242:
Starting from May 10, Superuser.apk not remember the choice!
[HTC Aria Android Development] KillerBeaver:
Superuser not remembering allowed apps

I've been having the exact same problem. It's pretty annoying.
[HTC Aria Android Development] bjoswald:
Finally broke the 10 post barrier! ;)

First of all, munjeni, thank you for all of your work with the Aria. You're an amazing developer and have contributed so much to this underrated phone. Also, I really appreciate your communication to "the rest of us".

I really, really want to try this ROM, but I cannot boot it for the life of me. I have tried wiping several times, reflashing dozens of times, and downloading more times than I can count. Nothing I have tried works (frozen at HTC logo). I have tried a couple different Recovery programs too (5.0.23 > 5.0.28 > munjeni's Touch Recovery) no luck at all.
[HTC Aria Android Development] n5kjb:
Which date version are you trying to download? Early on - that was an issue. Current versions do not have that issue.
[HTC Aria Android Development] bjoswald:
I can't get *any* version to work.
[HTC Aria Android Development] n5kjb:
Any issues with your SD Card on other versions of software? This rom deletes and rebuilds the Android data stored on your SD Card.
[HTC Aria Android Development] bjoswald:
Nope. I have been using cyanogen without issues since version 6.
[HTC Aria Android Development] n5kjb:
OK- I don't use this daily - but suspect I will be soon. Still running CM-7 myself.

This rom is geting close to being reliable.
[HTC Aria Android Development] drumist:
Do you have S-OFF?
[HTC Aria Android Development] bjoswald:
I am extremely happy with CM, but I am both eager and frustrated to get ICS running.
[HTC Aria Android Development] bjoswald:
Yep, S-OFF and successfully rooted with AlphaRev.
[HTC Aria Android Development] zhuoyang:
Reinstall su binary by using setting menu in Superuser.
[HTC Aria Android Development] benbailey84:
has anyone had problems with not being able to receive calls? i can make them and send and receive everything else.
[HTC Aria Android Development] vici0us:
what HBOOT version do you have??
[HTC Aria Android Development] dust906:
Yes you might need to factory update to 2.2
[HTC Aria Android Development] Arennius:
2G/3G toggle finally works correctly!

I use SuperSU instead Superuser and have no problem.
[HTC Aria Android Development] kura808:
Very good rom. Love the update. I was using the April 27th version. Decided to flash the update. Seems things run much smoother now with the ram fixes.

I'm not sure about the people who are having troubles getting this up and running. I'm using the oldest hboot (not froyo hboot). Currently s-on too. Maybe need to wipe /system and /boot. I usually wipe everything except for my sd card lol. I read somewhere that you don't need s-off to flash these newer roms.

Also, don't need to keep wiping going from one rom update to another. Just flash the update zip on the current rom.

Once again, thanks to all the devs who made this possible. xD

edit: Seems there may be a few insufficient ram issues but quite less imho (I hardly see force closes now). For example, if you have some apps open (like when multitasking) then if you jump from the browser to the gallery, the gallery will force close. I guess it can't be avoided since those are memory hoggers lol. If I clear free up some ram, it'll work just fine. =)
[HTC Aria Android Development] munjeni:
Its update only for version from 10.May.2012!!! Older versions is not compatible with tweak from this update!!! This update update tweak in version 10.May.2012, so please update everything to the latest.
[HTC Aria Android Development] munjeni:
Yes thats it! I debuged cm7 and youtube HQ video, found:

I/QC_CORE ( 141): OMXCORE: qc_omx_component_send_command 48714, 0 , 3
I/QC_CORE ( 141): OMXCORE: qc_omx_component_send_command 48714, 2 , 1
E/QCvdec ( 141): OMXCORE-SM:Recieved command DISABLE (2)
E/QCvdec ( 141): Omx Flush issued when vdec is not initialized yet.
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 399b0
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39a00
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39a50
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39aa0
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39af0
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39b40
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39b90
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39be0
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39c30
E/QCvdec ( 141): FA: Setting Tail to NULL
I/QC_CORE ( 141): OMXCORE: qc_omx_component_free_buffer[1] 48714, 39c80
I/QC_CORE ( 141): OMXCORE: qc_omx_component_get_parameter 48714, 41192d54 , 335
54433
I/QC_CORE ( 141): OMXCORE: qc_omx_component_send_command 48714, 3 , 1
E/QCvdec ( 141): OMXCORE-SM:Recieved command ENABLE (3)
I/QC_CORE ( 141): OMXCORE: qc_omx_component_get_parameter 48714, 41192d58 , 335
54433
I/OMXCodec( 141): [OMX.qcom.video.decoder.avc] allocating 10 buffers of size 35
3280 on output port
I/QC_CORE ( 141): OMXCORE: qc_omx_component_allocate_buffer 48714, 41192cfc , 1

cm7 use OMX.qcom.video.decoder.avc for HQ videos, so its defined to dlopen libOmxH264Dec.so:

omx_core_cb_type core[] =
{
{
"OMX.qcom.video.decoder.avc",
NULL, // Create instance function
// Unique instance handle
{
NULL,
NULL,
NULL,
NULL
},
NULL, // Shared object library handle
"libOmxH264Dec.so",
{
"video_decoder.avc"
}
},

so I think wrong happenings is new google mp4 codec for cm9... maybe we disable google.mp4 from table and back to use qcom.avc .:)

Allso found problem for aac, there google.aac use ~22000 but aria audio need to be 44100 for aac... allso google.mp4 frame rate is 15 but we need 30...
[HTC Aria Android Development] munjeni:
Imported some files from gingerbread source, cm9 have missing M4vH263 decoder

cm7:

{ MEDIA_MIMETYPE_VIDEO_MPEG4, "M4vH263Decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "AACDecoder" },

cm9:

{ MEDIA_MIMETYPE_VIDEO_MPEG4, "OMX.google.mpeg4.decoder" },
{ MEDIA_MIMETYPE_AUDIO_AAC, "OMX.google.aac.decoder" },

cm7:

{ MEDIA_MIMETYPE_VIDEO_H263, "M4vH263Decoder" },

cm9:

{ MEDIA_MIMETYPE_VIDEO_H263, "OMX.google.h263.decoder" },

It looks like new google codecs is not compatible with aria...
[HTC Aria Android Development] dimon2242:
Delete
[HTC Aria Android Development] benbailey84:
dude you are awesome!!! my earlier post about not receiving calls has been fixed. I did wipe and now works. now trying to figure out how to fix s2e, im thinking that i need to reformat my sd card. This has happened to me before and thats how i fixed it. s2e isnt picking up sd-ext, not an expert in any way but maybe when you reinstall cm9 it isnt picking up that particular way it was formatted...
[HTC Aria Android Development] munjeni:
Hi, maybe not working because I updated script 05mountsd in /system/etc/init.d/ ... that script mount sd-ext to seccond partition automatically, so maybe s2e not mount sd-ext becouse is allready mounted... try deleting that file, reboot and try with s2e!
[HTC Aria Android Development] benbailey84:
Its working after I repartition the SD card
[HTC Aria Android Development] lsusparky621:
Anyone have a mirror for the 10.May file? 2Share has been acting weird for the past 2 days and will not let me download.
[HTC Aria Android Development] eoghan2t7:
i saw the same problems when trying to fix this on the marvel so i was think of adding the required files/code and compiling to see what happens. have you debugged anymore so i no what is need to be done before i go and add stuff thats not needed etc?
[HTC Aria Android Development] munjeni:
Yes. I have compiled but that not working (maybe I missing something) (I think there is no problem, google codec is ~~same as that codec, problem is somewhere around... don't know where... I leave it :()... found something in source about google.mpeg4.soft (forgot where I seen it and what I seen... sorry, this need big time debuging from this big cm9 source :)), have no idea but maybe some libs is accidentally included... I don't know :( Is this HQ bug only for msm7x27 devices or it is bug for all cm9 devices? You have forum link for cm9 device with working HQ video?
[HTC Aria Android Development] eoghan2t7:
i think is a general cm9 bug all ports that i have looked at only have LQ youtube working apart from the more resent devices like galaxy nexus etc so it must be a msm7x27 problem maybe theres a BOARD_GLOBAL_CFLAGS that needs added to the boardconfig that we have missed for egample in the GB omx source theres a cflag for an omx fix dont no what it did but will look into it and see what it done.

but i have been reading a git repo and a dev has added a readme and in the local_manifest.xml he has added this

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<remote name="codeaurora"
fetch="git://codeaurora.org"/>

<remote name = "privategh"
fetch="git@github.com:" />

<project path="device/hp/tenderloin"
name="CyanogenMod/android_device_hp_tenderloin"
remote="privategh"
revision="gingerbread"/>

<project path="device/htc/pyramid"
name="CyanogenMod/android_device_htc_pyramid"
remote="privategh"
revision="gingerbread"/>

<remove-project path="hardware/msm7k"
name="CyanogenMod/android_hardware_msm7k"/>

<project path="hardware/msm7k"
name = "CyanogenMod/android_hardware_qsd8x60"
remote="privategh"
revision="gingerbread"/>

<remove-project path="hardware/qcom/media"
name="CyanogenMod/android_hardware_qcom_media"/>

<project path="hardware/qcom/media/"
name = "CyanogenMod/ninjas_hardware_qcom_media"
remote="privategh"
revision="gingerbread" />

<remove-project path="frameworks/base"
name="CyanogenMod/android_frameworks_base"/>

<project path="frameworks/base"
name = "CyanogenMod/ninjas_frameworks_base"
remote="privategh"
revision="omap_merge_sf_bypass" />

<!-- project path="hardware/qcom/media/mm-core"
name = "platform/vendor/qcom-opensource/omx/mm-core"
remote="codeaurora"
revision="gingerbread_house"/ -->

</manifest>

maybe the omx core part is what we need?

i no theres GB stuff there but it could be the needed stuff as it was in the ICS branch of that device.

device files are here

https://github.com/CyanogenMod/android_device_hp_tenderloin
[HTC Aria Android Development] Syavick:
munjeni: What about usb host for Aria?

http://developer.android.com/guide/topics/usb/host.html - it says USB host mode is supported in Android 3.1 and higher.
[HTC Aria Android Development] zhuoyang:
Aria doesn't have usb output power so it is not working.
[HTC Aria Android Development] Syavick:
What if you will give power to usb? Will it work?

P.S. I have everything for testing so I'll test it today.
[HTC Aria Android Development] munjeni:
For sure mm-video/vdec fail to compile but from link you posted I found linux/msm_vidc_dec.h and using that header I have compiled mm-vdec-omx-test, mm-video-driver-test, libOmxVdec.so and libdivxdrmdecrypt.so, but these libs is not for msm7x27 but I force compiled for msm7x27... going to clean compile new buil including these libs, maybe get something :confused:
[HTC Aria Android Development] toxigenicpoem:
I don't see why it wouldn't/couldn't, you would need a micro to usb adapter, and external powered hub.
[HTC Aria Android Development] eoghan2t7:
Hopefully I'm still reading the stagefright source so much code makes my head hurt lmao.
[HTC Aria Android Development] Syavick:
So I've connected USB flash and hard drive to Aria - nothing happened. Cable is OTG and USB powered.
[HTC Aria Android Development] munjeni:
:D same as me! Hey, found something interested there... system/frameworks/base/media/libstagefright/OMXCodec.cpp:

#ifdef QCOM_HARDWARE
class ColorFormatInfo {
private:
enum {
LOCAL = 0,
REMOTE = 1,
END = 2
};
static const int32_t preferredColorFormat[END];
public:
static int32_t getPreferredColorFormat(bool isLocal) {
char colorformat[10]="";
if(!property_get("[COLOR="Red"]sf.debug.colorformat[/COLOR]", colorformat, NULL)){
if(isLocal) {
return preferredColorFormat[LOCAL];
}
return preferredColorFormat[REMOTE];
} else {
if(!strcmp(colorformat, "yamato")) {
return QOMX_COLOR_FormatYVU420PackedSemiPlanar32m4ka;
}
return preferredColorFormat[LOCAL];
}
}
};