[HOW TO and why] Change fonts in Windows Phone 7.8 - Windows Phone 7 Development and Hacking

If anybody have problem with wrong displaying the fonts in ROMs (I had after installing the Polish language into the WP 7.8) you need to know that the fonts in leaked 7.8 ROMs is wrongs. See below.
This is for Polish preview and Polish description (two on the top are from the Windows Phone 7.8 and two at the bottom are downloaded from the XDA Thread this post).
{
"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"
}
If you want to display them properly we need to copy the downloaded fonts to the Windows folder on the device overwriting the old ones and spftreset device. Fonts, whose we need call:
SegoeWP.ttf
SegoeWP-Black.ttf
SegoeWP-Bold.ttf
SegoeWP-Light.ttf
SegoeWP-Semibold.ttf
SegoeWP-Semilight.ttf
(below: left - before, right - after)

WARNING: Do NOT replace the SegoeWP fonts with random fonts downloaded from the net, will most likely break everything But if you did do that and file browser apps still do work and you find out you can't delete the custom fonts because they're in use, just rename them to something else then reboot. That should work.

Hmm but I wrote about replace to original fonts - I checked the first and it's works.

yeah cool, but how can i drop the files in the folder if wp device manager dont work few days ago it worked but now it won't start at all... any chance to pack this to a xap and install to a folder via provxml?

I using RootWebserver: http://forum.xda-developers.com/showthread.php?t=1459235 to copy files to the device and File browser: http://depositfiles.com/files/schkgx8mh to copy files to Windows folder.

Budniu said:
I using RootWebserver: http://forum.xda-developers.com/showthread.php?t=1459235 to copy files to the device and File browser: http://depositfiles.com/files/schkgx8mh to copy files to Windows folder.
Click to expand...
Click to collapse
i managed to copy them via wp device manager now, but the bug is still there... why?

File browser - only install xap file on device
WebRootServer:
1. install on device
2. turn on wifi (the same router with your PC)
3. launch app on device - in first and second lines you see login and pass - entering yours (anything)
4. below you see three lines with IP adresses (for you is last)
5. IP from third line entering in address bar in your web browser on PC
6. you see in window (on PC) login and pass - entering the same (point 3)
7. in window (on PC) you see few lines with tekst - for you "File system" - open it.
8. Tada - you see your phone in catalogs structure

Budniu said:
File browser - only install xap file on device
WebRootServer:
1. install on device
2. turn on wifi (the same router with your PC)
3. launch app on device - in first and second lines you see login and pass - entering yours (anything)
4. below you see three lines with IP adresses (for you is last)
5. IP from third line entering in address bar in your web browser on PC
6. you see in window (on PC) login and pass - entering the same (point 3)
7. in window (on PC) you see few lines with tekst - for you "File system" - open it.
8. Tada - you see your phone in catalogs structure
Click to expand...
Click to collapse
that is cool. wireless access i have copied now the 6 fonts but i think the seguisym.ttf is also corupt. if you write a sms and type in the letter "J" and after it some other letter it displays it "J a" instead of "Ja" if you open the font on your pc you will see it. is there a substitute font for that because on my wp 7.5 i dont had this problems... i feel like this font is lighter then it should be. if you type in a URL in IE on wp7.8 the font is to thin i think. it is thicker on wp7.5. i found a substitute for this font and it is thicker and like 7.5 it is called the same, and is it digitally signed and only the numbers are a little bit "not" segoe but the rest of the font is like it should be on 7.5
here is the link to the seguisym font http://www.2shared.com/file/OJy1qz_t/seguisym.html
if somebody has the orginal 7.5 from mango or tango i think it would be even better. but this fixes all other bugs. the bug was in email where you edit your email setting, and the name of the email service was to thin, now it is ok. the bug was also on tiping an sms, in IE on the URL tiping and on other places in the system.
forget the link above if you have an original 7.5 rom, dump it and find the hidden folder where the stock segoe fonts are. all fonts in this folder are correct now.

.... and thank you Budniu

When I try to copy the fonts, if I cut > paste I can see that only some of the fonts are copied to the fonts folder. The following fonts will not copy, presumably because they are in use? I've tried the local File Explorer and Touch Xplorer.
SergoeWP.ttf
SergoeWP-Black.ttf
SergoeWP-Bold.ttf
SergoeWP-Light.ttf
SergoeWPSemibold.ttf
SergoeWPSemilight.ttf
When I type the text is all patchy. Has anyone any other suggestions? I'm running the Omnia 7.8 ROM from here.
Thanks

at45 said:
When I try to copy the fonts, if I cut > paste I can see that only some of the fonts are copied to the fonts folder. The following fonts will not copy, presumably because they are in use? I've tried the local File Explorer and Touch Xplorer.
SergoeWP.ttf
SergoeWP-Black.ttf
SergoeWP-Bold.ttf
SergoeWP-Light.ttf
SergoeWPSemibold.ttf
SergoeWPSemilight.ttf
When I type the text is all patchy. Has anyone any other suggestions? I'm running the Omnia 7.8 ROM from here.
Thanks
Click to expand...
Click to collapse
the seguisym.ttf font is also wrong, donwload it too and replace it, and all these fonts must be pasted in the windows folder. not any other.
i use the fonts from my earlier 7.5 ROM, and they match about 90% but i think something else is messed up in 7.8 so that the font display wrong. i think the line spacing is wrong in wp7.8, or this is just an hidden function like in wp8 where you can have other sizes of fonts.

can someone please post a easy to follow TUT. I have not the slightest idea of what i should be doing.I justreally want to get rid of this 7.8 font its horrible

starsoccer9 said:
can someone please post a easy to follow TUT. I have not the slightest idea of what i should be doing.I justreally want to get rid of this 7.8 font its horrible
Click to expand...
Click to collapse
1. Download and unzip zip file from link in first post.
2. Select six file from unziped pack:
SegoeWP.ttf
SegoeWP-Black.ttf
SegoeWP-Bold.ttf
SegoeWP-Light.ttf
SegoeWP-Semibold.ttf
SegoeWP-Semilight.ttf
Click to expand...
Click to collapse
3. Copy these files to Windows folder on device via:
Budniu said:
I using RootWebserver: http://forum.xda-developers.com/showthread.php?t=1459235 to copy files to the device and File browser: http://depositfiles.com/files/schkgx8mh to copy files to Windows folder.
Click to expand...
Click to collapse
Budniu said:
File browser - only install xap file on device
WebRootServer:
1. install on device
2. turn on wifi (the same router with your PC)
3. launch app on device - in first and second lines you see login and pass - entering yours (anything)
4. below you see three lines with IP adresses (for you is last)
5. IP from third line entering in address bar in your web browser on PC
6. you see in window (on PC) login and pass - entering the same (point 3)
7. in window (on PC) you see few lines with tekst - for you "File system" - open it.
8. Tada - you see your phone in catalogs structure
Click to expand...
Click to collapse
4. By File browser copy file to Windows folder.
5. Soft reset device
Now you have new font.

