yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] tegzo:
help to install clockwork recovery

Please help me.

I want to install clockwork recovery but from rommanager igot the message: An error occured while flashing your recovery.

I tryed from computer and nothing happened just: waiting for device.

Thanks
[Miscellaneous Android Development] osourcem:
I've also tried to install ROM, got error 7. Don't know what it means.
[Miscellaneous Android Development] sikiko:
added info on understanding android OS

Hey guys,I've just updated some info in my post.check it out and comment if you want to.

xdaforums.com/showthread.php?p=25101127#post25101127

---------- Post added at 03:08 PM ---------- Previous post was at 03:00 PM ----------

hey guys,I've updated some info on my post.please feel free to pay a visit and comment if you like.

xdaforums.com/showthread.php?p=25101127#post25101127
[Miscellaneous Android Development] Leito92:
The microfone of the headset hasn't worked in update 25a, is it fixed in this new version?
[Miscellaneous Android Development] mierkalioshas:
I used camera to take two photos.

So i need to freeze camera after using it, right?

Is it possible to reduce android systems battery usage??
[Miscellaneous Android Development] Metzel0s:
Is this normal? my battery went from 100% to 60% in about 3 hours (WiFi active). After 13hours its 35%..
[Miscellaneous Android Development] MantisEngine:
For all those have the recovery problems, here is the correct way of flashing recoveries:

Installatieguide:

Install Superboot (via Windows PC)

Download Superboot: DOWNLOAD (MediaFire) / MIRROR (ROMraid / CoBlitz) and extract to a directory

Enter recovery mode by turning your device on while holding down 'volume down' and 'End call' (red) then powering on your device.

Note: The hourglass (zandloper) stays on the home screen

WINDOWS - double click 'superboot-windows.bat'

Phone will startup, seems to hang and eventually reboots itself.

Root the V845 (via Windows PC)

Download AmonRA Recovery 1.6.2: DOWNLOAD (MediaFire Pro) / MIRROR (CoBlitz / ROMraid) and extract the zip file

Enter recovery mode by turning your device on while holding down 'volume down' and 'End call' (red) then powering on your device.

Note: The hourglass (zandloper) stays on the home screen

WINDOWS PC - (ensure the V845 is connected via USB) double click 'install-recovery-windows.bat'

Remove battery and start phone (not sure how to do this otherwise)

Recovery Mode

Backup SD card

Enter recovery mode by turning your device on while holding down 'volume up' and 'Start call' (green) then powering on your device.

Choose “Partition sd card” (control via DPAD):

-> “Partition sd card”

-> swap-size = 0 MB

-> Ext2-size = 512 ext

-> FAT32-size = Remainder (automatic setting)

-> Confirm formatting/partitioning via DPAD (20 sec.)

-> SD:ext2 to ext3

-> Confirm EXT upgrade via DPAD (5 sec.)

-> Volume Down to go to main menu

-> Choose Power off

Custom ROM install

Download your custom ROM: Of course you choose the Vodafone 845 Mr Edition ROM

Add the sd card in a card reader and copy the Custom ROM zip file to SD card (FAT32 partition).

Again enter recovery mode by turning your device on while holding down 'volume up' and 'Start call' (green) then powering on your device.

Go to “wipe” where you select:

-> Wipe data/factory reset

-> Wipe Dalvik-cache

-> Wipe SD:ext partition

Confirm each step above via DPAD

-> Volume Down to go to main menu

Choose “Flash zip from sdcard” and if everything is okay you can select the Custom ROM zip file. Confirm via DPAD twice to install (just wait 2 minutes to finish)

-> Choose Power off

Restart Phone and that’s it

(FIRST BOOT CAN TAKe LONG)

TAKEN FROM cedric123's post.
[Miscellaneous Android Development] Ainster:
Joilaroi can you add beat audio or someting like thet for better audio becouse by the time audio get worst and worst
[Miscellaneous Android Development] crazypotato:
update 27 download link is dead. Please share a new download link.
[Miscellaneous Android Development] Gena79:
Mirror link update 27

