Sony to Extend its AOSP Program to Other Devices

Sony will be offering its users the possibility to use AOSP ROMs as an alternative to the … more

Project Ara Smartphone Will Run Modified Android L with Hot Swapping

Project Ara is a very exciting topic–both for hardware and … more

Streamline Android Theme Customization with Graphic Porter

I dont have a custom theme on my Android phone, and the reason for this is because … more

Boost the Brightness of Your Sony Xperia Z1’s LED

I think the last time anyone has ever used a physical torch to find their earphones, … more
Post Reply

[Q] [RESOLVED] DroidSansFallback-htc.ttf replaced by the original when phone restarts

2nd February 2014, 03:31 AM   |  #11  
OP Junior Member
Flag Mebourne
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jan 2014
Thumbs up RESOLVED
I was able to resolve this issue easier than expected. This is what I did.
1. Boot the phone in to the Recovery mode( I have TWRP recovery installed)
2. Connected the phone to PC
3. From PC command prompt access a phone shell using I]adb shell[/I]
4. mount /system
5. Changed the properties like user, group and access permissions of my DroidSansFallback-htc.ttf to match the file in ROM's /system/fonts
6. Copy my DroidSansFallback-htc.ttf which has sinhala to /system/fonts( I made sure my original file was backed up)
7. umount /system
8. Exit from recovery and reboot

All works well
2nd February 2014, 04:08 AM   |  #12  
cr1960's Avatar
Senior Member
Flag Melbourne
Thanks Meter: 305
 
1,417 posts
Join Date:Joined: May 2007
More
Quote:
Originally Posted by uadissa

I was able to resolve this issue easier than expected. This is what I did.
1. Boot the phone in to the Recovery mode( I have TWRP recovery installed)
2. Connected the phone to PC
3. From PC command prompt access a phone shell using I]adb shell[/I]
4. mount /system
5. Changed the properties like user, group and access permissions of my DroidSansFallback-htc.ttf to match the file in ROM's /system/fonts
6. Copy my DroidSansFallback-htc.ttf which has sinhala to /system/fonts( I made sure my original file was backed up)
7. umount /system
8. Exit from recovery and reboot

All works well

glad you got it sorted.
there is a difference between being unlocked and running a rooted rom. unlocked means you can install a custom recovery which then means you can flash roms. the rom contains 'files' which provide the ability to change things, which unlocking the bootloader and flashing a custom recovery do not. if you were running a custom rom, simply replacing the font using root explorer would have worked the way you wanted without having to use adb commands.
2nd February 2014, 04:45 AM   |  #13  
OP Junior Member
Flag Mebourne
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jan 2014
I believe the phone is rooted.
Quote:
Originally Posted by cr1960

glad you got it sorted.
there is a difference between being unlocked and running a rooted rom. unlocked means you can install a custom recovery which then means you can flash roms. the rom contains 'files' which provide the ability to change things, which unlocking the bootloader and flashing a custom recovery do not. if you were running a custom rom, simply replacing the font using root explorer would have worked the way you wanted without having to use adb commands.

thanks for your comment. from all these I'm learning because i'm little new to android.
However I still believe my ROM OS is rooted. Because
1. After installing the TWRP custom recovery I installed SuperUser.zip by Koush to root the ROM
2. When I run root explorer it allows me to replace files into System folders with root access( Super User).

HTC has their own HTC Sense thing running on top of Android. Can that be replacing the system folders every-time it restarts? which is not happening in other phones.

Quote:

if you were running a custom rom, simply replacing the font using root explorer would have worked

Yes I would have fixed but I was only running my stock OS rooted.
Last edited by uadissa; 2nd February 2014 at 04:55 AM. Reason: more info
2nd February 2014, 04:52 AM   |  #14  
clsA's Avatar
Senior Member
Thanks Meter: 1,000
 
3,758 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by uadissa

thanks for your comment. from all these I'm learning because i'm little new to android.
However I still believe my ROM OS is rooted. Because
1. After installing the TWRP custom recovery I installed SuperUser.zip by Koush to root the ROM
2. When I run root explorer it allows me to replace files into System folders with root access( Super User).

HTC has their own HTC Sense thing running on top of Android. Can that be replacing the system folders every-time it restarts?

you need an insecure kernel .. thats why he's recommending you just flash a rom, it's much simpler
The Following User Says Thank You to clsA For This Useful Post: [ View ]
2nd February 2014, 05:08 AM   |  #15  
OP Junior Member
Flag Mebourne
Thanks Meter: 0
 
13 posts
Join Date:Joined: Jan 2014
Thanks
Quote:
Originally Posted by clsA

you need an insecure kernel .. thats why he's recommending you just flash a rom, it's much simpler

But I had a insecure kernal. That's why I had root access when I was in adbd shell and it allowed me to replace files into /system.
Last edited by uadissa; 2nd February 2014 at 05:22 AM. Reason: Change of opinion
2nd February 2014, 05:58 AM   |  #16  
clsA's Avatar
Senior Member
Thanks Meter: 1,000
 
3,758 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by uadissa

But I had a insecure kernal. That's why I had root access when I was in adbd shell and it allowed me to replace files into /system.

nope

this is from ARHD
Quote:

ROM details:

Removed software (CPU) rendering - full Snapdragon 600 (GPU) rendering
Fully optimized and tweaked
Root access
Unsecured boot.img
Newest BusyBox
RAM optimizations
System signatures check enabled for system security and safety
Improved virtual memory management
Speed optimizations
Enabled GPU UI rendering
Data, cache and system partitions mounting tweaks
Bloatware applications removed
All /system applications updated to latest available
All /data applications updated to latest available
Improved CPU governors performance
Most optimal system scheduler
Disabled kernel debugging for better performance
Zipaligned (Improved RAM management)
Zipalign on boot (for user applications on data partition)
Fully de-odexed
init.d scripts (BusyBox run-parts) support
Auto init.d permissions set on boot

sysro/sysrw commands support
Excellent battery life!
Improved EXT4 performance
OpenVPN support
Most up-to-date system files permissions
Adobe Flash Player support
Support almost 24h a day
...and many more!

you don't get all those things just by being Root
Last edited by clsA; 2nd February 2014 at 06:02 AM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes