yashsingh1/xdaforums huggingface dataset:
[Huawei Ideos X5 U8800] kalo86:
Thank you people, this is the actual situation:

androidboot.localproppath=openmarket/ru

androidboot.localproppath=vodafone/it

androidboot.localproppath=hw/default ---> Maybe this will be the best option for all Users

androidboot.localproppath=unicom/cn

androidboot.localproppath=channel/ru

Of course, flashing the STEP3 (international hw/default), all customizations like language, keyboard, and all is contained into che cust.img will never considered in my B876_KALO_v2.2.

So, if you need something from /cust partition, please copy what you need for the future!

This is another step to avoid Huawei traces!
[Huawei Ideos X5 U8800] Filatov.p:
You need this information to make several roms depending on these results with these directories to put there some apps and free more space? Is this a thing?
[Huawei Ideos X5 U8800] termagazis:
Mine says these: (I had install the chinese with step 3 too)

console=ttyDCC0 androidboot.hardware=huawei androidboot.localproppath=unicom/cn androidboot.emmc=true androidboot.image=boot androidboot.mode=user androidboot.baseband=msm
[Huawei Ideos X5 U8800] kalo86:
Actually in every B876 roms I disabled the mount point of /cust partition.

Usually every rom mounts cust.img into /cust folder and if your device has the same cmdline (for example channel/ru), your cust.img should have the same path like /cust/channel/ru to have the correct customization.

Another example is that only unicom/cn devices could have the quick settings widget into the notification bar. This is because the cmdline forces Android to read the customization in /cust/unicom/cn and if your path or cmdline is different, you will not have the quick settings widget.

The STEP 3 flashing changes only the cmdline file, so I think User will have to flash the International STEP 3, which changes the proppath to /hw/default and I could make only one ROM.
[Huawei Ideos X5 U8800] Filatov.p:
Right desision!

so no need in mass interrogation?
[Huawei Ideos X5 U8800] termagazis:
My cust folder is empty.(not mounted I quess?) In version 1.9.in previus versions it wasn't empty.
[Huawei Ideos X5 U8800] kalo86:
The situation is more simple than you can imagine: since you are Russian, you are "lucky" because Huawei released a Russian version of the U8800 Pro firmware. The same situation is for a Chinese user, they have a dedicated firmware.

Then it can be possible to assume that all Russian users have a "channel/ru" device; all Chinese users have an "unicom/cn" device.

I am Italian and I have a "vodafone/it" device.

It will not be possible to create all kind of ROMs for every kind of device.

So, the best solution is to find the "hw/default" STEP 3 file (always named as UPDATA.APP or UPDATE.APP), flash in with the update menu in Settings, Storage, SD Card Update.
[Huawei Ideos X5 U8800] kalo86:
It should be correct. But please verify to have the cust.img into this path:

/.cust_backup/image/cust.img

This directory is also called when you turn on your device into Pink Screen Mode.

But Root Explorer does the same job.

Please verify because the absence of cust.img will corrupt your internal memory.

In the next B876_KALO_v2.2 it's needed the presence of cust.img an usually its dimension is about 59-60MB. That is to say that we can take advantage of free 60 MB to replace system application which are usually placed on /system/app. Great, no? :rolleyes:
[Huawei Ideos X5 U8800] termagazis:
Can't we make a flashable zip of this cust partition from someones backup who have this hw default?
[Huawei Ideos X5 U8800] kalo86:
It is not needed to be the same kind of cust.img!

You only need to be sure that you have a file called "cust.img" which is about 60MB. Its presence is a must and its content will not be considered because of this sequence of commands:

run_program("/sbin/busybox", "mkdir", "/cust");

run_program("/sbin/busybox", "mount", "-t", "ext3", "-o", "loop", "/cust_backup/image/cust.img", "/cust");

run_program("/sbin/busybox", "rm", "-rf", "/cust");

package_extract_dir("cust/vodafone/it", "/cust/vodafone/it");

This is my actual script for my "Italian device".

As you can see, the content of the mounted cust.img will be erased "rm", "-rf";

cust.img will not be modified! You only need it, no other things.

