Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ufukyayla
Old
(Last edited by ufukyayla; 5th December 2011 at 11:39 AM.)
#1  
Member - OP
Thanks Meter 19
Posts: 48
Join Date: Sep 2011
Location: Konya
Default [Dev][2.3][Fixed] How to remove stock apps that stored in cust.img?

I installed 2.3 to my phone.

The cust.img contain a lot of unneeded apks. (The cust.img is a disk image file.)

How to extract cust.img and delete a file in that?

The cust.img mounted to /cust folder as "read only" by init.rc (init.rc automatically generated on boot)
 
ValenteL
Old
#2  
ValenteL's Avatar
Senior Member
Thanks Meter 140
Posts: 962
Join Date: Aug 2011
Location: Espinho
Quote:
Originally Posted by ufukyayla View Post
i installed 2.3 to my phone.

The cust.img contain a lot of unneeded apk.

How to extract cust.img and delete a file in that?

The cust.img mounted to /cust folder as as read only by init.rc (init.rc automatically generated on boot)
Is cust.img or cust_data.img? See on /cust_backup/image/cust...
 
ufukyayla
Old
#3  
Member - OP
Thanks Meter 19
Posts: 48
Join Date: Sep 2011
Location: Konya
This is cust.img in image folder. (When pink screen mode)
 
ValenteL
Old
(Last edited by ValenteL; 1st December 2011 at 04:26 PM.)
#4  
ValenteL's Avatar
Senior Member
Thanks Meter 140
Posts: 962
Join Date: Aug 2011
Location: Espinho
Quote:
Originally Posted by ufukyayla View Post
This is cust.img in image folder. (When pink screen mode)
I never change or delete anything on that place (when pink screen mode). I make all on /cust_backup/image/recovery.img or /cust... don't remember all.
Is from here that at each restarting or rebooting is loaded the bootloader (pink screen).

I deleted in this place all Carrier data /cust_backup/image/cust... something.

But take care, that /image/ is backed also on ROM Backups. If you delete the /cust... like I made, and if one day you made a ROM Restore made before, the /cust... return to same place. You must delete this after each ROM Restore.

For all restores I have, I made: Rom Restore-> delete /cust... (carrier data) -> new Rom backup.


..................................
EDIT: I made all this because I'm rooted and whit Root Explorer.
 
ufukyayla
Old
#5  
Member - OP
Thanks Meter 19
Posts: 48
Join Date: Sep 2011
Location: Konya
I dont want to delete cust.img.

The cust.img is a disk image file.

I want to delete a file in disk image that contained in cust.img.

The cust.img mounted to /cust folder as read only on boot.
 
fukul2027
Old
#6  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Jul 2011
Default i delete all boot files.

I delete all of boot files in this folder.When i open phone i faced blue screen. can someone zip all files in this folder and upload for me. Otherwise i have to send my phone to technical service.
 
ufukyayla
Old
(Last edited by ufukyayla; 19th March 2012 at 08:48 AM.)
#7  
Member - OP
Thanks Meter 19
Posts: 48
Join Date: Sep 2011
Location: Konya
I fixed it.

I deleted all unneeded apks (stock apps) that stored in cust.img

My method;

1. On Slitaz Linux 3.0
2. Open terminal
3. Copy cust.img from phone to /home folder
4. mkdir tmp
5. mount cust.img /home/tmp
6. cd /home/tmp/hw/default/app
7. Delete apk files what you don't want
8. umount tmp
9. Copy cust.img from /home folder to phone
 
ufukyayla
Old
#8  
Member - OP
Thanks Meter 19
Posts: 48
Join Date: Sep 2011
Location: Konya
It is for who don't have linux;

http://www.multiupload.com/EKPGJ7EUGO

This is "cleared" cust.img. That contains only these apks;

BeyondTheSkyTheme.apk
Calendar.apk
CalendarProvider.apk
DeskClock.apk
ToolBox.apk
 
genokolar
Old
#9  
genokolar's Avatar
Member
Thanks Meter 249
Posts: 77
Join Date: Nov 2010
Location: yibin

 
DONATE TO ME
modify init.rc

Code:
    mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
    mount ext3 loop@.cust_backup/image/cust.img /cust ro
to

Code:
    mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
    mount ext3 loop@.cust_backup/image/cust.img /cust rw
then you could delete any files in cust.img..(/cust in phone)
PHONE:
Huawei U9000 U8800 U8800pro U8650 C8800 C8650
ZTE V880 X876
SOURCES:
https://github.com/Victor-android
The Following User Says Thank You to genokolar For This Useful Post: [ Click to Expand ]
 
ufukyayla
Old
#10  
Member - OP
Thanks Meter 19
Posts: 48
Join Date: Sep 2011
Location: Konya
Quote:
Originally Posted by genokolar View Post
modify init.rc

Code:
    mount vfat /dev/block/mmcblk0p1 /.cust_backup ro wait
    mount ext3 loop@.cust_backup/image/cust.img /cust ro
to

Code:
    mount vfat /dev/block/mmcblk0p1 /.cust_backup rw wait
    mount ext3 loop@.cust_backup/image/cust.img /cust rw
then you could delete any files in cust.img..(/cust in phone)
The init.rc automatically generating on boot.
Changes lost when you reboot your phone.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...