yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] smashman42:
I had luck with -9 values but I think I borked it putting in a decimal -10 when it was a hex value

from memory C1 is speaker, C2 is BT, C3 is headphones
[Miscellaneous Android Development] mega g:
almost perfect. the sound seems muffled, but the power is what I tried.

Bug found:

into the camera can be seen at the center of the screen a small square of 1cm that stands out on the rest of the screen.

and the timer when it reaches 0 does not take the picture and freezes the camera.

Preview not function, it show a black screen instead of picture.
[Miscellaneous Android Development] drayln:
No Wifi

Hi guys. I have been pouring over post for last 2 days to find an up to date ROM for the U8150. I landed on some post by KingRat about updating to cm7.2 from the raw droniX0.6. The problem is I have been trying to get wifi to work on this nightly and have had no luck. I am not sure what else is not working on this ROM but I am looking for the most stable up to date ROM for IDEOS u8150 that is running 2.3. atm. Please point me in right direction and if this nightly is the most up to date how do i fix the wifi issue that is mentioned in numerous post about this update? Thank you very much.
[Miscellaneous Android Development] Hetfield666:
@aorth

have you seen

https://github.com/psyke83/android_...mmit/0d7d963440561a3210b4c09e5de04b22c93b294c

this is for sure the fix for my second headphones bug, but probably even for the notifications sound too.

as u8160 is facing issues with battery draining, can i ask you just a libaudio hotfix update? maybe with new csv files too.

thank you man.
[Miscellaneous Android Development] Renkaken:
CM7.2 RC1 is out, didn't the device got merged?
[Miscellaneous Android Development] aorth:
Ooh, I didn't see that. I've been underground for a week or so (playing old school Zelda), so I haven't done any new tests or read much code! That looks good, though. I'll give it (and some of psyke's others) a shot and make a test build soon.

I still never had time to figure out how to make hotfixes... :\

Yah, I saw that too... U8150 is in the changelog of new devices, but there are no new nightlies on their build bot. Oh well.

Being "merged" isn't that big of a deal. It actually makes it harder to get patches accepted, since the repository is controlled by CyanogenMod and we have to get the code reviewed for each one. I'll continue to make builds for a while though, regardless of it's status in CM's repositories.
[Miscellaneous Android Development] Hetfield666:
@ aorth

please notice that subpsyke's latest build is facing a big battery issue, so considering 6th march build is great, i would suggest just to merge specific .cpp changes until u8160 gets fixed...problem may be in the CM core itself or device specific code too.

in this case with the audio change only i would feel really ...safe.
[Miscellaneous Android Development] aorth:
AudioFix11 works great here. The volume at 100% isn't as loud as it was before, but there is no distortion now. Also, to be honest, this is still pretty loud. Do you people want to wake up your neighbors or what?

I urge people to test AudioFix11 (here), I think I'll include this in the next build. Thanks for doing the research, tulangabol. :)
[Miscellaneous Android Development] Giogts:
for me maybe fix12 is better...
[Miscellaneous Android Development] aorth:
Yes, AudioFix12 works fine for me too. Hmm, but I notice with both AudioFix11 and 12 that there is a strange "pop" sound when you stop playing music. Did you notice that?
[Miscellaneous Android Development] Pasquale91fg:
http://forum.cyanogenmod.com/topic/15106-mod-universal-022611-cm7-gb-stock-launcher-cm7-gb-mod-30/

Hello guys I wanted to know if anyone had managed to install recovery through the launcher or the stock of gingerbread with animated waterfall! do not tell me that the launcher pro else has! I know, however, is much less beautiful than the nexus s!
[Miscellaneous Android Development] vercetti19:
@aorth could you please upload the 17th JAN nightly to minus.com :).....mirrorcreator.com is kinda not very convenient if you choose regular download option:confused:
[Miscellaneous Android Development] jeremylan:
Try this:

http://xdaforums.com/showpost.php?p=21620162&postcount=3481

---------- Post added at 11:15 PM ---------- Previous post was at 11:12 PM ----------

It works for me, and I can do backup and restore, but I'm not able to do Advanced Restore any more, I always get 'File not found' even if I do the backup with the recovery itself. Full restore works OK.

Any ideas?
[Miscellaneous Android Development] jamie466562:
ADB issue

Hi guys

I find that the adb issue mentioned can be fixed by running the adb daemon as root.

If you are on linux, this can be accomplished like so:

adb kill-server

sudo adb start-server

And then to verify:

adb devices

Note that this has to be done each time the server is stopped ( eg if the pc is restarted), unless you modify the relevant init scripts, which is somewhat outside the scope of this thread.

