yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] aorth:
You also showed me a script you had made to push only changed files to the phone (rather than reflashing). I might be able to find the gist... I always just recompile/reflash to be sure I haven't overlooked anything. My machine takes ~8 minutes to rebuild, so it's not SO bad. hahaha.

I'll post a new nightly soon and ask people to test that (as well as the in-call headphone audio).
[Miscellaneous Android Development] poruid:
flac and m4a

Does anyone know how to add support for flac and m4a to the music player?
[Miscellaneous Android Development] veer1238:
Use a different media player...TTPOD for instance-default player doesnt encode that format.
[Miscellaneous Android Development] aorth:
CyanogenMod should have FLAC support, see the changelog. Other than that, I believe I tried a FLAC in UberMusic once and it worked, though I can't remember if I was on CyanogenMod at the time or not (possibly on a Samsung stock ROM on my other device).
[Miscellaneous Android Development] aorth:
February 8 nightly

For the brave... I've just uploaded a new nightly which fixes a issues related to stability, performance, and audio. See the first post for download links.

Also, if anyone who has a bluetooth headset could comment on whether bluetooth audio is working in this build (or if it has ever worked)? Thanks!

Fixed in Feb 8, 2012:

Performance: disable scrolling cache (change #12543)

Performance: Adjust ELECTRON_BEAM_FRAMES to 8 for "CRT Off" animation to work more acceptably (change #12542)

Stability: Disable ICS rotations because of the erratic "green screen" (change #12415)

Audio: fix in-call headphone audio breaking after one call (description of bug, change #12541)

Latest version of ROM Manager (5.0.0.5)

Sync with latest CyanogenMod source

edit: I didn't have time to figure out how to make a "hotfix" update... sorry!
[Miscellaneous Android Development] Pasquale91fg:
This rom is perfect!!! I call the rom OFFICIAL!!!! :)

---------- Post added at 03:41 PM ---------- Previous post was at 02:52 PM ----------

Aorth look this thread!!!Guide for compile rom miui.... http://xdaforums.com/showthread.php?p=22228486#post22228486
[Miscellaneous Android Development] trekker99:
I believe Aorth has stated in the past that he is primarily interested in Cyanogenmod and will leave it to others to customize the ROM. Also MIUI only seems to support hdpi devices, which I believe U8150 is not considered one.
[Miscellaneous Android Development] aorth:
Yeah, that thread is interesting as MIUI just opened up some of their source code in the last week or so... but you're right, MIUI is only for HDMI phones. :(

Also, I'm only "interested" in CyanogenMod in that I don't have any interest in including custom APK files, custom boot screens, themes, etc (people sometimes ask me why I don't include a certain paid game, etc). I like the CyanogenMod project, I like open-source software. :)
[Miscellaneous Android Development] Pasquale91fg:
:( :( ok aorth !!!
[Miscellaneous Android Development] aorth:
New default theme in CM 7.2-RC0

I just did a clean wipe with the Feb 8 nightly and I noticed that the default theme has changed to Cyanbread (which looks terrible on LDPI devices). When Cyanogen made Cyanbread the default theme he also created a new "no themes" make file which LDPI devices could use to over ride the new theme.

See: https://github.com/CyanogenMod/andr...mmit/75a89281beb21fadbda072a495c49d6ab148f1c9

I have corrected this in git, and the next builds won't have this default (see: change #12556)
[Miscellaneous Android Development] isofra:
I'm trying to do an update.zip but what is the directory tu put in system/ to have the last update that alan published today?
[Miscellaneous Android Development] poruid:
You're right, FLAC is available.

m4a (AAC) seems not supported though and I wonder how to add support for that format.
[Miscellaneous Android Development] nickpj:
The Feb 8, 2012 build looks good! I can confirm the headset audio problem seems completely fixed, and there are no more rotation problems with green screens. Yay! :-)

Main remaining issue for me is the battery use, which does feel higher (than say FusionIdeos 2 or gingerman 6.5.1). It is subjective, but I used to get around 2 days from a charge previously, now I think it's more like 1 day. Is there anything I can try turning off that might make a difference to power consumption? E.g. compcache?

Oh and I'd suggest removing the "Camera takes 2 megapixel pictures" from the list of "known issues" - if the phone's hardware can only take 2 MP, but claims 3 MP, then that's a phone issue, not a software issue. It might belong under a "things to be aware of", but I don't for a second consider it to be an issue with the ROM.
[Miscellaneous Android Development] Giogts:
do you test the SIO scheduler?

if no, change it by no-frill.
[Miscellaneous Android Development] e8hffff:
Aorth thanking you for your efforts.
[Miscellaneous Android Development] aorth:
Speaking of the simple IO scheduler, I'm going to publish a new kernel soon. There are quite a number of changes that we need to start looking at in the kernel, such as IO scheduler, sound tweaks, overclocking tweaks, and the issues with USB serial (which causes the "???????" adb issue as well as the Wifi MAC issue).
[Miscellaneous Android Development] Hetfield666:
@aorth /psyke

i saw some questioning in the git regarding hrtick

it's high resolution timer setting linked with scheduling.

if the implementation is good it generally helps to reduce latency and even power usage.

if wrong it may make the cpu to wake up too often and burn energy.

it worth to test both in order to trace down the strange CM7 battery draining.
[Miscellaneous Android Development] aorth:
Thanks, that makes sense. I guess stock Huawei kernels don't have this HR Tick feature, so it might be the culprit causing the battery usage...

btw, now that we fixed the headphone bug you can join us on CM7 and be a beta tester ;).
[Miscellaneous Android Development] Hetfield666:
so is it enabled in your builds?

in normal linux machine /proc/config.gz contains the config used to build the kernel.

do you think is feasable to get the stock kernel and apply to CM7?

consider this: in my last tests in aero mode (so all switched off) during the night i was losing 30% of battery, while generally with 2.2 roms i lose 1-2% max

so you can try this: even if the rom won't work too much (i remember problems with touchscreen) you can build a CM7 with stock kernel and verify if battery draining is there.

for my testing, my ideos is broken but i'm trying to get a 2nd hand one (shops have u8160 only but it's too ugly!!!)
[Miscellaneous Android Development] aorth:
Yes, we use HR Tick. We use the U8160 sources because it was much easier to port USB tethering and touchscreen fixes to (possibly other things, I can't remember). Anyways, I might make a "close to stock" kernel/boot.img for us to test.

I don't actually use my U8150 for a phone, so it generally sits on my desk for days at a time (with a spare SIM card). This might be anecdotal, but I leave it for a whole day at least, and I only see ~15% or so loss.

So we spent all this time fixing your bug... and now you've left us! ;)
[Miscellaneous Android Development] Hetfield666:
no no i will come back soon.

actually my friend still has is so i play with it most of time.

i think i'll get that one :)
[Miscellaneous Android Development] proprg8:
Me too! This rom just keeps getting better! :-D
[Miscellaneous Android Development] Pheodax:
Many thanks

I just have to say I am totally amazed with the amount of effort the developers have put into CM 7.2 and making it compatible with the U8150. It just works so well: the battery life is very good with 3G turned of, I like the new window effects and of course I'm very happy with the control that CM gives us.

I lost my U8150 at the end of last year, but I bought a used one without hesitation for about $70 on eBay. It's truly insane what the little cheap device can do with your custom firmware.

:D A big huray for the development team!! :D
[Miscellaneous Android Development] mega g:
I've put more app in system. If I upgrade ROM this (my own app, in system)will deletes?
[Miscellaneous Android Development] bagoes.s:
My hand held have a green screen and then the network is lost. I use update 30 jan. now I'm downloading last update. one would question his radio function will be fixed?
[Miscellaneous Android Development] aorth:
The January 30 nightly had the green screen problem due to the Ice Cream Sandwich rotation animations. I've disabled it in the Feb 8th version until I have time to find a fix.
[Miscellaneous Android Development] asisc:
Nandroid and advanced restore with CWM 5.0.2.7...

Yes, when flashing a new ROM (or simply upgrading to "the newer one"...) you'll loose ALL the apps, phonebook, SMS, etc etc...

That's why in both cases (new installation or upgrade) it's suggested to do a "nandroid" (a complete backup done within ClockWorkMod Recovery..latest suggested version is 5.0.2.7..), so when you flash or upgrade to the newer ROM you SHOULD be able to do an "advanced restore" and restore only "user data" from the backup you created.

BUT....actually ClockWorkMod 5.0.2.7 has a bug when you attempt to do an "advanced restore"...it says "no file found"..it's a bug that I encountered on my own U8150-D and also read on some posts...

Asking to everyone in the forum:

did you met the same bug when attempting an advanced restore with CWM 5.0.2.7?

If yes, did you managed or found a fix for this bug? (I can remember CWM 5.0.2.6 hadn't the same bug but in some cases gave problems with USB sync...if me not mistake). Shall I downgrade to CWM 5.0.2.6 to make an advanced restore from a restore made with CWM 5.0.2.7 or it'll be better to do a backup of all the apps with Titanium Backup and restore those backup within the new installed ROM? :confused::confused::confused:

Thanx for any suggestion/idea.

EDIT:

If you update the "30th january ROM" with the "8th february ROM" (without "deleting" anything: don't delete user/data, don't delete cache, etc) you'll not loose anything (or MOST OF) your apps, phonebook, SMS, etc etc. By the way it's always a good practice to do a nandroid before to update...you never know "what will happen"... ;)

and YES, I can confim: CWM 5.0.2.8 hasn't the "advanced restore bug" any longer..so it should perform "advanced restore" (i.e only user data...) in case of need. Thanks to Aorth for publishing a new link to CWM 5.0.2.8.
[Miscellaneous Android Development] aorth:
You're absolutely right, ClockworkMod 5.0.2.7 has a problem with advanced restores; 5.0.2.8 fixes it. I've updated the first post with download links. Here's one for now (more later):

ClockworkMod Recovery (5.0.2.8): BayFiles (md5: 1b835fb177a0aab362c226f07158bb59)

Thanks!

edit: another mirror here: goo-inside.me
[Miscellaneous Android Development] mitulvohra:
flashable zip cwm 5.0.2.8

Flashable zip for the above posted cwm 5.0.2.8

http://bayfiles.com/file/2Eq1/Jc4jKH/CWMRecovery_5.0.2.8.zip

flash over 5.0.2.7 :)

Say thanks if i helped you in anyway:)
[Miscellaneous Android Development] tulangabol:
Can i used that flashable in the original recovery?

I like use terminal emulator to flash CWM.

In stock rom, i need 'flash_image' in /system/bin/*. And used terminal emulator to flash CWM.

If i used custom rom, i don't need that file...

Only used terminal emulator

Thank you

Sorry for my bad english.
[Miscellaneous Android Development] mitulvohra:
I cannot say if it works with original recovery...but it does work with CWM 3.x.x.x ...so you could use rom manager to install that recovery and then flash this zip.... or use the boot image and terminal emulator method...
[Miscellaneous Android Development] LILTRANE:
a week ago i wrote about freezing and rebooting. and now i find a couse of problem. it is (bug?) problem with kernel. so. in fusionideos i used a 691mhz and my device works perfectly. but in cyano when i am using 691mhz my phone rebooting and now i'm using 672 mhz and it works perfect. try to fix it. becouse un fusion it was perfectly! and i cand use 768 in fusion and in cyano because my device dont support it. or it is the same (bug?) problem of kernel.
[Miscellaneous Android Development] aorth:
Yes, this is a known issue. We are using the U8160 kernel source, which has different voltages for overclock frequencies. I haven't had time to troubleshoot this, but yes, overclocking is more sensitive using this kernel. See arch/arm/mach-msm/acpuclock-7x30.c if you want to try to fix it ;)
[Miscellaneous Android Development] dstdnt:
status 7 installation aborted

Hi all,

I have a problem. When I try to install the ROM, the dispositive me back an error, with the end wrote: status 7 installation aborted.

This does not happen to install this rom

Help tHanks :)
[Miscellaneous Android Development] asisc:
Did you downloaded that ROM directly into te cellular phone (connecting it in internet...) or you downloaded the ROM in your PC and then moved it to the phone's SD Card ?

How did you attempted to install the ROM ? (using which method?)

Give as more clues and details as possible, so that people will be able to help you troubleshooting using the less turnaround possible. ;)
[Miscellaneous Android Development] aorth:
Are you using ClockworkMod Recovery? (Stupid question, but I have to ask). Also, make sure the md5sum is correct for the zip file (the md5 is on the first page of this thread).
[Miscellaneous Android Development] djsrc:
ROM (Feb 8, 2012) it works with huawei u8120 u8110 ?
[Miscellaneous Android Development] tilal6991:
No and it never will.
[Miscellaneous Android Development] jnjn:
Hey guys,

How can I get wifi to work? It returns error/failed when I tried to enable it.

The work around link in the original post led me nowhere but lot in those tens of posts. Please help.
[Miscellaneous Android Development] GJSmith3rd:
I tried to use the zip from CWM 5.0.2.7 but got an error. I downloaded from Goo Inside Me and used qtADB to push to /system. I then used qtADB terminal and changed to /system directory. Finally, I used 'flash_image recovery clockworkmod_5.0.2.8_u8150.img' command from qtADB terminal to flash recovery.

I confirm that advanced restore is now functional with CWM 5.0.2.8.

EDIT:

Wow - That was my best and fastest upgrade ever! I performed a full wipe in CWM 5.0.2.8. then advanced restored the data partition. I then rebooted into a configuration almost exactly like it was prior to the upgrade, to the lastest nightly from Aorth, with the exception of Link2SD. I configured Link2SD and rebooted again and

everything

worked like the prior to the upgrade.

Formally, I had to use Titanium Backup to restore missing apps and data that were on the SD Card using Link2SD. This took quite a while but with the CWM 5.0.2.8 advanced restore of the data partition and with Link2SD mandatory internal location I was able to upgrade from a full wipe to my previous configuration in just a few minutes.

After that I only needed to re-install a few ROM mods for Juice Defender Ultimate.

Totally Awesome!!!
[Miscellaneous Android Development] amonev:
Any info about audio distortion fix?
[Miscellaneous Android Development] trekker99:
Cool, I have been using Titanium Backup too. Aorth, any issue using this approach? I probably will use this in future.
[Miscellaneous Android Development] aorth:
I use advanced restore all the time; it's great because it can restore certain partitons (like /data, where all your applications and settings live). In the case that a new version of CM doesn't have some new data changes (like the Wifi stuff that changed in January 18th's nightly), you can't use this, though.

I don't use Link2SD of any form, though... so I can't comment about that. :(

For what it's worth, on other phones I use Titanium Backup all the time for backup/restore of games like World of Good, Fieldrunners, Cut the Rope, etc...
[Miscellaneous Android Development] selection16:
I'm still on the January 16th build but I noticed there's no haptic feedback happening for the notification power widgets (Cyanogenmod settings > Interface > Notification Power Widget > Haptic Feedback). I think it used to work a few versions earlier.

Link2sd is great. Very helpful app for this phone. :)
[Miscellaneous Android Development] isofra:
Also in last version (8 feb) don't work haptic feedback' s power widget
[Miscellaneous Android Development] vali77:
can it be said that Rоm is stable enough for everyday use?
[Miscellaneous Android Development] dstdnt:
Hi,

@asisc I download the ROM in my PC and I moved it to the phone's SD Card.

I start my phone in Recovery Mode with ClockworkMod Recovery. I do this step : wipe data/factory reset + wipe cache partition and launch the Install from SD Card ZIP but the phone turn an error.

@Aorth : Yes, i use the ClockworkMod Recovery. I didn't understand the issue of the MD5, maybe this is the problem, could you explain this? Thanks a:)
[Miscellaneous Android Development] aorth:
No news yet. If you get time you could look at the AudioFilter and see if it might be something in there... :)

Yep! Battery's not so great, but your mileage may vary. The Feb 8 version is very good.

Hmm, you're right. I never actually knew about that option so I can't say that I've ever seen it working. ;) When's the last time you remember it working? I could go back and check in a previous nightly if you remember when it was working.

Hi, MD5 is a "hashing" algorithm; it spits out a unique fingerprint for a piece of data. MD5s are always 32 characters, no matter what the input size. The idea is that, given the same input file, the MD5 algorithm will produce the same hash repeatedely.

On my computer, the MD5 for the Feb 8th nightly is:

$ md5sum update-cm-7.2-RC0-20120208-U8150.zip
97be071d428c45384080eb194d25cc69 update-cm-7.2-RC0-20120208-U8150.zip

... and it should be exactly the same on yours. Try to check the MD5 of the file you downloaded... I don't know how to do it on Windows, but just google around for a tool. :)
[Miscellaneous Android Development] nickpj:
Absolutely. Not a single crash so far, and no showstopper problems. Personally I think it's damn close to something that could be an official cyanogenmod build.

And now that I've run it for most of a week, after wiping the battery stats, I can see it's getting around 2 days and 7 hours, from a 100% charge until it turns off. Certainly it's not the longest run-time I've seen, but it's not the shortest either.

It's not perfect (all the known issues are listed in the first post), but overall (taking into account everything: presence or absence of bugs/features, responsiveness, power consumption, up-to-dateness, etc), it's the best ROM I've ever had on the phone.
[Miscellaneous Android Development] ntnlzr:
yeah i suggest to use zeam or adw ex version for make the rom more fast than adw cyanogen version but it's work for the chef,best rom for u8150

Inviato dal mio YuriOSideos usando Tapatalk
[Miscellaneous Android Development] Smtih:
I'm not sure if this is a bug. But I use gesture unlock and I've noticed simply pressing the menu button unlocks it? Surely this shouldn't happen.
[Miscellaneous Android Development] selection16:
Alan, I have an idea that notification haptic stopped working on the build before the 16/01, or possibly the one before that. Sorry I'm a little hazy. Does anyone remember it working? I've been using your builds exclusively for a while so I'm pretty sure it was this one.

By the way, does anyone else have issues getting Tasker or LBE to start on boot up?
[Miscellaneous Android Development] aorth:
Question about audio distortion...

I just got to thinking about audio distortion... I'm on the Feb 8th nightly (the one which comes with a new libaudio), and I am trying to reproduce our alleged distortion problem. I remember someone saying something about audio in PowerAmp being better, so I just tried it (again). I think it is better, but the stock Music player's not bad either.

What kind of music are you guys playing at 70%+ which is getting distorted? Can you try it in the stock Music app, and then PowerAmp? I used the trial version from their website.
[Miscellaneous Android Development] provolinoo:
I suggest to put it in the OP :)
[Miscellaneous Android Development] smashman42:
The stock ringtone "Terminated" was a shocker for distorting for me, it was my standard ringtone so always noticed on a fresh flash.

My u8150-D is sitting in the bottom drawer since my SSD died, no build environment ATM + not primary phone = haven't looked at it for a few weeks.

I'm too busy playing with the CM9 selfkangs RC released for the P99x phones :D
[Miscellaneous Android Development] i_fain:
I'm on the Feb 8th nightly.

I assume you know how to run ADB commands i.e. moving to ADB installed directory in CMD (for windows).

1. boot device into CWM recovery mod

2. Goto Mounts and Storage menu

3. Mount /System

Now run following command

adb devices

Here you can also see device ID instead of "?"

e.g.

C:\Users\i_fain>adb devices
List of devices attached
308730FXXXXX recovery

if you find

308730FXXXXX offline

disconnect USB and connect again and run first command again.

You must have HiSuite.apk saved on your computer e.g. D:\HiSuite.apk

<Location of HiSuite.apk> = D:\HiSuite.apk (for windows)

adb push <Location of HiSuite.apk> /system/app

you are done. (I was unable to write /System/app partition because it's read-only when Phone is in Normal mod)

you can verify if apk is copied in app directory by

adb shell ls /system/app

Regards :)
[Miscellaneous Android Development] isofra:
I've tried this app and, for me, audio distortion is the same as the stock Music app (I reproduce "Someone like you, Adele"). I think that audio is ok until at about 70%, as you said, over is distorted! I'd like to help you seeing AudioFilter but, also if I study computer science, I don't understand very well code :(
[Miscellaneous Android Development] Hitorijanae:
How would one increase the overclock voltages or decrease the voltages in the kernel source? I have 7 of these little devices and I like to play around with them.
[Miscellaneous Android Development] alf_malf:
No vibration in sms

Hello,

I have a little problem.

I can't make the phone vibrate when I receive a sms.

I yet checked the setting in sms section and in CM settings->sound.

Everything looks right ("vibrate only in silent mode" in both sections), but when i set the phone in silent mode it doesn't vibrate when i receive a sms.

Instead it vibrates correcly when i receive a call.

I try to set even profiles in phone settings but nothing changed.

I will be happy to thank anyone who can help me understand if I'm wrong or if it is a possible bug.
[Miscellaneous Android Development] i_fain:
Its not a Bug

Open Messaging app

Pressing menu key and goto message settings

Scroll down to Notification Settings (Press it)

In Vibrate settings menu press Vibrate

you can see 3 radio buttons (Alway, Only when silent, Never)

By default Never radio button is checked.

Check the radio button according to your desired setting you can also adjust vibrate pattern...

regards :)

Hit Thanks if it helped
[Miscellaneous Android Development] alf_malf:
Thx man,

but as I wrote, I yet did it. I had selected "only when silent".

My problem is that even after i changed the settings in cm menu and in sms app options, the phone doesn't vibrate after receiviving a sms.

I asked if it's a bug because even after changing settings in the correct way something seems bad.

Does your phone, with 8th Feb build, vibrates after receiving a sms?

regards
[Miscellaneous Android Development] i_fain:
@alf_malf : YES I am using 8th Feb build and I can confirm that vibrate on SMS is working perfectly. ( i ve tested again with "only when silent" Option selected). I ve also tested some other combination to vibrate on SMS...

Best Regards :)