yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] FUSIONdev:
Tilal, maybe it MUST be interesting for us :))

I compiled your u8160 kernel source for a new and fresh fusion (based on a NATIVE u8150 rom by huawei, NOT MY OLD PORT FROM u8180) ....

...... Mass storage toggle freezes and resets the system.

...... usb tethering freezes the togglebox without activating

...... adb doesn't work

so.... they really broke something in that source.....

edit:

it should be an idea: why not replace the usb driver (gadget) with the old code from the u8150 kernel release? maybe there'll be something to fix, but it should work..
[Android Software/Hacking General [Developers Only]] kangrz:
THANKS!

THANKS!:) IT'S used very good. hope u new rom!
[Android Software/Hacking General [Developers Only]] giahuynguyenle:
After installing the newest version, my back, home, menu, and search key do not respond at all
[Android Software/Hacking General [Developers Only]] Timboe73:
Maket Slow to open

I'm not sure if it has been mentioned before but if any one is having the same issues as me with the market loading slowly in the latest nightly if you change your DNS to OpenDNS or similar the market loads in 2 seconds for me now. Im using a program called Set DNS available from the market.
[Android Software/Hacking General [Developers Only]] smashman42:
That is a symptom of having a Melfas screen, revert to the 17/10 version as per what tilal6991 said
[Android Software/Hacking General [Developers Only]] tilal6991:
Ok. What config file are you using?
[Android Software/Hacking General [Developers Only]] FUSIONdev:
cyanogen_u8150_defconfig ! without big changes (just some governors changed and freqs)!

Than I rebuilt the same config (but with some cleanups plus the lzo compression) with the noma kernel source by alan, and the kernel is running really smooth..

I'm not a kernel guru, but we must choose the best way.....

u8160 - v858 source seem broke on u8150 support (they remind me the gingerbread kernel source for u8650) ....

way 1) fix the u8160 source to get usb gadget work

way 2) fix the u8150 source (noma) to get MT and OC work together...
[Android Software/Hacking General [Developers Only]] nook'r:
end button

@tilal or alan,

is it possible to lower the end button so its not partially blocking the 0 (zero) button.

Thanks
[Android Software/Hacking General [Developers Only]] aorth:
Yeah, the noma kernel works well but the multitouch code in the U8150 kernel source doesn't work in Gingerbread (or at least CM Gingerbread!). I dunno why, but I wasted a day trying to diff the synaptics source in both kernels and I'll never get that day back ;)

Note: LZO compression of the kernel theoretically speeds up the boot process, but it breaks the CM build system. I guess the make bootimage target expects a gzipped image or something, so it hangs.

Fixing USB Gadget? For USB mounting I'm assuming?
[Android Software/Hacking General [Developers Only]] FUSIONdev:
Yes...

the u8160/v858 source breaks usb tethering and mass storage also in u8150 huawei roms..

Maybe in cyanogen is working because you adapted something in the device configuration...

If mass storage was working with the original u8150 kernel source, it should be an idea to replace the usb gadget code of u8160 with the "old" code for u8150...

maybe some patching is needed, but it's an idea...
[Android Software/Hacking General [Developers Only]] aorth:
Ah, I see what you mean. I actually never tried the U8160 sources in a U8150 stock ROM...

Update: I just had a thought... you know, my U8160 kernel is patched with something which changes the tether interface's name from usb0 to rndis0, see: https://github.com/alanorth/kernel_huawei_u8160/commit/678b237cedef9a483871700c21efa6f4e64799ca

rndis is the technical name for Ethernet over USB. :) Android has to be recompiled if you're using a kernel with this patch, so try reverting that patch.
[Android Software/Hacking General [Developers Only]] nico202:
Mic not woking

Hi. It's few days that I use CM7.1 on my ideos.

It works great, but I've just noticed that the microphone isn't workin'. Or, better, it DO works, but Sound Recorder nor Sound meter or ever Z-Test Device can use it, while it can afford a phone call.

?_? I can't guess why. If somebody knows what to do or need any kind of log, please tell me XD

Just another thing: is it possible to OC and UC CM's kernel? I'd like to have it 30MHz to 652MHz, as I used with FUSIONideos.

Thanks guys, for the really good work w/ porting and (hopefully) for the help

(ps: if something isn't clear I'll try to explain better)
[Android Software/Hacking General [Developers Only]] King_Rat:
Due to faulty stk I can't interchange my different sim cards like I can on other roms?

