yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] PaulMilbank:
Just wanted to highlight this as it seems to mirror what I have seen in other roms even back to 2.2 and cm6.1.

Edit build.prop to: dalvik.vm.execution-mode=int:fast instead of dalvik.vm.execution-mode=int:jit. May slow things down a little, but will help battery life a lot.

Add this: wifi.supplicant_scan_interval=60 to build.prop to stop wifi scanning constantly when not locked to an AP. This will drop the scan time to once per minute. Have seen as high as 120 or even 180 here.

You could also use y5 battery saver from the market to disable wifi when away from the saved AP's. Can vouch for this as simple and works great compared to the "battery savers" from the market.

syncing uses a lot of battery, use something like apndroid or ApnSwitch to turn off data from the homescreen when not needed. or if on a ported 2.2.2 rom from u8180, use the taskbar switch to turn off data.

Also it is good to do a battery calibration if you are flashing a lot of roms. Im guessing Alan is mostly fastbooting different kernels as opposed to building and flashing roms so his battery stats are more in tact. Charge to full> restart> wipe battery stats from CWM or battery calibration app from the market or just delete the battery stats.bin file with file manager. leave it to drain as much as possible (dead flat is best) and then charge to full. Keep up normal usage to get good patterns back into stats after that.

Paul
[Android Software/Hacking General [Developers Only]] e8hffff:
Mine doesn't. Using a U8150D here.

Make sure you clear the cache of Market App after any flash, and then set it back up again. Your Market app maybe running in back ground with trying to get updates on a corrupt table. Example you will see that your market doesnt' show all your apps. Once you clear the cache for the Market then it will relook at everything and be proper.
[Android Software/Hacking General [Developers Only]] iamwyim:
That is something I have reported before!It happened since 22/11 build.

I am unable to received calls or turn on the music player using the button on the headphone.

I have just installed the latest build as well and the things goes even worst. I could even unable to listen or answer anything from my headset.
[Android Software/Hacking General [Developers Only]] lee198218:
can anyone transform clockworkmod_5.0.2.7_u8150.img to .zip???

cus my usb was bronken

thx
[Android Software/Hacking General [Developers Only]] smashman42:
If the file is on the root of your sdcard you should be able to flash in terminal emulator with this command....

flash_image recovery /sdcard/clockworkmod_5.0.2.7_u8150.img

Obviously make sure your path on the sdcard/filename are correct

If it fails & corrupts the recovery you can reflash 3.x via rom manager
[Android Software/Hacking General [Developers Only]] King_Rat:
bootloop ^^

might try framework-res.apk from my pre-latest nightly backup & pop it into latest update & see if that works :confused:

Update: didn't change... com.android force closing (repeatedly)
[Android Software/Hacking General [Developers Only]] jeremy4465:
well next idea is to try out the stock one with cm7 because there's one preset with cm7 that i use just play with the setting till you find it

I'm on cataclysm 0.3 by atl4ntis
[Android Software/Hacking General [Developers Only]] King_Rat:
is o.k ^^ I'll stick with my nandroid backup of prior nightly ;)

for some reason I need the CRT :o can't go w/o it :D
[Android Software/Hacking General [Developers Only]] mkel91:
with new nightly 5/12 automatic brightness isn't still working, it's a way to enable it?
[Android Software/Hacking General [Developers Only]] smashman42:
IIRC, it was disabled because it didn't work properly & was draining battery
[Android Software/Hacking General [Developers Only]] mkel91:
ok thanks :)

---------- Post added at 04:23 PM ---------- Previous post was at 04:18 PM ----------

it's safe to disable compcache and Jit for battery drain, will they have negative impact of performance?

many thanks
[Android Software/Hacking General [Developers Only]] ntnlzr:
yes they impact both to performance
[Android Software/Hacking General [Developers Only]] aorth:
I enabled it in a test build last week but it didn't seem to make a difference for me. I've actually never noticed it working ever on this device. I walked around in the dark and it was still bright as hell.

Other than the checkbox missing, when was the last time you saw this working? Anyone?
[Android Software/Hacking General [Developers Only]] mkel91:
I wanna ask another thing, before cm7 I used FusionIdeos 2.7.10, in this rom there's a fantastic script in /init.d called FusionRemix that pull some hard app like facebook, gmail and maps in /system/app for a clean phone, is possible to use it in this rom copying it in the correct folder?