Budniu said:
1. Download and unzip zip file from link in first post.
2. Select six file from unziped pack:
3. Copy these files to Windows folder on device via:
4. By File browser copy file to Windows folder.
5. Soft reset device
Now you have new font.
Click to expand...
Click to collapse
Regarding #4 there, it's actually possible to just put the files in the Windows folder directly using Root Webserver. It has full permissions to do so.

GoodDayToDie said:
Regarding #4 there, it's actually possible to just put the files in the Windows folder directly using Root Webserver. It has full permissions to do so.
Click to expand...
Click to collapse
You're right, but I wrote alternative method to

Web server doesn't seem to be working out for me. It's probably my laptop. What other ways are there to transfer these fonts to a phone?

drupad2drupad said:
Web server doesn't seem to be working out for me. It's probably my laptop. What other ways are there to transfer these fonts to a phone?
Click to expand...
Click to collapse
Try Windows Phone Device Manager works fine.

Can you explain the problem you're having with the webserver (either here, on its own thread, or in a PM)? Full repro steps for what you do, and any errors that you see? I'm working on a (*very* long overdue) next version of it, and if there's a bug in there that I can fix, I'd like to know about it now.
Thanks!

There are new fonts in 8853 and they seem smaller. So do the icons.

Budniu said:
1. Download and unzip zip file from link in first post.
2. Select six file from unziped pack:
3. Copy these files to Windows folder on device via:
4. By File browser copy file to Windows folder.
5. Soft reset device
Now you have new font.
Click to expand...
Click to collapse
Can i use this method to replace the system fonts with any font of my own choice ?
Looking forward to your reply.
Thanks

Related

[Tutorial] Mod your Galaxy S: dock, fonts, notification bar and more!

Modify Your Fonts​
This works with any font, even if you don't have two versions of it (Regular and Bold). Just make a duplicate of the font you want to use and rename the files to DroidSans.ttf and DroidSans-Bold.ttf. The fonts must be True Type (.ttf)!!!
Basically you need to replace the original DroidSans.ttf and DroidSans-Bold.ttf fonts from the Samsung's /system/fonts folder. There are two ways for doing this. Both of them need a rooted phone and yes, both of them can mess up your phone:
1. The mobile way (no PC needed)
- Copy the renamed DroidSans.ttf and DroidSans-Bold.ttf to the SD Card, copy them to the Samsung's /system/fonts folder and replace the original ones, using a file manager like Root Explorer mounted in R/W
2. The noob way
You must have the Android SDK Components installed.
- Go to Settings > Applications > Development and check the USB Debugging box
- Connect your SGS via USB to your computer. Do not mount in Mass Storage Mode!
- Copy a Command Prompt Window (for Windows 7 go to Start > Search > Type CMD and right click - copy it) in the android-sdk-windows\tools folder so you don't have to type all those "cd" commands and open it. Else type cd android-sdk-windows (or whatever the folder is named) and cd tools to get there
- Type adb pull /system/fonts/DroidSans.ttf and adb pull /system/fonts/DroidSans-Bold.ttf. You will see that the original fonts were copied to the \tools folder. Make a backup of them!!!
- Copy the renamed fonts you want to use (I have attached the renamed Confortaa.ttf) and replace the pulled ones in the MS Windows's adb\tools folder (again, make sure you've made a backup of the original fonts)
- Type adb push DroidSans.ttf /system/fonts/ and adb push DroidSans-Bold.ttf /system/fonts/
- Type adb reboot
I have attached the default fonts too, just in case
Later today I will make a video so all these instructions can be clear for everybody. I really don't have enough time for that right now, sry
Thanks sochet84 for the original idea
3. Thanks to SLX69's finding, there are some Flip Fonts that you just need to install and apply them from Settings > Display > Font style. Some of them are attached here.
Modify Your Notification Bar​
Follow the tutorial posted here. The credits go to MacaronyMax. Thanks!
I'm currently working on moding other things like icons, menu, keyboard and I'll keep you posted.
how did you change the taskbar ? exactly the transparent like this
Modify Your Dock
Modify Your Dock​
- Type adb pull /system/app/TouchWiz30Launcher.apk You will find the TouchWiz30Launcher.apk copied to the \tools folder. Make a backup!!! Maybe you'll need to put it back later.
- Open TouchWiz30Launcher.apk using WinRAR or an equivalent application and browse to the \res\drawable-hdpi folder, within WinRAR. Do not extract it!
- Drag and drop homescreen_menu_mainmenu_bg.png from the attached WhiteDock.zip in the \res\drawable-hdpi folder and close WinRAR
- Go back to the CMD window and type adb push TouchWiz30Launcher.apk /system/app
- Type adb reboot
The result is posted below. You can modify the homescreen_menu_mainmenu_bg.png image in any way you want and please post your results here. Of course, all those repetitive steps can be automated, but for the moment I don't have time to study how to. If you have any ideas, please post them, just don't brick anyone's phones
Edit: I have attached my TouchWiz30Launcher.apk files as well, in the .zip files. Can someone please try to push them to /system/app using adb, to see if they work, even if they're not extracted from their own phone? Note that I'm using an European SGS. Not working.
Post Reserved
Post reserved
Thank you man! This is handy!
How did you get the little moon and time like that? Is it in beautiful widgets?
Yes, it's Beautiful Widgets.
Sent from my GT-I9000 using XDA App
Great tutorial man! Very handy!
great tutorial! thanks!!!
Really nice, thanks!
Hi, i have a little problem.
I can pull the framework_res.apk onto my computer, but i cant push it back to the sgs, because i get an "permission denied" error.
Last login: Fri Aug 13 17:02:34 on ttys001
lukas-mac:tools lukasborek$ ./adb pull /system/framework/framework-res.apk
4476 KB/s (7174697 bytes in 1.565s)
lukas-mac:tools lukasborek$ ./adb push framework-res.apk /system/framework/
failed to copy 'framework-res.apk' to '/system/framework//framework-res.apk': Permission denied
Click to expand...
Click to collapse
Any suggestions?
thx
I have a problem with it...
I get the message:
failed to copy 'TouchWiz30Launcher.apk' to ' /system/app/TouchWiz30Launcher.apk'ermission denied
I run JM5 and on Win7 64bit if that's any help
Google for the Root Explorer app, instal and open it, press "Mount R/W".
Go to the system folder and long-press on it. Select "Permissions" and check all the boxes.
Do the same with the "framework" file.
Tell me if it works.
Sent from my GT-I9000 using XDA App
loinenavant said:
Google for the Root Explorer app, instal and open it, press "Mount R/W".
Go to the system folder and long-press on it. Select "Permissions" and check all the boxes.
Do the same with the "framework" file.
Tell me if it works.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Like a charm. Well I only tested the dock so far but I think I'll have a look to see what else is in that apk before I go to framework
Thx a lot
it works for the font. but how to undo it? i use the 1st method copy and paste. but somehow the font seems too small for me, how to switch back the original's?
If you didn't made a backup to put them back, you'll need to reflash. Or wait a few hours for me to post them here
Sent from my GT-I9000 using XDA App
i didnt know it was refering to the back up of the original font. blur me. i shall wait for u to post it here. really thanks alot!! actually this font is nice but seems abit small. haha if possible post more variety of fonts for us to choose from. hehe.
kindaichi24 said:
i didnt know it was refering to the back up of the original font. blur me. i shall wait for u to post it here. really thanks alot!! actually this font is nice but seems abit small. haha if possible post more variety of fonts for us to choose from. hehe.
Click to expand...
Click to collapse
Just Google for *.ttf fonts
Sent from my GT-I9000 using XDA App
i manage to found the file. thanks a million. anyway the glass notification bar tutorial i dont understand step 5 and 6. can elaborate on it? sorry for the trouble. i already pull out the framework-res.apk and its in the tools folder. but wad to do afterward???? i cant find \res\drawable-hdpi folder