King_Rat on tap
[Android Software/Hacking General [Developers Only]] aorth:
Depending on which build you're using sound might have been broken... we just figured out why the video recording wasn't working. There was a fix in the repositories already but some nightlies were built on a branch which didn't have it, or maybe before it, etc.

Anyways, I've just uploaded a patch to CM which fixes video recording, and I suspect it might fix sound input as well...? http://review.cyanogenmod.com/#change,9770

I think tilal disabled overclocking in his last build because some people were having problems booting. I just set some sane over/under clock frequencies in my kernel so that it boots at a stable stock frequency but still allows OC/UC in CyanogenMod settings and SetCPU. Any builds I post from now on will have that enabled.

Define "faulty". I just tested a transaction on my SIM Toolkit here in Kenya and it worked fine...

Adios, muchachos.
[Android Software/Hacking General [Developers Only]] N-ever:
ewwwwh don't know how to use it

looks like i have to wait for the next nighty for these fix
[Android Software/Hacking General [Developers Only]] King_Rat:
faulty stk = it has disappeared from the app draw... uninstall & reinstall = still no stk in the app drawer...

prior to this 'fault' I could change between two different sim cards & get onto either network... since stk has vanished (no... reboot/cache clear, uninstall/reinstall etc doesnt fix it)

I can only get the one network & it's not even the one my ph is designed to operate on!?

back on DroniX for now... having to restore a diff. backup every time I feel like changing networks is a major drag :rolleyes:

<edit> got the dang thing working ^^ insert other sim while running DroniX... got network up & working... power off ph... manually get into recovery... do full wipe... restore CM7 back up... & it picked up the netwrok (finally). ??? stk still no where to be seen...

o well it's workin again & recorded for posterity ;-)
[Android Software/Hacking General [Developers Only]] aorth:
Weird... I've had no problems with SIM Toolkit on this device with CM nightlies... glad it's sorted out (and yes, recorded for posterity ;))
[Android Software/Hacking General [Developers Only]] wbrambley:
I built from tidal's git a couple of days ago, no stk and unable to find any phone networks. Was also showing aeroplane mode but letting me use wifi. Could easily be something I built wrong too.

Sent from my FUSIONideos
[Android Software/Hacking General [Developers Only]] King_Rat:
So stk for you doesnt disappear then re-appear??

:mmm:

first time I havent done full wipe ^^ wanted to keep my data...

but I have had issue with stk in the past... when I, did install b/c it wasnt present in builds

no problemo as back on other network (for now) :eek:
[Android Software/Hacking General [Developers Only]] aorth:
It sounds unlikely, but I'll ask anyways... did you remember to extract-files.sh?
[Android Software/Hacking General [Developers Only]] aorth:
New nightly: November 3, 2011

New nightly: November 3, 2011​

<rant>

I've been really busy lately (you know, real life, and my other job... the one that pays), but I wanted to post a new build to appease the chronic flashers... but first, a disclaimer!

Since "we" got merged to mainline a few weeks ago all our code has to be submitted to CyanogenMod's code review system. While it's good that we're a more or less "official" project, the code review system takes time, and makes development a little more involved. This means that tilal and I do a lot of development in our own branches on github and sometimes our code doesn't sync, or he tests features I've not tested, I push features to mainline and he hasn't tested them, etc. He's a busy man, I'm a busy man, etc. That's the way life works. :)

</rant>

With that rant out of the way, I present a new nightly for those addicted to flashing. I just compiled it mainly to get feedback on overclocking and battery life. Keep reading below if you're interested...

"New"/working features:

Synced with latest upstream CM repository

Latest ROM Manager

Overclocking enabled, but 600/61MHz by default (some people have stability problems when the CPU frequency scaling governor decides to ramp up to ~700). Change this using CyangenMod settings -> Performance (or SetCPU app in Market).

Video recording working

Audio via headphones working (as it has been for some weeks now)

USB tethering

SIM Toolkit working for me... please test. :)

Not working... don't even ask, suckas!

SDCard mounting (haven't looked at the code yet, haven't tried. One thing at a time, folks!).

Barcode Scanners

Uh...

Downloads: please backup your current ROM from ClockworkMod Recovery (or ROM Manager) before!

update-cm-7.1-03112011-NIGHTLY-U8150-aorth.zip* (md5: 56cbd7d93d357f0a085fcdc09142c4e9)

clockworkmod_5.0.2.3_u8150.img

* flash with ClockworkMod recovery. No buts!

Wanna build for yourself? Cool! It's easy... I promise.