Mirror link update 27. http://файлообменник.рф/a6ll31i8l4qq.html
[Miscellaneous Android Development] psyke83:
joilaroi,

Can you do me a favour the next time you're doing a compilation of your rom? Try my "huawei_brcm_patchram_plus".

You can grab it from here: https://github.com/psyke83/android_device_huawei_u8160/tree/gingerbread/huawei_brcm_patchram_plus

To make sure it's used, make sure that your init.xxx.rc uses this for the hciattach service:

service hciattach /system/bin/huawei_brcm_patchram_plus \
--enable_hci --enable_lpm --baudrate 3000000 \
--patchram /system/etc/bluetooth/BCM4329.hcd \
--scopcm=0,0,0,0,0,0,4,0,0,0 \
/dev/ttyHS0
user bluetooth
group qcom_oncrpc bluetooth net_bt_admin system
disabled
oneshot

I recommend that you remove all of these services from your current init:

on property:init.svc.hcid=running
write /sys/devices/virtual/bluetooth/hci0/idle_timeout 7000

# Atheros BT filter
service abtfilt /system/bin/abtfilt -c -d -z -n
disabled
oneshot

service hci_qcomm_init /system/bin/log -t qcom-bluetooth -p i "hci_qcomm_init service requested"
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
user bluetooth
group qcom_oncrpc bluetooth net_bt_admin system
disabled
oneshot

service hcid /system/bin/hcid -s -n -f /etc/bluez/hcid.conf
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let hcid drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled

service bm3obexd /system/bin/dbus_bt -i /etc/bm3
user root
group bluetooth net_bt_admin
disabled
oneshot

service bm3OPP /system/bin/sdptool add --channel=4 OPUSH
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

service SppServer /system/bin/sdptool add --channel=1 SP
user bluetooth
group bluetooth net_bt_admin
disabled
oneshot

If you do this, please report back and let me know if Bluetooth functions properly. If you don't have another BT device to pair with, at least let me know if the icon appears.

The reason why I'd like you to test is that FM audio didn't work on my port until I started using brcm_patchram_plus. Maybe this can be a step towards you fixing the radio for your device.
[Miscellaneous Android Development] joilaroi:
Hi subpsyke.

I Already tried almost every possible combinations to get fm radio to work.

But I never tried to remove all the bt code from init and just use service hciattach /system/bin/brcm_patchram_plus \

Im currently using your huawei_brcm_patchram_plus for testing but no BT working.

But this last time I got some diferent messages from logs using Spirit FM.

The only thing different is that I was testing bcm2049 because some devices use atheros ar6000 and this bcm chip for bluetooth.

I will test it for bcm4329 again without lefts of code in init.

In the meanwhile I tested the open source gralloc and used libmm-omxcore and libomxcore compiled for 7625 and everything is working fine and without lags
[Miscellaneous Android Development] psyke83:
Try to remove "--enable_lpm" from my hcitool service definition in the previous post - I think Bluetooth may work in that case.

How did you manage to do a full build while building the 7225 omxcore? by setting TARGET_BOARD_PLATFORM to msm7225 it breaks several other components - for example, librpc and libcopybit.

If you build the standard msm7227 version of omxcore, it still works fine. If you do a diff of the folders, you'll see that the msm7227 version specifies more codecs (such as divx) - but since the extra shared codec libraries won't be available, I don't think the code will ever be activated.
[Miscellaneous Android Development] joilaroi:
Im building with TARGET_BOARD_PLATFORM msm7k.

I just changed hardware/qcom/media/mm-core/omxcore/Android.mk => use TARGET_BOARD_PLATFORM = msm7625 for msm7k just like JoeyJiao pointed and removed the proprietary libs from vendor blobs. I get video encoding and no noticeable issues.