Only the content of /cust folder will be populated with "my files" which are inside the zip of the new rom (v2.2).
[Huawei Ideos X5 U8800] termagazis:
Yes cust.img is there.
[Huawei Ideos X5 U8800] fps-dum:
This is my:

androidboot.localproppath=channel/ru
[Huawei Ideos X5 U8800] termagazis:
So you mean that your rom will flash the cust folder so we all have the same,or we must found and flash step3 for hw/default so everyone have the same which will be needed for your rom?
[Huawei Ideos X5 U8800] kalo86:
When I find the international STEP3 file, I will release a new guide and the new v2.2 based on the international prop path /hw/default.
[Huawei Ideos X5 U8800] termagazis:
Ok.hope you found it!!!!
[Huawei Ideos X5 U8800] akalos:
i have androidboot.localproppath=unicom/cn too

you mean the B512 Overseas Normal step 3?
[Huawei Ideos X5 U8800] vispo60:
Here

I found an official update that includes step3, it could be the B572...
[Huawei Ideos X5 U8800] kingpicus:
When I return to my house I send you the international Step 3. 50 minute and I send.

Inviato dal mio U8800pro con Tapatalk 2
[Huawei Ideos X5 U8800] kalo86:
B512 is for unicom/cn devices.

Anyway I have all official firmware :)

Thank you

B572 is again unicom/cn.

I need another release and only one user can help us, kingpicus! :D

EDIT: I found U8800PV100R001C00B521, in this release there is STEP3 international edition.

When I get home I will download this release (this is the first time I see B521).

EDIT_2: Ok, I have downloaded the B521 Rom, now I have UPDATE.APP which change your cmdline into hw/default;

EDIT_3: B876_KALO_v2.2 in upload!
[Huawei Ideos X5 U8800] kingpicus:
this is my STEP3 file with: /HW/DEFAULT
[Huawei Ideos X5 U8800] kalo86:
Thank You very much, anyway I just uploaded and updated files ;)

On the first page there is a NEW guide, please double check before flashing v2.2.

Regards,

kalo86
[Huawei Ideos X5 U8800] vispo60:
mmmh.... is it the same if i change manually cmdline? i haven't stock recovery, but CWM recovery... do i have to change iti before?....or can i use "install update" from cwm recovery? i'm confused...
[Huawei Ideos X5 U8800] dingila:
I can not understand?

I do a clean format with B572 + step 3

Then Kahlo 2.2 in Recovey ?! wipes all? or not?
[Huawei Ideos X5 U8800] kalo86:
It's impossible to edit cmdline with Root Explorer.

You need to flash STEP3 (please download the right STEP3 from my download list). Flash with the dload folder as usual.

Then you can flash v2.2

Why B572?

You have to download STEP3 from my download list, put into the dload folder and flash it into recovery (the stock one).

Then change again recovery and flash v2.2.

Of course wipe all data/factory and other wipes.
[Huawei Ideos X5 U8800] cocous:
I can not understand what is happening. after installation of the phone opens and closes all the time and shows the blue android robot
[Huawei Ideos X5 U8800] kalo86:
Simple: you did not follow the new guide.

Did you flash the UPDATA.APP package before flashing B876_KALO_v2.2?

This is a new preliminary step and it is a must.

@ USERS: please read new instruction and new PREREQUISITES.
[Huawei Ideos X5 U8800] cocous:
yes i do all this. with 2.1 im ok.
[Huawei Ideos X5 U8800] dingila:
Which update to reset? 521,552,752?

Does it matter?
[Huawei Ideos X5 U8800] kalo86:
You can reset you phone with all of B512, B521, B540, B552, B565, B572.

But remember that AFTER you must flash this UPDATE.APP in order to install B876_KALO_v2.2
[Huawei Ideos X5 U8800] uncleradio:
The problem is that I don't have SD card update option anymore...
[Huawei Ideos X5 U8800] kalo86:
LOL

Settings, Storage, Software Upgrade, SD card Upgrade.

If you don't have this menu, maybe you have a Windows Phone or an iPhone? :confused:
[Huawei Ideos X5 U8800] kingpicus:
my phone don't boot ... remain screen "android" :(:(:(:(
[Huawei Ideos X5 U8800] uncleradio:
don't hurry on being sarcastic... the rom I was using didn't have software upgrade version in menu.

Flashed another one and now it's present ^_^
[Huawei Ideos X5 U8800] kalo86:
Flash UPDATE.APP, then your phone will reboot into recovery and you can flash the v2.2.
[Huawei Ideos X5 U8800] kingpicus:
same of me :(:(:(:(
[Huawei Ideos X5 U8800] kalo86:
Ok, but please follow the guide.

If you don't have installed at least one of my listed ROM, why you try to install a cutomized ROM?

PREREQUISITES

a) ROM

Gingerbread 2.3.5 Stock Huawei version (B512, B521, B540, B552, B565, B572)

or any customized Gingerbread ROM (CyanogenMod, MIUI, 2.3.5, 2.3.6, 2.3.7)

or any ICS Rom (DZO Aurora, Genokolar MIUI v4);

b) Localization Package (STEP3 UPDATE.APP)

My ROM requires that you have an International devices (no Chinese unicom/cn, no Russian channel/ru, no Italian vodafone/it).

You need to download UPDATA.APP, create a new folder into the root (upper level) of your external sdcard (or the internal one) and rename it into "dload". Then copy UPDATA.APP into /sdcard/dload and start the flash upgrade with the stock recovery.

c) Recovery

CWM Recovery 5.0.2.7

INSTALLATION PROCEDURE FOR FULL PACKAGE

1) Download the zip file of the rom;

2) Shutdown your smartphone and to be really sure unplug the battery;

3) Insert your battery and power on your smartphone into recovery mode holding down VOL+ and the power button (be sure that you have the CWM 5.0.2.7);

4) Go to advanced ---> reboot recovery;

5) At the new recovery boot go to "mount and storage";

6) Mount usb storage;

7) Plug in your usb-microusb cable;

8) Copy the downloaded zip file into the external sdcard;

9) Wipe data/factory;

10) Wipe cache;

11) Wipe Dalvik Cache;

12) [OPTIONAL if you experience a huge battery drain only] Wipe Battery Stats;

13) Go to "mount and storage", then "format /system";

14) Install zip from sdcard;

15) choose zip from sdcard and select the downloaded zip file;

16) Install complete!

17) reboot system now.
[Huawei Ideos X5 U8800] dingila:
same

I tried 3-4 times with clean restore, but stuck on Android.
[Huawei Ideos X5 U8800] kalo86:
Did you run wipe commands?

Did you format /system?

Do you have cust.img into /.cust_backup/image folder?
[Huawei Ideos X5 U8800] kingpicus:
my phone had already STEP 3

step three of your site that is different? has been changed by you?
[Huawei Ideos X5 U8800] dingila:
Yes, every time.
[Huawei Ideos X5 U8800] linomaniac:
Same problem here. Update flashed before, but no way to update to 2.2 and same problem with recovered 2.1. Thanks god that ICS is working
[Huawei Ideos X5 U8800] kalo86:
Ok,

I am going to upload a new file of the ROM, maybe it is corrupted?

I'm sorry but I don't know what is happening. I'm running v2.2 without problems.

Removing the actual zip file.

Stay tuned.

Regards,

kalo86
[Huawei Ideos X5 U8800] uncleradio:
Same here - all steps done and still getting into loop on android screen. Will try 2.1 as haven't used it yet :)
[Huawei Ideos X5 U8800] kingpicus:
I have downgraded to 2.1 ... and phone now is "alive " :)

I have cust.img into /.cust_backup/image folder, is size 58.73 MB.

Now the wallpaper is the same of the first page post.

The first time when i have update to 2.1 the wallpaper is other type...
[Huawei Ideos X5 U8800] kalo86:
Ok, I am finishing the upload of a new zip file.

Maybe the file was corrupted. This is the "last" conclusion!

Please have a try with the new file, available really soon.

