yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] graigchq:
Hi All

Just setting up a U8150 for a friend, having been handed it due to me reccomending this or the U8160 for him.

I have installed the CWM, via fastboot, and then this ROM, 11th June version, and for some reason it cannot see any WIFI networks, and the WIFI switches off after about 10 seconds of turning it on...

Any ideas on where to look for this? I have read a fair amount of this thread, and nobody else seems to have this problem, so I think it might be something I have done...

So, I'll be honest...

Originally, on the stock ROM, I installed CWM from ROM Manager. However, the only option was the U8160 CWM, which I selected, and it worked, and allowed me to flash the CM7.2 build that i have on my U8160. This had no WIFI or mobile data, so I figured I must have done something. I tried to flash this ROM (11th June) and CWM would not accept it, so I flashed the CWM for this phone manually using fastboot, which then worked, and allowed me to flash this ROM, which I then setup, and restored all his stuff via Titanium. However, no WIFI still. Mobile data now works OK, but if I switch WIFI on, it doesn't see the AP from my HTC that I was using just an hour before I got rid of his stock ROM, so I know that this phone will connect to that network. Currently my laptop is connected to it, but even if I disconnect, it still won't show up in the list of AP's, and then after 10 or 15 seconds, "process WIFI settings has stopped responding" etc, force close or wait... and then WIFI is then switched off.

I'd love to know what I did to get it this way, hope I've explained enough my situation...

Craig
[Miscellaneous Android Development] ac1953:
Alan, I think it would be useful. At least u8160 works without any problem. But, as I stated in a previous post, is not the gralloc the module involved. You will find the patches here:

https://github.com/ac1953/android_frameworks_base/tree/gingerbread

As you will see, the patches are very simple. I cannot say if on u8150 you will have the same results of u8160, but it worth a try, I think
[Miscellaneous Android Development] Allanitomwesh:
It's the titanium backup at fault,batch restoring system data with it does that for some reason,dunno the nitty gritty details,i suspect it restores the bug,but,you should restore just apps,no data, and then pick out the ones with yellow smiley faces,and restore data on those only. Then you'll be good.
[Miscellaneous Android Development] graigchq:
Bang on, thanks mate, this has sorted it.

Just noticed where you are in Kenya, i'm on Kilimanjaro in north Tanzania... not a million miles away. Figures, as the U8160 was the only decent Android I could find when my Blade was stolen somewhere between Nairobi and Arusha last year.
[Miscellaneous Android Development] aorth:
Yeah, I found you on github and had a look at the patches. I guess I was oversimplifying by saying "gralloc" because the error mentions gralloc and I saw one patch to libs/ui/GraphicBufferAllocator.cpp.

If you'd like, I can submit it to Gerrit for you. Not sure if you're set up for submitting code there or not.
[Miscellaneous Android Development] Bubino75:
Hi All,

I use this rom since 3 days and I like it very much!

I came form LEANFusion (another great rom) and I found one big difference:

With Fusion I was able to use 710Mhz overclock, with Cyano no, the max is 691Mhz, over I have some reboot. There is an explanation for it?

And now 2 questions:

1) What app for torch I have to download to enable the notification power widget button? I try, "torch hd led and color flashlight" without success. I already tried the answer in this 3d, but without finding.

2) The signal indicator of status bar, turn green to indicate signal coverage of the data network? They are usually white (I use the default colours)

Thank you all

Regard

Alessandro
[Miscellaneous Android Development] CTRL+ALT+DEL:
CM7 is using another kernel, the U8160 one. Since the voltage is a bit different from the U8150 one, the overclock limit is slighty lower.

It's green if your phone is connected to the google server, so when a 3G/EDGE/GPRS Data connection or WiFi is on
[Miscellaneous Android Development] amonev:
One noob question:

How to apply the patch in the layer.cpp? :o
[Miscellaneous Android Development] wbrambley:
Hi all, just had one of those random reboots. On the lock screen I unlocked and screen we went blank. (backlight on blank screen) I then put phone back to sleep and woke it, this time I went the other way and muted the sound. Phone then hung on the lock screen animation. I pushed some random buttons and phone rebooted into "safe mode" !? I have never seen safe mode before, it has a small water mark in the left lower corner. Can anyone tell me more about this safe mode? It appears to only be running the system applications.
[Miscellaneous Android Development] aorth:
I have to apply it in the CyanogenMod source tree.

Yeah, I got to safe mode once on accident too... apparently it doesn't load any non-Google apps.