This was built from the CyanogenMod U8150 device tree, but with one or two patches on top: one small naming change for USB tethering and another for the camera permissions (they are in the code review right now, http://review.cyanogenmod.com/9770 and http://review.cyanogenmod.com/9771). If you want to build your own, I'd recommend using the CM one, not mine or tilal's. You can find updated build instructions on my blog: Building CyanogenMod 7.1 for the Huawei U8150.
[Android Software/Hacking General [Developers Only]] Pasquale91fg:
The animation off phone work???????? scuse my english
[Android Software/Hacking General [Developers Only]] briscola:
the button return, menu, home.... not function !!!

---------- Post added at 04:39 PM ---------- Previous post was at 04:27 PM ----------

when I press the red button, the screen goes black
[Android Software/Hacking General [Developers Only]] aorth:
It would be more helpful if you mentioned which kind of hardware touch screen you have. Also, were they working in the past nightly you tried? If so, which nightly was it?

Press it again... it's always behaved like that. :)

Didn't test it, but I don't see why it wouldn't work. I stopped using that long ago... to be honest it's rubbish on this phone. Not even worth it. Waste of RAM and CPU! As the U8150 does not have a GPU, and its RAM and CPU are limited, we decided to turn it off by default.

Just enable the screen off animation in CyanogenMod Settings. I see some people have to reboot after to get it to enable.
[Android Software/Hacking General [Developers Only]] ntnlzr:
and this is not MAJOR BUG!
[Android Software/Hacking General [Developers Only]] mitulvohra:
loudspeaker cracking audio

well.....is the bug of cracking in sound by loudspeakers fixed in the latest nightly?.....
[Android Software/Hacking General [Developers Only]] aorth:
Thanks hehehee.

And ya know, on a side note, I've seriously thought about disabling all animations and effects by default. Think about it: we don't have a GPU, which means ALL drawing operations have to go through the CPU. Period.

If we enable all sorts of wizzing and flying and zooming and shrinking by default, people are going to flash CyanogenMod on their device and then hate it instantly. Gingerbread is a bit heavier than Froyo anyways... so once we fix the bigger bugs I might actually do a poll and suggest that.
[Android Software/Hacking General [Developers Only]] Pasquale91fg:
Aorth I realized that our phone does not have a CPU, however, was a very pleasant effect, and many users wish!

However it does not work, I tried to activate and reboot but does not work to anyone!
[Android Software/Hacking General [Developers Only]] aorth:
Alright fine, I'll test it... gimme a bit, I gotta go to dinner. :)

btw: https://github.com/alanorth/android...orks/base/core/res/res/values/config.xml#L170

That's the line in the base framework's configuration which disables the animation by default.
[Android Software/Hacking General [Developers Only]] Pasquale91fg:
I swear it does not work!

I really like this animation that previously worked in previous releases.

However it is not a bug but it is something many users want!

thanks Aorth
[Android Software/Hacking General [Developers Only]] Nbuulb:
Does your new build contain a fix for not-working softkeys on devices with Melfas touchscreen?

Thanks in advance. :)
[Android Software/Hacking General [Developers Only]] retsef:
failed

E:Can't open /sdcard/update-cm-7.1-03112011-NIGHTLY-U8150-aorth.zip

(bad)

Installation aborted.

with the last nightly D:

ps. i use cwm 5.0.2.6
[Android Software/Hacking General [Developers Only]] tilal6991:
Redownloading the file would sort this
[Android Software/Hacking General [Developers Only]] retsef:
thanks it works but for future relase post md5 for test :D
[Android Software/Hacking General [Developers Only]] aorth:
You're right, I thought about posting the md5 but I was in a hurry. I've just added it. Thanks :)

btw: 56cbd7d93d357f0a085fcdc09142c4e9

---------- Post added at 11:02 PM ---------- Previous post was at 11:01 PM ----------

Good question. I dunno. I don't have a Melfas... but I haven't done anything specifically to break or fix Melfas. I assumed it was some change in Tilal's kernel which broke it, so I assumed mine would work. But again... I dunno. :)

One page back someone said it didn't work, though... so... :(
[Android Software/Hacking General [Developers Only]] nico202:
I had to download it twice but it worked. I can confirm that video & audio recording works.

Same for SIM toolkit, even though I hadn't tried it with the other (23/10) nightly.

It seems (maybe It just seems so to me) that audio from speaker is clearer.

Even OC and UC are working. (using UC 30MHz & OC to 672MHz (my phone does not support OC to higher frequencies)).

Home & other keys working with synaptic (screen replaced 'cause I broke it, from a melfas).

Thanks guys =) another time a good job.