Regards
[Huawei Ideos X5 U8800] zontovolo:
well in terms of speed and stability what are the differences of 2.1 and 2.2?i m running 2.1 and so far is amazing :)
[Huawei Ideos X5 U8800] kalo86:
I notice that v2.2 is a little more "fluid". I'm not able to stress v2.2 and I never see lags.

v2.2 has all system application optmized!

Let's go, a new v2.2 is available! Download ;)
[Huawei Ideos X5 U8800] kingpicus:
ok I have update STEP 3 second time, now I have used your file.

Now I'm running 2.1 version.

reboot in recovery and update to 2.2, OK ?

If I copy in SD Card reader the zip file is the same ?
[Huawei Ideos X5 U8800] kalo86:
Yes, it's the same.

My step3 and yours are the same :o
[Huawei Ideos X5 U8800] zontovolo:
how i can see if my phone is international?
[Huawei Ideos X5 U8800] kalo86:
You can verify opening the file /proc/cmdline and read localproppath value.

If it is hw/default you have just the international setting.
[Huawei Ideos X5 U8800] kingpicus:
ok, now update to 2.2 work fine :D:D:D:
[Huawei Ideos X5 U8800] kalo86:
Good news then!

It was a broken download before...

Enjoy the v2.2 power!
[Huawei Ideos X5 U8800] zontovolo:
localprop file = wind/gr :D so i guess its greek :D, can i upgrade the zip through setting/storage/software upgrade? cause i dont have the stock recovery :D
[Huawei Ideos X5 U8800] dingila:
Yeeesss :D:D:D
[Huawei Ideos X5 U8800] cocous:
kalo i try the new upload and now its ok. works all good. thanks....
[Huawei Ideos X5 U8800] kingpicus:
Because you have eliminated the weather app?

Was not bad. There is a reason?

What uses and tips for Italy?
[Huawei Ideos X5 U8800] Lotyh:
v2.2 is way more fluid and faster than the v2.1 and previous versions. Antutu gave me score 3122 (3030 with 2.1, 3014 with 1.9).

Kalo, keep up the good work mate!
[Huawei Ideos X5 U8800] kalo86:
You have to understand that the weather app is inside your cust.img.

Now, with v2.2 I need cust.img to load system applications and in my previous roms I never used the huawei weather application.

I did not delete your apps!
[Huawei Ideos X5 U8800] kingpicus:
I'm sorry I did not realize that the Weather App was in cust.img :o
[Huawei Ideos X5 U8800] nekmaria:
After installing this new version, not the rc 2.2 one, my phone always keep rebooting
[Huawei Ideos X5 U8800] linomaniac:
i don't know where is the problem, again, after STEP3 update, i am not able to install 2.2 (blinking of android logo and stuck), and i am not able to recover my cwm backuped 2.1 too, which stucks on the same place. I downloaded new 2.2, but no luck.

edit: the phone does not recognizes the cust.img file. After upgrade to stock B572, the huawei customization was not applied. That is the problem. No way to force the cust.img recognition.

edit2: omfg, merde, DONE!!! I will just never upgrade this rom.
[Huawei Ideos X5 U8800] uncleradio:
Managed to install 2.2 with the new one and it seems to be a nice one. Volume is good comparing to some other roms I've used. Is there any chance to get a customizable drag-down menu? It would be really useful to have 2g/3g switch there, instead of GPS or screen rotate, for example.

Offtopic:

Now got a problem that I can't restore from previous backup (was using genokolar's rom from beginning of January) - fails to find/mount sd-ext (no app2sd partition found. skipping)and once rebooting goes back into recovery screen... :confused:

Any ideas?
[Huawei Ideos X5 U8800] kalo86:
Are you sure that you have the cust.img inside your /.cust_backup/image folder?