Hope this helps.
[Miscellaneous Android Development] ntnlzr:
hi, i've finally forked you with git, i want help you, i'm newbie in git environment, i've cloned if i want merge with your pending patch there is a command for git or not? P.S. do you have any im?

tnx u aorth anyway :)
[Miscellaneous Android Development] GJSmith3rd:
Same here - no advanced but the latest TB can access and restore from CWM. Edit wpa_supplicant.conf from eth0 to wlan0 or delete the file per aorth and others. I just deleted.
[Miscellaneous Android Development] selection16:
My u8150-d has a problem where you can tap the button, get a haptic response, yet no action is performed. Seems to be when you tap it close to the edge. The recent backlighting fix helps a lot, thanks!
[Miscellaneous Android Development] ntnlzr:
workaround for it could be install sparepart and setup the key with right function
[Miscellaneous Android Development] jackson0829:
The link of "ROM (January 17, 2012): MirrorCreator " was dis-connected???
[Miscellaneous Android Development] LILTRANE:
a ihave a serious problem. a have a fusionideos rom 2.7.10. and now i want to try this rom. but i cant install it!!!z make everything by instructions but it doesnt help me. i have such error

assert failed getprop(ro.product.device')== u8150|| getprop(ro.biuld.product)===u8150||

then

E:error in '/sdcard/......zip

(status 7)

instalation aborted

ps. i have cwm 5.0.2.7

and i cant install no one rom.only fusion ideos.

what is t means?
[Miscellaneous Android Development] trekker99:
I flashed the Jan 17 nightly, so far so good. One quick question, when I switch on the phone, I see the T-Mobile logo (yup it is a T-Mobile Comet) for a while before the IDEOS logo appears. Is there anyway to remove the T-Mobile logo?

---------- Post added at 03:30 PM ---------- Previous post was at 03:29 PM ----------

Could you at least go back to a stock ROM?
[Miscellaneous Android Development] GJSmith3rd:
I picked up the T-Mobile logo when I flashed to stock and it remained after flashing CyanogenMod. At least that's what I thought happened. So now I have T-Mobile then Huawei the CyanogenMod boot animation. I like mines like this though. Is the T-Mobile logo part of the latest nightly?
[Miscellaneous Android Development] e8hffff:
Thanks heaps. It worked. Just needed to fix the eth0 to wlan0, for the interface.

I used ES Explorer in root mode to access the system file.

Make sure you don't leave any .bak files else it wont work.
[Miscellaneous Android Development] trekker99:
Interesting... I assumed it was not removed when I flashed the phone as it was the first flash. Perhaps not. I guess aorth can give a definite answer to this.
[Miscellaneous Android Development] LILTRANE:
iam at the stock rom now. and install the cwm 5.0.2.7. and nothing change.i have the same error
[Miscellaneous Android Development] wbrambley:
Need to find a rom that changes the boot loader logo, I.e. Fusion 2.0 you will get a little '2' in the bottom right corner.

Sent from my U8150
[Miscellaneous Android Development] veer1238:
The first image- i.e T-mobile is a splash screen- could be easily changed ! Try my thread of splash screens.

The second huawei ideos screen is inside cm7 build.

sent from my U8150 using my thumb!
[Miscellaneous Android Development] ntnlzr:
you have to wipe all your data, put stock rom to sd, power on your device in bootloader (red button+volume down and than press power button), when you're in stock rom do cwm recovery procedure, then flash aorth rom
[Miscellaneous Android Development] nook'r:
Reflashing the phone did fix the remaining issues....

Everything is good...
[Miscellaneous Android Development] selection16:
Thanks for the reply but I dont think I explained well enough (can't see anything related in Spare Parts). Every now and then (I couldn't reproduce it just now, but I notice it maybe a couple of times per day) when you tap a capacitive button, it vibrates to let you know you hit the button, ie Home button, but it doesn't go to the home screen. Kind of like really bad lag, except if it was lag, it would perform the action eventually.

A part of the problem may be the alignment of the keys in the software. If you tap Menu directly, no problem. If you tap Home directly, no problem. But there are large dead gaps between all the keys, so tapping just to the left of centre between Menu and Home should give you Menu, instead there is no tap registered and no haptic.

My original point was that sometimes when I hit near those dead spots, I do get haptic feedback but no other response. I've noticed varying degrees of this problem across every CM7 Rom I've tried for this device, several of this one, and several of ERlucky's. Never noticed this on any of the many Froyo ROMs I've used.

I kind of expected switching to CMR5 might fix it, but alas, it didn't help. Dont you guys have this problem?
[Miscellaneous Android Development] isofra:
I noticed the same issue with AudioFix11
[Miscellaneous Android Development] Pasquale91fg:
Yes Aorth, I have noticed too!

---------- Post added at 02:50 PM ---------- Previous post was at 02:47 PM ----------

Release Cm 7.2.0 RC1 official!!!!!!!
[Miscellaneous Android Development] LordPando:
I can't find the .zip in the cyanogenmod website...there are no comet or u8150 sections.
[Miscellaneous Android Development] ALESSIO94x:
I think that Pasquale91fg was just kidding. I hope that the download link will be added soon...
[Miscellaneous Android Development] aorth:
For those curious: "CM 7.2.0-RC1" means that the CyanogenMod developers have changed the version string to "0-RC1". See the commit in Gerrit here: http://review.cyanogenmod.com/#change,12364

I don't know why they didn't include U8150 in the "official" downloads, but it doesn't really matter. I'll make a build for you if you really want! Honestly, there hasn't been much changed in "7.2.0-RC1" that isn't in the March 6 nightly.

I'm testing some audio fixes and kernel tweaks from psyke's tree now, though.
[Miscellaneous Android Development] Pasquale91fg:
Please do Aorth build a new date? thanks
[Miscellaneous Android Development] aorth:
March 6 Hotfix1

Greetings, folks... I thought I'd offer a small hotfix for the March 6th nightly. This hotfix is targeting several kernel enhancements/bug fixes which psyke had merged in his U8160 tree, namely:

Various potential audio fixes from CodeAurora (see here, here, and here)

import android staging drivers from android-msm-2.6.35 branch (newer android-specific drivers, like low-memory killer, binder, etc)

deconfig: Set default IO scheduler to SimpleIO (SimpleIO is derived from noop, which is good for non-rotational media, but factors in some deadline concepts)

SmartassV2 .32 kernel compatibility & tweaks

Download: goo-inside.me (md5: f0acbc310ce85989612d2e19e0791ec7)

Install: This is a simple hotfix meant to be applied on top of the March 6th nightly. It is 3 megabytes in size. Just flash it from ClockworkMod Recovery. I apologize if it eats your homework, I tried to remove all the code which could do that.

I had meant to post a hotfix for non-kernel components as well (such as the latest possible libaudio fix), but I seem to have broken my CM tree and I'm not near any cheap Internet right now so I can't fix it. Sorry :)

