I have an i9505 running SlimSabre 5.1.1 that I want to get the rosemary font onto system wide. I already have it as a regular font, but I also wanna try getting bold italic and also bold italic working too.
I came across this during a search
the fonts in this link turned out to be faulty http://forum.xda-developers.com/showpost.php?p=36447385&postcount=11
these ones look much better just in case anyone wishes to use them:http://forum.xda-developers.com/showthread.php?t=2517357
it's looks promising, but I want to know is it likely to work ok for me ?
HTML:
ui_print("Super-Android Changing Fonts..!! ");
ui_print("Copying Fonts...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
ui_print("Setting Permission...");
package_extract_dir("system", "/system");
set_perm(0, 0, 0777, "/system/fonts/Roboto-Bold.ttf");
set_perm(0, 0, 0777, "/system/fonts/Roboto-BoldItalic.ttf");
set_perm(0, 0, 0777, "/system/fonts/Roboto-Italic.ttf");
set_perm(0, 0, 0777, "/system/fonts/Roboto-Regular.ttf");
unmount("/system");
ui_print("All done...");
ui_print("Do Hit the Thanks Button :) ...");
I noticed the permissions were different than the current defaults which are
xx_ x__ x__ or 644 and I just wanna check with someone else, even with a nandroid I don't like taking it for granted...
Aren't there any apps you can use to install the font?
GDReaper said:
Aren't there any apps you can use to install the font?
Click to expand...
Click to collapse
yes the ifont app works ok, I'm already using it, but it will only install one font to replace Roboto-Regular.ttf in //system/fonts/
that means apps and the system will still use the original fonts whenever something uses Roboto-Bold, italic or bold italic. I want to swap the those three as well to matching versions of my new font. my cautious nature just wants someone who knows to tell me flashing this will work or another way of overwriting fonts in system/fonts. it doesn't work with my root capable file manager.
Just backup the system partition and flash. If something goes wrong, restore the backup.
It certainly will be faster than waiting for that particular someone.
GDReaper said:
Just backup the system partition and flash. If something goes wrong, restore the backup.
It certainly will be faster than waiting for that particular someone.
Click to expand...
Click to collapse
true !
flashed it and the original files are still there
can anyone suggest a way of getting of getting these fonts into //system/fonts for me ? will I have to build my own zip ?
Delete them manually and copy your fonts there, then give proper permissions?
the system folder is read only. seems a root browser can do nothing in there
Then mount it manually using a terminal emulator with
Code:
mount -o rw,remount /system
Or use TWRP's file manager.
tried in TWRP, operation failed...
will give terminal a go, but do try with a root browser after that command or do I have to do it all in terminal ? I don't speak Linux see !
3mel said:
tried in TWRP, operation failed...
will give terminal a go, but do try with a root browser after that command or do I have to do it all in terminal ? I don't speak Linux see !
Click to expand...
Click to collapse
You use the command and terminal emulator to mount system, then use a root capable file explorer to copy the files. Don't forget to set the permissions.
that didn't work either. my file browser says the copy/overwrite went ok but when I look the file sizes remain as the original ones.
does it look like the command was ok in terminal (I really wouldn't know one way or the other).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3mel said:
that didn't work either. my file browser says the copy/overwrite went ok but when I look the file sizes remain as the original ones.
does it look like the command was ok in terminal (I really wouldn't know one way or the other).
Click to expand...
Click to collapse
You wrote the command wrong.
Try deleting the original files, then copy the modified files.
thank you, that finally got it working for me...
take comfort from the fact that you taught somebody something today :good:
Related
Does anyone have them and successfully installed them on the X?
I personally haven't tried them yet. Will let you know how they run on the X.
Check out this thread:
http://forum.xda-developers.com/showthread.php?t=872923
I read that after I posted this thread, but they do not work, atleast I haven't gotten them too on my DX.
I have it working on a gingerbread themed fission 2.3.1
Sent from my DROIDX using XDA App
What method did you use? The update.zip method or did you move the .apk file into the system? I tried the update.zip on my rooted X with the stock ROM and it did nothing.
Edit: I just moved the livewallpaper.apk file into system/app and it still didn't work. Maybe the Fission ROM adds something that lets it work?
Its only one live wallpaper. I manually moved it but don't forget to set permissions.
I used the update.zip file and it shows under live wallpapers as nexus.
Neither the update.zip or manually moving the apk installed this. Im on Apex 1.3 currently.
After you move the Nexus livewallpapers.apk to /system/app make sure to change it's permissions to User: R/W, Group: R, Others: R. After changing permissions, simply reboot and it'll automatically install.
By the way, make a backup of your original livewallpapers.apk (just rename it to livewallpapers.bak or something) before moving over the Nexus version.
johnclevenger said:
After you move the Nexus livewallpapers.apk to /system/app make sure to change it's permissions to User: R/W, Group: R, Others: R. After changing permissions, simply reboot and it'll automatically install.
By the way, make a backup of your original livewallpapers.apk (just rename it to livewallpapers.bak or something) before moving over the Nexus version.
Click to expand...
Click to collapse
Worked great on my X running Apex 1.3.
Ty!
johnclevenger said:
After you move the Nexus livewallpapers.apk to /system/app make sure to change it's permissions to User: R/W, Group: R, Others: R. After changing permissions, simply reboot and it'll automatically install.
By the way, make a backup of your original livewallpapers.apk (just rename it to livewallpapers.bak or something) before moving over the Nexus version.
Click to expand...
Click to collapse
I don't get it. I did this as well and it still hasn't installed..lol.
if you're trying the zip did you mount system for installing?
pjsockett said:
if you're trying the zip did you mount system for installing?
Click to expand...
Click to collapse
I just tried again and wouldn't install. Still the same LW that were originally there.
Breakthecycle2 said:
I just tried again and wouldn't install. Still the same LW that were originally there.
Click to expand...
Click to collapse
The Nexus one is the only one I could get to install. I had to use Fission Rom Manager to load Microbe.
You need to make sure to mount your system before the install as others have said. It might be worth downloading the update.zip again to be certain the full file downloaded.
Just throwing out ideas.
And since it wasn't in the thread this is what microbe looks like. It's pretty cool. you tap to put those little white dots on the screen. the red blue green and yellow microbes swim around eating it getting bigger then budding off into more little guys. there's actually kind of a lot going on. I think that's why it runs a little slower.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks DerArtem ( http://forum.xda-developers.com/showthread.php?t=914350 )
I modify for malata zpad,I think gtab is the same.
Add auto usb_modeswitch.
Support hauwei E1550-E1692-E1750-E1820,test on huawei E1750.
Edit init.rc in ramdisk, add:
Code:
on device-added-/dev/ttyUSB0
chmod 0777 /dev/ttyUSB0
on device-added-/dev/ttyUSB1
chmod 0777 /dev/ttyUSB1
on device-added-/dev/ttyUSB2
chmod 0777 /dev/ttyUSB2
on device-added-/dev/ttyUSB3
chmod 0777 /dev/ttyUSB3
on device-added-/dev/block/sr0
start usb_modeswitch
on boot
service ril-daemon /system/bin/rild
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio
service pppd_gprs /system/etc/init.gprs-pppd
user root
group radio cache inet misc
disabled
oneshot
service usb_modeswitch /system/bin/usbs
user root
disabled
oneshot
Repack boot.img
Edit system/build.prop ,add:
Code:
# for 3g
rild.libpath=/system/lib/libhuaweigeneric-ril.so
rild.libargs=-d /dev/ttyUSB2
keyguard.no_require_sim=1
Use with mobile option's setting.apk
my update script
Code:
show_progress(0.900000, 180);
ui_print("+-- installing USB 3G Pack --+");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
set_perm(0, 0, 00755, "/system/bin/chat");
set_perm(0, 0, 04755, "/system/bin/usb_modeswitch");
set_perm(0, 0, 04755, "/system/bin/usbs");
set_perm(0, 0, 00755, "/system/etc/ppp/ip-up");
set_perm(0, 0, 00755, "/system/etc/ppp/ip-down");
set_perm(0, 0, 00755, "/system/etc/init.gprs-pppd");
set_perm(1001, 1001, 00644, "/system/etc/ppp/pap-secrets");
set_perm(1001, 1001, 00644, "/system/etc/ppp/chap-secrets");
set_perm(0, 0, 00644, "/system/etc/apns-conf.xml");
set_perm_recursive(0, 2000, 0644, 0644, "/system/etc/usb_modeswitch.d");
unmount("/system");
assert(package_extract_file("boot.img", "/tmp/boot.img"), write_raw_image("/tmp/boot.img", "boot"), delete("/tmp/boot.img"));
ui_print("+------------------------------+");
ui_print("+install complete+");
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
great work, as always
I thought DerArtem's ril file only contained the GSM coding, no CDMA?
TheJesus said:
I thought DerArtem's ril file only contained the GSM coding, no CDMA?
Click to expand...
Click to collapse
yes,。。。。。
support for 4G usb modem from Clear...
Clear has teamed or merged with sprint and uses 4G Wi-Max. I have a USB modem but I can only get drivers for a windows machine....anyone able to get one to work....???
chenglu,
your system.rar only contain /system
no need to update boot.img like update.zip in this thread below?
http://forum.xda-developers.com/showthread.php?t=914350
tman7510 said:
Clear has teamed or merged with sprint and uses 4G Wi-Max. I have a USB modem but I can only get drivers for a windows machine....anyone able to get one to work....???
Click to expand...
Click to collapse
Pretty sure Sprint owns 51% of Clear or something.
As to your modem, it depends on which one. If its the Sierra Wireless 3G/4G USB modem, I made a thread about it and it never worked. Other than that, I don't know.
what is system.rar for?
replace those files in my gtab?
I have a Huawei E220 (VERY common in the Voda world) and for the US a ZTE tu25. Any thoughts on whether these have been made to work? I have a G Tab.
heinrich said:
I have a Huawei E220 (VERY common in the Voda world) and for the US a ZTE tu25. Any thoughts on whether these have been made to work? I have a G Tab.
Click to expand...
Click to collapse
Please try the ROM I build with Chenglu's support built-in and see if it works (Clemsyn+Calkulins Froyo combo). LMK how it goes.
heinrich said:
I have a Huawei E220 (VERY common in the Voda world) and for the US a ZTE tu25. Any thoughts on whether these have been made to work? I have a G Tab.
Click to expand...
Click to collapse
The Huawei should have no problem working. The ZTE, not so sure. If its GSM these files should work for it, but no guarantees.
clemsyn, do you know what I would need to do to get the E220 modem working under cyanogenmod 6?
You know there is zero support for cm6 on the tablet? Is was abandoned a few months ago.
thebadfrog said:
You know there is zero support for cm6 on the tablet? Is was abandoned a few months ago.
Click to expand...
Click to collapse
Shh, he'll never know
Great thanks)
TheJesus said:
The Huawei should have no problem working. The ZTE, not so sure. If its GSM these files should work for it, but no guarantees.
Click to expand...
Click to collapse
Noobish Question.
If I bought one of the usb modems that are enabled say in the new clemsyn / caulkin combo ROM, how would I use it to connect anything. I am on Verizon, how would I connect to its network.
Don't really understand the benefit here
sonkey said:
Noobish Question.
If I bought one of the usb modems that are enabled say in the new clemsyn / caulkin combo ROM, how would I use it to connect anything. I am on Verizon, how would I connect to its network.
Don't really understand the benefit here
Click to expand...
Click to collapse
It only works for GSM at the moment so no go for Verizon.
Crap....
Thanks for the reponse Clemsyn.
By the way I really appreciate all your work here, I use your clem / caulkin combo OC... It is fast and I love it.
Is there any plans for verizon support?
Thanks, Rob
Dont mean to be a leech but have to ask... Will there possibly be support for Cricket's (Pantech) U-185C dongle?
HI Chenglu, How do I install the System.rar file?
is it the same process as:
Installation:
1. copy the update.zip to a sdcard, and insert sdcard into folio.
2. Enter "Recovery menu" when folio is just turned on and press (POWER) once and (VOL up) next.
3. press (VOL up) Factory reset or system update.
4. press(VOL down) to continue to system update.
5. press (VOL up) to confirm system update.
6. during installation progress bar will show har far it is.
7. folio will reboot after installation.
So I accidentally deleted the original bootanimation.zip when I was trying to install another bootanimation. I paste a bootanimation.zip file in the system/media/ folder and reboot but I still get a black screen. I even tried the /data/local/ folder and again same results. Anyone know where I am supposed to be this file as nothing works? Thank you in advance.
Did you set the right permissions before rebooting? It's in /system/media and permissions is 'rw-r--r--'
Regards Dousan...
Dousan said:
Did you set the right permissions before rebooting? It's in /system/media and permissions is 'rw-r--r--'
Regards Dousan...
Click to expand...
Click to collapse
Did you make any progress on getting bootsound working dousan
you knopw what I completely forgot about the permissions. I will try it out and get back, Thank you.
And still nothing. K just to remind me there are the three boxes.
Owner
Group
Others
Under what order to I select rw, r, r? Just want to make sure since its been so long since i have messed with bootanimation.zip
jgregoryj1 said:
you knopw what I completely forgot about the permissions. I will try it out and get back, Thank you.
And still nothing. K just to remind me there are the three boxes.
Owner
Group
Others
Under what order to I select rw, r, r? Just want to make sure since its been so long since i have messed with bootanimation.zip
Click to expand...
Click to collapse
This is the settings:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hope this helps making it work
@androhero I'm no closer than when I got the play, I'm really just an end user with some basic knowledge and how to make this work is over my head But maybe when things get settled with the bigger development things going on one of the brighter heads here could take it on. One could think of freexperia team
Regards Dousan...
Thank you for the screenshot, I applied what you showed me and I am still not getting a bootanimation when I reboot. Still getting black screen. I will try a different bootanimation file, maybe the one I am using is bad or maybe the phone does not like it. Thank you for your help though Dousn I realy appreciate it.
Does anyone have any ideas as to why my bootscreen is not working?
jgregoryj1 said:
Does anyone have any ideas as to why my bootscreen is not working?
Click to expand...
Click to collapse
Make sure your bootanimation.zip is zipped up with no compression
jgregoryj1 said:
So I accidentally deleted the original bootanimation.zip when I was trying to install another bootanimation. I paste a bootanimation.zip file in the system/media/ folder and reboot but I still get a black screen. I even tried the /data/local/ folder and again same results. Anyone know where I am supposed to be this file as nothing works? Thank you in advance.
Click to expand...
Click to collapse
Open adb shell and try this
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
dd if=/sdcard/bootanimation.zip of=/system/media/bootanimation.zip
Then reboot and try again.
Introduction
As I like to stay connected via Putty to my Android phone, from time to time I missed the functionality of updatedb / locate that I so got used to within Linux environment.
I've decided to cross compile the findutils package (I couldn't get the latest version 4.4.2, but an older before, 4.2.33).
Screenshot
You can see the updatedb command followed by some locate commands.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installation
Busybox is required.
1. Copy the archive onto your /sdcard/ folder.
2. mount your /system folder as read-write
3. cd /system/
4. tar xf /sdcard/findutils-4.2.33.tar.gz
It is mandatory that you are inside /system/ folder when you extract the archive.
Then you have to create the database (using updatedb script). It will take a bit of time - but not too much.
Then you can use the locate command giving any part of a file name that you can remember, you can also use wildcards!
Observations
1. No integration with cron / etc. If you know your updatedb database is out of date, rebuild it using "updatedb"
2. Busybox comes with a /system/xbin/find command. The trouble with it is that it doesn't support the fstype argument, and thus, updatedb cannot prune some standard file system type paths. However, the bundled package here comes with its own find utility which unpacks into /system/bin/find.
3. Busybox is required for sort / sed, but updatedb script is patched to use the /system/bin/find (its own find executable) instead of the default busybox one.
4. My phone did not have an /etc/mtab file (list of mounts which mount is supposed to update whenever something happens). Thus, there is a line in the updatedb script which recreates that file on each updatedb invocation (mount > /etc/mtab). If you phone / tablet has it, please modify updatedb script and remove the mount command.
Download
Use it at your own risk!
findutils-4.2.33.tar.gz
This is great! Thanks for your work!
I hope that there will be a file manager for android which uses updatedb/locate to index/search files in the future, that would be sooooo awesome!
Don't know about other software that searches - but it would be nice too.
Maybe I can create something, but I'm sure there are others more integrated - such as looking in SMSes or in mails too, etc.
nice! find takes for ever lol now i have locate!
Any chance of getting the code. Did you create your own Android.mk? Did you use the FindUtils make?
When I run updatedb, I get these errors:
/system/bin/find: /preload: Value too large for defined data type
/system/bin/find: /storage/sdcard0: Value too large for defined data type
/system/bin/find: /system: Value too large for defined data type
/system/bin/find: /data: Value too large for defined data type
yelkarama said:
When I run updatedb, I get these errors:
... <snip>
/system/bin/find: /data: Value too large for defined data type
Click to expand...
Click to collapse
I also get this error
This doesn't work. Might have worked a couple years ago before 4.x Android...
Use something like es file Explorer
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
I will rebuild it in the weekend I think back in the days the file systems were only 32bit, and now a lot of phones have 64bit file systems ...
viulian said:
I will rebuild it in the weekend I think back in the days the file systems were only 32bit, and now a lot of phones have 64bit file systems ...
Click to expand...
Click to collapse
Thanks for your efforts, I guessed it needed a rebuild from a google, but given how long ago you posted this I didn't think it would happen. Looking forward to the update!
Sent from my GT-N7100 using Tapatalk
Please upload the new build
viulian said:
I will rebuild it in the weekend I think back in the days the file systems were only 32bit, and now a lot of phones have 64bit file systems ...
Click to expand...
Click to collapse
Hi
Please upload the new built binaries.
Thanks
Don't work with Oreo. Please make a update.
This is the loading animation seen in google wallet, and other areas in google play. here's a sample:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Boot animation has black background. For download, see attachments. 'loadingdot_bootanim_flashable.zip' is flashable through TWRP or CWM. I have also attached just the 'bootanimation.zip' (which is NOT flashable) if you'd prefer pushing it to /system/media yourself. Enjoy!
Looks very nice. Simplistic but effective.
player911 said:
Looks very nice. Simplistic but effective.
Click to expand...
Click to collapse
that's what made it attractive to me. with there was a was to set it as the loading spinner in android, but i don't think its possible because android uses one single-frame png and rotates it 360 degrees, rather than playing separate frames of an animated gif (correct me if i'm wrong).
I've stumped myself.
I've tried multiple ways. Flashing the flashable one. Pushing through ADB. Using a root explorer.
Nothing is working for me, it just shows the very old "Android" Silver/Grey boot.
mgear2 said:
I've stumped myself.
I've tried multiple ways. Flashing the flashable one. Pushing through ADB. Using a root explorer.
Nothing is working for me, it just shows the very old "Android" Silver/Grey boot.
Click to expand...
Click to collapse
Hi,
If you use the simple bootanimation.zip, you've ofc to change the owner/group to 0 0 and permissions to 755 (rwxr-xr-x).
Without those modifications, the system will not be able to execute it at boot.
I didn't try the flashable but I guess that the OP added the needed commands to set permissions.
Anyway, the idea is really nice but sadly, the quality is pretty low.
Sweet, that worked!
Thank you!
Here's a working CWM zip with the bootanimation.zip the OP made!
I've included a copy of my updater-script :good:
PHP:
ui_print("Bootanimation.zip");
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
ui_print("Deleting Old Bootanimation...");
delete("/system/media/bootanimation.zip");
ui_print("Copying Files...");
package_extract_dir("system", "/system");
ui_print("Setting Permissions...");
set_perm(0, 0, 0755, 0644, "/system/media/bootanimation.zip");
ui_print("Unmounting System...");
unmount("/system");
ui_print("Installation Complete");
:beer:
Edit: I see you're from Philly OP! GO BIRDS!! NFC EAST CHAMPS!
Xkz said:
Hi,
If you use the simple bootanimation.zip, you've ofc to change the owner/group to 0 0 and permissions to 755 (rwxr-xr-x).
Without those modifications, the system will not be able to execute it at boot.
I didn't try the flashable but I guess that the OP added the needed commands to set permissions.
Anyway, the idea is really nice but sadly, the quality is pretty low.
Click to expand...
Click to collapse
google had the animated gif available at 64x64 and 32x32. i used the 64x64 one but scaled it up to 96x96 (otherwise it looked tiny on the n5's hi-pixel-density screen). if you or someone wants to scale up the 64x64 gif in the OP without pixelation, i'd be happy to make it into a new boot animation.