Anyways, about your reboots... maybe it's related to the gralloc. I switched to the open source one because the less reliance on proprietary stuff, the better... but maybe I'll put the proprietary blob back in the next one and you guys having random reboots can see if it's better. Also, the official CM builds are still using proprietary blobs... so that could be a good test for you.
[Miscellaneous Android Development] wbrambley:
Ok, will try the official build and let you know if there's any difference. Rebooted and it went back to normal mode. Worked out how to go into safe mode was pushing the d-pad center while booting.

Sent from my U8150
[Miscellaneous Android Development] ac1953:
Thanks, but I'll submit patches by myself, only to be sure all the patches are sent upstream ;)

Gimme only the time to do it, maybe this evening, when I'll return home from job
[Miscellaneous Android Development] aorth:
Haha, ok. I'll test the patch when you put it on gerrit (and then +1). :)

Cheers!
[Miscellaneous Android Development] aorth:
Speaking of CyanogenMod code review, subpsyke submitted a nice patch[1] which allows Barcode Scanner to work. The patch isn't as intrusive as the hack we've been using[2], so let's hope it gets merged, and then official CM builds will be easier to recommend to friends and family.

[1] http://review.cyanogenmod.com/#/c/18181/

[2] http://review.cyanogenmod.com/#/c/12653/
[Miscellaneous Android Development] psyke83:
Just to be clear - that was joilaroi's discovery, I just tested it and then isolated to a boardconfig option. I want to add him to the review queue, but I don't know his real name on gerrit.
[Miscellaneous Android Development] aorth:
Ah, good to know. I like to keep people here in the loop, for both transparency as well as documentation for future travelers. ;)

In any case, it's a clever patch. Hopefully, since U8150 is "official," they will accept it. I'm not sure if any other devices have that issue.
[Miscellaneous Android Development] Allanitomwesh:
Hey aorth

What's your take on the new Ideos u8185 Ascend y100?

Looks like a good update to our current droid.

http://www.androidtapp.com/huawei-ascend-y100-review/
[Miscellaneous Android Development] joilaroi:
Just added myself to the review and approved it. My real name in Cyanogen Gerrit is Ricardo Soares.

Thanks for submitting this patch.
[Miscellaneous Android Development] wbrambley:
Have been using official cm nightly from 24/6, no random reboots or system hangs so far. :-)

Edit: spoke too soon, phone went to sleep and did not wake up.

Sent from my U8150
[Miscellaneous Android Development] amonev:
I'm using "Ideos Sense HD ROM" based on 5 May build and this is the fastest and stable ROM I've try.
[Miscellaneous Android Development] katawonga:
New CM7 Nightly

Hey guys, did anyone notice a new nightly from two days ago? >>cm-7-20120624-NIGHTLY-u8150.zip<<

how different is it from this one recently release by Aorth?
[Miscellaneous Android Development] smashman42:
The official builds have barcode scanner broken due to the bug mentioned above, Aorth's builds have/had a fix that wouldn't get approved in the official CM but it looks like hopefully soon there will be a proper fix

Basically Aorth's builds tend to have newer u8150 specific fixes/tweaks in them compared to an official nightly of the same date - a newer official nightly may have newer general CM code but may have some things missing compared to Aorth's builds - been without my phone for a couple of months so not that up on the current state of things, only just got it back from repair today
[Miscellaneous Android Development] aorth:
Stay away from it. It's a waste of money because its based on MSM7225 system on a chip. That's barely better than the one the U8150 uses. *slightly better* specs and power usage, you still don't have a GPU! Gotta get up to 7227 to get a GPU. Even then, this is 2012, and those processors were released in like 2008/2009... steer far clear of them!

Glad I found the patch. It's so clever I don't know why I didn't think of it. :)

Ok, so now we know it's not something specific to my nightlies. I think I'll submit the changes for open-source gralloc and copy bit to CM then.

I'm still stumped on what's causing the sleep of deaths and random reboots... are you overclock settings too high/low?
[Miscellaneous Android Development] luk82:
alan did you try ac1953 patch for sygic? does it works?
[Miscellaneous Android Development] wbrambley:
I have min clock on 122, Max on 710. Used to have Max on 748 stable with old u8150 kernel. Will try and grab a log over the weekend but I may not be able to due tor randomness of this bug.
[Miscellaneous Android Development] acejoker68:
aorth for the sleeps of death even factory has them they come and go tho i can never pin point a cause so could it be hardware?

Anyone know how to fix the calling sound that i mention earlyer
[Miscellaneous Android Development] maxking:
excuse me but the market because it does not install these versions nightly?

very thanks

EDIT:

if I try to launch it on dev tools google ---> login service terminated unexpectedly tells me'' ..'' I tried to reinstall THE ROM several times and does not change ...
[Miscellaneous Android Development] bartiest:
If i understand your problem correctly: Install Gapps! you find it in the first post. Flash it and you will have Market
[Miscellaneous Android Development] maxking:
thanks ;)

W ITALY :D
[Miscellaneous Android Development] wbrambley:
Black Screen

I think i got what you got, black screen and un responsive? Mine stopped responding before i put it to sleep. I did a logcat if someone could diagnose

what actually happened. Pastebin :http://pastebin.com/siHFKBGM
[Miscellaneous Android Development] Allanitomwesh:
Got a random reboot too yesterday, phone didn't wake but instead restarted.

Still have bad battery life,but I think I flashed something wrong

I'm on may build at the moment, no overclock but I've changed the busybox for v6 script,which ironically, didn't work.
[Miscellaneous Android Development] wbrambley:
I also had the busy box error when I ran v6. All v6 did for me was slowed my data connection badly.
[Miscellaneous Android Development] aorth:
The patch probably works... I tried to download Sygic to test, but it required 500 megs of maps before I could test it so... hahaha. I'll try to post a build this weekend with that patch, so you can test.

Hmm, I see some stuff about wifi that doesn't look very good. It got me thinking: WPA supplicant 0.6 has been present since the May 17th build (and was merged in CM on May 20th). Maybe that's the cause... I'll try to post a build this weekend with WPA Supplicant 0.5.

v6 scripts have some good tweaks, but I'm wary of these "z0mg moar speed" patches for exactly this reason... Some of them are valid, but there's a better way to add them than v6. I haven't had time to test them yet, but FUSIONDev gave me a few tips a week or two ago. They really should be added to the system's init scripts.
[Miscellaneous Android Development] Allanitomwesh:
I installed it very well in April build, and it worked as advertised. I think I'll be testing June build then instead
[Miscellaneous Android Development] wbrambley:
Would the WPA suplicant error still be valid without a sim card? (pardon my ignorance) Have been running without Sim and just using wifi since this morning without any issues.
[Miscellaneous Android Development] aorth:
Yes, it should be the same with or without a SIM. I was REALLY busy this week, but I still want to post a new build with the old WPA supplicant + sygic patches this weekend.

btw, I bought an Ascend Y100 (U8185) today. It's an MSM7225A (ARMv7! NEON! 800MHz! GPU!). It's kernel 2.6.38. It's freakin' fast, literally boots and ready to use in 3 seconds. I'm going to start working on this device soon... ;) It's only $100 in Kenya, and comes with a bunch of free airtime, data, etc!
[Miscellaneous Android Development] rmcco74:
hey Aorth how come you said to stay clear from the ascend y100 but now you've bought one? :P
[Miscellaneous Android Development] sw2kool:
Hey aorth, any luck finding the source of the restarts?

PS THe phone stopped randomly rebooting after 2 days of being on the stock ROM. Don't know why the reboots continued into the stock after the RC3 but like someone said, I may have busted some hardware.
[Miscellaneous Android Development] aorth:
Yes. I was mistaken about the system on a chip it was using. The MSM7225A is less than one year old, it's much better than the MSM7227 SoC in the ZTE Blade, Galaxy Mini, etc. Those are all ARMv6 chips, whereas this is ARMv7. It's a whole new device, and it's $100 in my country. :)

I think it might have something to do with wireless (specifically, the WPA supplicant we're using). I did post something about it yesterday... only a few posts above yours. :)
[Miscellaneous Android Development] wbrambley:
Can you do a wpa suplicant patch or do you have to re compile rom?
[Miscellaneous Android Development] aorth:
I can do a patch for you. I also want to post a new ROM, though, with the new pixel format 8 patch (for Sygic).
[Miscellaneous Android Development] aorth:
July 1 hotfix with *old* WPA libraries

People have been reporting more reboots since May/June builds, in both my versions as well as CyanogenMod builds. From the logs wbrambley posted, it looks like wifi might be to blame... this could possibly make sense as since May 17th both my and CM's builds have been using a newer version of the WPA supplicant library.

Flash this ONLY if you've been having many reboots in CM7 in the past month!

july1_wifitest.zip (md5: a92d2f2903f0c890e88e3b38899a5c76)

Flash with ClockworkMod Recovery. Wipe not necessary.
[Miscellaneous Android Development] Allanitomwesh:
Ah.

You made me not buy it. Now you tell me this?

Anyway,had another random reboot,this time in the middle of whatsapp. Phone just vibrated and poof! Charge still sucks. Won't be trying June build.

For me personally,April build + V6 supercharger 8 + ADW EX is best.
[Miscellaneous Android Development] Pasquale91fg:
Guys why when I install a new rom the phone connects to the internet via 3g and I am scaling the money ????? first this fact did not happen! I remove the check on data yet activated!

HElpppp
[Miscellaneous Android Development] ALESSIO94x:
Because the setting "Enable mobile data" is turned on by default when you install a new ROM. For the first boot you have to remove SIM card then disable this setting ;)
[Miscellaneous Android Development] Pasquale91fg:
alessio tu ti riferisci al primo avvio prima di flashare le gapps????? io cmq la leva la spunta!!!!
[Miscellaneous Android Development] ALESSIO94x:
ITA: Si, mi riferisco proprio al primo avvio, infatti devi avviare prima senza sim e togliere l'opzione "Dati attivati" e poi riavvia con la SIM e vedrai che non ti ciuccerà i soldi ;)