Keep on rockin'
[Android Software/Hacking General [Developers Only]] ideoskid:
the back, menu, and home buttons don't work
[Android Software/Hacking General [Developers Only]] tas0s:
Sorry guys just a little off topic but If I remember right, some posts back, tilal has said that he is waiting for ICS etc..

So FYI

just found the build system specs..:(
[Android Software/Hacking General [Developers Only]] crispybbq:
That's optimal, remember. Naturally a weaker system would take a bit longer. The only "must" in that list is the hard disk space - no point even trying to compile code if you can't fit it on your computer. ;)

EDIT: Well, not a "bit longer"... maybe "a few more hours".
[Android Software/Hacking General [Developers Only]] tilal6991:
I can manage those specs but I'll need to upgrade my ram though. And remember that is for aosp. Cm will probably be slightly lighter. Also this are the recommended. I think you will be able to get away with much less.
[Android Software/Hacking General [Developers Only]] ZDjKT7Ec:
update-cm-22102011-U8150-NIGHTLY.zip

adb devices reports ????..., but adb commands work. Keyboard buffer in the shell is nice!

USB storage on mode no devices detected by computer OS.

wifi connect/ disconnect loops; sometimes stuck reporting "scanning" and "not in range."

Really nice work. I would use this except for the wifi issue. Wasn't wifi fixed in the nightly builds?
[Android Software/Hacking General [Developers Only]] N-ever:
installed

wifi tethering is not working

and i wanna ask, if i want to build for myself and make qr code app working, how do i put the camera permission patch on, according to the tutorial(http://mjanja.co.ke/2011/11/building-cyanogenmod-7-1-for-the-huawei-u8150/)?
[Android Software/Hacking General [Developers Only]] aorth:
Build specs...

Indeed... :) Just got this delivered yesterday...

16 GB DDR3... today I'll head to town and look for two 1TB hard drives and RAID 1 them. Next week I'll get a Core i7 2600. I'll be ready for some AOSP goodness.
[Android Software/Hacking General [Developers Only]] e8hffff:
Just when I was going to post a downer saying that I was about to give up on roms with CM, this flash has proved that speed is there, enough to run CM and do the tasks needed!

Everything is working great, the exception, barcode reading, and usb mount failed, but may need to restart to check properly. The Apps Store application is slow. Someone mentioned that the service domain should be changed to fix this.

Multi-touch is working on my unit, which is a U8150D. Google Talk is working properly too. I don't tether so no check from my end. Sound output seem clearer but still distorts at top 25% of volume range.

Regarding sound, if there are settings in headers for the build, for range of total 100% volume, then I would put the top end at 70% of value.

EDIT: checked sdcard/USB-mount and it failed after I restarted unit. The whole SDcard was closed down, as in apps running that are on the sdcard failed when pluging in USB to my Linux desktop. No link was made. I will ahve to upload future roms with wifi networking.

Quality move forward!!!
[Android Software/Hacking General [Developers Only]] aorth:
Haha don't get depressed... stick with it. Just remember: it's more depressing being on the dev side, recompiling all the time, erasing the phone all the time, etc!

I purposefully haven't even looked at them in this build. :) Tilal has done work on that in his branch... I'll integrate those changes soon and test them once I understand what's going on.

Yeah, there's distortion at the max levels, I noticed that too... If you want to look through the code for something interesting, it'd probably be in libaudio here: https://github.com/CyanogenMod/android_device_huawei_u8150/tree/gingerbread/libaudio :)

Yah... it's totally borked. :) Don't bother mounting the SD card for pushing ROMs... just use adb:

adb push update.zip /mnt/sdcard/roms/cm7/

Thanks for the feed back, man.

---------- Post added at 10:31 AM ---------- Previous post was at 10:27 AM ----------

Yup, you're right... hmmm:

D/SoftapController( 122): Softap driver stop: 0
E/SoftapController( 122): Softap fwReload - failed: -1
E/WifiService( 182): Exception in startAccessPoint()
E/WifiService( 182): java.lang.IllegalStateException: Error communicating to native daemon to start softap
E/WifiService( 182): at com.android.server.NetworkManagementService.startAccessPoint(NetworkManagementService.java:642)
E/WifiService( 182): at com.android.server.WifiService.setWifiApEnabledBlocking(WifiService.java:834)
E/WifiService( 182): at com.android.server.WifiService.access$2700(WifiService.java:106)
E/WifiService( 182): at com.android.server.WifiService$WifiHandler.handleMessage(WifiService.java:2185)
E/WifiService( 182): at android.os.Handler.dispatchMessage(Handler.java:99)
E/WifiService( 182): at android.os.Looper.loop(Looper.java:130)
E/WifiService( 182): at android.os.HandlerThread.run(HandlerThread.java:60)
E/WifiService( 182): Caused by: com.android.server.NativeDaemonConnectorException: Cmd {softap fwreload eth0 AP} failed with code 400 : {Softap operation failed (Operation not permitted)}
E/WifiService( 182): at com.android.server.NativeDaemonConnector.doCommand(NativeDaemonConnector.java:259)
E/WifiService( 182): at com.android.server.NetworkManagementService.startAccessPoint(NetworkManagementService.java:615)
E/WifiService( 182): ... 6 more