thanks
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
Yeah auto-brightness used to work back when the softkey lights used to work properly, I think... But I definitely know it used to work a few revisions back. I used it all the time and watched it work.

~~ Sent from my Velocity Micro Cruz PT701/T105 via Tapatalk ~~
[Android Software/Hacking General [Developers Only]] mkel91:
in cyanoluck, based on this mod, auto-brightness used to work..
[Android Software/Hacking General [Developers Only]] veer1238:
Yes you can just copy it to etc/ init.d folder.

sent from my U8150 using my thumb!
[Android Software/Hacking General [Developers Only]] smashman42:
Ditto

10char
[Android Software/Hacking General [Developers Only]] proprg8:
auto-brightness works in Cyanolucky v2
[Android Software/Hacking General [Developers Only]] wbrambley:
Does anyone else have a problem with apps that use sensors not exiting properly? To test open an app like compass or spirit level etc for a couple of minutes then later (4hours or so) check settings /about phone/battery usage. Mine usually shows the app not running but at least 50/50 with system usage. Battery drain remains high until reboot. If its just me with this issue what am I doing wrong? Any ideas or help appreciated thanks.

Sent from my U8150
[Android Software/Hacking General [Developers Only]] rudy_thedarkness:
i try flash at terminal emulator with this command flash_image recovery /sdcard/clockworkmod_5.0.2.7_u8150.img but..permission denied why ya..can help me?
[Android Software/Hacking General [Developers Only]] smashman42:
sorry, have to get root/superuser first

su
flash_image recovery /sdcard/clockworkmod_5.0.2.7_u8150.img
[Android Software/Hacking General [Developers Only]] sockhamz:
I'm using C8150 (CDMA), after flashing this rom my phone is become deactivated and the first thing that came up was the activation screen with message "Activate Your Phones" :( :(

(I do wipe cache and dalvik cache before flashing)

Anyone, please help me...
[Android Software/Hacking General [Developers Only]] rudy_thedarkness:
flash_image: not found ??
[Android Software/Hacking General [Developers Only]] smashman42:
What ROM you running? Anything CM based will have flash_image, stock rom won't, modified stock up to the chef

I didn't realize you're a different person, if your USB is working flash it the proper way, instructions here
[Android Software/Hacking General [Developers Only]] rudy_thedarkness:
i use rom cyanogenmod 7 22/10/11 now my clockworkmod 3.0.2.4

---------- Post added at 03:07 PM ---------- Previous post was at 03:03 PM ----------

[/COLOR]now failed with error;

error opening /sdcard/clockworkmod_5.0.2.7_u8150.img

why ??

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

yeah already be upgraded right clockworkmod version 5.0.2.7 thx smashman :p
[Android Software/Hacking General [Developers Only]] esciar:
Alan already said this rom is not for cdma devices, you should go back to your previous rom.
[Android Software/Hacking General [Developers Only]] aorth:
Sensors, auto brightness, etc.

I haven't had time to do any more tests lately with auto brightness, sensors, etc. I'm going to be a bit busy the next week or two, so I don't know when I'll get around to it. I really want to look into auto brightness and sensor issues, as those were working in previous nightlies.
[Android Software/Hacking General [Developers Only]] mkel91:
I've tried but the phone doesn't boot..
[Android Software/Hacking General [Developers Only]] veer1238:
I just realized scripts dont execute, I dont know why, 4 da time being use script manager from market to execute ur script.

sent from my U8150 using my thumb!
[Android Software/Hacking General [Developers Only]] King_Rat:
Hey Veer ^^

How can you tell (other than physical use) that a script is running/working? I have S97ramscript in **system/etc/init.d** I've always assumed that it's working :rolleyes:

T.I.A
[Android Software/Hacking General [Developers Only]] veer1238:
I use scripts to change many things such as sdcard read throughput. Scalling governor, cpu frequencies but i lately found out they are not executing as my cpu frequencies revert back to default so i use script manager for execution at boot. I dont know why are they not executing on cm7 based roms.

sent from my U8150 using my thumb!
[Android Software/Hacking General [Developers Only]] King_Rat:
I tried Script Manager from Market it wont launch :confused:

I use No-Frills for CPU freq w/o issue ^^ :weird:
[Android Software/Hacking General [Developers Only]] veer1238:
It will, tick use as root and let it execute at boot. I knw i jst dnt lyk app to run in background for simple stuff so i use scripts.

