AmazFit [PACEfied] - fix for missing fonts on lockscreen - Amazfit

This is a "fix" for the missing fonts (Japanese in particular, but others might be missing...don't know) while the watch is in lockscreen mode. Any notification (message, mail, etc...) that uses the missing fonts will show up blank. This renders the notifications on the lock screen completely useless.
This is not an official fix, but it works.
I take no responsibility for any damage caused to your watch.
Note: You must have PACEfied installed in order to use this.
Steps:
1) Download Unifont from here: Unifont (i renamed it to unifont.ttf for easy read)
2) Connect your watch to the computer and do this procedure:
Code:
adb root
adb shell
mount -o rw,remount /system
exit
adb push /path/to/your/downloaded/font/unifont.ttf /system/fonts
adb shell
cd /system/fonts
mv DroidSansFallback.ttf DroidSansFallback.old
mv unifont.ttf DroidSansFallback.ttf
mount -o ro,remount /system
exit
Now reboot your watch and everything should work fine. If you do the partial update to future PACEfied it will still work, hope it helps!

Does the unifont also work for Hebrew?

nope, we've tried that font, it's not included in the small font packs, it does in the 13 megabyte font package, its insane to use that one.
perhaps there's a way of editing the full package and dropping out the irrelevant things and keeping the ones we want, but from the other hand ... who will decide what to keep and what to ditch ? @Neuer_User, as we discussed before, maybe there's a place for a additional font pack for flashing, with stock fonts?

Neuer_User said:
Does the unifont also work for Hebrew?
Click to expand...
Click to collapse
I did use a test lorem ispum in hebrew, it has it (the dev of the font confirms) but of course I cannot know for sure since I don't speak the language lol. 1immortal surely knows more about that.
Sent from my iPhone using Tapatalk

1immortal said:
nope, we've tried that font, it's not included in the small font packs, it does in the 13 megabyte font package, its insane to use that one.
perhaps there's a way of editing the full package and dropping out the irrelevant things and keeping the ones we want, but from the other hand ... who will decide what to keep and what to ditch ? @Neuer_User, as we discussed before, maybe there's a place for a additional font pack for flashing, with stock fonts?
Click to expand...
Click to collapse
I just posted this as I could not find another solution for Japanese that did not break the other languages. I use korean, english Japanese on a daily basis and missing one of them is kind of a big deal for me(and I guess all other people living in here lol)
This "fix" is the quickest I could come up with, but more than willing to test other ways!
Sent from my iPhone using Tapatalk

I finally succeeded changing font.
Is it possible install another font in the same way?

Wonho Lee said:
I finally succeeded changing font.
Is it possible install another font in the same way?
Click to expand...
Click to collapse
Yes it is. I used this font as it is the only one I am aware of that contains all kanji (chinese+japanese) + korean alphabet. If you have no use for japanese and chinese I guess you can simply change it with another font.

Related

Is it possible / OK to uninstall default apps?