Sources can be found in my kernel repository: https://github.com/alanorth/kernel_huawei_u8160/commits/cm7-dev
[Miscellaneous Android Development] Hetfield666:
@aorth

what about https://github.com/psyke83/android_...mmit/0d7d963440561a3210b4c09e5de04b22c93b294c

this is the fix for audio going to 0 if you press too many times volume down and probably audio routing too.

---------- Post added at 08:20 PM ---------- Previous post was at 08:18 PM ----------

oooopppps sorry /me dump

it's just a kernel update, not a whole CM system. sorry man!
[Miscellaneous Android Development] aorth:
Yeah, I merged it locally, but it's not in this hotfix... I broke my CM source tree accidentally so I can't compile until I get around some cheap Internet and fix the repository. Check above, I already apologized for that. ;)

Edit: Hetfield. ;) I should have put a notice: for all users EXCEPT Hetfield heheheh. But yeah, you'll have to wait a bit for your fix. :)
[Miscellaneous Android Development] Hetfield666:
and i've already apologized for my stupid reply :)

i think i do need to setup my git tree here.....
[Miscellaneous Android Development] Pasquale91fg:
This hotfix is the Rc1 cm.7.2.0????????
[Miscellaneous Android Development] smashman42:
It is in the official downloads now, both on get.cm & on the new torrents

w00t!
[Miscellaneous Android Development] aorth:
Regarding 7.2.0-RC1

The hotfix is only a new kernel. I've tweaked some smartassv2 settings and set the default IO scheduler to SimpleIO. This hotfix should work on RC1 as well, but I haven't tested it.

I noticed the get.cm link for U8150 RC1 isn't working, but the torrent works. I'll upload update-cm-7.2.0-RC1-u8150-signed.zip to my goo-inside.me mirror as well.

Note: I haven't tested CM's RC1 build yet. I don't have my U8150 with me today. If you're nervous, wait for the brave people to flash it first. Otherwise, do a nandroid before flashing! I'll flash it later when I get home. Also, I won't update the first post with RC1 download links until I've tested it myself...
[Miscellaneous Android Development] mitulvohra:
cm 7.2 rc 1 tested

