[Q] How to change file permissions without booting the phone - General Questions and Answers

I have rooted Sony Xperia C and added some fonts to /system/fonts. I have changed /etc/fallback_fonts.xml file and forgot to change the file permissions. Now my phone is not booting. Is there a way to change the file permissions without booting the phone?

leadsulphide said:
I have rooted Sony Xperia C and added some fonts to /system/fonts. I have changed /etc/fallback_fonts.xml file and forgot to change the file permissions. Now my phone is not booting. Is there a way to change the file permissions without booting the phone?
Click to expand...
Click to collapse
Same thing happened to me. Tried to get a console through ADB, didn't work. Had to install the ROM again. The next time I didn't modify fallback_fonts.xml but renamed my font into an existing one and replaced the existing font. It worked.

leadsulphide said:
I have rooted Sony Xperia C and added some fonts to /system/fonts. I have changed /etc/fallback_fonts.xml file and forgot to change the file permissions. Now my phone is not booting. Is there a way to change the file permissions without booting the phone?
Click to expand...
Click to collapse
only go back stock rom

Related

[Q] Changing Milestone Boot Logo ????

Hi
Can anybody help me in changing my milestone 2.1 boot logo?
I already rooted it and can do some changes like bootanimation using terminal emulator but can't find a way to change this boot logo.
Thanks a lot for reply.
I have also rooted my phone with GOT's Open Recovery, and done a backup with Nandroid, but was wondering how can I change that opening sequence.
I've downloaded some boot animations in .zip with the following structure:
\
\desc.txt
\part0
\part0\01.png
\part0\02.png
...
Where should I place the .zip or the folder with that content??
Thanks in advance.
May I know your phone model?
If it's Motorola Milestone, I can help.
Indeed, it is a Motorola Milestone.
zankyw said:
I have also rooted my phone with GOT's Open Recovery, and done a backup with Nandroid, but was wondering how can I change that opening sequence.
I've downloaded some boot animations in .zip with the following structure:
\
\desc.txt
\part0
\part0\01.png
\part0\02.png
...
Where should I place the .zip or the folder with that content??
Thanks in advance.
Click to expand...
Click to collapse
When you have all the desc.txt and the part files you zip them Using store Then this .zip is placed in system > media there should already be one there.
dwillMUFC said:
When you have all the desc.txt and the part files you zip them Using store Then this .zip is placed in system > media there should already be one there.
Click to expand...
Click to collapse
Sorry, I'm afraid I didn't understand you.
How can I gain access to that folder if it's in the internal memory of the phone? Once that's done, should I overwrite the .zip stored in system\media?
Install Android Terminal Emulator from market and give permission to Superuser access.
Put bootanimation.zip folder in your sd card root.
Run Terminal Emulator and type the followings as exactly.
su
mount -o remount,rw -t yaffs2/dev/block/mtdblock3 /system
dd if=/sdcard/bootanimation.zip of=/system/media/bootanimation.zip
reboot
You should see some processing as you typed in the third line.
If you see the error, there might be a typo and retype the third line.
After reboot, you will see the custom bootanimation of your choice.
PS- There are many custom bootanimation.zip files out there and you can download them for free.
Hope this can help.
Credit goes to CoolPsTuts on YouTube.
I had to put bootanimation.zip to /data/local and then it worked flawlessly.
TheSSJ said:
I had to put bootanimation.zip to /data/local and then it worked flawlessly.
Click to expand...
Click to collapse
Have you ever tried to change the Milestone boot logo? Is there a bit easy way to do it than the way like backing up with Nandroid, flashing the ROM and update again?
I'm not sure its possible to change the motorola logo, with the locked bootloader and kernel
correct me if i'm wrong
Min Ye Soe said:
Hi
Can anybody help me in changing my milestone 2.1 boot logo?
I already rooted it and can do some changes like bootanimation using terminal emulator but can't find a way to change this boot logo.
Thanks a lot for reply.
Click to expand...
Click to collapse
get root explorer and dell old bootanimatoin.zip in /system/media/ and copy new in this folder
Doesn't work...had accidently put in DroidX bootanimation in /system/media and nothing happened...still the M-Logo on startup...
TheSSJ said:
Doesn't work...had accidently put in DroidX bootanimation in /system/media and nothing happened...still the M-Logo on startup...
Click to expand...
Click to collapse
DroidX bootanimation, renamed to bootanimation.zip in /system/media ?
bootanimation and bootlogo are different.
bootlogo is the one u see first after reboot and bootanimation is the one with the animated features (actually .png files).
For my case, my bootlogo is our local teleco's one and probably Motorola put it as a default when they shipped for Singapore.
So they might use locked bootloader and kernel to prevent changing it.
For bootanimation, that zip file is in /system/media and you can swap it with another bootanimation at anytime.
But the case is you can't simply copy and paste it using Market Apps like "Root Explorer" or "AndExplorer" or smth like those as the /system/media folder is readonly.
So I used terminal emulator to change the bootanimation.
I could change it successfully but I still can't find my way to change the bootlogo so if anyone ever tried and changed it successfully, pls share your ways.
Thanks.
petyo.tsanov said:
DroidX bootanimation, renamed to bootanimation.zip in /system/media ?
Click to expand...
Click to collapse
Yes. For getting it to work it has to be put into /data/local (at least for me)
Min Ye Soe said:
bootanimation and bootlogo are different.
bootlogo is the one u see first after reboot and bootanimation is the one with the animated features (actually .png files).
For my case, my bootlogo is our local teleco's one and probably Motorola put it as a default when they shipped for Singapore.
So they might use locked bootloader and kernel to prevent changing it.
For bootanimation, that zip file is in /system/media and you can swap it with another bootanimation at anytime.
But the case is you can't simply copy and paste it using Market Apps like "Root Explorer" or "AndExplorer" or smth like those as the /system/media folder is readonly.
So I used terminal emulator to change the bootanimation.
I could change it successfully but I still can't find my way to change the bootlogo so if anyone ever tried and changed it successfully, pls share your ways.
Thanks.
Click to expand...
Click to collapse
I can tell you where you'll find the files for changing the boot loader, but it won't be of any use:
Unpack the boot.img of the stone and there you'll find it somewhere, but since you have to repack the modified boot image again and flash it, you'll notice that it won't boot anymore because the signature has changed...so until they don't unlock their boot.img nothing can be done IMHO.
TheSSJ said:
Yes. For getting it to work it has to be put into /data/local (at least for me)
I can tell you where you'll find the files for changing the boot loader, but it won't be of any use:
Unpack the boot.img of the stone and there you'll find it somewhere, but since you have to repack the modified boot image again and flash it, you'll notice that it won't boot anymore because the signature has changed...so until they don't unlock their boot.img nothing can be done IMHO.
Click to expand...
Click to collapse
Thanks a lot.
Min Ye Soe said:
Hi
Can anybody help me in changing my milestone 2.1 boot logo?
I already rooted it and can do some changes like bootanimation using terminal emulator but can't find a way to change this boot logo.
Thanks a lot for reply.
Click to expand...
Click to collapse
go here http://forum.xda-developers.com/showthread.php?t=696193
have bootloadind and steps how to setup bootloader
lyserver said:
go here http://forum.xda-developers.com/showthread.php?t=696193
have bootloadind and steps how to setup bootloader
Click to expand...
Click to collapse
Great, thanks a lot!

