[Q] any way to change startup screen? - Nook Touch General

Instead of informing me that my nook is starting up in several languages can I change it to something else?

which firmware do you have?
with glowlighter 1.1.5 the files to edit are in the framework-res.apk.
I changed files in /assets/images/gossamer/
there are others in /res/drawable-mdpi/ that I also changed.
if you have firmware 1.2 then the files are in a different place.

Related

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK

REQUESTING HELP Editing and creating NEW flipfont APKs

I have been working on this issue for most of the day over in the Vibrant forums.
I am posting here in hopes of getting someone who knows more about apk editing and fonts then I do to help out.
Link to the post on the XDA Vibrant forum here
Please post your response there. Once the issue is solved I will repost a walk-through on all Galaxy S forums.
Here is the start of my thread, please read the link to see the progress.
I am aware that there are other ways to edit the fonts on our phone, by replacing renaming the default font. This is NOT what I would like to accomplish.
Since the Galaxy S is the first android phone to use Flipfont, I think we should take advantage of it. It gives us a nice preview of the font in the built in menu option and is thus superior to the other methods.
I originally purchased the Bauhaus font from the market and made a backup of it through ASTRO. After pulling the file from my phone and putting it on the computer I started editing the file with Apk Manager 4.8 found here
Steps preformed
Copied original apk into place-apk-here-for-modding folder
Run script.bat and choose option 9 ***this maybe where the issue is as I may need to choose option 10 and include the dependancy if there is one for the flipfont apk.
replace bauhaus.ttf with a .ttf font of my choosing
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file *** I did not change any of the other coding so again this maybe where the problem is, as I may need to change something else to have the font act properly.
Edit the last folder name in the smali folder tree from bauhaus to the name of my font
Replace font with custom font and replace the preview image with my own
Compile apk
Sign apk
Rename apk
install apk on my phone
After putting the apk on my phone and installing the file, it shows up as expected in settings>Sound and Display>Font style. The font thumbnail shows up properly as does the font preview. The preview does show up a little larger then the other fonts and may be a sign that the font is not optimized properly or that I missed something in the XML.
After applying the font and restarting, the phone is extremely slow, freezing quite often and the font does not show up, it shows the default font instead.
If anyone that knows more about XML or apk editing/creation can help it would be great.
I have included the edited font apk if you would like to download it and run it through Apk Manager 4.8. If you want to try it with the bauhaus or one of the other fonts you will need to buy it from the market and back it up. (trying not to break any rules here.)
[EDIT][More info] Ok I took a closer look at the font that came with the Bauhaus akp
In the discription of the font it list:
OpenType Layout, Digitally Signed, TrueType Outlines
I know that opentype is a new format and that alot of the fonts for OpenType that I find are made by Monotype, the same people that make the fonts available for download. I think this may have something to do with it or maybe Im just grasping. :ºp
Any font guys out there have any info on this?
CAUTION THE FOLLOWING FILE IS NOT MEANT FOR USE AND WILL CAUSE YOUR PHONE TO RUN SLOW!!!
Download Font APK
You only can use .ttf (true type font) any other type will not work,if you have a font u want to use but is not in .ttf then you need to convert it to .ttf, btw i prefer the Type Fresh app to manage and change my fonts is easier than the method you described.
Also, make sure the font has a full latin library. I learned the hard way from the TypeFresh app (which is a way better solution IMO). In its instructions which I only read the second time, one font (i believe its called DroidSansFallback.ttf) needs to have a COMPLETE set, including latin, I believe for certain coding going on somewhere. I bricked my phone within two hours of rooting it. Took three to get it back. (Backup people!)
Anyways, now I use TypeFresh, it gives you options on which system font to replace, and I never replace that one.
Hope this helps.

[Q] System files modification