To be honest I haven't tested it in awhile. WiFi itself works, hmmm. I'll look into this later today when I get down to hacking.

Please make the QR code scanner work ;). You have to cherry pick the patch from the CM review:

git fetch http://review.cyanogenmod.com/p/CyanogenMod/android_device_huawei_u8150 refs/changes/70/9770/1 && git cherry-pick FETCH_HEAD

... or just add the lines yourself to the uvent.huawei,c file, according to the same patch (here).
[Android Software/Hacking General [Developers Only]] e8hffff:
Some advice for those using Aorth sideline build.

Goto Manage Applications in settings and clear the data for 'Market'.

The action above as helped in cleaning up a problem where I couldn't update apps that were signaling updates available. Will check if this also fixes the Adfree App from frequently displaying.

--------------------

Aorth, could you increase the time it takes to display the Wait/Force app dialog? It comes up too much when it's only seconds away from doing the task. Our phones are too slow, so the delay for crashed/run-away apps needs to be longer in my opinion.

---------- Post added at 07:37 PM ---------- Previous post was at 06:56 PM ----------

Ok, I'm pretty new to joint editing of code. Like I've never used git/cvs before.

Ok checking lines 1091+1099 of AudioHardware.cpp they have a 70%/50% conversion happening. Not sure if these should be so different, as in 5 vs 7. I don't know enough about C to know if they are using the integer trimming properly, as in Ceil vs Lrint. Also the values get tosed to ioctl function with a SND_SET_VOLUME flag + args. That code would need to be checked to see if it's doing the task properly. I couldn't find that code in your fork.
[Android Software/Hacking General [Developers Only]] N-ever:
I see

So the camera permission patch fix only the vid. recording issue but not the qr issue?
[Android Software/Hacking General [Developers Only]] tilal6991:
I'm going to release a new build today or tommorow with qr fixed.
[Android Software/Hacking General [Developers Only]] mega g:
sorry. what are the bug of last (2.3.7) relase? I am interested in more about what does not work. the camera has 3mpx effective? the base must be the nightly or stable?
[Android Software/Hacking General [Developers Only]] N-ever:
Thank you so much devs i love you

Looking forward to it
[Android Software/Hacking General [Developers Only]] ZDjKT7Ec:
Wifi connect/ disconnect loop fixed per MAC address change of post #2515 :)

Several audio issues:

Voice Search/ Dialer pop-ups both crap out, "Audio Problem" and "Try Restart," respectively.

Long press Search button pop-up actions offered are "Messaging" (sic) and "Voice Search."

Speaker phone FCs call.

Music widget display often forgets current song (playback is correctly bookmarked).

Music app has trouble recognizing flac files.

One of the music "open file" widgets in the file browser is broken.

Multitouch works.
[Android Software/Hacking General [Developers Only]] tilal6991:
Try using alanorth's build. That should fix the audio issues
[Android Software/Hacking General [Developers Only]] e8hffff:
Yeah I can only use Alan's build as it's the only one that doesn't make my phone crash non-stop. Maybe Tilal you should use tat build and a new starting point.

Thanks for all your work Tital.
[Android Software/Hacking General [Developers Only]] tilal6991:
My build crashed? That's interesting since we both use almost exactly the same source.

Well I'll be posting a new build today. See if that fixes your problems.
[Android Software/Hacking General [Developers Only]] e8hffff:
It(the quirk) may have something to do with default applications or settings, as I'm using Alan's on a cleaned out unit and maybe this is why I need to keep his builds for compatibility. I originally installed yours but the had crashes and tried Alans and it worked more stable on my unit.

Do you still have No-Frills CPU installed in the upgrade process as I think that was the cause of my probs?

I do not want to put any enmity between you two or say who's is better or not. I'm saying this is where I'm at in this time. The course is I'm currently using Alan's build and when I've installed others on top I've had to revert to get stability.