Im currently compiling with the bt changes to see if BT works.
[Miscellaneous Android Development] psyke83:
Ok. Don't forget to remove libOmxCore.so and libmm-omxcore.so from the proprietary list in vendor/huawei, or else the compiled versions will be overridden.

The source-built omxcore still doesn't solve the problem with the open gralloc, sadly. I wish we could know what's causing the issue.
[Miscellaneous Android Development] joilaroi:
Yes I removed the two libs from vendor blobs.

What are the issue you're talking about? the lag issues? Im not seeing differences between the proprietary or the open source in therms of graphical or performance use. Only better rotation animation with the compiled one.

I will report the bt testing later.

Best regards
[Miscellaneous Android Development] psyke83:
Thanks. I meant the codec issue.

---------- Post added at 01:19 PM ---------- Previous post was at 12:30 PM ----------

Hey,

I solved the gralloc issue. Import the libgralloc from the geeksphone/one ;). The only difference is that it forces the pmem region to 8MiB, rather than trying to allocate the value dynamically from the kernel.

You should be able to use this libgralloc without having to disable codecs in the framework code.
[Miscellaneous Android Development] joilaroi:
I tried the bt but it never came up. I compiled it over a previous compile but I changed the radio from bcm2049 to bcm4329 and imported BCM4329.hcd.

Im gonna make clean and start over.

Older Huawei devices dont have this file (BCM4329.hcd) and the FM radio was working in Froyo source.

U8120 has a Atheros BT although the older Huawei roms have shared code with atheros and bcm4319.

Nice findings on open source gralloc. I will remove the changes and compile it.
[Miscellaneous Android Development] psyke83:
Ah I forgot about the patchram. If your stock rom had no patchram file, simply remove the whole "--patchram xxx.hcd" part entirely, otherwise rename it to match your .hcd file.
[Miscellaneous Android Development] joilaroi:
I removed the patchram part from init.

Original rom and similar devices roms dont have *.hcd file or brcm_patchram file.

Should I have BOARD_FM_DEVICE := bcm4329 in boardconfig?
[Miscellaneous Android Development] psyke83:
Yes. You should have in BoardConfig:

# FM Radio
BOARD_HAVE_FM_RADIO := true
BOARD_GLOBAL_CFLAGS += -DHAVE_FM_RADIO
BOARD_FM_DEVICE := bcm4329
#BOARD_USE_BROADCOM_FM_VOLUME_HACK := true

(I left the last commented entry there so you know *not* to enable it).

I took a quick look at your libaudio and it seems to be based on my version with the FM routing added, so that should be ok.

As I said in the PM, working Bluetooth is mandatory for it to have a chance of working.
[Miscellaneous Android Development] feed3:
maybe this was lame or noob question..but hey..i flashed the zip but error appears..E:unknown volume for path [sd/ext]..tried to format and delete the partition then re-create in cwm but still got the errors..
[Miscellaneous Android Development] sikiko:
fm radio woes

its funny watching you two debate but expect this error(unsatisfiedlinkerror) in Java.Unless you can add the original API into cyanogen, you will not be able to resolve the native methods used.

remember compiling a kernel even with FM enabled still wouldn't make a difference.
[Miscellaneous Android Development] zfc1983:
Hi joilaroi, All u8120 cm7 rom brush t mobile pulse mini (u8110) can not use the camera to take pictures without reaction, and perhaps t mobile The pulse mini auto focus, I hope joilaroi for help,Thank's,Sorry my bad english.
[Miscellaneous Android Development] Andy_S:
Hi, i noticed a problem - when i was trying to use almost any GPS navigation (tested ndrive, navigon, iGo), phone rebooted after minute or two of navigation. Only thing that helped me was lowering OC to 600MHz. So if any of you is having those problems, try that.
[Miscellaneous Android Development] psyke83:
I don't know if that's true. The stock framework may have an API to control the radio, but the API call may simply translate to transmitting certain HCI commands to the Bluetooth chip in order to enable the radio. If that's true, we don't need to reimplement the API, just to discover the proper hardware initialization method.