ENG: Yes, I refer at the first boot, in fact you have to remove SIM card then disable "Enable mobile data". When all it's done reboot your device.
[Miscellaneous Android Development] proprg8:
This latest build's nice, i like the animations, well done aorth! :-)
[Miscellaneous Android Development] LILTRANE:
how can i flash it? i want to save all my settings and apps?
[Miscellaneous Android Development] aorth:
No problem, though all I take credit for is compiling, testing, and uploading! Most of the work was done by other people in the community. Seriously! I'm just good at git checkout and making bacon ;)

Read the first post. It has instructions for flashing. :)

BTW, for developers:

7.2-RC1 is being prepared... See anything interesting here? http://review.cyanogenmod.com/#patch,sidebyside,12364,5,CHANGELOG.mkdn ;)... hint, U8150.

Also, if you're building your own KANG builds from CM source, you'll want to repo sync today. A bunch of my pending patches were just merged yesterday: https://github.com/CyanogenMod/android_device_huawei_u8150/compare/4c93c18c9c...08d4e09fe8

They were, of course, already in my nightlies... but I had to keep merging them whenever I made a new build.
[Miscellaneous Android Development] LILTRANE:
And on the 17jan build after installing GApps my device sometimes freezes and restarts.also in games or in market, when downloading smth..
[Miscellaneous Android Development] Pasquale91fg:
grazie ale! :)

Ale senti ma anche a te l'animazione CRT off è un pochino lenta?
[Miscellaneous Android Development] ntnlzr:
i'm italian too but this is international forum, pls use english language: you can use google translator for it
[Miscellaneous Android Development] ALESSIO94x:
@Pasquale91fg :

ITA: si purtroppo è lenta per il semplice fatto che sul nostro Ideos manca una GPU, ad esempio mio fratello ha un Galaxy S e l'animazione sul suo device è davvero fantastica! Vabbè accontentiamoci...

ENG: The CRT Off animation is slow on our devices because there isn't a GPU, for example in my brother's Galaxy S this animation is very fast!
[Miscellaneous Android Development] tulangabol:
Thank for update...

But i have some bug (same with previous version)....

I know this thead for huawei U8150, but i'll more happy if you can support for huawei C8150

Thank again
[Miscellaneous Android Development] aorth:
Which ROM were you on before? And how did you upgrade to the Jan 17 nightly?
[Miscellaneous Android Development] LILTRANE:
i used fusionideos for a long time. then i install official 2.2 rom. after that a flash yoy rom. first time it was perfect. but i wonted to use a google account and sinchronze my contacts from google. i installed gapps. and this bug arrived. and now i flash latest rom. and affter installing ICSLayouts-011-AChep-acpatch4 and when device loads, i have a green screen for a few seconds after that all works fine. but i still have this bug with freeezing and restarting(

sorry for my poor English

and after calling a ihave the same green screen and device restarts/
[Miscellaneous Android Development] ALESSIO94x:
What is "ICSLayouts-011-AChep-acpatch4"? I haven't found nothing on Google. Can you give me more details? This will solve the bug ;)
[Miscellaneous Android Development] aorth:
Yes, I've noticed there is a problem with the ICS animations on our phone. The green screen thing... it does show up sometimes... hmmm. Maybe I will disable them by default, then the user can enable them.
[Miscellaneous Android Development] King_Rat:
+1 for green screen issue ^^

PS - Wife don't like U8150 :huh:
[Miscellaneous Android Development] LILTRANE:
here is layots of the perfect ics theme for our phone/ here is 2 links

http://xdaforums.com/showthread.php?t=1313722

http://xdaforums.com/showthread.php?t=1324924

but is not the case of green screen.

aorth says that problem in the ICS animaton.

aorth can you delete this animation or try to fix it? but it is very cool animation)))