[Guide]Running BackTrack5(Ubuntu Lucid v10.04) On Your ET4G!!!

-Found this little gem posted in this thread, located under the AT&T Samsung Galaxy S II Android Development Forum. So I decided to installed it on my phone and SURPRISE SURPRISE, turns out it works great on our Epic Touch 4G too !
-Anyways, you can follow the instructions which I've quoted right below, and they are also found in the link above. This installation/setup takes all but 5-10minutes if not less!!! Hardest part, if you wanna call it that(its really just the longest part), is downloading the required files. Once you've downloaded all 10 7zip files into a single location, just open ONE OF THEM and extract it by double clicking it and then dragging the bt.img file to your computer. AND you only have to do this to ONE of the downloaded files, no need to open each of them and drag out the bt.img 10 different times, BUT you do need to have all 10 of them copied into the same folder in order for the full image to extract correctly!
-Also, the instructions stated to run the following command:
Code:
su
cd /sdcard/bt
sh installbt.sh
startbt
bt
but they were made for the AT&T version, so on our phones you need to either:
a)copy the bt folder off of /sdcard/external_sd to /sdcard instead; or
b)use the following commands instead:
Code:
su
[B]cd /sdcard/external_sd/bt[/B]
sh installbt.sh
startbt
bt
-If you make use of it, please be sure to thank the originator of it, anantshri, on his thread here, and DooMLoRD on his thread here for assisting in porting it over from the Xperia10 to the SGSII! Good things!
{
"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"
}
DooMLoRD said:
\\----[ Announcement ]----//
[12/July/2011] Updated with new package (bt5_sgs2_shell_scripts_v2.zip) containing shell scripts & busybox
//----[ Announcement ]----\\
hi guys DooMLoRD & anantshri present to u:
BACKTRACK 5 on SGS2
all the work was done by anantshri, i mostly assisted by testing it on my SGS2 and modding it slightly so that it will work properly for SGS2... dont forget to thank him!
i will try n keep it short and simple...
for more details u can read the original thread at X10 sub-forums...
[DEV] BACKTRACK 5 on Xperia X10 chroot
[ Screenshots ]
on startup (shell):
in GUI:
phone + BT5 GUI:
[ Requirements ]
rooted device with busybox installed, if u are using CF-root kernel then u already have busybox installed
Some apps from Android Market:
Android Terminal Emulator
androidVNC
[optional] highly recomended keyboard: Hacker's Keyboard
7zip (for PC), for extracting the files
around 3.3 GB free on internal sdcard (/sdcard/)
[ How To : File Setup ]
u need to do this only once
download the files from the links provided in this thread
extract the files using 7zip to a temporary folder (needs 3.3GB free on that drive)
connect ur SGS2 to PC and mount USB storage
create a folder named 'bt' (without quotes) in the root of ur sdcard and copy the bt.img in that folder
also place the file bt5_sgs2_shell_scripts_v2.zip in root of sdcard, this file has to be flashed via recovery
once u verify that the above is correct then un-mount usb storage
reboot into recovery and flash the file bt5_sgs2_shell_scripts_v2.zip stored in root of sdcard (or if u are using CWM app then just select the file for flashing and the app will do the rest )
once ur phone reboots into OS just check the /sdcard/bt folder
final directory structure should look like this:
/sdcard/bt/bt
/sdcard/bt/bt.img
/sdcard/bt/installbt.sh
/sdcard/bt/startbt
/sdcard/bt/stopbt
once u verify that the above is correct then u can proceed
[ How To : Launch BT ]
start Terminal Emulator app on ur SGS2 and enter the following commands step by step (accept/allow any SuperUser request/popup that u may receive)
su
cd /sdcard/bt
sh installbt.sh
startbt
bt
now u are in BackTrack5 shell
to launch GUI (vncserver) enter the following command
ui
now note the number N shown localhost:N
e.g. as u can see from the above image that "New 'X' desktop is localhost:1", so N=1
the vncserver is running at (5900 + N, N=1 ; so server port is 5901)
now launch androidVNC app on phone and fill in the detials as follows
Nick : bt
Address : 127.0.0.1
Port : 5901
Password : 12345678
Username : <leave it blank>
Color Format : 24-bit color (4 bpp)
inside vnc window select input mode (i personally recommend the following)
TouchPad (here your screen works like a big touchpad use it to navigate mouse.)
and then press connect... now u are in BackTrack GUI!
if u want to exit/close BT5 then u need to follow these steps:
close the androidVNC app (Menu -> Disconnect)
go back into Terminal Emulator app and enter the following commands
u should be at this shell [email protected]:~#
killui
exit
now u will get back to this shell> #
now enter the following commands to stop bt and exit
stopbt
exit
exit
u can now exit the Terminal Emulator app
i would also recommend that u reboot ur phone
[ Important Info ]
root password is 12345678
[ Download Links ]
update.zip package containing shell scripts, busybox (which gets installed to temporary location) [to be flashed via recovery]
this will not disturb/conflict with busybox of ur ROM/CF-Root kernel
bt5_sgs2_shell_scripts_v2.zip (~800KB)
main bt.img
these links are 7zip archives split into 50mb files, u will need to download the following:
total size: 486MB
bt.7z.001 (50 MB)
bt.7z.002 (50 MB)
bt.7z.003 (50 MB)
bt.7z.004 (50 MB)
bt.7z.005 (50 MB)
bt.7z.006 (50 MB)
bt.7z.007 (50 MB)
bt.7z.008 (50 MB)
bt.7z.009 (50 MB)
bt.7z.010 (36 MB)
also uploading to mediafire for mirroring...
Mediafire Folder: http://www.mediafire.com/?f9gk3p3t9wip5
md5 hashes:
Code:
bt.7z.001 f19e769bf42b44867c8bb1d9bb9c5d44
bt.7z.002 a4dd26a98d2c6925d871fb108fb5fadb
bt.7z.003 ecca5a5d72c449117b1d3dbc23aeb1a2
bt.7z.004 8ad487a01e4d149f0247ad9288201f32
bt.7z.005 adab9cb3778cd8ac89ccc0e21997c3d7
bt.7z.006 ba6a28de70a1115dc316f45cea508215
bt.7z.007 f59757e891631607e1a35abadb231b3b
bt.7z.008 cdb8c28a1fbd03657bb42e8d69f0600b
bt.7z.009 426d892f872679e3d53d0ebb0376e138
bt.7z.010 c7d2957bc65340d967b9dd3646d7cb39
ENJOY!
Click to expand...
Click to collapse
ScreenShots
does injection and/or wep hacking works?
leond said:
does injection and/or wep hacking works?
Click to expand...
Click to collapse
Unfortunately it does not...I know the main purpose running BackTrack is being able to use its Networking Security Tools, but it is based on Ubuntu Lucid, v10.04 LTS, so you're still able to run a fully functional operating system on your mobile phone! ATM its more of a novelty than a practicality but Im hoping they find a way to turn the tables soon !
Double Post
Triple Post
Nice thanks for trying it and sharing it!
Question the 10 files that you say to download they can not be extracted? i tryed or am i doing it wrong and when i run commands it fails at bt and says chroot cant execute bin/bash no such file or directory help please!
can you still txt and make calls with this?? looks awesome tho
kyhassen said:
can you still txt and make calls with this?? looks awesome tho
Click to expand...
Click to collapse
It side loads it, so you still get all your notifications and phone calls, and if you just hit the home button it'll take you back to the android OS, it doesn't NOT replace it
donnyevo4g said:
Question the 10 files that you say to download they can not be extracted? i tryed or am i doing it wrong and when i run commands it fails at bt and says chroot cant execute bin/bash no such file or directory help please!
Click to expand...
Click to collapse
They ALL have to be downloaded into the same location before you can successful extract it. ie, if you have bt.7z.001 - bt.7z.009 and are missing bt.7z.010, it will not work....did you download and flash the zip? There's more steps than just extracting the bt image(10 7zip files), also just a heads up, when flashing the zip make sure to clear both cache and dalvik, or you may get an installation error...let me know if you need additional help
all ten of the files i downloaded and put into a folder called bt and i flashed the zip and did not get any error message i have 7zip on my pc and it does not even give me the option to extract what am i doing wrong when i right click on the files and go to properties the file type is not a unzippable file
donnyevo4g said:
all ten of the files i downloaded and put into a folder called bt and i flashed the zip and did not get any error message i have 7zip on my pc and it does not even give me the option to extract what am i doing wrong when i right click on the files and go to properties the file type is not a unzippable file
Click to expand...
Click to collapse
Gotcha! wasn't really sure what kind of error you were having but if that is it, all you need to do is double click on any one of the files, I used the bt.7z.001, and when it opens, just drag the bt.img file to your desktop, and let it extract! Its not really a zip so thats why it doesn't have an option to extract it in the menu but again just double click on anyone of them and you'll be all good broda!
ok i got the one file to extract but the others wont now what do i do once i have that image file do i put it in the bt folder and then run commands?
donnyevo4g said:
ok i got the one file to extract but the others wont now what do i do once i have that image file do i put it in the bt folder and then run commands?
Click to expand...
Click to collapse
-Yup you got it! They way 7z file work is that it evenly breaks a larger file down into multiple smaller .7z files.
-In this example, the bt.img file is about 486MB. So, 9/10 of the bt.7z files are 50MB each and then the 10th file, holding the remain bytes, is 36MB. So once you have them all downloaded into the same location, you can open ANY one of them and drag its content to the hard drive, and it will extract the entire 486MB, using all of the files. And you only have to do this ONCE, you DON'T have to open each of them and drag all of their content out.
-So yea, now copy the bt.img file to the bt folder located in the /sdcard/external_sd folder, and then copy the entire bt folder to the /sdcard folder instead(Im guessing the ATT version doesn't have an external sd card, cuz the cd /sdcard/bt command is for the /sdcard location and not /sdcard/external_sd, which is where flashing the zip places the bt folder). So in the end you're going to use this /sdcard/bt folder and not /sdcard/external_sd/bt...EDITED..and don't quote me on the .7z file sizes from above, not really sure how large they are cuz looking at the file now in my phone its 3.26GB, I was using 50MB for an easy explanation and arguments sake only, thx...and Im actually gonna update OP w/ the step needing to copy the bt folder from the /sdcard/external_sd location to /sdcard instead
now im getting a chroot error when i type bt it says chroot execute bin/bash innput/output error? HELPPPPP
donnyevo4g said:
now im getting a chroot error when i type bt it says chroot execute bin/bash innput/output error? HELPPPPP
Click to expand...
Click to collapse
post exactly what you have done so far and what commands you are able to enter successfully and at what command you are getting the error, thx
Posting now stay online
Heres the error im getting look towards the bottom
donnyevo4g said:
Heres the error im getting look towards the bottom
Click to expand...
Click to collapse
ok and where's the rest of the info I asked for?
i can only fit so much in the screen shot what else you looking for

[CM9/AOKP][HOW TO] Change the background image of your settings menu/Dialer/Contacts

Hi all,
This guide is split into two parts as of now , part 1 is for changing the settings menu background and part 2 is for changing the backgground for dialer and contacts.
Part -1
may be this method is known to few but im posting this to people who dont know how to change the background image of the settings menu and other few.
Sample screenshots
{
"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"
}
Like it?
here is the method to do this.
Software needed :
1.7zip (to replace the image)
2.android sdk(to use adb commands to push/pull the files)
How it works:
We are modifying/replacing an image called "background_holo_dark.png" in the "framework-res.apk" which is responsible for displaying background images in menu.
Step 1:
Use the following adb command below to pull the "framework-res.apk" from your mobile to pc.
Code:
adb pull system/framework/framework-res.apk
Step 2:
Open the framework-res.apk via 7zip and navigate to the following directory
"framework-res.apk\res\drawable-nodpi\", you will see a file called "background_holo_dark.png". Delete the image and dont close the 7zip.
Preparing your own image:
Now use any png image you want to set as background , resize it to 512 x 512 via mspaint or any other image editing software and rename the file to "background_holo_dark.png".
Drag the newly created image file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push the file back to mobile, type the following command in the same command prompt
Code:
adb remount
now type the following
Code:
adb push framework-res.apk system/framework
Step 4:
Now reboot your mobile, you will have the new background image enabled
Part-2
Wanna change the background of the dialer and contacts?? well read below,
Step 1:
Use the adb command (or u can use root explorer) to pull the "Contacts.apk" from your mobile to pc.
Step 2:
Open the Contacts.apk via 7zip and navigate to the following directory
"Contacts.apk\res\drawable-nodpi\", you will see a file called "background_dial_holo_dark.png". Delete the image and dont close the 7zip.
Drag the image (similar to the one created in part 1 of the guide) file back to 7zip(to the same directory where the old file is deleted) and close the 7 zip .
Step 3:
Now its time to push/copy back the file back to mobile. Copy back the file to the same directory from where it is copied.
Step 4:
Now reboot your mobile, you will have the new background image enabled
Your dialer and contacts shortcut may be missing from your launcher, just drag it back to the homescreen from the app drawer.
Step:5
This step is optional!!! If you do not get those shortcuts, enter cwm and wipe cache and dalvik cache.
Sample screenshots.
Note:
For users who know how to use root explorer can use the same to copy/paste the framework-res.apk before and after editing.
Sample images are taken with 160 dpi, this mod will work with all dpi.
credit:
vertimus (thanks to him , he helped finding the right image to replace)
you can find some ready to use backgrounds in this post ... will be updating this post when i find something beautiful for a background
updated with a few more images
Now the journy began, will try it soon
For those who don't have the sdk tools...
Root explorer can also be used in order to copy the framework-res.apk and after editing paste it again.
mitsos89 said:
For those who don't have the sdk tools...
Root explorer can also be used in order to copy the framework-res.apk and after editing paste it again.
Click to expand...
Click to collapse
Yeap
But doing this, just after copying, the phone made a small reboot. And after, I had the new background image
(I try with adb remount, but this command doesn't work...)
So I did it with ES Explorate
Black background
Thanks for this tutorial. Was having trouble using root explorer so I just used ES File Explorer and that worked fine. Finally have the black background I love in Settings.
Link is below for anyone that wants it
works also fine for non CM9 Rom, but the category bars (interface, device etc.) are not transparent. How to change it?
Thanks and Greetz
kr4mb3
Why developers from S2 not developing themes for ICS?
kachrukamble said:
Why developers from S2 not developing themes for ICS?
Click to expand...
Click to collapse
i think it will take some more time as still there are many users using gb. once ics hits stable , then we can see hell lot of themes
updated with a few more images, people who try this mod do post their background image in this thread so that it can be shared
wow i don't know the process was that easy.. also working on aokp and maybe cna rom since both cm9 based.. if no 7zip present Winrar could do the job..
here's mine..
background:
the background also effect other app that uses standard android framework
mass esolle
Here is mine.
Thanks bala_gamer for the info sweet as nice and simple cheers.
Heres mine:
mm i put the file in but didnt work.. is it the same file for ics roms
xinfinityoO said:
mm i put the file in but didnt work.. is it the same file for ics roms
Click to expand...
Click to collapse
you mean samsung ics roms? if you are using the stock theme for samsung roms then replace the following file in the same directory
"tw_background_dark.png".
If you are using themed samsung roms then you can give this guide a try
xinfinityoO said:
mm i put the file in but didnt work.. is it the same file for ics roms
Click to expand...
Click to collapse
Which rom you are using???. Let me know so i can help you.
thanks allot working what about other background like menu button also for dial-pad how to make it transparent ...... etc
I've been trying this more ever and I couldn't get it to work. I had it once but as soon as I flashed a theme of CM9 it was over-written and if I try to replace the file I always get a bootloop. And even worse is that I can't install Java for the pc program so if anyone can give me a step by step on how to do this with root explorer and 7zip that would be very appreciated
frigers said:
I've been trying this more ever and I couldn't get it to work. I had it once but as soon as I flashed a theme of CM9 it was over-written and if I try to replace the file I always get a bootloop. And even worse is that I can't install Java for the pc program so if anyone can give me a step by step on how to do this with root explorer and 7zip that would be very appreciated
Click to expand...
Click to collapse
its the same with root explorer
1. copy the framework-res.apk to your sd card.
2. edit the apk using the same procedure in the 1st post.
3. now copy the file to sdcard.
4. copy back the file from sd card to system/framework
5. set the permission as follows in root explorer
OOX
OXX
OXX
6.reboot
bala_gamer said:
its the same with root explorer
1. copy the framework-res.apk to your sd card.
2. edit the apk using the same procedure in the 1st post.
3. now copy the file to sdcard.
4. copy back the file from sd card to system/framework
5. set the permission as follows in root explorer
OOX
OXX
OXX
6.reboot
Click to expand...
Click to collapse
Do we need to re-sign the APK after pasting the image in the zip file? or we can simply put this APK back to the framework folder?
EDIT: Nevermind.. it works!! without re-signing the apk. thanks.

[GUIDE] Full FileSystem Access over SFTP / CMD over SSH on Windows 10 Mobile

Hi all,
This guide uses the built-in SSH server on the phone that gets activated once you enable Device Discovery to give us TRUE full file system access. MTP doesn't truly give full file system access as there are files and folders that aren't accessible still.
NOTE: The automation of the steps listed in this whole guide has been incorporated into an easy GUI within @gus33000 's app called Interop Tools. Big thanks to him for taking the time to simplify this whole process.
Many thanks to @gus33000 [For the simplification and guinea pig process ] and @black_blob [ For making me try the UMCIAuditMode trick again]!
Manual Steps for SFTP
Tools needed
@djamol's Root Tool , or even the OEMSetting.reg tweak that @WojtasXda came up with
Some SFTP program (Swish Easy SFTP works the BEST, WinSCP works second best, but for some reason it can't read the root C: drive from SFTP).
Steps:
If you're using @djamol's Root Tool, use @vcfan's Lumia Registry Editor for this
The following keys should be set to the following string values under the Path of System\Currentcontrolset\control\ssh\sirepuser
Represented in this guide as key: value
stfp-home-dir : C:\
default-home-dir : C:\
sftp-mkdir-rex : .*
sftp-open-dir-rex : .*
sftp-read-file-rex : .*
sftp-remove-file-rex : .*
sftp-rmdir-rex : .*
sftp-stat-rex : .*
sftp-write-file-rex : .*
auth-method : password
user-pin : 1234
After you've verified that at least one of these keys have been set, exit the app
[*] Go to the phone settings app and put your Windows 10 Mobile phone in Developer Mode, activate Device Discovery then turn on Pair mode
[*] Pair to your phone using WConnect, either from usb connect mode ("wconnect usb") or IP (wconnect youripaddress) using the pin on your device
[*] When this is complete, go to %USERPROFILE%\appdata\local\Microsoft\WConnectSrv. In this directory, you should see a privkey.pem file. Hold on to this
[*] Open up PuttyGen, click on the Conversions menu and then click Import key. Point to the path that contains the privkey.pem file, then press Okay
[*] Back in PuttyGen, click on the Save private key button and then save the .ppk file off somewhere that you'll remember.
[*] Open Pagent, click Add key and point to the .ppk file you generated before. You'll want to make sure this is ALWAYS running.
If using Swish
Go to Windows Explorer, dbl-click on the Swish icon under Devices and Drives. Click on Add SFTP Connection at the top
Enter in a label that you wish to save the connection present as .
Under host your phone's IP as Host.
Enter in Sirepuser as the User.
Enter / as the Path.
Press Create
Go back to the Swish folder then click on the connection that you just created (YOU MUST HAVE PAGENT RUNNING FOR THIS TO WORK).
When prompted, enter "1234" as the password.
If using WinSCP:
Open WinSCP. Underneath of the Password box, click on Advanced.
Click on the SFTP menu item and set the Preferred SFTP protocol version to 2
Click on the SSH -> Authentication menu item. Click Allow agent forwarding, click on the ellipsis next to Private key file and choose the .ppk file you saved from PuttyGen
Press Ok to save the settings
Back on the WinSCP main screen, enter in your phone's Wi-Fi IP into host name and for the User name, type in Sirepuser. Press save and then save this session as a "Site" in WinSCP
Login. When prompted, enter "1234" as the password.
You'll receive an error initially about not being able to browse /C/ and blah blah. You can right-click and click on Goto Folder. /C/Data will be a nice folder to start at since that's where most of the goodies are.
Voila, you should know be able to have full file system access.
Now there are a FEW caveats to this..
If you're looking to modify/download any of the important files in the AOW folder, you won't be able to. For SOME REASON, it's returning "No such file or directory" if you try to download/modify some certain files. It will also return this if you try to do the same for the registry hives.
If you happen to remove all paired pins on your phone, you must add pin from the phone and use the pin as the password to your SFTP session
I'm tired of my SFTP access cutting out because the WiFi disappears when the screen goes to lock >_<. What do I do?!?!!?
Using the same Lumia Registry Editor from Djamol's Root Tool, Head to the \system\currentcontrolset\services\keepwifionsvc Path and set the following DWORD value
Start => 2
For some reason the service that keeps wifi running even while the screen is under lock is disabled on 10512. This enables it. Reboot and you'll have WiFi working under lock screen on 10512.
Manual Steps for running CMD over SSH (assuming you've done the SFTP steps above) Redstone builds required. 10586.XXX builds will NOT work
Tools Needed:
IoT Insider Preview ISO
Interop Tools - Download the latest arm package and all packages from the Dependencies directory. Install the dependencies first, THEN install the app.
Pageant
Putty
Steps:
First, you'll need to download the Windows IoT Core Insider Preview ISO. Mount it and then install the MSI. Next, you'll need to go into Disk Management (diskmgmt.msc) and create a new 4GB VHD by clicking Action-> Create VHD. Set the location to any place you wish for it to be, set the size to 4GB and keep the rest the same. Pay attention to the disk number shown in the Disk Management screen after you create and mount that VHD (They have a blue drive icon to the left of them).
When this is complete, open up an elevated command prompt. Go to C:\Program Files (x86\Microsoft IoT\FFU.
Run the following command:
Code:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDriveN /SkipPlatformCheck
Where N is the disk number. At this point, you should start seeing a bunch of volumes created. The MainOS volume is the one we'll care about.
Go to that drive and copy the Windows\System32\cmd.exe and Windows\system32\en-us\cmd.exe.mui to your phone's Document's folder.
Next step is to open up the Interop Tools app, and tap on the Interop Unlock menu item from the hamburger menu. Select the option to restore NDTKSvc, reboot.
When the device comes back up, re-open Interop Tools and this time click on the Registry Editor from the hamburger menu.
Enter the following values, then press Write Data:
Registry Hive : HKEY_LOCAL_MACHINE
Registry Type: String
Registry Key Path: SYSTEM\Controlset001\Control\SSH\Sirepuser
Registry Value Name: default-shell
Registry Value Data: C:\Data\Users\Public\Documents\cmd.exe
Write this key tap on the hamburger menu and go to the Registry Browser. Travel to HKEY_LOCAL_MACHINE -> SYSTEM -> ControlSet001 -> Control -> Ci.
Tap the + button on the application bar and make sure the values are set to the following and then press Write:
Registry Hive: HKEY_LOCAL_MACHINE
Registry Type: Integer
Registry Key Path: SYSTEM\ControlSet001\Control\CI
Registry Value Name: UMCIAuditMode
Registry Value Data: 1
This actually enables the execution of unsigned executables. This is how we end up making CMD and the other programs work ^_^.
Reboot your phone. Wait a good 3-5 minutes before you try doing anything because your phone will be acting very unstable (Some apps crashing, and others working).
While you have pageant open and the private key added, open up a putty SSH session to your phone using the username of Sirepuser. You should be delighted at this point (If you did everything correctly) to see a Command Prompt. You should be getting random resource string errors when you try typing DIR, etc and this is due to the fact that we don't have the mui string in the correct place. Let's fix that.
ONE BIG THING TO NOTE: running CMD in SSH is very sensitive to keystrokes. If you are typing a command and press backspace even once, then the command won't send at all. It will state that it doesn't recognize what you're doing, so be sure to type these things in FLAWLESSLY (yeah it's annoying)
What we want to do now is then copy the cmd.exe to C:\Windows\System32 and the cmd.exe.mui to C:\Windows\System32\en-US. Run the following commands:
copy c:\Data\Users\Public\cmd.exe c:\Windows\System32
copy c:\Data\Users\Public\cmd.exe.mui c:\Windows\System32\en-US
Back on your phone, go back to Interop Tools and click on the Registry Editor. Follow the same exact steps as you did for changing the default-shell key, but make one change:
Registry Value Data: C:\Windows\system32\cmd.exe
At this point, restart your putty session and then you'll be good to go with CMD running over SSH as SYSTEM!
Extra:
There was a reason I said to copy off the system32 folder somewhere... If you follow the same process to get the files to your Documents folder and move them over to system32, you can have quite a bit of exes to run from the command line. The easiest thing to do is to use xcopy to get everything there.
Extra #2:
You can run .NET Console apps in CMD if they are named the following 3 names: TailoredDeploy.exe, WConnectAgent.exe or WConnectAgentLauncher.exe.
Make a directory on your SD Card named "test" or put it in the test directory on your phone's C: drive and it should go. Beware that the runtime is weird on the phone and not ALL things are possible to do with a .NET Console app
PLEASE... For the love of god DO NOT add DefApps to the Administrators group if you don't want all of your apps to stop working
Have fun ^_^
Also...
USE THIS AT YOUR OWN RISK! I AM NOT RESPONSIBLE IF YOU BLOW UP YOUR PHONE ON PURPOSE OR BY ACCIDENT
Hi, snickler! Can I have your permission to repost your tut? It's great and I wanna share with everyone since everyone's really hoping for a full fs access. Of course, i will link your post and add you and the others to the disclaimer.
OH My god . very good so fast . forget MTP Full FS for ever
ngame said:
OH My god . very good so fast . forget MTP Full FS for ever
Click to expand...
Click to collapse
"Theoretical Full FS"
I've tried, but failed
{
"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"
}
@zetvn, did you follow ALL steps? Make sure Device Discovery is on and that your phone's WiFi is on. That message basically means you have a timeout. Also check your IP address and see if it is the correct WiFi address
ADeltaX said:
"Theoretical Full FS"
Click to expand...
Click to collapse
It's full access until you want to modify any of the IMPORTANT files in the AOW directory lol. I'll see how I can get around that and post more, but yes this IS indeed full access.
snickler said:
It's full access until you want to modify any of the IMPORTANT files in the AOW directory lol. I'll see how I can get around that and post more, but yes this IS indeed full access.
Click to expand...
Click to collapse
I was replying about MTP, not about SSH access. lol
. Have you gotten any closer to rooting AOW @ADeltaX?
Is there any way to copy files to C:\Windows\Fonts in the phone without the PC?
snickler said:
. Have you gotten any closer to rooting AOW @ADeltaX?
Click to expand...
Click to collapse
70% yes.
Adb shell is now as root user.
SU binary works fine.
Busybox too.
Superuser app seems to work too.
BUT
Apps can't reference from superuser app because of limit of project astoria caused by some modified libs. (stderr stdout = null)
SU binary refernce from libc.so and it's also modified....
ADeltaX said:
70% yes.
Adb shell is now as root user.
SU binary works fine.
Busybox too.
Superuser app seems to work too.
BUT
Apps can't reference from superuser app because of limit of project astoria caused by some modified libs. (stderr stdout = null)
SU binary refernce from libc.so and it's also modified....
Click to expand...
Click to collapse
Brilliant! Is it on your thread yet? If so, point me to it
snickler said:
Brilliant! Is it on your thread yet? If so, point me to it
Click to expand...
Click to collapse
Not yet, I need to upload these files and create a new thread.
I have a very slow connection, so probably will be ready within 2-4 hours :\
I'll mention you if i'll open the thread/the file is ready.
ADeltaX said:
Not yet, I need to upload these files and create a new thread.
I have a very slow connection, so probably will be ready within 2-4 hours :\
I'll mention you if i'll open the thread/the file is ready.
Click to expand...
Click to collapse
Awesome! Yeah, definitely make a new thread for this. BTW, I updated my OP to include a reg key change to enable WiFi under lock screen. It may not be useful for everyone connecting via USB, but for those on IP it will be VERY helpful
guys please answer: Is there a way to copy files to fonts folder from the phone without using PC?
MrMHK said:
guys please answer: Is there a way to copy files to fonts folder from the phone without using PC?
Click to expand...
Click to collapse
Look at Djamol's Root Tool. There's utilities in there that you should be able to move files with.
Time to play... Thanks for this!
Invite me too
ADeltaX said:
Not yet, I need to upload these files and create a new thread.
I have a very slow connection, so probably will be ready within 2-4 hours :\
I'll mention you if i'll open the thread/the file is ready.
Click to expand...
Click to collapse
Invite me too plz, I want to learn much & much again...
Lost...
Hey there i am following the instructions as written, went to install the vcREG bootstrap and the instructions they give is to apply it to the reinstalled Extras+Info app on the SD card. well when i try to download it it says the app is no longer available? is there a work around?
AteBitDesigns said:
Hey there i am following the instructions as written, went to install the vcREG bootstrap and the instructions they give is to apply it to the reinstalled Extras+Info app on the SD card. well when i try to download it it says the app is no longer available? is there a work around?
Click to expand...
Click to collapse
You didn't follow instructions. It states to use Djamol's root tool and use the Lumia Registry Editor within it that is vcReg's.

[ROOT] [FRAMEWORK MOD] Enable 'Daydream' screensaver, change lock screen wallpapers!

Current as of March 29, 2018.
I've been saving this for a rainy day and it's raining at my house today I have been with XDA for about a year and a half now. I made a list of several goals I wanted to accomplish, mainly to do so without root. Though I have been successful at many tricks and hacks on these tablets WITHOUT root, sometimes, no matter how hard you try, some things can't currently be done without it. One of the goals I set was activating Android's stock Daydream screensaver. This is something that was built into Android and is a feature that is greatly underappreciated and many people just don't know it exists. It's also a feature Amazon blocks us from using. Another goal was to find a way to change the lock screen wallpapers after you got rid of Amazon Photos.
After several weeks of reading and researching, I finally discovered a working way to edit the framework and successfully install it back onto at least two of the Amazon tablets I own. In doing so I discovered how Amazon blocks the use of certain features and settings and in some cases, have been able to reverse their code and replace it with values that activate those things. As you can see in the screenshot below, the Daydream screensaver feature is installed onto the tablet. Using Activity Launcher, tap the top left pull down menu and select 'all activities. Scroll until you see the settings option and tap it. Then scroll until you see 'Daydream'. That's as far as you can go. If you tap it, the display settings is what pops up. Furthermore, if you disable or delete Amazon Photos, and you're stuck with their lock screen wallpapers for the rest of time, until now.
{
"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"
}
In this case the settings don't redirect to another app like setting your lock screen wallpapers, which until now, required Amazon Photos to change. They simply take advantage of the framework, and block the use of the Daydream function through settings within it. That setting, among many more settings, are all allowed to be blocked and are options Android provides to manufacturers and service providers when they purchase the rights to a copy of an Android OS.
Today I am proud and very happy to announce through modding the FireOS framework on the Fire 7 and HD 10, I have successfully activated Android's stock Daydream screensaver, while at the same time, not destroying the fabric of FireOS. I have also found a way for you to once and for all, change your lock screen wallpapers WITHOUT the use of Amazon Photos.
In this TWO PART guide, I'll show you how to enable the use of the Daydream screensaver, install the 'Colors' add-on and show you how to change your lock screen wallpapers. The best part about Daydream, I have been able to track down the proper APK for Android's stock 'Colors' screensaver, also known as 'BasicDreams' and as you can see in the screenshot below, it surprisingly worked on both the Fire 7 and HD 8
The hardest part of all this, once Daydream was activated, was finding the proper APK to get this working. It took me about a week or more to track down the closest version of the 'BasicDreams' APK for our version of Lollipop and I provide it to you today as well. Follow the guide below on how to get Daydream activated and in part two, learn how to change your lock screen wallpapers WITHOUT the use of Amazon Photos.
*****WARNING*****
Editing or modifying the system framework can be very damaging to your device. I have spent an extensive amount of time studying it and ways to edit it. I am writing this guide now because I believe this method is the safest way to edit the framework without damaging your tablet. With that said, your results might not be the same. As such, from this point forward in this guide, I cannot be responsible for any damage that may occur to your device. Please only continue if 1) You are willing to risk a possible brick 2) If you are willing to flash back to the last version of FireOS that your tablet was on in case a brick does occur.
Part 1: Enable 'Daydream' Screensaver
Requirements:
- Rooted Amazon Fire 7 or HD 10.
- Windows PC with ADB installed.
- APKtool (Please note you need to install Java version 7 or greater in order to use APKtool).
- 7-Zip
- Proper 'BasicDreams' screensaver APK, provided at the bottom of this post.
- Notepad++
- ADB insecure
- Patience.
Instructions:
1. On your PC, Download and install 7-Zip, Java (INSTALL JAVA BEFORE YOU INSTALL APKTOOL!!), APKtool and Notepad++ and ADB Insecure, if you haven't done so already, from the links provided above. Download links and install instructions for APKtool can be found here. On your Fire 7 or HD 10, download and install ADB insecure from the link provided above. For APKtool, I recommend you create a folder named 'apktool' in your C:\ directory, as seen in the screenshot below:
2. Once you've installed those two things, plug your tablet into your PC and make sure you have ADB debugging enabled in developer options. (Tap settings, device options, tap serial number 7 times, tap developer opeions and enable ADB). Open an ADB window. We need to get a copy of your framework package by typing the command below into your ADB window and pressing enter. This command assumes you installed APKtool into your C:\ directory:
Code:
adb pull /system/framework/framework-res.apk C:\apktool
3. Now on your PC, you need to navigate to your APKtool folder in C:\. When the window opens, open a command window by holding down shift and right clicking on the APKtool folder window and select 'open command window here'. An example of how that command window would look is posted below:
4. Now we need to install the framework APK into APKtool so it's able to decompile it. In the APKtool command window, type the following command:
Code:
apktool if framework-res.apk
5. Time to decompile the framework so we can look inside of it and make ONLY one edit. Yes that's all it takes is one edit. Amazon only blocks out the Daydream screensaver by using one word. Type the following command in the APKtool window to decompile the framework APK:
Code:
apktool d framework-res.apk
6. Now go back to your APKtool folder on your PC. Another folder should have been created inside the APKtool folder. The folder will be called 'framework-res'. Open up the folder and double click the RES folder. Scroll down until you see the folder named 'values' and double click it. You then should then see a list of XML files, like in the screen shot posted below:
7. Right click on the file named 'bools.xml' and select 'Open with Notepad++'. Slowly scroll the page and look for the configuration setting as seen below. On my Fire 7 the configuration is on line 98:
Code:
<bool name="config_dreamsSupported">false</bool>
8. In the configuration it will say 'false'. Change it to 'true' (no quotation marks) so it looks like this:
Code:
<bool name="config_dreamsSupported">[B]true[/B]</bool>
9. Then save the file by clicking on the floppy disc icon at the top left of Notepad++. DO NOT MAKE ANY OTHER EDITS!! You can now close Notepad++ and open the command window for APKtool again. We have to recompile the framework. Do that by typing the following command into the APKtool command window:
Code:
apktool b framework-res
10. You might get an error or three as the APK recompiles. As long as APKtool builds the APK, ignore the errors. If any pop up during the rebuild process, at most there will be 3 that will say something about an 'ellipsis' and time formatting. They don't mean anything as far as I can tell. If there are more errors which are fatal for the framework APK building, APKtool will not complete the build process. If the build process successful, move onto the next step. Otherwise please repeat the process from step two and make sure you don't edit anything else.
11. Back on your PC, bring up the APKtool folder again. Open the 'framework-res' folder. A few new folders have been created by APKtool. The only one you need to worry about is 'dist'. Double click that folder. This is where APKtool puts rebuilt APKs. Right click on the 'framework-res.apk' file and choose '7-Zip' and 'open archive'. DO NOT CHOOSE UNZIP!!! (Unzipping or decompiling the APK improperly will result in undesirable consequences when you install it back on your tablet.)
12. A 7-Zip window will open up listing a few files. You can make it a little smaller and move it out of the way, but don't minimize it. Back at the APKtool folder (you should still be inside the dist folder), click the back or arrow up button until you are back in the main APKtool folder. Right click your OLD framework-res.apk file and select 7-Zip and 'open archive'. Again do NOT unzip or decompile the APK. You can make the 7-Zip window that opens, smaller if you like, but now make sure the two 7-zip windows are side by side, noting which one is the OLD and which is the NEW archive (the one with 'dist' in the directory is the NEW APK. See below):
13. Highlight the 'res' folder in the 7-Zip window containing the NEW archive. Now drag the 'res' folder from the new archive into the 7-Zip window containing the OLD archive. A window will appear asking if you "really want to copy the folder". Click yes. Now highlight the 'resources.arsc' file in the NEW archive window and then drag it to the OLD archive window and click yes when it asks you if you really want to copy it. You can now close both 7-Zip windows and navigate back to your APKtool window.
14. Now it's time to install the modified framework. Open ADB Insecure if you've already installed it. Grant it SuperUser rights and check the box next to "enable insecure adbd" and open an ADB command window. In order for this next step to be successful, you MUST have insecure adbd enabled. When you're ready, type the command:
Code:
adb remount
15. The window should reply with 'remount succeeded" as seen above. Now we are going to install the framework to the system. Don't worry about setting permissions for the framework. Because we are pushing the framework into the system via ADB and because the framework-res APK was already a system app, ADB will automatically set the proper permissions for the framework APK. This is the moment of truth! Type the following command below (this is assuming you installed APKtool into the C:\ directory). Once installed, within 5-10 seconds some buttons may appear different or be a different color. This is normal and generally signals a successfull installation. If within 5-10 seconds your tablet automatically reboots itself, that generally signals a soft brick. Here we go! Type the commands below, into your ADB command window one at a time:
Code:
adb push C:\apktool\framework-res.apk /system/framework/framework-res.apk
adb reboot
16. If your tablet rebooted successfully, congrats, you just activated Daydreams Before we install the Colors screensaver, go ahead and navigate to your display settings on the tablet. You'll notice a new tile, 'Daydream'. Tap on it and a new window opens. From here you can use the stock desk clock app for the screensaver, install 'Colors' or choose the Amazon screensaver. For Colors: Download the attached BasicDreams APK at the bottom of this post, but do NOT install it. Place the APK into your ADB folder. When done type the following command below. Again no need to worry about setting permissions to the APK as ADB will do it for us:
Code:
adb push BasicDreams.apk /system/app
adb reboot
17. When your tablet reboots, download and install Activity Launcher if you haven't done so already. Tap the pull down at the top left and select all activities. Scroll down until you see SystemUI and tap on it, then tap 'Dessert Case'. To stop the screensaver, tap and pull up near the navigation bar and swipe it closed. Navigate to your display settings again and tap on Daydream. You now have 3 screensavers!!! Tap the three dots at the top right for options on when the screensavers should turn on aka 'daydream'. You can also tap 'start now' to preview them.
So far, these are the only three I have been able to get working. I am still trying to get Photo Table to work, but I am pretty sure Gapps needs to be installed, and I haven't gotten that far to test it. I've tried other screensavers from the Play Store with no luck unfortunately. However if anyone finds anymore working ones, please post your results/finds
Thanks everyone who followed. This makes me quite happy to see this unique feature on these tablets as they are deserving of such a thing. It's disappointing Amazon lets such a great thing go to complete waste. This maybe an old feature, but a very cool and underappreciated one. I hope everyone enjoys this as much as I did unlocking it. I'll be honest; I never thought I would be able to learn basic coding. At least not enough to get this far and accomplish the things I have. Thanks for the support everyone
Watch for part two in the next couple days: Change your lock screen wallpapers...WITHOUT using Amazon photos!!
Reserved for part two.
Sent from my Samsung Galaxy S4 using XDA Labs

Categories

Resources