It's unfortunate that neither the bcm4329 or bcm2048 methods work.
[Miscellaneous Android Development] joilaroi:
I'm not giving up yet. I got BT with huawei_brcm to work without those commands needed.

Gonna try other bcm chips and see the logs
[Miscellaneous Android Development] psyke83:
Good to know.

Changing the subject for a second. I don't know if you're registered on gerrit. If you are, I'd appreciate if you could test & rate my patch: http://review.cyanogenmod.com/#/c/15410/

This should make sure that the proper omx core libs are built for both the ms7x27 and msm7x25 targets.
[Miscellaneous Android Development] joilaroi:
I will try to review it later cause I dont have a public key where.

I saw in your U8160 sources there are no references for building gralloc.msm7k or it getting from vendor after your latest changes.
[Miscellaneous Android Development] psyke83:
I changed the method again: you just need to use a custom android_pmem.h header that disables the problematic ioctl. That lets us build the version in hardware/msm7k/libgralloc without modifications, so it saves unnecessary code.
[Miscellaneous Android Development] joilaroi:
Should the change to android_pmem.h to zero be made to kernel also?
[Miscellaneous Android Development] psyke83:
No, it shouldn't be necessary (and may cause trouble).
[Miscellaneous Android Development] joilaroi:
I tested and rated the patch in Gerrit. But I registered just now. lets see...
[Miscellaneous Android Development] sjriji:
after installing update 27 the camera flash dont work any more i try with both setting activeted and not activated but it still not working.

please to advice!
[Miscellaneous Android Development] niouch:
Hello gys

I have update me u8120 with update 29. add gapps

everything seems ok but when I try to connect to pc with usb cable for synchronize my contacts they are on (outlook) the device is found as Ideos but windows canot find valid driver.

Mount for data transfer works fine and windows see my sd card. But not for synchronisation :(

Any ideas?

Thanks in advance
[Miscellaneous Android Development] Ainster:
1st question where did you get update 29 ?
[Miscellaneous Android Development] SuperLamic:
Yeah, I have Same idea :D
[Miscellaneous Android Development] Parisatis:
I guess we can answer when we install update 28 and 29 :(
[Miscellaneous Android Development] niouch:
oops! sorry last update 27 I was mean :o

I have the phone 1 for year only rooted and I want to try 2.3 mod

I am verry pleased with the mod. But now I have setup all the staf on my phone and I left the contacts for last. Prety stupid Ah!?

The problem is that I have them on outlook and nowhere else.

Any ideas how to transfer them?

The vcard from outlook dont works because the names are in Greek language and the code pages are not the same.

I have the rom manager on the phone. If I return to previous rom backup then export the contacts, and then restore the current rom with the mod I will get rubbish on cash and rom?
[Miscellaneous Android Development] acg11:
thanks again for the great ROM, joilaroi.

Been using it for about a week now on u8100-9 and still works great, haven't found too many flaws, other than FM radio of course. The included launchers were a little sluggish so I replaced with zeam launcher and it's working beautifully. Also had to disable boot sound and change my MAC but the instructions in the OP are fairly simple.

I've noticed though that bluetooth, though functional, seems to be weak. Both headsets I use disconnect frequently and don't send/receive sound from calls very clearly. I can't say if this was the case before update 27 but they both work with other ROMs I've tried previously.

Once in a while wifi has troubles too but these issues don't seem to last long. Also get very occasional random reboots but they really haven't been much of a concern. Also battery life is pretty weak (4-8hrs max, depending on usage), but this seems to be the case with every ROM so maybe its just the cheap huawei hardware.

Anyway, all the best!
[Miscellaneous Android Development] niouch:
The problem solved!

I download Hi Suite(U8800) from Huawei download area. On connection it says that it sees the phone and will install the correct driver, but never be able to connect with the phone.

BUT MyPhoneExplorer sees the phone as Huawei U8120 and connects perfect.

Thanks guys for all the information on this thread :)
[Miscellaneous Android Development] Ainster:
update 27 and miui themes = big battery drane ...
[Miscellaneous Android Development] otafajt:
For me is U27 almost perfect, can´t see any battery drain, by night phone spend just 5 percent and i forgot turn off gps. Yesterday i was walking outdoor with gps and 3G on, still looking on maps and downloaded some geocaches and phone stay alive for almost 10 hours...
[Miscellaneous Android Development] Parisatis:
Joilaroi: any information about working FM Radio ? Can't wait :D:D:D
[Miscellaneous Android Development] joilaroi:
Nop... and I doubt I can make it work
[Miscellaneous Android Development] vladimis:
a

Connect tel over a USB to a PC

1/ moborobo.com ....synchronization

2/ qtadb.wordpress.com .... file and app manager
[Miscellaneous Android Development] sikiko:
cyanogen 2.3.7 MIUI Port for u8120

for the last 3 days i have been testing the Miui Rom and here are my findings.

==>This is a Chinese after-market Rom based on cyanogen sources. It releases updates every Friday.

==>The rom is stable but here are some of the key issues:

1)Theme manager fails miserably and have tried every tweak.