and what about freezing and rebooting?I'm sure that it is for the GApps. i try to install others archives with gapps but i have the same issue.plz try to fix it. becous i cant normally work in internet. and somtimes when i get a income call my device rebooting. or when I take out my phone from my pocket, device he had already turned off.
[Miscellaneous Android Development] aorth:
"?????????" in adb and wifi MAC address

I've been talking to subpsyke recently about the MAC address issue[1], and I realized it's directly related to the issue we have with adb devices showing "?????????" instead of a serial number. I'll try to summarize the issue so that maybe some of you can start helping to solve it.

Basically... the device's serial number is read from nvram by the kernel. There is an offset, or a memory address somewhere in the kernel which dictates where this serial number lives. If, for some reason, the serial cannot be read from nvram, there is a static string defined in the kernel source which it will use instead.

When the U8150 is booted to a kernel using the U8160 source[2], you see the following:

adb shell cat /sys/module/g_android/parameters/serial_number
1234567890ABCDEF

When the U8150 is booted to a kernel using the U8150 source[3], you see this:

adb shell cat /sys/module/g_android/parameters/serial_number
285FDB333736

In the case of the U8160 kernel source you also see a precarious message in the boot log stating that it could not read the specified address in shared memory:

<3>[1, swapper] [ 0.236153] < proc_usb_para
<3>[1, swapper] [ 0.236171] smem_find(134, 128): wrong size 88
<3>[1, swapper] [ 0.236188] proc_usb_para: Can't find usb parameter
<3>[1, swapper] [ 0.236208] smem_find(134, 128): wrong size 88

In the U8150 boot logs you see this:

<3>[1, swapper] [ 2.101101] < proc_usb_para
<3>[1, swapper] [ 2.101123] vendor:safaricom,country:ke
<3>[1, swapper] [ 2.101141] USB setting is NORMAL
<3>[1, swapper] [ 2.101161] smem usb_serial=285FDB333736, usb_pid_index=25
<3>[1, swapper] [ 2.101184] pid_index_to_pid, pid_index=25, usb_pid=0x1038
<3>[1, swapper] [ 2.101204] set pid=0x1037, sn=285FDB333736

It should be obvious now that we only need to find the offset in the U8150 source and fix it in the U8160 source. This will fix both the "????????" issue as well as allow us to implement a method for determining a more unique MAC Wifi address, as subpsyke has already done on the U8160[4].

Now get to work!! Find that code! Help me fix this bug!

[1] subspyke's explanation about how the Wifi and Bluetooth MAC address is calculated

[2] http://github.com/alanorth/kernel_huawei_u8160

[3] http://github.com/alanorth/kernel_huawei_u8150

[4] https://github.com/psyke83/android_...mmit/aba4f3ef6a2e52a13035629506194a9e99bb5383
[Miscellaneous Android Development] aorth:
Another Chinese U8150 ROM...

Anyone want to investigate? I can't even find the download link... Chinese... :)

http://bbs.hiapk.com/thread-3180330-1-1.html

The theme kinda looks like MIUI... and one of their screenshots has a radio application, I wonder if it's fixed in their version?
[Miscellaneous Android Development] ep690d:
another official nightly ...

http://get.cm/get/jenkins/3763/cm-7-20120701-NIGHTLY-u8150.zip
[Miscellaneous Android Development] francois227:
i dont know what's happening

i still get horrible random reboots. great rom though, just the reboots. i've been experiencing reboots continuously for more than 2 hours now
[Miscellaneous Android Development] wbrambley:
Have you applied the wifi fix or are you on the new official nightly? If on the new official try flashing the fix over the top.
[Miscellaneous Android Development] francois227:
june 11 release, I flashed the fix. at first, it's really awesome, almost no reboot, but then, after few weeks, reboots happened
[Miscellaneous Android Development] rmcco74:
@francois227 i think wbrambley was talking about the wifi fix that Aorth uploaded yesterday... if you go back a page you'll see the link :) sorry if i havnt understood you properly!
[Miscellaneous Android Development] wbrambley:
Hi, still getting reboots. Gonna start fresh with 1/July official then apply wifi test patch over the top. Still having an issue but it may have been something i stuffed up myself.

This is a log of a reboot that happened while hooked up to pc.

http://pastebin.com/79zK0uu0