[Q] access system folder on soft bricked - HTC One X

hi,
i tried to install a new font using ifont free app , it bricked my phone, i have stock system with twrp , i think if i managed to reach system/fonts folder i can put back the original fonts files, how i can access this folder? and how to fix files permission? any help will be appreciated.

found it
i used QtADB_0.8.1 to browse system folder and found out that i need to access recovery and then mount, and every thing is visible , i copy and pasted all original fonts file from backup, and it is done.

Related

[Q] Zooper Widgets not saving APK / Font error

I am developing a zooper widgets pack, and trying to save the widgets as zips.
I kept getting this error:
Java.io.FileNotFoundException /fonts/BebasNueue.otf
I tried creating a folder called /fonts/ and moved the BebasNueue.otf into it. Still an error.
Does anyone have experience knows how to fix this?
maybe its the *.otf
whats happen when you transfer a *.ttf font!
I keep getting the same error for Akashi font. It says there is no Akashi.TTF in fonts folder but I actually put it in there by myself, so there definitely IS the required file. It's in TTF format. Restart didn't change anything. Any ideas?
Edit: I also tried to create a "fonts" folder in root directory, but ES File Explorer says there's not enough space (I have approx. 4GB free space left). Tried to copy in recovery but after boot the folder is gone.
SGS5, CM12, TWRP

cant find my CWM Nandroid backups ?!

Ok so I just rooted my S3, 4.4.2 Boost Mobile phone. Worked fine. No problem rooting it. Made a backup using CWM and then I installed Philz recovery and also made another back up. In recovery it shows BOTH backups, and says they are located in
/sdcard/clockworkmod/backup
then in individually named folders of the backups.
HOWEVER, when I look using ES File Explorer, I only have the clockworkmod folder, and it does NOT contain any other folders, no "backup" folder at all.
Ok, so let me try the Aroma File manager. Same thing if I go to /sdcard/0/clockworkmod/ there are two very small files:
".last_install_path", and ".recovery_version".
HOWEVER, I am able to navagate to /sdcard/clockworkmod/ and THERE I find the backup folder with my two backups.
Why can I not find this folder from android? Even when I use STORAGE ANALYZER and tell it to look at the system parttions and even when I use ES FILE MANAGER and tell it to do an SD CARD ANALYSIS, it doesn't show these backups. So I have copied a backup to the download folder of the sdcard and am hoping to copy it over to my PC before flashing a new ROM.
NOTE: I do NOT have an external SD Card installed yet.
I just thought this is super strange. ?? Anyone have any idea? Thanks.
Now after booting into Android and looking into the folder I copied to /Download, the folder is empty.. !?!? I'm SO LOST right now....
It SHOWS that space is missing on my device so these files DO EXIST SOMEWHERE but SOMEHOW it's as if they are being hidden... is it knox???
Ok if I use "MY FILES" I can see the folder that I copied to /Download and the files in it, but NOT if I use ES File Manager, and NOT if I use Root Explorer. However even MY FILES still shows clockworkmod dir as empty!?
Ok so it turns out it has something to do with a permissions issue. Why is that? I run Storage Analyzer and when I try to click on the recoveries I copied to /Download it tells me that I don't have permission for that folder. Do I need to run some kind of FIX PERMISSIONS on this? Is there such a thing for the S3?
I found someone else talking about this same thing and looks like they solved it. here is the link:
http://forums.androidcentral.com/google-nexus-7-2012-rooting-roms-hacks/229739-where-my-rom-manager-backups-android-4-2-a.html

How to add new fonts to fire os 4.6.3?