Hi all actually i'm running DFT NAND ROM and i'm just wondering how can i modify the system files as they are read only (for istance i'd like to edit build.prop or gps.conf).
Sorry for the noob question
Thanks all
NO GPS
I'm not able to get GPS to Work no matter what Nand Rom I Use, I edited my GPS.conf with the us.pool.ntp.org still not locking on SATs
thesniffer said:
Hi all actually i'm running DFT NAND ROM and i'm just wondering how can i modify the system files as they are read only (for istance i'd like to edit build.prop or gps.conf).
Sorry for the noob question
Thanks all
Click to expand...
Click to collapse
You need to get root explorer. Google it for the apk. Then set your permissions to read/write in the app. Then you can easily modify those files.
Ok - other question, is there a way to modify or replace the file
/proc/calibration
I can replace the same file in two other locations (/system/etc and /etc) but not the one mentioned above. I tried with root explorer and adb - no success.
If not, i'll live with the generic mac-address
EDIT: i also tried a modified batch from mdj (I updated my kernel today with this one).

Changing font sizes in ReaderRMSDK.apk

I have used apktool to extract the smali files for ReaderRMSDK.apk for my Nook ST with glow.
Nook recently updated to version 1.2
edited the fonts sizes that are hard coded in /smali/com/bn/nook/reader/commonui/ReaderCommonUIConstants$3.smali
and then used apktool to backsmali
Then signed the new ReaderRMSDK.apk using drag2sign
I renamed the original apk to .apk.bak
rebooted
I then copy the new apk into /system/app/ReaderRMSDK.apk
rebooted
But the apk will not work.
Any suggestions as to what could be going wrong?
Can you elaborate on "will not work"?
Can you post a logcat from when it fails? A zipped full logcat is best as apk's are scanned at startup and sometimes produce useful error messages.
I thought we had this covered already once, but I can't seem to find it.
I'm not familiar with "drag2sign".
Have you re-signed your whole system or does "drag2sign" miraculously sign with the B&N signature?
Renate NST said:
I thought we had this covered already once, but I can't seem to find it.
I'm not familiar with "drag2sign".
Have you re-signed your whole system or does "drag2sign" miraculously sign with the B&N signature?
Click to expand...
Click to collapse
I haven't resigned the whole system - that is beyond me!
drag2sign uses framework-jar to sign the apk

[NST/G] Adding fonts

I'd like to add a font to my device for use with apps like Tasker and Minimalistic Text. From what I have read on the forum it looks like a matter of adding the font file to /system/fonts and (perhaps) rebooting.
Of course this does not work or I would not be writing this thread. Font files (I'm using TTF) handled in this manner do not appear anywhere. I cannot access them through Tasker (I can access each of the stock fonts that are present in the folder). Minimalistic Text is probably a separate issue and I may need to try and contact the developer on that one.
So...is there something else? Is there a font "table" somewhere that needs to be updated? Is there something special about TTF fonts for the NST/G which makes TTF fonts from other sources unrecognizable to the system?
I'd have to look how those apps access their fonts.
Normally in Android you only have serif, sans-serif, monospace.
They get mapped through /system/etc/system_fonts.xml
For fallback there is /system/etc/fallback_fonts.xml
For older B&N Reader, the fonts are selected directly by path in /system/fonts from a preset list of fonts.
For newer B&N Reader, the fonts are selected from raw resource assets (in Vendor.apk) from a preset list of fonts.
Renate NST said:
I'd have to look how those apps access their fonts.
Normally in Android you only have serif, sans-serif, monospace.
They get mapped through /system/etc/system_fonts.xml
For fallback there is /system/etc/fallback_fonts.xml
For older B&N Reader, the fonts are selected directly by path in /system/fonts from a preset list of fonts.
For newer B&N Reader, the fonts are selected from raw resource assets (in Vendor.apk) from a preset list of fonts.
Click to expand...
Click to collapse
Yes, on the original NST there is no /system/etc/system_fonts.xml, just the fonts in the /system/fonts folder and, I guess, some mysterious fixed list somewhere.
What I discovered by trial and error is that one sure way to get a new font is to rename the new font as one of the existing fonts. This, of course, eliminates the original font. I learned this the hard way when a "font installer" app did it without warning. Luckily I have two NSTs so I was able to restore the font.
Tasker cannot access anything but the three basic font types unless the text is in HTML format, but even there it can only access the fonts in /system/fonts and only those in the secret list. So no just dropping the font into the folder and rebooting.
Minimalistic Text turned out to be more amenable. Its issue is a generally poor install on the device. Perhaps there are permissions that need fixing. I corrected initial problems when I first got it by copying the settings.xml file from an installation of the same version on a KitKat device. The file from installation on the NST seemed to be malformed in some way. With the fonts (which are simply dropped into any folder you like), it would not create a global.xml file where the "where are they?" information was stored. So I did the same trick again and now that is fixed. In the end, this is an acceptable result for me because the purpose of the custom font is for a widget and the only remaining app through which this ancient version of Tasker can actually make a widget is Minimalistic Text.
Someone asked in another thread about adding fonts. This thread was first in the search I guess as one of the recent about this issue. I know that problem exist with limited choice of fonts for this device that people circumvent by renaming the font of their preferred choice as already existing one on device after safely backing up existing font. Just out of curiosity did someone tried adding these recently published fonts from respected source?

Categories

Resources