2)It consumes alot of Ram.(about 40Mb of usable ram is left)

3)data access is very slow even launching an app especially camera.

4)Tons of kernel faults. It seems there is alot of access violation especially during boot up.What this means is that after booting you will get this kind of error (System is not responding).

5)increased logging due to errors. system hardly stays idle.

6)In short, you're better off using Joilaroi's roms.MIUI has better battery performance but at the cost of speed and reliability.

I'm using a highly tweaked Rom using joi's update 18 and a custom kernel i compiled. This gives me around (80Mb) of free Ram to run my CPS emulator and play street fighter alpha 3 with minimum lag.

please avoid this command at all costs (make -j2 -i). you are bound for catastrophic errors either if compiling a kernel or cyanogen sources.

happy Modding.
[Miscellaneous Android Development] Ainster:
Hmm and where to donwload thet miui ? Or you post in wrong chat ?
[Miscellaneous Android Development] victix11:
Hmmmm weird it works for me :S
[Miscellaneous Android Development] sikiko:
some info

The link for the miui rom is

http://xdaforums.com/showthread.php?p=24696499

F.Y.I

==>U8120 uses a FOXCOM camera chip.Use s5k5ca driver only.others will just be probed and ignored during bootup.

==>NAND specs:

Buswidth==>16Bits

Density===>512Mb

==>no on-board soundcard
[Miscellaneous Android Development] MYLudas:
update 27 reboot problem

i got 4 or 5 reboot in 48h
[Miscellaneous Android Development] ardmanvq:
Follow this tutorial on upgrading ROM : huawei-u8100.blogspot.com/2012/04/tips-upgrading-rom-avoiding-error-on.html

The first time I upgrade with no Force Close and reboot. Don't be lazy, Backup All Applications, settings, etc. Wipe All Data. Install ROM. Restore 1 by 1!!! ;)
[Miscellaneous Android Development] feed3:
ahhh..nevermind..thx mate..now im revert back to cwm 5.0.2.6..
[Miscellaneous Android Development] sekosan:
Got back to update26, when paired with mcTweaker it's much more stable, faster than update27, plus camera flash works. Only pitty about the smooth miui theme.
[Miscellaneous Android Development] KiwiRider:
Is download link works?

Not on my side at the moment.

if someone have latest ROM, could you share it by another download link?

Cheers
[Miscellaneous Android Development] Gena79:
update 27

Android 2.3.7 - Cyanogen Mod 7.2.0 RC1 – Huawei U8120 - update 27 http://xn--80acmmcjdjkaga7e.xn--p1ai/a6ll31i8l4qq.html ;)
[Miscellaneous Android Development] KiwiRider:
Many thanks Gena79! :)
[Miscellaneous Android Development] joilaroi:
Update 28