[Q] Help! Accidentally deleted system stock bootanimation file

I was trying to change my bootanimation and accidentally deleted the system stock bootanimation file on root explorer.
I think I deleted the one from system/bin and the one in system/media.
Now i have no bootup screen...it's just black.
I tried replacing both of them with the bootanimation.zip file i wanted to use and nothing has worked.
Sorry I'm new at this and have googled and read as much as i can. I successfully changed the bootanimation screen the first time but i wanted to change it again and accidentally deleted the original bootanimation folder, which i guess you needed.
I'm afraid to do a system recovery because I have a rooted phone and I'm using Boost with it. I don't know if that will effect it in a bad way.
Please help!
Use bootanimation zip file intented for your device resolution...just search in this forum...
Sent from my GT-S5570 using XDA Premium App
Imsuck said:
I was trying to change my bootanimation and accidentally deleted the system stock bootanimation file on root explorer.
I think I deleted the one from system/bin and the one in system/media.
Now i have no bootup screen...it's just black.
I tried replacing both of them with the bootanimation.zip file i wanted to use and nothing has worked.
Sorry I'm new at this and have googled and read as much as i can. I successfully changed the bootanimation screen the first time but i wanted to change it again and accidentally deleted the original bootanimation folder, which i guess you needed.
I'm afraid to do a system recovery because I have a rooted phone and I'm using Boost with it. I don't know if that will effect it in a bad way.
Please help!
Click to expand...
Click to collapse
If your phone doesnt boot, how did you replaced these files without booting your phone? I have the same problem, but I have got an animation backup. But I dont know how to put it in my phone.
flash a new rom on it