Also for you: are you sure that you have the cust.img inside your /.cust_backup/image folder?
[Huawei Ideos X5 U8800] uncleradio:
Yes, I do - checked just now. Boot.img, cust.img, recovery.img present. As I've mentioned, I've upgraded to 2.2 successfully, but now the backup/restore is screwed - or the cust.img could impact that (sorry - I don't know too much about android)? Never had any problem with backup/restore with any of the previous rom flashes.

I guess in the worst case scenario I'll need to wipe sd card, roll back to stock and re-cwm&re-root :D
[Huawei Ideos X5 U8800] kalo86:
It's normal that with your previous backup your Android system will not get customization from cust.img because with the STEP 3 UPDATA.APP you edited the cmdline. If you want "again" a full-working cyanogen or other unicom/cn system based, you have to flash another UPDATA.APP from the Chinese firmware. For example you can take step3 from B512, B540, B572.

FOR ALL USERS: I have updated again the Prerequisite section, please have a look again:

PREREQUISITES

- ATTENTION PLEASE

a) ROM

Gingerbread 2.3.5 Stock Huawei version (B512, B521, B540, B552, B565, B572)

or any

customized Gingerbread ROM

(CyanogenMod, MIUI, 2.3.5, 2.3.6, 2.3.7)

or any

ICS Rom

(DZO Aurora, Genokolar MIUI v4);

b) Localization Package (STEP3 UPDATE.APP)

My ROM requires that you have an International devices (no Chinese unicom/cn, no Russian channel/ru, no Italian vodafone/it).

You need to download UPDATA.APP, create a new folder into the root (upper level) of your external sdcard (or the internal one) and rename it into "dload". Then copy UPDATA.APP into /sdcard/dload and start the flash upgrade with the stock recovery.

c) cust.img into /.cust_backup/image/ path

Since the major part of system application are mounted into /cust folder, you must be sure (before flashing v2.2) that your phone has just the cust.img file.

You can verify with

two methods

: with

Root Explorer

(navigate to /.cust_backup/image and verify if cust.img is there) or putting the phone into

Pink Screen Mode

(then plug in your USB-microUSB cable and your pc will automount the /image folder, now you can verify if cust.img is inside that folder).

If you try to flash B876_KALO_v2.2 without cust.img file, you internal memory will get corrupted, you will brick your phone. Please double check before flashing!

Here you cand download a generic cust.img.

d) Recovery

CWM Recovery 5.0.2.7

Regards
[Huawei Ideos X5 U8800] uncleradio:
Thought so. Will stick with your ROM for a while now :) Weird thing is that it doesn't see my home wifi, but can see one at work just fine :eek:

Any chance on customizable drag-down menu?
[Huawei Ideos X5 U8800] kalo86:
All system application are like "encrypted" by Huawei and I am not able to decompile with apktool. It's not possible (at the moment) to edit any apk with deep customizations.
[Huawei Ideos X5 U8800] uncleradio:
Would it be possible to just add 2g/3g switch, as Genokolar had this in his rom? Not as if it would be critical, but quite useful to be honest :)
[Huawei Ideos X5 U8800] linomaniac:
hi kalo, sure, i know how it works, but now it is irrelevant, phone is working now. Thank you for your support, keep the good work.
[Huawei Ideos X5 U8800] kalo86:
Are you talking about CyanogenMod? Our ROM is based on the official Huawei firmware and all apk files are encrypted.

Adding or removing buttons in/from the quick settings widget is a hard customization, not impossible but to be done it is required that the apk is decompiled and then built again.

Apktool gets into errors and I am not able to do this...
[Huawei Ideos X5 U8800] uncleradio:
Sometimes I feel veeery stupid, just as in this case.

I forgot that it's not Cyanogen :facepalm:

Sorry!
[Huawei Ideos X5 U8800] kalo86:
Is it Cyanogen or not? :confused:
[Huawei Ideos X5 U8800] uncleradio:
Your ROM is not.

Geno's is Cyanogen :) should've thought about it myself before asking stupid questions)))
[Huawei Ideos X5 U8800] Siauka:
Please somebody upload stock recovery to make this (b) Localization Package (STEP3 UPDATE.APP)), my phone is bricked and I can't use it, help! ;)
[Huawei Ideos X5 U8800] linomaniac:
here

good luck

first make a backup of whole "image" folder to your HDD
[Huawei Ideos X5 U8800] Siauka:
Thank you very much! ;)
[Huawei Ideos X5 U8800] kalo86:
Take this advice: there is not the need to remove the stock recovery. Simply rename it to recovery.bak and leave it in peace. Of course your modified recovery is CWM Recovery 5.0.2.7 named as recovery.img.