just flashed the rom from get cm torrent.....the rom works great...though i couldnt notice anything new from march 6 one...
[Miscellaneous Android Development] ep690d:
This is the official CyanogenMod 7.2

http://get.cm/get/update-cm-7.2.0-RC1-u8150-signed.zip
[Miscellaneous Android Development] Giogts:
Who did this version?

what changes from aorth version?:confused:
[Miscellaneous Android Development] CTRL+ALT+DEL:
Rom manager support for U8150

Do you have any plan to give U8150 rom manager support? Neither the "Install CWM" and "Download Rom" options works. I think you should submit your CWM builds to rom manager, so it will be easier to install for noobs (Fastboot is not the easiest thing for someone who is not used to command line)
[Miscellaneous Android Development] aorth:
I'd recommend using the torrent. I know CM's servers are getting hammered right now, so it's more "kind" to use the torrents if you can. ;)

U8150 is an "official" CyanogenMod device. The code lives in their repositories. They have a build bot which did a build automatically. I did not put that build there.

The "official" RC1 only has minor changes compared to my March 6th nightly. If you want to update, feel free. Otherwise, it's not a HUGE update.

I'm not in ROM Manager yet... it's on my list of things to do (along with work which actually pays me)!
[Miscellaneous Android Development] Giogts:
and now how will proceed the development of your rom?
[Miscellaneous Android Development] isofra:
so Alan do you reccomend us to use "sio" IO scheduler after flashing your first hotfix?
[Miscellaneous Android Development] aorth:
It's not my ROM, I just submit patches to CyanogenMod's code review system and upload patches to Github. Anyone can do this :)

As far as CyanogenMod 7.2.x on U8150, I will still try to find fixes for some of the bugs (audio, speed, battery, etc), as there are 1 million U8150 users in my country :). I'm not interested in running Ice Cream Sandwich on this phone, though. Sorry!

Yeah, it's much better than CFQ and BFQ on this phone, so I'd recommend it. The default was BFQ, but only because I accidentally made it like that. :)
[Miscellaneous Android Development] aorth:
RC1: barcode scanner broken

I just flashed 7.2.0-RC1 and I realized one thing: because this was built from CyanogenMod's code it doesn't take into account our lame frameworks/base/core/java/android/hardware/Camera.java hack to fix the Barcode Scanner. Therefore I can only recommend to flash CM's official RC1 if you don't use Barcode Scanner. Otherwise, wait for me to build one which has this fix incorporated. After all, "RC1" isn't THAT much different than my March 6th build.

That is all. n00bs better reckonize.
[Miscellaneous Android Development] Hetfield666:
and that change won't be accepted upstream because it's ideos specific, am i right?
[Miscellaneous Android Development] eddyi:
Waiting

Anxiously waiting for your build mate :) hope cynogen code takes all the work arounds for this phone in there code base .. keep up the good work aorth:D
[Miscellaneous Android Development] aorth:
Yah. Have a looksie: http://review.cyanogenmod.com/#change,12653

It's just an ugly hack which comments out some autofocus callbacks. I have no idea why it works, as that code states those should essentially be noops anyways. I don't know enough to fix it. :\

Hah, they'll never accept it! We need someone to crack the bug. Maybe there's a way to override that functionality in our device tree...
[Miscellaneous Android Development] Hetfield666:
can we just disable autofocus on some rc/xml files?

actually hw cannot autofocus....

btw: when u have a new libaudio i'll be happy to test
[Miscellaneous Android Development] aorth:
Yeah, we actually don't declare that we support autofocus. There's a specific hardware permission for that, and we don't request it (see what we do request, here in device_u8150.mk).

I just spent a few hours chatting with some CM devs, trying to fix the Barcode Scanning bug. He tried to use the libcamera wrapper for Jordan (the Motorola Defy), but we found out that the proprietary libcamera.so we rely on is prelinked, so we're out of luck.

I'll let you know when I have a new libaudio for you. I think I got the hang of hotfixes now so that's good ;).
[Miscellaneous Android Development] nickpj:
Yeah, I think the chart on https://plus.google.com/117962666888533781522/posts/XzbMYgotkmy spells the CM9 situation out quite well. The u8150 has I think 256 MB RAM, so it falls at the first hurdle. Also no dedicated GPU I think, so another strike. But it runs CM7 great. So a CM9 port is going to be a hard slog, e.g. Tilal's port looks like it might have stalled, and I have to wonder if the hardware restrictions have contributed to that. So it's looking like maybe CM7 is as far as our device's hardware can go, but it's fantastic to see the device is official now: http://download.cyanogenmod.com/?device=u8150 - and that's an awesome achievement!
[Miscellaneous Android Development] mitulvohra:
how to change splash screen?