ICS ROM how to change fonts?

Question anyone using ICS roms. I have a question i used to use Font changer or font installer to change fonts for Gingerbread roms. For some reason this wont change anymore. It seems it is defaulted to roboto ttf files. I tried to change in system file but still no luck. If i change roboto fonts and replace my phone bricks.. Anyone knows how to change the fonts on ics? Thx
wanna now to
Is there anyone?
Have you tried to create a flashable zip for your fonts? Take a look @ /system/fonts/ and change the fonts you wanna change (DroidSans.ttf and DroidSans-Bold.ttf for example)
On your computer or laptop create a folder for /system/fonts/ and put your fonts there, renamed to reflect the fonts you wanna change. Then zip up the system folder along with a compatible META-INF folder with correct updater-script and update-binary and you should be good. Flash your newly created zip in recovery
Sent from my Nexus S 4G using Tapatalk
I do not know how to make a flashable zip file.. But i did play around with my own. I used font installer and did the following. changed the DroidSans.ttf and DroidSans-Bold.ttf. Changing those two didnt help but i checked mark on the Roboto-Regular.ttf and did the change. Yes, that did change my fonts but When i change the Roboto-Bold.ttf. My phone won't start it it will just not boot up. So only checked roboto-regular, DroidSans-bold and DroidSans and it worked. I think something to do with the bold fonts in ICS. Not sure... Wish i could try if i know how to make the flashable zip... Thx Maybe ill do some research and find out..
fergie716 said:
Have you tried to create a flashable zip for your fonts? Take a look @ /system/fonts/ and change the fonts you wanna change (DroidSans.ttf and DroidSans-Bold.ttf for example)
On your computer or laptop create a folder for /system/fonts/ and put your fonts there, renamed to reflect the fonts you wanna change. Then zip up the system folder along with a compatible META-INF folder with correct updater-script and update-binary and you should be good. Flash your newly created zip in recovery
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
try this guys
http://glasskeys.com/2011/09/17/how...ts-on-android-cyanogenmod-phones-and-tablets/

Moto G stock fonts

I have Moto E and I know that both E and G have same ROM. I have scrambled up my fonts. Ofcourse I have my phone rooted. I was trying with new fonts and thus I scrambled up the stock fonts and I no longer have the stock fonts anymore and I didn't make a backup of them either.
I beg-- if someone have their Moto G, E or X rooted, I request them to please ZIP the fonts folder located at /system/ and upload it for me. :'(
My phone looks really bad with the scrambled fonts :'(
I hope someone will help.
wait i'll upload
there u go
Thank you so so much :')
You made my day :')
Hey. Urmmm.. I used your fonts and replaced the fonts on my phone with your fonts simply using es file explorer. That bricked the phone and it was stuck in a boot loop. I booted into recovery, mounted the system partition and replaced the fonts back with the backup I had made just before using your fonts. That fixed the phone. Which phone do you have?
I request someone with a rooted moto E running 4.4.2 or later to help me out
EDIT: It worked! The ES file explorer way doesn't work. I have to boot into recovery, mount the system partition (I have TWRP), delete the fonts folder from /system and then put the fonts folder you provided into /system -> Reboot and voila! The original fonts are back!
Thanks again
nilanko said:
Hey. Urmmm.. I used your fonts and replaced the fonts on my phone with your fonts simply using es file explorer. That bricked the phone and it was stuck in a boot loop. I booted into recovery, mounted the system partition and replaced the fonts back with the backup I had made just before using your fonts. That fixed the phone. Which phone do you have?
I request someone with a rooted moto E running 4.4.2 or later to help me out
EDIT: It worked! The ES file explorer way doesn't work. I have to boot into recovery, mount the system partition (I have TWRP), delete the fonts folder from /system and then put the fonts folder you provided into /system -> Reboot and voila! The original fonts are back!
Thanks again
Click to expand...
Click to collapse
you are welcome , glad i could help
i have xt1032 btw
Can you tell me how to flash this font through recovery step by step?