sent from my U8150 using my thumb!
[Android Software/Hacking General [Developers Only]] King_Rat:
Script Manager working on second install... think it has S97script working @ boot ;)

maybe just placebo effect ^^
[Android Software/Hacking General [Developers Only]] -XoRoX-:
i can help you... :D:D:D:D

go to kaskus forum...

see u there... :D:D:D:D
[Android Software/Hacking General [Developers Only]] wbrambley:
Does anyone know if there could be a hardware issue that stops logcat from running? Terminal always shows nothing on my phone, I have tried different roms with data wipe, cache wipe, dalvic wipe and system format between and still nothing. My wife has the same Ph and it seems to work fine on hers.

Sent from my FUSIONideos
[Android Software/Hacking General [Developers Only]] kelzul:
any news on the radio for cm7 rom????
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
The latest nightly dated 12/05/2011 works really well including haptic feedback on soft keys. Automatic screen dimming and night lights are still a problem but I use Juice Defender for auto brightness control successfully. No word on FM radio recently.

I believe Latit is concentrating on CM9 and is about to release a newer alpha.

~~ Sent from my Velocity Micro Cruz PT701/T105 via Tapatalk ~~
[Android Software/Hacking General [Developers Only]] Linda7463:
All the changelogs and known issues are now at our new blog here!!!!!!!
[Android Software/Hacking General [Developers Only]] genius.phoenix:
Wifi Error... Not turning On... Plzzz Help

Hi, I am running 5/12 nightly by aorth on my U8150-d.. The Problem is my Wifi is not turning on.. I just says "turning on" then "error" when I try to turn it on.. I was previously running Fusion Ideos 2.7 .. then Directly Flashed to 5/12 nightly..

My wi-fi worked fine for few days on Fusion Ideos then I started having this error.. I thought flashing new Rom will solve the problem but it didn't... :(

This is what logcat says when I turn wifi On...

"E/WifiService( 180): Failed to load Wi-Fi driver."

I googled it and I think it is related to the "bcm4319.ko" wifi module not matching the kernel or something like this.. Sorry for the long post but I wanted to clearly state the problem... Any Help will be greatly Appreciated ... Thanks.. I m a Noob so plzzz ignore if i did something wrong... Thanks...

Also I did A Full Wipe/Factory Reset before Flashing.... and wiped the dalvik cache too...
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
Build 5/12/2011 and LZO Compression

Does the latest build 5/12 support LZO compression? Thread search seems to indicate that it does but there is some problem with the CyanogenMod build or something.

I just want to make sure I can set Titanium Backup for the faster LZO without any problems.
[Android Software/Hacking General [Developers Only]] rody777:
stable and smooth..
[Android Software/Hacking General [Developers Only]] aorth:
CM7 supports LZO compression

Yes, this ROM supports LZO as /system/xbin/lzop is provided by busybox. The bug you're talking about is related to the kernel (I had been compressing the kernel with LZO, but it appears CyanogenMod's build system expects the kernel to be gzipped, so it kinda chokes when it hits the LZO'd one.

Cheers (still very busy with family).
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
Thanks. Enjoy!

~~ Sent from my Velocity Micro Cruz PT701/T105 via Tapatalk ~~
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
Huawei Ideos U8150 Linux USB Vendor ID for ADB

What's the Linux VID for U8150? I honestly can't find it. I will add it to the U8150 Wiki.

I tried the following to no avail.

SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="4817", MODE="0666", GROUP="plugdev"

Resources:

http://yabb.jriver.com/interact/index.php?topic=60070.0

http://www.linux-usb.org/usb.ids

EDIT:

Got them from Aorht site: http://mjanja.co.ke/2011/06/compiling-custom-kernels-on-the-huawei-u8150/

[COLOR="DarkRed"]
# Huawei IDEOS in bootloader mode
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", MODE="0666"
# Huawei IDEOS in adb mode
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="1038", MODE="0666"[/COLOR]

Hmmm. That coding is not quite working for both my tablet and phone. Let me dig a little deeper...

This works for my Velocity Micro Cruz T105 in both ADB and Bootloader mode

SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="plugdev"
[Android Software/Hacking General [Developers Only]] timtamboy63:
Hey guys,

Anyone know if a 'non-nightly' will come out soon? I want to update as my wifi isn't working, but I have no idea how to use these nightly's.
[Android Software/Hacking General [Developers Only]] ntnlzr:
first they have to fix major bugs then when all works fine ut could be thinks to release a stable version