though this does not consider cm.. can someone please tell me how to change splash screen...i googled for 1 hr and couldn't find a way.:confused:. the only method which is posted in xda page u8150 is old and doesnt work for cm....
[Miscellaneous Android Development] alf_malf:
Great work man!

I tested your last fix on 6th March release. The fix seems to work really well globally, with an improvement in app use, but i noticed a big problem: i had a huge battery drain, i can say the battery falls down more than two times farter than before, so i restored my nandroid.

Am i the only one who had this problem?
[Miscellaneous Android Development] aorth:
Let me guess, you flashed DJ Droid or something? The only way to get rid of that is to flash back to stock ROM. :)

You might be the only one with the problem. :) I don't think the battery problem came from the hotfix as it was only a new kernel, and there were no big changes in the kernel...?
[Miscellaneous Android Development] mega g:
i haven't battery drain. the hotfix 1 are great
[Miscellaneous Android Development] alf_malf:
Ok, i will try again ^^

I do a full wipe, new 6th martch release installation and then i will apply the fix.

Maybe something went wrong previously.

Thanks for your work aorth.
[Miscellaneous Android Development] mitulvohra:
i had previously installed fusionideos and had that 2 boot splash.., wanted to get rid of it cause it started irritating me:p...was just trying my luck if somebody knew a much easier way... anyways flashed stock rom and now have the ideos one...:) but it took me over an hour to set my phone up again..:mad:
[Miscellaneous Android Development] aorth:
Get used to it. That's how you become a pro. :)
[Miscellaneous Android Development] aorth:
I finally had a chance to check this out. I think the behavior you are seeing is what most users would expect...? I noticed there are settings to modify this behavior in Settings -> CyanogenMod Settings -> Sound... but they don't seem to work for me.

Something to look in to!

Hmmm, I dunno. I haven't used my U8150 as a phone for quite some time now. I'll build a test version with psyke's patch shortly, and then upload a hotfix for you to try.

Edit: I can't figure out how to make a hotfix for a system file. If you have adb you can push this to your phone... http://www.mediafire.com/?5v1f9c9s79cugr6

adb remount
adb shell mv /system/lib/libaudio.so /system/lib/libaudio.so.bak
adb push ~/Downloads/libaudio.so /system/lib/libaudio.so
adb reboot

It took me 7 seconds to compile that damn library, but I spent an hour failing at making an edify script for a ClockworkMod Recovery-flashable zip. Grrr. I'll try later. I'm going to bed!
[Miscellaneous Android Development] FUSIONdev:
Serious? :confused:

To make an updater you need just to delete that line..

format("yaffs2", "MTD", "system");

it's really easy...

PS you are great! ;)

For a lib:

show_progress(0.500000, 0);

mount("yaffs2", "MTD", "system", "/system");

package_extract_dir("system", "/system");

show_progress(0.100000, 0);

unmount("/system");
[Miscellaneous Android Development] nizic:
Hi, i just installed cm7 + mar6 hotfix, and i'm trying to install gapps, using gapps-gb-20110828-signed.zip. Only Google play is showing up, and i can open Play, but i can't connect to the server, or sync with google. How do i fix this?

i installed cm7, rebooted, installed the march 6th hotfix, rebooted and installed gapps. I'm also getting a sign-in error in my notifications.

edit: got it to work, i partitioned, put all three files (cm7, mar6 hotfix, and gapps) onto the sd card, and installed them one after another using recovery mode, only rebooting after installing all three.
[Miscellaneous Android Development] aorth:
Hahah thanks. Apparently I'm still a n00b because I can't figure out how the hell to flash a lib with edify. :)

That was the first thing I tried! There must be something wrong with me, or my phone. Also, it was really late at night. HAHAHAHA.
[Miscellaneous Android Development] isofra:
Cyanogen 7.2.0 RC1

I found another bug on RC1 release: when you open camera if you try to swipe video camera app crashes :(
[Miscellaneous Android Development] mega g:
new bug found. I have your last cm7 + hotfix 1 on March 6, but I see that if you stay long with wifi turned on the connection is lost. I already put the check in "suspension wifi" "never". but the connection is lost forever. please fix
[Miscellaneous Android Development] aorth:
Yeah, someone mentioned to me that the video camera doesn't work. I didn't look at it yet... :)

Damn. I didn't notice. That's a hard one to track down. Lets wait and see if anyone else sees this bug.