1. Boot Image:
Android-logo-mask.png
Android-logo-shine.png
The two pictures are the same as the previous one.
./Out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes/assets/images/android-logo-shine.png
./Frameworks/base/core/res/assets/images/android-logo-shine.png
Note: If the source code does not have make, you can directly change the images in frameworks.
Then make directly. Otherwise, make must be completely changed. make cannot only make firmwar.
2. Default wallpaper position:
Default_wallpaper.jpg
./Out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes/res/drawable/default_wallpaper.jpg
./Frameworks/base/core/res/drawable/default_wallpaper.jpg
Note: This setting is the same as above. Neither of these can change the file name.
3. Modify the text kernel of the PC machine to delete the hardware.
Drivers/usb/gadget/f_mass_storage.c
Fsg-> vendor = "XXXXXXXXXXXXX ";
4. Change the volume label:
Bootable/recovery/etc/init. rc
Setprop UserVolumeLabel "XXXXXXXXXXXXX"
Directly package
5. Modify the screen lock:
(1)
Frameworks/base/packages/SettingsProvider/res/values/defaults. xml
60000
Change 60000 to the desired time. If the lock is not set to-1
(2)
Frameworks/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator. java
Private boolean mExternallyEnabled = true;
Change it to false.
In this way, the changes will no longer enter the sleep state.
6. Initialization language:
Out/target/product/sdkDemo/root/default. prop
Rkdroid2.1/recovery/default. prop
Ro. product. locale. language = es_ES
Ro. product. locale. region = es_ES
You cannot make the package directly.
7. Set the initialization homepage:
Package/app/Browser/res/values/String. xml
655 rows
It should be followed by bookmarks.
8. Set the brightness to 0 ~ 255:
Frameworks/base/packages/SettingsProvider/res/values/defaults. xml
Def_screen_brightness --> the value initialization seems to be more than 100
9. Volume:
Frameworks/base/media/java/android/media/AudioManager. java
Array DEFAULT_STREAM_VOLUME 4th values (maximum I set to 30, but the difference is still 2 to the maximum -- the default is 11
We recommend that you set all the values in the array to the maximum value)
Mm frameworks/base
10. Set the Google account. The upper left corner of the page indicates "setting RK2818SDK". You must change it to "setting W9 ":
Line 3 of default. prop file in out/target/product/sdkDemo/root
Ro. product. model = rk2818sdk changed to ro. product. model = W9
11. The recording is not displayed in hours. Requirements added:
Packages/apps/SoundRecorder/src/com/android/soundrecorder
(1) SoundRecorder. java: private void updateTimerView ()
Set String timeStr = String. format (mTimerFormat, time/60, time % 60 );
Change to: long hour = time/3600;
String timeStr = String. format (mTimerFormat, hour, (time-hour * 3600)/60, time % 60 );
(2) Change strings. xml in/res/values:
% 02d: % 02d: % 02d
12. remove Bluetooth:
(Main interface-> Add folder-> Bluetooth stored ed)
Ic_launcher_folder_rjth.png (72*72 ):
In/packages/apps/Bluetooth/res/drawable-hdpi
Solution: Delete the th.apk file under/out/target/product/sdkDemo/system/app.
13. pictures during screen lock charging:
Frameworks/base/core/res/drawable-hdpi: ic_lock_idle_charging.png
14. The percentage of charge displayed when the screen lock is removed is as follows:
Content and brackets in lockscreen_plugged_in of strings. xml in frameworks/base/core/res/values-zh-rCN !!
15. Remove the dynamic desktop background option:
AndroidManifest. xml in packages/wallpapers/Basic, such as the galaxy comment out the following:
<Service <p = "">
Android: label = "@ string/wallpaper_galaxy"
Android: name = "com. android. wallpaper. galaxy. GalaxyWallpaper"
Android: permission = "android. permission. BIND_WALLPAPER">
16. Change the version number:
Build/core/Makefile
79 rows
RK_VER: = xxx
17. Change the interface Layout
Location: package/app/Launcher2/res/xml/default_workspace.xml
Note: When you click any apk in the adb shell
I/activitymanagers (728): Starting activity: Intent {act = android. intent. action. MAIN cat = [android. intent. category. LAUNCHER] flg = 0x10200000 cmp = com. estrongs. android. pop /. view. fileExplorerActivity bnds = [294,373] [393,478]}
I/WindowManager (728): Setting rotation to 1, animFlags = 0
You can find the package name/class name before/in the blue section --> This is required in default_workspace.xml.
Launcher: packageName = "com. android. browser"
Launcher: className = "com. android. browser. BrowserActivity"
18. How to put pdf files on the desktop
The customer asked to place their own pdf help documents on the desktop so that the guests could click to view them directly.
String urlString = "/system/app/Nvsbl P4Dv2 English Manual.pdf ";
Intent intent = new Intent ();
Intent. setAction (android. content. Intent. ACTION_VIEW );
Intent. setDataAndType (Uri. fromFile (new File (urlString), "application/pdf ");
StartActivity (intent );
Finish ();
Explanation:
First, put the pdf document under out/target/product/sdkDemo/system/app.
The fixed address is given urlString, using Intent
Intent. setAction (android. content. Intent. ACTION_VIEW); Start View
Intent. setDataAndType (Uri. fromFile (new File (urlString), "application/pdf ");
Application/pdf can be used to specify other formats, including audio, video, images, and so on. However, you have not tried it. You can try it if necessary.
Note: This method is not suitable for storing only some images, but it can be packaged if the file to be placed is large.
The system. imgfile is very large, that is, it occupies the system memory -----> so it is not recommended!