So, I needed to add a new font to my fire phone so that I can view my native language.
Thinking fire os 4.6.3 is just a customization on android KitKat(4.4.4) I went ahead and tried to add my fonts (Noto Sans Sinhala) to /system/fonts directory. But It was a read only sqfs partition. So I unmounted it and copied it's contents to a actual /system/fonts directory. Then I added a new font family with my fonts in /system/etc/fallback_fonts.xml and rebooted which is the trick for JB and later roms. Nothing happened! Still no native language.
Then I tried replacing a default android font I normally don't use(Noto Sans Thai). Still not working. So I changed Droid Sans Fallback font, which is the oldest trick to get new glyphs. Nope, still not working.
After fiddling around a little, I found a fontconfig cache in /system/etc/fonts along with fontconfig configuration files!! Something I haven't seen in any other android roms. Finally, I came to the conclusion that I might have to rebuild the fontconfig cache.
Dose anyone know how to trigger a fontconfig cache rebuild? or some other way around it?
So, as It turns out, Adding fonts to the fire phone is even easier than the rest of the KK devices. Just copy your fonts to /system/fonts and delete /system/etc/fonts/cachedir/[longname].cache-3 reboot and you are done
madushan1000, how did you umount /mnt/sqfs? I tried un-mounting via file manager with root privilege and wouldn't let me un-mount. I'm trying to replace a default android font (droidfallback.ttf) and keep getting permission denied even though I have root. Your help is appreciated.
You don't have to unmount it. Just delete the fonts sqfs image and extract it's content to /system/fonts and reboot. FYI you might have to remove some "system" app to do this. There is not enough space left on the system partition.
madushan1000,
Care to tell detail instruction? Thank you so much.
Rgds,
Kaung
Hi madushan1000,
This is what I did and still not OK. (Need to restore previous version as Font are lost)
1. Copy Fonts to Sdcard
2. Delete /system/sqfs/container.sqfs
3. mkdir fonts folder under /system
4. Copy back fonts to /system/fonts
Please help me advise. Thank you so much in advance..
Hi @kaungmyataung, I'm going to answer your PM here:
Well, madushan1000 and I had the same approach to the "problem", but I deleted only the container and copied the fonts folder to the usual path.
madushan1000 went even further with his custom XML test.
It seems you did everything right: deleted the container, copied the fonts in the correct folder...
I assume, I checked / set the permissions for the "fonts" folder to 755 and that's all I did.
Oh... and I only deleted unwanted fonts, I didn't add new ones.
Bingo Bronson said:
Hi @kaungmyataung, I'm going to answer your PM here:
Well, madushan1000 and I had the same approach to the "problem", but I deleted only the container and copied the fonts folder to the usual path.
madushan1000 went even further with his custom XML test.
It seems you did everything right: deleted the container, copied the fonts in the correct folder...
I assume, I checked / set the permissions for the "fonts" folder to 755 and that's all I did.
Oh... and I only deleted unwanted fonts, I didn't add new ones.
Click to expand...
Click to collapse
Thank you soooooo much, Bingo. Below of your reply save my life. Now All good.
-----I assume, I checked / set the permissions for the "fonts" folder to 755 and that's all I did.------
Can someone help me i cant copy my font in /system/fonts Please help...
xaamaa said:
Can someone help me i cant copy my font in /system/fonts Please help...
Click to expand...
Click to collapse
You can't copy fonts because it's not a real folder, just a mounted container (read only). Follow Madushan's lead:
madushan1000 said:
locate the sqfs image ('./system/sqfs/container.sqfs') and extract its content to './system/fonts'
you can create the 'fonts' folder manually, just be sure to set permission to 0755 for the folder and 0644 for the font files
FYI: you might have to remove some "system" apps / files to do this. There is not enough space left on the system partition
Easiest way to gain enough free space is to delete the language files for Ivona TTS ('./system/tts/ivona')
One folder for each language, for example "eng.usa.nina_1418201400000". Folders can be deleted if you don't use Ivona TTS.
Click to expand...
Click to collapse
Or you can just delete the sqfs file, create the 'fonts' folder and use this flashable zip via Safestrap / TWRP.
I deleted the CN and JP fonts*, etc. so it's less than 20 MB compared to over a 100 MB from the default sqfs container and you wouldn't be forced to delete system files in order to make enough room.
*Deleted fonts:
STKai
STYuanMedium
TBGothic_213
TBMincho_213
TsukuMinPr5
MYingHeiSMedium
STBShusong
STYuanMedium
MTChineseSurrogates
MHeiM-Big5HKSCS_E
Code2000
DroidNaskh
DroidSansEthiopic
DroidSansHebrew
NotoSansThai
NotoSansThaiUI
DroidSansArmenian
DroidSansGeorgian
NotoSansDevanagari
NotoSansTamil
NotoSansMalayalam
NotoSansBengali
NotoSansTelugu
NotoSansKannada
NotoSansKhmer
NotoSansLao
NanumGothic
Padauk-book
NotoSansSymbols
NotoColorEmoji
MTLmr3m
After creating the real 'fonts' folder, you can spam your phone with iFont.
Bingo Bronson said:
You can't copy fonts because it's not a real folder, just a mounted container (read only). Follow Madushan's lead:
Or you can just delete the sqfs file, create the 'fonts' folder and use this flashable zip via Safestrap / TWRP.
I deleted the CN and JP fonts*, etc. so it's less than 20 MB compared to over a 100 MB from the default sqfs container and you wouldn't be forced to delete system files in order to make enough room.
*Deleted fonts:
STKai
STYuanMedium
TBGothic_213
TBMincho_213
TsukuMinPr5
MYingHeiSMedium
STBShusong
STYuanMedium
MTChineseSurrogates
MHeiM-Big5HKSCS_E
Code2000
DroidNaskh
DroidSansEthiopic
DroidSansHebrew
NotoSansThai
NotoSansThaiUI
DroidSansArmenian
DroidSansGeorgian
NotoSansDevanagari
NotoSansTamil
NotoSansMalayalam
NotoSansBengali
NotoSansTelugu
NotoSansKannada
NotoSansKhmer
NotoSansLao
NanumGothic
Padauk-book
NotoSansSymbols
NotoColorEmoji
MTLmr3m
After creating the real 'fonts' folder, you can spam your phone with iFont.
Click to expand...
Click to collapse
locate the sqfs image ('./system/sqfs/container.sqfs') and extract its content to './system/fonts'
you can create the 'fonts' folder manually, just be sure to set permission to 0755 for the folder and 0644 for the font files
How can i Extract container.sqfs content to /system/fonts..
Where i can create a font folder i mean in which directory...
kaungmyataung said:
Hi madushan1000,
This is what I did and still not OK. (Need to restore previous version as Font are lost)
1. Copy Fonts to Sdcard
2. Delete /system/sqfs/container.sqfs
3. mkdir fonts folder under /system
4. Copy back fonts to /system/fonts
Please help me advise. Thank you so much in advance..
Click to expand...
Click to collapse
@kaungmyataung
@madushan1000
I deleted /system/sqfs/container.sqfs and then tried to copy the fonts to /system/fonts since it rejected for "unmounted folder" even being root user, I dont remember the exact error message but I just rebooted the Kindle Fire HD 3rd gen, now it bricked Boot loop, no matter factory reset at the boot recovery, it simply stays at the boot loop, any suggestion to at least recover it?

[Help Me!] Can not copy zip file via MTP mode, delete TitaniumBackup folder and more

hi all,
the first, sorry for my poor English but I have problems and need help
my hydrogen can not copy Zip file via MTP mode, i can not copy zip file from any folder to another folder / can not delete some folders (Titanium Backup) in Internal Memory by File Manager ( Error: don't have permission)., also I've tried with root access. But media files and .apk file still works fine.
I've tried again and again with all Roms (CM, MIUI Stock) but problem is still there!
i need your help! :crying:
k1n9n0th1n9 said:
hi all,
the first, sorry for my poor English but I have problems and need help
my hydrogen can not copy Zip file via MTP mode, i can not copy zip file from any folder to another folder / can not delete some folders (Titanium Backup) in Internal Memory by File Manager ( Error: don't have permission)., also I've tried with root access. But media files and .apk file still works fine.
I've tried again and again with all Roms (CM, MIUI Stock) but problem is still there!
i need your help! :crying:
Click to expand...
Click to collapse
I've had this problem when copy files in TWRP and then I can't delete them in Android even from terminal... Back to TWRP file manager and deleted them...
Probably not the same problem as yours but I thought I will mention it...
Didn't realy bothered to figure it out but must be permissions/ownership related...
nijel8 said:
I've had this problem when copy files in TWRP and then I can't delete them in Android even from terminal... Back to TWRP file manager and deleted them...
Probably not the same problem as yours but I thought I will mention it...
Didn't realy bothered to figure it out but must be permissions/ownership related...
Click to expand...
Click to collapse
so...why i can not copy / delete ... them even i reinstall Stock Rom with clean install by Flash?
ok. now i know why...
k1n9n0th1n9 said:
ok. now i know why...
Click to expand...
Click to collapse
... and...?
nijel8 said:
... and...?
Click to expand...
Click to collapse
i reinstall Stock, everything works fine and i think there's some folders (or files / hidden files) in the internal memory (made by Stock when boot up) , they assume the permission to read and write every file :-?
before that, I had to clean up the internal memory in which important files erased
solved....
now i can delete/copy all folders and files i want :laugh:

Question Recover directory in root folder after system reset?

I hope someone can help me out how i can recover a foder from my root folder after i had to restor my phone to factory default because of a boot loop.
My phone:
Oneplus 9pro
Android 12
non rooted !
i cant use any tools on my PC as i doesnt reconize the phone as a drive :-(
all the app only look for photo's in the standard directory, but i had some of the photos moved to a folder in my root and the recovery apps dont look there.

Categories

Resources