Inviato dal mio YuriOSideos usando Tapatalk
[Android Software/Hacking General [Developers Only]] totemscrotum:
Very happy with this for the most part, my emulators are running way better than on froyo. Only bad thing for me is I get random restarts maybe once a day on my U8150-D. It's not major but still a little annoying.
[Android Software/Hacking General [Developers Only]] iamwyim:
deleted........
[Android Software/Hacking General [Developers Only]] aorth:
Hey, the IDs in that blog post you referenced are from a stock ROM; the product IDs in CM7 are different. You can find out yourself what they are, and add your own rules in /etc/udev/rules.d/..., just plug in your phone and look at the output of `lsusb`.

This ROM is based on CyanogenMod source. A "non-nightly" version will come out when CyanogenMod releases the next version (7.2). But even if they release 7.2, we'll still have bugs in our version, as I'm not sure how to fix some of them. Other devices have more developers working on their respective ports. We only have me (and sometimes tilal or subpsyke, when they're not playing with Ice Cream Sandwich). Basically: for us there's not a big difference between nightlies and "stable"... it's just a number.
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
@aorth

Yeah, I'm still working on the right vendor ID's for my devices. I think I better just concentrate on the U8150 for now.

I'm preparing my first build setup based on instructions on your site. I noticed that some of the files you made from U8220 are already in the synced repo as U8150 so no need to create or edit them I hope. I just located the U8150 stock and will flash and get the proprietary stuff.

Sure hope I start understanding this stuff after awhile. Kinda feel like a blind man following an omniscient king - Ha ha.

Thanks for tip about lsusb!

Bus 001 Device 009: ID 12d1:1038 Huawei Technologies Co., Ltd. Ideos (debug mode)
Bus 001 Device 008: ID 18d1:dddd Google Inc.
[Android Software/Hacking General [Developers Only]] aorth:
Good luck. btw, I wrote two different blurbs on my blog about compiling CyanogenMod for the Huawei U8150.

The first one[1] was when I myself was just trying to learn how to piece it all together, trying to understand how the build system worked, which files and commands invoked which other ones, etc. That's why I was pulling files from the U8220 (then an already-accepted device in CyanogenMod).

The second one [2] was after U8150 was merged to CyanogenMod upstream, so it became a bit easier, and lots of the steps weren't necessary anymore.

[1]: http://mjanja.co.ke/2011/09/building-cyanogenmod-7-for-the-huawei-u8150/

[2]: http://mjanja.co.ke/2011/11/building-cyanogenmod-7-1-for-the-huawei-u8150/

Don't follow me, I'm also lost! ;)
[Android Software/Hacking General [Developers Only]] King_Rat:
@ aorth... nice blog m8 ^^ :serious:

If only i could pic your brain for a few hours ;)

What wonderful things I could learn :cool:

Have a happy new year :D

PS -Thnx for all ur hard work on our Wah-way U8150
[Android Software/Hacking General [Developers Only]] Kalenji:
Hi everyone! I just started using Android and since a friend of mine told me to try cyanogen and I did, I got absolutely amazed. Thanks everyone who's developing this release.

Now enough worshipping, I just found out something that may be or not useful. The only thing that's been making me mad is the sound distortion and I noticed that after I gave poweramp a try the sound wasn't distorting at all even after I boosted it with the equalizer

I don't know if this helped at all but I hope it does :)

Have a nice new year everyone
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
Ok I got ya - second blog entry = fewer steps due to merge...

Just started my first build attempt from instructions...

Had to remove Sun JDK 7 and install Open JDK 6 on Ubuntu 11.10 64...

-- VM Cruz T105/PT701 XDA Premium --
[Android Software/Hacking General [Developers Only]] aorth:
Yeah, the version of Java you're using is pretty important when compiling Android; Sun JDK 7 doesn't work for any Android version, and OpenJDK only works on Gingerbread and below. Having said that, I did see Jean-Baptiste Queru tweet a few days ago about a "long day at work, good progress on OpenJDK compatibility".

Sun/Oracle Java is proprietary. OpenJDK is the future (and also the "reference implementation" for the Java standard), so this is good news.
[Android Software/Hacking General [Developers Only]] GJSmith3rd:
Does that imply Sun JDK 6 would have worked, and that it may work on future CM9 builds? Open JDK preferred however.