When you need the stock/modified recovery, you will have to rename only the final part of the file, its extension (from .bak to .img).
[Huawei Ideos X5 U8800] Siauka:
Thanks for the advice :)

Is it normal that after flashing this rom it didn't detect sim card on first boot, after reboot it was ok.
[Huawei Ideos X5 U8800] kalo86:
It's not normal but Gingerbread ROMs on U8800 Pro (both 2.3.5 and 2.3.6) are a little buggy, for example accelerometer, sim card and sdcard (the external one).

Anyway a reboot solves this bug.
[Huawei Ideos X5 U8800] Siauka:
Yes, but is it normal particulary on this rom? :)
[Huawei Ideos X5 U8800] kalo86:
No, the bug is sort of random.

It cannot be expected and if you want an estimate, my sdcard is read 90/100 when I power on the device and a similar estimate, about 95 times on 100, my sim card is correctly recognized.

I am not able to find the problem, I am almost a Mechanical Engineer and Android is not my field, I am a Linux-world lover, so Android too!

Regards
[Huawei Ideos X5 U8800] termagazis:
Very nice rom my friend.I only have one question.how I can delete the apps in cust folder?(if for any reason in future i want to do this).if I flash step3 again will it reset cust folder to default?
[Huawei Ideos X5 U8800] kalo86:
Ok, I know that 99% of users is not understanding how the firmware really works on your device.

Now I have to explain. Be patient and read the content of this message.

Huawei released a particular firmware. It is Android but Huawei, this time, wanted to add new features. One of these is the Quick Settings Widget into the notification bar.

Since this "external widget" is not native of Android, Huawei decided to add this feature with a customization. One of the easy way to add customization is to insert apk, xml files and libs into an external file, named cust.img.

This image file, cust.img, will be mounted at the bootstrap of the device and Android will recognize it's content because the kernel "knows" that cust.img contains external links for customizations.

Now there is a problem: U8800 Pro (also named as U8800+) is in all World and in different Coutry there is the need to have specific customization. Think for example to Chinese characters for the keyboard, the same for the Russian ones.

So, Huawei, decided to release different kind of cust.img.

There are a lot of cust.img and inside there are about customization for Country, MMS settings, APNs, keyboard, Language Dictionary, etc etc.

To differenziate every kind of cust.img, Huawei decided to add a path inside.

This is the problem.

For example a tipical Chinese U8800+ has this path for the customizations:

/cust/unicom/cn

and Android needs to "know" that the customization path is located at /cust/unicom/cn.

To say to Android OS that the cust path is there, Huawei released the STEP3 package, also known ad the Operator/Coutry Package.

This little file add the correct path to a file, the cmdline, which guides Android to read the content of the correct customization path.

If you are Russian, your cust image is usually:

/cust/channel/ru

if you want that Android add the customizations located into /cust/channel/ru, you need to modify the cmdline flashing the STEP3 package for the Russian Country.

I am Italian, Huawei did not release a specific Italian firmware and I don't have any customization. So, time ago, I had to flash the STEP3 package for Chinese devices to read the cust.img located at

/cust/unicom/cn

When you flash the official firmware B512, B521, B540, B552, B572, the cust.img will be overwritten with the Chinese one.

Only B565 is the Russian Firmware and it will install a Russian cust.img.

Anyway, if you want the customization, you need the cust.img, and at the same time Android needs to know where is the correct path.

This is possible with STEP3, which edits the cmdline.

Since there are a lot of kinds of phone in the world, I found an International/Generic STEP3 file which edits your cmdline into

/cust/hw/default

This means that the customization path will be read by Android in /cust/hw/default.

So, I moved lots of system application over there, because cust.img is about 60 MB and it is always "empty"! Why don't use this free memory location?

Good, I am finished!
[Huawei Ideos X5 U8800] chriskampou:
i need help! i tried to upgrade the update.app (step 3) without notice the cust.img think and now my phone it's a brick! What can i do about it?