Download Link: Update 28

CM7.2.0 RC1 with Kernel 2.6.32-9-perf from Codeaurora

I suggest a format boot, system, data and cache in recovery=» mounts and storage, before installing

http://tinyw.in/p3se

Update 28 (08-05-2012)

Updated kernel 2.6.32.9 CodeAurora

Fixed several typos in Huawei kernel sources.

Enabled KSM (Kernel SamePage Mapping) support.

Turned on setting for Flash, forgot to add it in previous rom.

used libmm-omxcore and libomxcore compiled from cyanogen open-source instead of proprietary ones.

Better 2d performance (before, at 691mhz OC, Antutu Benchmark gave me 184 max score in 2d, now is 350)

Turned Rotation animation on by default

Fixed battery drain issues caused by camera after app is closed (finally)

Updated to latest cm7.2.0 RC1 sources
[Miscellaneous Android Development] flshbck:
Hi.

First view in up28 - green glitches when app started(game atomic bomber etc)

How it can be removed?
[Miscellaneous Android Development] ehab7bob:
im using now update 28 its very fast . the only problem i got its screen calibration . how can i get screen calibration app like slyking 241 rom ?
[Miscellaneous Android Development] Ainster:
http://www.2shared.com/file/XuiaAmtg/cm7Calibration.html INSTALL THIS :)
[Miscellaneous Android Development] psyke83:
Hey joilaroi,

How did you improve the 2D score so much?

Also, what commit fixes the battery drain, is it the v4l2 change here? https://github.com/joilaroi/codeaur...mmit/91f05b62ad586d6e8263aea4826b82ff549bf7d8

Thanks :)
[Miscellaneous Android Development] joilaroi:
Hi Subpsyke

I think this commit for v4l2 video helped because we dont need it for camera and maybe cm7 calls for some functions. I also use this commit https://github.com/joilaroi/android_frameworks_base/commit/3d8f1f818e90a9c7378eb8d8638d07251f95e3d4 instead of commenting or deleting callbacks in camera.java

If you look at the v4l2 commit you will find a typo in camera.h, maybe it helps too.

apart from that there is some interesting commits in Dzo's huawei 2.6.35 kernel for the camera and loading of liboemcamera. I would like to try it to see if we can load those libs. some other day...

There are dozens of typos in the source code by huawei. look, at the previous commits in kernel, for "linux/hardware_self_adapt.h", "linux/proc_fs.h". the kernel and battery performance seems much better after these corrections.

As for the 2d I really cant tell but the typos seem important but I also added at the same time this commit by joeyjiao in drivers/char/agp/generic.c and some testings from 2.6.35 that are not uploaded yet but are for bluetooth and some cleanings.

I did not get the wifi module to load with Dzo's method to get mac because probably ar6000 driver dont work that way but the bcm4329 should.

You should look at this commit https://github.com/dzo/hardware_libhardware_legacy/commit/2fed5cb62c5c11e076e99b4bc79748764b102f6f

and maybe see this one https://github.com/dzo/hardware_libhardware_legacy/commit/4f573bde54dce8b1628d6563dbceb8c22a7c7466
[Miscellaneous Android Development] psyke83:
Thanks :)

I'm checking out your kernel and the commits you've mentioned. What's odd about the agp patch is that this driver is not even compiled, so I think the performance gain must have come from somewhere else.

Your kernel doesn't build by default due to errors in the mmc driver, I'll try to fix it up and see if I can see the same gains on my phone :)
[Miscellaneous Android Development] joilaroi:
thats strange. there are some changes in msm_sdcc for atheros but I compile with bcm4329 too.

You are right about the agp patch is not turn on.

If you want the latest config I can upload to github or here.

If its not as fast could you try the zimage?cause it has got some changes in board-msm7x25 and devices-msm7x25 not uploaded yet.