-- VM Cruz T105/PT701 XDA Premium --
[Android Software/Hacking General [Developers Only]] veer1238:
Lol....its what i call android adrenaline!
[Android Software/Hacking General [Developers Only]] tilal6991:
Yeah I'm really determined to get cm 7 working :)
[Android Software/Hacking General [Developers Only]] grifovunque:
:eek::eek::eek:

:D:D:D
[Android Software/Hacking General [Developers Only]] sicutero:
:D !!!

it's gonna be a great summer !
[Android Software/Hacking General [Developers Only]] gemj95:
Why the maximum cpu speed is 672Mhz? in other roms the maximum speed is 729mhz :/ .... why isn't the same for this?

EDIT: I'm talking about Froyoman v3
[Android Software/Hacking General [Developers Only]] aml114:
Sweet

Oh man i cant wait for this to be done. Especially if everything is working its going to be epic :) Thank you for all your hard work and dedication to this i just wanted to say i appreciate it lol :) Im going to flash it as soon as the download link is up
[Android Software/Hacking General [Developers Only]] tilal6991:
I just put it low just so that it would boot - some phones have been having issues with 729 MHz booting. I'll probably release it as an optional package. :)
[Android Software/Hacking General [Developers Only]] tilal6991:
OK progress update on Gingerman (AKA CM 7):

Good Part:

Almost everything seems to be working :)

Bad Parts:

Random boot crashes

Very jerky (no proper graphics libraries) :(

Anyone willing to put up with these issues - please reply. If there are more than 5 people who accept the possibility of soft bricking their phones by replying I'll post the build :)
[Android Software/Hacking General [Developers Only]] wachw:
I'd like 2 try the build.
[Android Software/Hacking General [Developers Only]] homen3:
I usually bugreport, but i think we should open a bugtracker before releasing it.

+1 for share.
[Android Software/Hacking General [Developers Only]] sicutero:
+1 from me too and the bugtracker.
[Android Software/Hacking General [Developers Only]] tilal6991:
OK bugtracker up - here
[Android Software/Hacking General [Developers Only]] homen3:
Thanks, :)

One more thing, if i remember right maury1234 got graphic libraries working fine on his build. Am I right?
[Android Software/Hacking General [Developers Only]] aml114:
Test Build

I'm down to try the build 2 :-)
[Android Software/Hacking General [Developers Only]] Ningcube89:
i'm down to try the build.
[Android Software/Hacking General [Developers Only]] aml114:
CM7 Download

So what do you say tilal6991 how about a download link for the build and we can see if we can help with some bug reporting?
[Android Software/Hacking General [Developers Only]] steveiwans:
Ready to test Gingerman (AKA CM 7)
[Android Software/Hacking General [Developers Only]] cal2011:
Im keen as to soft brick my phone again lol

i will give cm7 a go :)

Ive flashed my phone about 30 times in last 2 weeks, many soft bricks , how many times can a phone be flashed ?
[Android Software/Hacking General [Developers Only]] tilal6991:
Ok - enough enthusiasm so will post link ASAP - no ETAs :)
[Android Software/Hacking General [Developers Only]] homen3:
I've a question: if i use nandroid backup, can i restore the system without reinstalling the old rom? just flashing? :) i never used it before. Thanks
[Android Software/Hacking General [Developers Only]] ntnlzr:
hi, you can try to flash stock rom first and then aorth rom before become mad

i was in similar issue long time ago
[Android Software/Hacking General [Developers Only]] aorth:
Yeah, Sun JDK 6 is the officially-supported way to build Android[1]. OpenJDK 6 works because it is implementing the same Java 6 standard that Sun's JDK implements. Java is a standard, kinda like C++ or any other language, and Sun's JDK is just one of the implementations of the Java standard (but it is proprietary).

OpenJDK is a free, open-source implementation of the standard, and is recommended as the "reference" implementation of the Java standard. OpenJDK is the result of several years work by Sun, Redhat, community, et al[2] to implement an open-source version of Java (Java was invented at Sun, and their binary version has proprietary code in it, which is why there is a need for an "Open" one).

Regarding CM9 builds. CyanogenMod is based on AOSP. Changes from AOSP ALWAYS make it into CM. If AOSP becomes compatible with Java 7 (either Sun or OpenJDK), then CM will too.

[1]: http://source.android.com/source/initializing.html

[2]: http://en.wikipedia.org/wiki/OpenJDK#Sun.27s_promise_and_initial_release