[Guide] Change LG emojis with stock android | ROOT needed

Is there any way to change emojis with stock android emojis? Yes, there is!
Download file to SD.
Using file manager on your phone with root (i.e. ES file explorer) go to system/fonts in root folder.
Locate default NotoColorEmoji.ttf and do a back up (you can skip it).
Replace NotoColorEmoji.ttf in system/fonts with the file you have downloaded.
Set permissions to rw-r-r.
Reboot.
Default android emojis: http://d-h.st/uXQL
Default LG emojis: http://d-h.st/O9aw
Tested & works with LG, Xperia keyboard.
Have you tried this on play? Needs root
https://play.google.com/store/apps/details?id=com.stevenschoen.emojiswitcher
Im more of a "push-it-to-/root/system-kinda" guy, these kind of apps seems a little fishy to me.
Looks like it's a ttf file, perhaps you could try swapping it for another, I'm guessing you'll have to rename it to match the one in your font folder.
englishmale said:
Looks like it's a ttf file, perhaps you could try swapping it for another, I'm guessing you'll have to rename it to match the one in your font folder.
Click to expand...
Click to collapse
replaced NotoColorEmoji from cm12.1 for SP (since I hade his on my pc), btw there was only one file, no NooColorEmojiNONAME, fixed permissions and I got default android emojis.
Here is the file if anyone needs: http://d-h.st/uXQL
le grande magnetto said:
replaced NotoColorEmoji from cm12.1 for SP (since I hade his on my pc), btw there was only one file, no NooColorEmojiNONAME, fixed permissions and I got default android emojis.
Here is the file if anyone needs: http://d-h.st/uXQL
Click to expand...
Click to collapse
i put this file..and now have this..(i dont have original anymore).can u help me? ..permission is on rw-r--r--
url immagine
xxfrankiexx said:
i put this file..and now have this..(i dont have original anymore).can u help me? ..permission is on rw-r--r--
url immagine
Click to expand...
Click to collapse
Did you renamed the original one? I kept the original one but I added suffix .ttf.original
Also I am using Xperia keyboard as my default but with stock LG keyboard emojis are working.
Incase you need it, here's my original (note that this one is over 11MB whereas stock android was just over 2 MB) http://d-h.st/O9aw
Dont forget to fix the suffix and permissions. I hope this one helps.
le grande magnetto said:
Did you renamed the original one? I kept the original one but I added suffix .ttf.original
Also I am using Xperia keyboard as my default but with stock LG keyboard emojis are working.
Incase you need it, here's my original (note that this one is over 11MB whereas stock android was just over 2 MB) http://d-h.st/O9aw
Dont forget to fix the suffix and permissions. I hope this one helps.
Click to expand...
Click to collapse
I've overwrited the original one..after a few reboots is working now with droid emojis..i dont know why exactly..anyway..thnk you very much!!
Im glad you have fixed it.
I'll click thanks seeing as nobody else has ? we need to encourage as many people to stay with this wonderful device and to develop for it. I'm glad I'm not the only one still posting on here, I'm getting fed up seeing my name on everything ?
You might want to explain how to push it into System/fonts, as some users might not know about adb or did you use a root explorer?
Yup, re-edited OP, now it should be quite clear.

Categories

Resources