How to edit /system/customize/CID/default.xml in the hero? - Hero, G2 Touch Q&A, Help & Troubleshooting

my hero already root and try to chmod 4755 /customize/CID/default.xml but it say Read-only file system. Who knows how to edit the default.xml or only can edit in update.zip? if only can edit in update.zip, can i backup the rom to update.zip and change default.xml? Thanks

You need to remount /system as rewrite.
shell command to do it: mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system

i tried to change the default.xml and reboot the phone but nothing change. What is the reason?

hei
hey, do u know the reason yet?
or it require to wipe data....

Related

[Q] Deodex/adb help!

Ok I am on a rooted 345 us White dell streak.
I am trying to deodex. I have used the deo 1.2.1 deodexer in the xda forum thread for auto deodex 2.3.
I pulled all my apks and their odex files from the /system/app/ folder
and the jars and odex files from the /system/framework folder
I am trying to use adb to copy them from my sdcard to the correct folders, but when i reboot my phone hangs at the dell logo.
Hopefully someone can see what I am doing wrong.
I enter:
adb shell
su (then I allow permission on my phone)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock6 /system
cp /sdcard/doneapk/* /system/app/
cp /sdcard/doneframework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t yaffs2 /dev/block/mtdblock6 /system
reboot
what am i missing?
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
bump..
can you guys post a quick guide with steps on how to do this? How hard is it to go back and edit files later like services.odex? if it doesn't exist anymore?
I have no idea what bump means......forum noob obviously.
But if you search auto deodex 2.3 in xda forums it is under droidx forums.
So I changed the mount command to yaffs2 /dev/bkock/mtdblock6 where theirs is different because from what I understand, that is the streaks mount command for mounting.
But I will try the other path and see if it works. I will keep you updated when I try it later.
freepal08 said:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
Click to expand...
Click to collapse
so I tried your command path and no luck. still stuck on the dell logo.
Thank GOD for nandroid backup.
how exactly did you deodex your files? maybe thats what i am missing. Maybe the deodexed files i put in have an issue.
i used xUltimate-v2.2.2
and if u are 345 rom
u can use my files
also its take up to 10 min to load the phone
Krad said:
bump..
can you guys post a quick guide with steps on how to do this? How hard is it to go back and edit files later like services.odex? if it doesn't exist anymore?
Click to expand...
Click to collapse
Whenever you edit services.odex you first doedex it...then you modify it...then you carefully and painfully re-odex it...with a deodexed file system you get rid of the first and last steps...
so it would be services.dex, you copy it to your pc, edit it, and send it back...quicker and easier modding
freepal08 said:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
Click to expand...
Click to collapse
ok I am trying your files. I see you put sync as your last command after you remount. that differs than the droidx forum How to manually deodex thread.
what does sync do?
I got farther with your files than i have before. So maybe I might have some luck after all, but still stuck on a frozen boot animation
I have no idea what I did differently but I am now deodexed using the file provided above.
My phone is now a rooted and deodexed 345 build. Nice!

adb mount, remount issue

Hello everyone, my issue is when i try this, it works:
Code:
mount -o remount,rw /dev/block/stl6 /system
But, when i try this, it doesn't work:
Code:
mount -o remount,rw /dev/block/stl6 /system/media
So my question is if i want to set "rw" for only /system/media(not for other folders in the system folder) without using root explorer, how do i do that?
Any help would be appreciated.
Thanks
The read/write permissions here are set for mount points, not properties of individual folders so you can't set it that way.

Cant mount system as RW?

Is there some kind of trick to mounting system as rw so adaway can modify the hosts file. I have cm10 on here ATM
Did you try something like 'adb shell mount -o remount,rw /' ?
HTH

[Q]What's the difference for /system under Recovery mode and Root privilege

I want move my app to /system/app/, I did follow steps under ROOT privilege
Code:
mount -o remount,rw /system /system
cat /data/local/tmp/abc.apk > /system/app/abc.apk
chmod 644 /system/app/abc.apk
mount -o remount,ro /system /system
reboot
but the abc.apk file disappear from /system/app after reboot.
if I use update.zip package under Recovery mode to write the abc.apk to /system/app, it will be normal after reboot.
so, what's the difference for wrinting system partition under Recovery mode and ROOT privilege?
Thank you very much!

android /System/bin permission error

Hello everyone
Can somebody help me i have accidently changed the permission of the folder /System/bin to [rw-r-r] in my lg g3 using CM13 nightly latest version.
now the phone wont boot only in recovery mode even if i reboot system it goes to the recovery.
is there a way to undo the changes i did or fix this problem ?
tetouan22 said:
Hello everyone
Can somebody help me i have accidently changed the permission of the folder /System/bin to [rw-r-r] in my lg g3 using CM13 nightly latest version.
now the phone wont boot only in recovery mode even if i reboot system it goes to the recovery.
is there a way to undo the changes i did or fix this problem ?
Click to expand...
Click to collapse
How do you accidently changed them?
Reffering to this Thread you could use adb to change permissions in recovery by:
Code:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/bin
Edit: When just coying and pasting I forgot, that the part
Code:
yaffs2 /dev/block/mtdblock3
may be a little bit different on your device. I do not have a G3 at hand and did not find the fstab that fast, but you can run
Code:
mount
Code:
cat /proc/partitions
and so on out of the CM Porting tutorial to find out your parameter.
MichaelSX said:
How do you accidently changed them?
Reffering to this Thread you could use adb to change permissions in recovery by:
Code:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 755 /system/bin
Edit: When just coying and pasting I forgot, that the part
Code:
yaffs2 /dev/block/mtdblock3
may be a little bit different on your device. I do not have a G3 at hand and did not find the fstab that fast, but you can run
Code:
mount
Code:
cat /proc/partitions
and so on out of the CM Porting tutorial to find out your parameter.
Click to expand...
Click to collapse
I have reflashed my ROM now,
and about the accident ... well i was reading a tutorial about how to install stock G3 apps on cm13 and i did the permission things for the wrong folder, and that was the probleme :laugh:

Categories

Resources