Hi folks,
I have installed the Steel web browser and like it much more that the one supplied by HTC with the phone... is it possible to uninstall it and just leave Steel?
The above is just an example, my HTC hero has lots of stuff I don't really plan to use, ever. Is there a way to get rid of them FOR GOOD?
Thanks in advance!
frandavid100 said:
Hi folks,
I have installed the Steel web browser and like it much more that the one supplied by HTC with the phone... is it possible to uninstall it and just leave Steel?
The above is just an example, my HTC hero has lots of stuff I don't really plan to use, ever. Is there a way to get rid of them FOR GOOD?
Thanks in advance!
Click to expand...
Click to collapse
I'm so with you on this one...I've added Twidroid and turned off Peep but would love to completely delete it in order to avoid any conflicts. Also the default messaging program is a bit of a dog when compared to Handcent SMS.
There used to be a way on the WinMo 6 phones to change the registry values to allow deletion of TouchFlo UI programs but I've not been able to find anything online yet. Maybe it's too early in the phone's life for anyone to have cracked this.
At the moment, the only thing I can do is to make sure that notifications from default programs that I have replaced with better ones are turned off so that they only come from the new software.
I realise this doesn't help you (or me) very much but I'd pay good money to have an add/remove program that works on the default apps (ASTRO, Appmanager and OI File Manager do not seem to be able to access the default programs for uninstallation).
Does anyone with modding experience (obviously I don't ;D) have any suggestions on how to achieve this?
DBR
i have installed QuickUninstall app and it offers all the built in apps as well as the added ones....didn't try to delete any though, they don't bother me that much to toy with it just yet
Kewl...thnx for the heads up. QuickUninstall is downloaded. I'll try to get rid of Peep and the inbuilt message program and if something goes wrong I'll be back here begging for more help
DBR
I've had some success with Root Explorer - I've successfully removed the stocks app and the stocks widget.
Big pointer before you start on removing default or stock Rom apps is to MAKE A NANDROID BACKUP!! You can do this by booting the temporary Recovery image from the rooting thread here
http://forum.xda-developers.com/showthread.php?t=543571
That way, if you do mess up, you can restore the Nandroid Backup.
Just ask Auntie Dayzee (BTW I wish I was this sensible with other stuff in my life!! LOL)
I need to partition my hard drive and install Windows in order to use Nandroid and root the phone (you need to root it in order to use root explorer right?).
As soon as I find a way for the installer to find my hard drive I'll poke you for advice, thanks dayzee
Does anyone know what's the name of the web'n'walk app? Can't find it in the app folder.
It's not an app afaik, it's just a shortcut.
all it does is open the default browser to the t-mob web and walk homepage.
Oh.. do you also happen to know where I can remove it?
Nevermind, found it in the app folder as "urlshortcut.apk"
frandavid100 said:
I need to partition my hard drive and install Windows in order to use Nandroid and root the phone
Click to expand...
Click to collapse
As far as i understand, ADB works in Mac and Linux as well, you just need to prefix the commands with ./
or have i missed something?? there's no point installing windows if you don;t have to....
how did you do it?
Dayzee said:
I've had some success with Root Explorer - I've successfully removed the stocks app and the stocks widget.
Big pointer before you start on removing default or stock Rom apps is to MAKE A NANDROID BACKUP!! You can do this by booting the temporary Recovery image from the rooting thread here
http://forum.xda-developers.com/showthread.php?t=543571
That way, if you do mess up, you can restore the Nandroid Backup.
Just ask Auntie Dayzee (BTW I wish I was this sensible with other stuff in my life!! LOL)
Click to expand...
Click to collapse
Hi Dayzee,
noob here. i just rooted my htc hero and i have root explorer running.
can you explain how you removed those apps?
I want to ditch peep, footprints and possibly pc synchronization (if this is safe).
I am a little lost in this file directory structure...
...or could you point me to a really great link on this topic?
thanks so much,
sprinkles
had success using Paul's method on Modaco...all credit to him in my case.
http://android.modaco.com/content/htc-hero-hero-modaco-com/291521/if-you-want-to-remove-htc-sync/
Used a file explorer (astro in my case) to view the folder /system/app so that i could see what needed to be removed, but am now happily without Peep, Learn More, Stocks,HTC Sync, Mail etc.
adb remount
adb shell rm /system/app/xxxxxx
replace xxxxxx with the app you want to remove
HTC Sync - PCSCII*
HTC Stocks and Widget - *Stock*
Peep - *Twit*
Learn More - Learn*
Footprints - *Foot*
Mail - HtcMail*
there's plenty of others in there as well if you have a look. Just be sure to be careful what you delete, and remember that the app names are case sensitive.
The rooted 2.73 rom from Modaco works fine with this command, and i expect the Modaco custom roms will as well.
I used a similar method to get rid of some HTC app which kept bugging me since I upgraded to the new ROM (Peep, Stock, etc), works perfectly and no problem so far.
It's pretty straightforward, even for a newb like me, but if anyone is interested in the steps I followed :
0- Before doing anything that can mess up your phone, it's recommended to do a nandroid backup.
I'll explain how to backup each removed app individually, but we're never cautious enough !
1- Load the recovery image and mount the system:
Code:
fastboot boot cm-hero-recovery.img
adb shell mount /system
2- Get the list of app installed, spot the files you want to delete
Code:
adb shell ls /system/app/
3.a - First alternative : Backup on SDcard and delete
Mount sdcard.
Create a folder saveHtcApp.
Move (copy + delete in one go ! ) files from system/app to saveHtcApp
Code:
adb shell mount /sdcard
adb shell mkdir /sdcard/saveHtcApp
adb mv /system/app/Stock.apk /sdcard/saveHtcApp
adb mv /system/app/Stock.odex /sdcard/saveHtcApp
adb mv /system/app/com.htc.StockWidget.apk /sdcard/saveHtcApp
adb mv /system/app/com.htc.StockWidget.odex /sdcard/saveHtcApp
Then check that all worked right by doing some ls (Yeah, I'm found of double-checking)
Code:
adb shell ls /sdcard/saveHtcApp
adb shell ls /system/app/
3.b - Second Alternative : (don't do it after 3.a !) Backup on Computer and delete.
(on Windows, I assume Linux's folks won't need explanations to do the same on linux.)
Create a folder saveHtcApp : in the following example, in the working directory.
(Of course, you can make it anywhere, but it make the path smaller to work on working directory... and move the save folder afterwards)
Then pull (copy) the files from the phone to the computer.
Just to make sure, a little dir to see that all files were actually copied on the computer.
Code:
mkdir saveHtcApp
adb pull /system/app/Stock.apk ./saveHtcApp
adb pull /system/app/Stock.odex ./saveHtcApp
adb pull /system/app/com.htc.StockWidget.apk ./saveHtcApp
adb pull /system/app/com.htc.StockWidget.odex ./saveHtcApp
dir
Then, delete them :
Code:
adb shell rm /system/app/Stock.odex
adb shell rm /system/app/Stock.apk
adb shell rm /system/app/com.htc.StockWidget.odex
adb shell rm /system/app/com.htc.StockWidget.apk
4 - Reboot the device !
Hope that could help someone.
Tested on Brown French Hero, 2.73.405.5 ROM offi.
Brill stuff - I'm rubbish at the coding stuff - where does this back the apps up to? and what does the dot do? and if its pulling to the PC, does the slash have to go the other way?
Dayzee
Good question, I should have explain that a little
I'll update my previous post.
For the slash-thing... I'm always switching from windows to linux to windows, so I'm always confused between which slash use.
When I have issue with /, I try with \.
BTW, in the present case, I run all those lines on Windows 7 without any issue.
Edit : post step-by-step edited. Is it clearer ?
If anyone see anything to change or explain, just say so.
removing htc hero sucka apps
Tweedeldee said:
Good question, I should have explain that a little
I'll update my previous post.
Click to expand...
Click to collapse
great and thanks. while you were sleeping, i went in and did some removals; just the apk files. what about the .odex files?
I took these apps out at the knees
-peep
-footprints
-tutorial
any other suggestions?
thanks.
Hey, I wasn't sleeping ! Just finding a way to save on sdcard instead of pc and re-redacting the post ! >.<
I didn't knew what was an odex file either, so I googled it :
http://groups.google.com/group/android-framework/browse_thread/thread/70ee61a240edc84a?pli=1
They are created for a final system image. They are not required --
if they don't exist, the system will create them in /data during
boot.
Click to expand...
Click to collapse
I backuped them too, just in case...
For the suggestion, the list to remove is pretty simple : anything you don't use at all.
As long as you keep the backups, there shouldn't be any problem to put them back if there is any issue.
Of course, any app used by other apps must stay on the phone.
I removed :
Stock
Peep
Footprints
Tutorial
HTC Sync
rhedgehog says he removed HtcMail too.
removing htc hero sucka apps
Tweedeldee said:
Hey, I wasn't sleeping ! Just finding a way to save on sdcard instead of pc and re-redacting the post ! >.<
I didn't knew what was an odex file either, so I googled it :
http://groups.google.com/group/android-framework/browse_thread/thread/70ee61a240edc84a?pli=1
I backuped them too, just in case...
For the suggestion, the list to remove is pretty simple : anything you don't use at all.
As long as you keep the backups, there shouldn't be any problem to put them back if there is any issue.
Of course, any app used by other apps must stay on the phone.
I removed :
Stock
Peep
Footprints
Tutorial
HTC Sync
rhedgehog says he removed HtcMail too.
Click to expand...
Click to collapse
thanks dog.
technically, if you wipe the device and start over all these apps are reinstalled from the get go.
this list is great. i am going to do some more cleaning and move onto the next task of partitioning my storage.
dayzee did a wonderful job for that newb root posting...i wish there was locked how to list that was easy enough for anyone to:
-1- root the htc hero (completed)
-2- remove and replace htc's crapware apps (maybe this thread is part 2)
-3- partition storage (not seeing an easy way yet but downloaded apps2sd)
-4- recommended replacement apps and next steps
i'd be glad to help put this together, make it easy to read, make it pretty, etc.
-sprinkles
Not a bad idea, you're on your way !
I want a pretty, clean, post with colors, pics, screencasts, videos, nice fonts...
Good luck with that !
sprinkles said:
thanks dog.
technically, if you wipe the device and start over all these apps are reinstalled from the get go.
this list is great. i am going to do some more cleaning and move onto the next task of partitioning my storage.
dayzee did a wonderful job for that newb root posting...i wish there was locked how to list that was easy enough for anyone to:
-1- root the htc hero (completed)
-2- remove and replace htc's crapware apps (maybe this thread is part 2)
-3- partition storage (not seeing an easy way yet but downloaded apps2sd)
-4- recommended replacement apps and next steps
i'd be glad to help put this together, make it easy to read, make it pretty, etc.
-sprinkles
Click to expand...
Click to collapse
I agree - I've added Tweedeldee's method to the Hero Wiki which is here
http://wiki.xda-developers.com/index.php?pagename=HTC_Hero
and has some other guides - Sprinkles, there is also a Dayzee Walkthrough for installing MoDaCo Roms, including some tips on Aps2SD partitioning methods.
Hugs - Dayzee xxx

[MOD] Fix Protected Apps not Showing on FroYo

This is just a simple build.prop mod to fix the fingerprint back to the working ERE27 one used in CM. Everything in Settings still shows FroYo, but the Market sees you as ERE27 & thus gives you your protected apps back
To install run this from the directory you unzip the file to:
ADB Method:
Code:
adb remount
adb shell rm /system/build.prop
adb push froyo.prop /system/build.prop
adb shell reboot
Then, once it reboots, go into the dialer, and type
Code:
*#*#CHECKIN#*#*
which is
Code:
*#*#2432546#*#*
for those of you who are too lazy to read the letters
A message should pop up into the status bar after a few seconds depending on your connection speed saying checkin succeeded.
Now you're good to go, open Market and download away
EDIT: Since I know some of you will wonder what this does, it just changes the ro.build.fingerprint & ro.build.description settings back to ERE27. This alone would normally be enough, but you're depending on luck to when you next check in. Dialing that code in the Dialer will force a checkin.
EDIT 2: Thanks to Shafty023 here is a method for the shell:
LINUX SHELL METHOD
Copy froyo.zip to /sdcard, then open a Terminal shell on your phone
Code:
su
mount -o remount,rw /system
cd /system
mv build.prop new.build.prop
unzip /sdcard/froyo.zip
mv froyo.prop build.prop
rm /sdcard/froyo.zip
reboot
Upon booting back up, open Dialer and type in the following code
Code:
*#*#2432546#*#*
Once you see a notification in the notification bar that says checkin succeeded you can now open Market and are done.
Nice! Trying it now.
EDIT: Working great so far. Thanks!
athereal said:
Nice! Trying it now.
EDIT: Working great so far. Thanks!
Click to expand...
Click to collapse
testing it in a few minutes too.... [UPDATE: works like a charm!]
Nice job Geniusdog254! really nice
thanks!
Thanks, works great!
Grrr... adb has been broken for me for months. Any way to fix this without adb?
Part Four said:
Grrr... adb has been broken for me for months. Any way to fix this without adb?
Click to expand...
Click to collapse
Use one of the root file explorers to unzip the file, delete the old build.prop, put the new one in, and then type the command in the dialer
Works like a charm, thanks!
Worked great, THANK YOU!!!!!
I'm getting checkin failed. should I have renamed froyo.prop to build.prop?
edit: I'm able to see protected apps though.
So what happens when apps start getting udated to take advantage of JIT? If you have ERE27 signature do you get the JIT'less version of the apps? I know Replica Island is coming with a JIT version. I'm afraid to mess with anything right now, rather be patient and give it a few days.
dudebro said:
I'm getting checkin failed. should I have renamed froyo.prop to build.prop?
edit: I'm able to see protected apps though.
Click to expand...
Click to collapse
If you inserted this line correctly, it renames and places the file in its directory as build.prop
adb push froyo.prop /system/build.prop
Mikey1022 said:
If you inserted this line correctly, it renames and places the file in its directory as build.prop
adb push froyo.prop /system/build.prop
Click to expand...
Click to collapse
yeah, I was wondering if it worked because I was getting checkin failed.
bluehaze said:
So what happens when apps start getting udated to take advantage of JIT? If you have ERE27 signature do you get the JIT'less version of the apps? I know Replica Island is coming with a JIT version. I'm afraid to mess with anything right now, rather be patient and give it a few days.
Click to expand...
Click to collapse
Apps don't have to be updated to take advantage of JIT at all. They can be optimized but they can be optimized without JIT too. There are no different versions. JIT just converts the Java/Dalvik code into native code at app launch, instead of running it through the slower virtual machine. Its like C++ vs Java on a desktop, the native code (C++) is much faster when executed.
The only thing this will lead to is when apps start showing up in the Market as 2.2+ only, but by that point Google will have updated the market to recognize the new footprint.
Can someone give an example of a "Protected" app? If its worth anything, im assuming its paid apps. If so, i can see them without a modded build.prop.
serialtoon said:
Can someone give an example of a "Protected" app? If its worth anything, im assuming its paid apps. If so, i can see them without a modded build.prop.
Click to expand...
Click to collapse
I think Twidroid Pro is protected.
What I'm wondering is, if somebody swaps out the build prop but hasn't installed flash yet, would this block them from doing so?
serialtoon said:
Can someone give an example of a "Protected" app? If its worth anything, im assuming its paid apps. If so, i can see them without a modded build.prop.
Click to expand...
Click to collapse
Pure calender widget (agenda) is a protected app taht doesnt show up in the 2.2 market
Edit: Works perfect! Thanks.
If you are having problems with the checkin, make sure your on 3g and not WiFi.
Mi|enko said:
I think Twidroid Pro is protected.
What I'm wondering is, if somebody swaps out the build prop but hasn't installed flash yet, would this block them from doing so?
Click to expand...
Click to collapse
Nope, Flash still shows up in the Market top apps for me, but I already have it installed. Technically it probably should show up only on the 2.2 Market, but Google may not be able to filter that yet since they haven't enabled the 2.2 fingerprint yet. Just theories here, don't take anything I say too seriously
Also, a perfect example of protected apps is all the Gameloft apps. Search the Market for Gameloft. They won't show up on 2.2 without this, I tried multiple times
Geniusdog254 said:
Nope, Flash still shows up in the Market top apps for me, but I already have it installed. Technically it probably should show up only on the 2.2 Market, but Google may not be able to filter that yet since they haven't enabled the 2.2 fingerprint yet. Just theories here, don't take anything I say too seriously
Also, a perfect example of protected apps is all the Gameloft apps. Search the Market for Gameloft. They won't show up on 2.2 without this, I tried multiple times
Click to expand...
Click to collapse
Yea, im not getting any of the GameLoft games.
serialtoon said:
Yea, im not getting any of the GameLoft games.
Click to expand...
Click to collapse
Even after this?

[HOWTO] Droid-X multitouch keyboard

OK. I told someone I would go through this and come up with a quick HOWTO to get the Droid-X multitouch keyboard installed on the NC.
I really like this keyboard. It has predictive text and it also allows me to touch type when in landscape mode.
This HOWTO assumes that you have downloaded View attachment DroidX_Keyboard.apk <- [that is a link to the APK people!] to the same directory that your adb binary (adb on linux, adb.exe on Winblowz) is located in...
DO NOT CONTINUE UNLESS:
(1) You have at a minimum enabled non-market apps on your NC!!!
(2) You are willing to suffer through a single reboot to get the new keyboard loaded.
(3) In the unlikely event that something goes wrong, you're unable to go through the "revert to original keyboard" procedure listed in this post.
Note: If your computer is infected with the Bill Gates virus (you're running Winblowz), you will run adb.exe in the current directory instead of ./adb as I have in the HOWTO. My personal system is Ubuntu 10.04 LTS with android-sdk_r07-linux_x86.tgz installed.
OK... Here we go...
(1) Verify that View attachment DroidX_Keyboard.apk is in your adb binary directory:
$ ls -al DroidX_Keyboard.apk
-rw-r--r-- 1 tvo tvo 3256280 2010-12-08 22:07 DroidX_Keyboard.apk
(2) Verify that the MD5SUM for DroidX_Keyboard.apk is as follows:
$ md5sum DroidX_Keyboard.apk
c2ae341417585a2847765d9598575b20 DroidX_Keyboard.apk
If the MD5SUM doesn't match, DO NOT CONTINUE! (If you don't know what MD5SUM is, Google it. )
(3) Connect your NC to the USB port of your computer.
(4) Verify that you're in the correct directory and that ADB can see your NC. IE; Your ADB binary is in the same directory and things are OK with communications between the computer and the NC:
./adb devices
List of devices attached
xxxxxxxxxxxxxxxx device
Note: the x's will be the actual SN of your NC.
(5) If and ONLY if all of the above has worked as expected, continue with the following:
(6) Make a local (on your computer) backup of your original NC keyboard...
./adb pull /system/app/LatinIME.apk
You should see something like the following:
1408 KB/s (198321 bytes in 0.137s)
(7) Make another local copy of the original NC keyboard:
cp LatinIME.apk LatinIME.apk.nook.original.keyboard
(8) Run the following ADB commands:
./adb shell
# mount -o remount rw /system
# cd /system/app
# mv LatinIME.apk LatinIME.apk.bak
# exit
What we just did was mount the /system partion as RW and move the original keyboard to a backup file. Notice that we have three backups now. Two on your computer and one on your NC.
(9) Install the View attachment DroidX_Keyboard.apk with the following command:
./adb install DroidX_Keyboard.apk
You should see something like the following:
1782 KB/s (3256280 bytes in 1.783s)
pkg: /data/local/tmp/DroidX_Keyboard.apk
Success
(10) Reboot your NC:
./adb reboot
(11) WHILE the NC is rebooting, disconnect the USB cord.
When the NC boots up, you will now have the DroidX multitouch keyboard instead of the stock NC keyboard.
I know... I know... I could have written a script to do all of this for you. But, if you can't follow 11 very simple steps, um... Oh, nevermind.
How to REVERT TO ORIGINAL KEYBOARD...
If something doesn't work right or if you just want to go back to your stock keyboard, run the following commands from within your adb binary directory (the directory with adb or adb.exe in it):
./adb shell
# mount -o remount rw /system
# cd /system/app
# cat LatinIME.apk.bak > LatinIME.apk
# chmod 755 LatinIME.apk
# reboot
While the NC is rebooting, remove the USB cable.
When the NC reboots, your keyboard will be restored to the stock NC keyboard.
Simple, huh?
I've gone through this multiple times now trying to find any issues. It works flawlessly for me to switch back and forth between the two keyboards.
John - Your friendly neighborhood e-thug.
Worked for me without a hitch.
Has anyone figured out how to make the letters on the keys bigger? It's not a big deal but if possible it would be a 'good thing.'
I should add: Thanks for the instructions!
Any idea how to get the font/letters on the keys to display larger?
-CC
DyDx said:
Worked for me without a hitch.
Has anyone figured out how to make the letters on the keys bigger? It's not a big deal but if possible it would be a 'good thing.'
I should add: Thanks for the instructions!
Click to expand...
Click to collapse
Glad it worked out for you. I'm looking into making the keys bigger. Will post an update if I get it figured out.
Strapping on Flame Suit.
It didn't work for me. :-(.
Just kidding. It was simple enough. It's funny, I've been playing with Android for a while but never got into using adb. Partly because I never could get the SDK installed correctly, it was always a pain to use. I don't know which instructions worked, I tried a few, but this install of the SDK is working great and I can run adb anywhere. I've learned more about Android on the NC then my last 2 Android phones. I'm McLuvin it
If I could only get Swiftkey to work. This keyboard will do me fine till Switkey works.
Thanks.
You really made that complicated sarcasm boy.
Its really easy in Root Explorer. Thanks for the apk though.
Just curious, does this have swipe functionality?
Also, I haven't installed this yet, but as some of you are asking about getting the letters bigger, are these smaller than stock NC key letters?
Yes, the letters are quite small. The buttons themselves are larger, however.
Has anyone tried the Gingerbread keyboard?
EDIT, I guess it won't work on 2.1 roms.
Anyone know a keyboard that works but doesn't have the small letter problem the DROID X keyboard has?
donballz said:
You really made that complicated sarcasm boy.
Its really easy in Root Explorer. Thanks for the apk though.
Click to expand...
Click to collapse
If you think that typing a bunch of things on the NOOK keyboard compared to copy/paste to your computer is compliacted, sure.
Glad I could help you out. As for Boy... OK. Based on your moniker, I was in combat killing enemies YOUR AGE before you left your mommy's teet. That's OK though. You can call me boy if you must.
Figured out how to increase the font size on the keyboard.
I used apktool and decoded DroidX_Keyboard.apk posted by johnopsec. I took a peek at the xml in the LatinIME.apk and found that the NC keyboard has this setting android:keyTextSize="24.0sp" in /res/layout/input.xml.
It was as simple as copying that into DroidX_Keyboard's /res/layout/input.xml and rebuilding it. Obviously if you wanted a larger or smaller font-size it would be fairly easy to adjust. Anyway, I'm not much of a hacker but I figured I would share.
I also went ahead and removed the voice search buttons as they serve no purpose with our lack of a microphone.
I attached a screenshot as well as my apk, which installs(at least for me) just fine using johnopsec's method.
I take no responsibility if your NC explodes or bricks or turns into a unicorn.
rpollard00 said:
Figured out how to increase the font size on the keyboard.
Click to expand...
Click to collapse
Great work. Looks great on my NC. Thanks for your work!
Works great, thanks. One minor issue I'm having (using rpollard00's apk) is that in landscape, if I bring up the numeric keyboard, the "&" key shows as "&". Is this just me, or can you guys see it too?
ddenson said:
Works great, thanks. One minor issue I'm having (using rpollard00's apk) is that in landscape, if I bring up the numeric keyboard, the "&" key shows as "&". Is this just me, or can you guys see it too?
Click to expand...
Click to collapse
I see the same thing here. And it is very bold text. I'd actually like to see all of the letters this bold on the keyboards. Hey rpollard00, any chance of an updated APK?
Glad someone found a fix for the font size.
Now the next thing I'd like to see is someone getting the new SwiftKey 'HD' to work. It has a 31 day trial on the Market for anyone who wants to give it a shot. I'm eager to see it work because they just changed it to work better with higher res screens like the Galaxy Tab.
However, it's a keyboard that has it's own setup utility and requires you to turn it on in "Settings," which of course is hidden on the NC. So, I was unable to get it to work using the method applied to the DroidX keyboard.
johnopsec said:
I see the same thing here. And it is very bold text. I'd actually like to see all of the letters this bold on the keyboards. Hey rpollard00, any chance of an updated APK?
Click to expand...
Click to collapse
I fixed the &amp issue. I played around a bit to see if I could make all of the keys bold but I couldn't get anything working. I also restored the "<" symbol(anyone notice?), which I accidentally deleted when I fixed the &amp's in portrait mode. Oops!
I'll see if I can figure anything out with bolding the text after work, but no promises.
rpollard00 said:
I fixed the &amp issue. I played around a bit to see if I could make all of the keys bold but I couldn't get anything working. I also restored the "<" symbol(anyone notice?), which I accidentally deleted when I fixed the &amp's in portrait mode. Oops!
I'll see if I can figure anything out with bolding the text after work, but no promises.
Click to expand...
Click to collapse
Works great. Thanks!
Feel free to mock me, but I'm having problems. Here's the error I get:
$ adb install DroidX_Keyboard.apk
2385 KB/s (3256280 bytes in 1.333s)
pkg: /data/local/tmp/DroidX_Keyboard.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
I'd already installed SoftKeys_2.00.apk before attempting this, which may be the source of the issue. Any idea how to get my Nook to a state where I can successfully install the Droid X keyboard?
EDIT: Got it! You need to revert to the stock keyboard before you can install a new custom one.
I used root explorer, because I don't have ADB installed at work.
I made a copy of the stock keyboard file, and pasted it to my SD card. I then renamed the stock keyboard to LatinIm.apk.bak.
I then installed the new multitouch keyboard as a regular APK, it installed, and I rebooted. Voila, everything worked well.
(I figured I'd throw this in here in case anyone was wondering how to do it with root explorer...I know adb can sometimes be a little intimidating)
Is there a way to revert to NC original keyboard if i got the droid-x's with the Auto-nooter batch installation? I dont think it made any backup copies... Now im stuck with Droid-x i dont want at all...

[Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM

[Overlay] Enable Night Light, Auto-Brightness, Ambient Display & more on Treble ROM
Hello.
By default, phhusson's generic AOSP Treble ROM is bare bones. That means it does not include features such as Night Light, Ambient Display, or Adaptive Brightness. Luckily all you need is the right overlay and you can bring these features back.
I tested this on the Huawei Mate 10 Pro and everything seems to work save for the lift-to-wake gesture. I am not sure if a simple overlay can enable that, as I already target the right boolean value for it. As for Adaptive Brightness, the lux and corresponding backlight values were borrowed from the Huawei Mate 9's framework-res.
Update 2/19/18
With the release of phhusson's Android 8.1 Oreo Treble GSI, I thought I would take the time to update my overlay as well with a new feature: Always on Display. You can download the overlay from the attachment in this comment, and install it using the same set of instructions below (don't install the overlay attached in this post if you want AOD). Please read the warnings carefully. I accept no responsibility for anything you do with your phone.
Update 2/6/18
I have updated the attached framework overlay to include the following features:
WiFi automatic wakeup
Pinner service for the default camera app and critical framework files
This should work on any device that can boot phhusson's Treble ROM.
Installation Instructions
Download the attached overlay
With root, push the overlay to /vendor/overlay. Create the folder if it doesn't exist.
Run the following command in a rooted terminal or ADB shell:
Code:
chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk
Reboot
XDA Labs adds emojis in the command for some reason. Open this thread in a browser to get the right command.
Why do you need to run that command? Without it, the overlay won't be seen as installed and isn't enabled. I'm not sure why, but according to phhusson it's an SELinux-related issue and this command fixes that.
Enjoy!
What is the code?
独影阑珊 said:
What is the code?
Click to expand...
Click to collapse
Code:
chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay;chcon u:object_r:vendor_overlay_file:s0 /vendor/overlay/framework-res__auto_generated_rro.apk
Why?
独影阑珊 said:
Why?
Click to expand...
Click to collapse
It does not work because you have included spaces in the command that are not there.
tusko5 said:
It does not work because you have included spaces in the command that are not there.
Click to expand...
Click to collapse
Oh, thanks.
Hello, not working on mate 9, all commands OK - no output error (I added mount -o rw,remount /system and mount -o rw,remount /vendor) to copy your files, but even after reboot no new things
EDIT : after "installing" the app (click on it with a root explorer), all options are now visible but not working
how can i get the root access on the rom?
It is also not working on honor v9 .
mrassol said:
Hello, not working on mate 9, all commands OK - no output error (I added mount -o rw,remount /system and mount -o rw,remount /vendor) to copy your files, but even after reboot no new things
EDIT : after "installing" the app (click on it with a root explorer), all options are now visible but not working
Click to expand...
Click to collapse
If you install it as a regular app, it won't work. It MUST be pushed to /vendor/overlay manually, and you MUST run that command.
javawppp said:
how can i get the root access on the rom?
Click to expand...
Click to collapse
Install phhusson's SuperUser from the Play Store.
独影阑珊 said:
It is also not working on honor v9 .
Click to expand...
Click to collapse
Did you follow the steps exactly? This can't be installed like a regular app.
you did'nt read my post
I did all you wrote (I even add mount -o rw,remount /system and mount -o rw,remount /vendor) and nothing changed
AFTER that, I install the apk from /vendor/overlay using a root explorer and now the options are visible, brightness is working (I didn't saw it first), night mode is also working, ambiant display is also working but the option to turn on phone on pickup don't work.
So my bad, I didn't test it so much
MishaalRahman said:
If you install it as a regular app, it won't work. It MUST be pushed to /vendor/overlay manually, and you MUST run that command.
Install phhusson's SuperUser from the Play Store.
Did you follow the steps exactly? This can't be installed like a regular app.
Click to expand...
Click to collapse
When I try to open it as a regular app , my phone display it can not open .I am sure it be pushed to /vendor/overlay .,and I have run the commed and rebooted system at least 5 times.but it still useless.(I am sorry my English is poor.)
独影阑珊 said:
When I try to open it as a regular app , my phone display it can not open .I am sure it be pushed to /vendor/overlay .,and I have run the commed and rebooted system at least 5 times.but it still useless.(I am sorry my English is poor.)
Click to expand...
Click to collapse
You are running phhusson's AOSP Treble ROM, correct? What device?
MishaalRahman said:
You are running phhusson's AOSP Treble ROM, correct? What device?
Click to expand...
Click to collapse
Yes,My device is Honor V9.
独影阑珊 said:
Yes,My device is Honor V9.
Click to expand...
Click to collapse
Ah, okay. That is the Honor 8 Pro's Chinese version. Have you tried this ROM? https://forum.xda-developers.com/honor-8-pro/development/rom-t3714728 I was told by the dev that he included these features by default. You flash it the same way with phhusson's ROM.
MishaalRahman said:
Ah, okay. That is the Honor 8 Pro's Chinese version. Have you tried this ROM? https://forum.xda-developers.com/honor-8-pro/development/rom-t3714728 I was told by the dev that he included these features by default. You flash it the same way with phhusson's ROM.
Click to expand...
Click to collapse
Thanks,I will try it.
Took me a while to get it to work on my mate 10 pro, then realised I had to manually set the permissions on the folder, and file for it to work. Great job!
Is there a way I could edit the minimum and maximum brightness it reaches?
Thanks again
etern1ty said:
Took me a while to get it to work on my mate 10 pro, then realised I had to manually set the permissions on the folder, and file for it to work. Great job!
Is there a way I could edit the minimum and maximum brightness it reaches?
Thanks again
Click to expand...
Click to collapse
Ah, I forgot about that. I believe the folder permissions are 755 and the APK should be 644, correct? As for setting the brightness, do you want to increase the minimum and lower the maximum of the adaptive brightness?
MishaalRahman said:
Ah, I forgot about that. I believe the folder permissions are 755 and the APK should be 644, correct? As for setting the brightness, do you want to increase the minimum and lower the maximum of the adaptive brightness?
Click to expand...
Click to collapse
Yeah, that sounds right I just matched the other folders and APKs. I was hoping to decrease the minimum (so it's darker), I don't notice a big effect on my mate 10 pro.
Is there a guide for going about this? I'm interested to learn how to make these sorts of modifications myself.
Cheers
etern1ty said:
Yeah, that sounds right I just matched the other folders and APKs. I was hoping to decrease the minimum (so it's darker), I don't notice a big effect on my mate 10 pro.
Is there a guide for going about this? I'm interested to learn how to make these sorts of modifications myself.
Cheers
Click to expand...
Click to collapse
Decompile my overlay. Look in /res/values/arrays.xml. Look at "config_autoBrightnessLcdBacklightValues" array and change the first item, <item>6</item> to <item>1</item>. Build the APK, sign it, and then push.

Chinese days in english locked screen

Hi all ! , I know this matter have been over talked in many threads but still remains a problem to me .
I ve done almost everything that have been said over by respectful power users here like jprelay but with no result.
Could someone be so kind to point me to a tested working method ? thanks in advance
jordan41 said:
Hi all ! , I know this matter have been over talked in many threads but still remains a problem to me .
I ve done almost everything that have been said over by respectful power users here like jprelay but with no result.
Could someone be so kind to point me to a tested working method ? thanks in advance
Click to expand...
Click to collapse
jordan41 said:
Hi all ! , I know this matter have been over talked in many threads but still remains a problem to me .
I ve done almost everything that have been said over by respectful power users here like jprelay but with no result.
Could someone be so kind to point me to a tested working method ? thanks in advance
Click to expand...
Click to collapse
AFAIK the process is only working with a custom ROM that allows you write access to /system/app as it requires the HuamiWatchFaces2.apk to be replaced.
In an nutshell: you need
(I am writing all of this w/o access to my development machine, so there might be some typos here, bear with me - it assumes adb and java below are in your path, so if they aren't then you need to use the fully qualified path instead)
a) a working adb connection (which isn't as simple as it sounds, I e.g. need a Linux machine for this as my Win10 machine is not working reliably)
b) create a directory, move to it and execute
Code:
adb pull /system/framework/
[code]
c) rename the "mips" directory in the downloaded framework directory to "arm"
d) install apktools https://ibotpeaches.github.io/Apktool/ (a working java version is needed for this as well) to this working directory
e) download the watchface apk to your work-directory by
[code]
adb pull /system/app/HuamiWatchFaces2/HuamiWatchFaces2.apk
f) decompile it by
Code:
java -jar apktool.jar d -f -p framework -s -o HuamiWatchFaces2 HuamiWatchFaces2.apk
That should create a HuamiWatchFaces2 directory with the decompiled resources that you can modify now
g) copy the HuamiWatchFaces2.apk to another place, so that you can restore it, if the apk-creation does not provide the intended result
h) move to HuamiWatchFaces2/assets/guard/com.huami.watch.watchface.AnalogWatchFaceThirteen -
i) e.g. for German copy the week_0.png to week_6.png files from the android/de subdirectory to the ...WatchFaceThirteen directory overwriting the files contained here
j) move back to the top of your work-directory and recompile the apk:
Code:
java -jar apktool.jar b -p framework -c HuamiWatchFaces2 -o HuamiWatchFaces2.apk
k) copy the freshly created apk bakc to the watch (please note you need to remount the watch to make the filesystem writeable)
Code:
adb root
adb remount
abd push HuamiWatchFaces2.apk /system/app/HuamiWatchFaces2
l) reboot the watch and check whether the new watchface does work
Code:
adb reboot
m) if the watchface is not showing up, you want to restore the copy made under g) by using again step k) + l)
Thank you very much for the very detailed guidelines but i really cannot follow all that . for what is worth i m on stratosfied 2.0.38.1 english setup and i have followed your guidelines from the point where you gave us the HuamiWatchFaces2.zip . I tested pushing the de with perfect results but the en somehow didn't workout .
jordan41 said:
Thank you very much for the very detailed guidelines but i really cannot follow all that . for what is worth i m on stratosfied 2.0.38.1 english setup and i have followed your guidelines from the point where you gave us the HuamiWatchFaces2.zip . I tested pushing the de with perfect results but the en somehow didn't workout .
Click to expand...
Click to collapse
Hmm, I just recompiled the apk with the images under com.huami.watch.watchface.AnalogWatchFaceThirteen/en subdirectory instead of .../android/en ones - this works perfectly for me - can you please try the attached?
Sorry to inform you but after the pushing no watchface shows up (exept the apks) when i push back the original everything is back but with chinese lockscreen days
jordan41 said:
Sorry to inform you but after the pushing no watchface shows up (exept the apks) when i push back the original everything is back but with chinese lockscreen days
Click to expand...
Click to collapse
That's strange as it is working perfectly here... Can you confirm that the de-variant from this post is working for you (apart from the German language of course)?
You re right ! it does not work in none of all languages . I m sorry consider it my bad information .
It seems i m doing something wrong but what this could be ?
jordan41 said:
You re right ! it does not work in none of all languages . I m sorry consider it my bad information .
It seems i m doing something wrong but what this could be ?
Click to expand...
Click to collapse
Okay, I did not recompile the file but just replaced the corresponding images in the underlying zip file - let's see whether this makes a difference (still I am scratching my head why it's working sometimes and sometimes not...)
Thanks a lot guys, it works for me.
chtivain said:
Thanks a lot guys, it works for me.
Click to expand...
Click to collapse
That's great news, apparently the format of the slpt images needs to be much more strict than before... I'll post a fix for neuer_user to integrate in future releases.
Attached are the English / French / German versions to try out.
Its not working for me maybe we should give up i ll be using an apk watchface where everything is ok .
Thank you very much jprelay !!!
jordan41 said:
Its not working for me maybe we should give up i ll be using an apk watchface where everything is ok .
Thank you very much jprelay !!!
Click to expand...
Click to collapse
A pity, no language working for you? Have you installed something like AmazBoost?
jprelay said:
A pity, no language working for you? Have you installed something like AmazBoost?
Click to expand...
Click to collapse
i m testing the other langs now , no other application is running on the watch
No none of the others is working ...
I just want to notice that the original apk is up to 15.551kb and the modified one is 15.297kb
One last try for English
jprelay said:
One last try for English
Click to expand...
Click to collapse
Yes Sir !! You did it !!! This time it worked !!!
Many many Thanks !!!
Hello,
I noticed that since the version "2.0.43", the directory and the apk are no longer called "HuamiWatchFaces2", but "HuamiWatchFaces".

Categories

Resources