m1cha / defymultiboot Goto Github PK
View Code? Open in Web Editor NEWmultiboot for MotoDefy
Home Page: http://forum.xda-developers.com/showthread.php?t=1364659
multiboot for MotoDefy
Home Page: http://forum.xda-developers.com/showthread.php?t=1364659
Finally I found out why Chinese characters on sdcard files are displayed in ???.
The encoding doesn't compatible with that in busybox (or shell script?)
The android system can't umount the sdcard totally and mount it in the default way when booting, because you have already mounted sdcard in the preparation stage for multiboot and the virtual system is using the sdcard all the time.
Some scripts in fshook.functions.sh
Code:
mount -o rw $FSHOOK_CONFIG_PARTITION $FSHOOK_PATH_MOUNT_IMAGESRC
The sdcard is mounted with one kind of encoding (is it utf-8)?
And in the real system, the sdcard is mounted with another encoding (I guess GB18030?).
So the Chinese character is displayed as ??? in virtual system...
@m11kkaa
Could you help me find a way of mounting sdcard in busybox with the same encoding as real system?
I found a way to solve this, but it is so ugly...
I added two lines in real system/system/bootmenu/script/2nd-init.sh
Code:
mkdir -p /sdcardtmp
mount -o rw /dev/block/mmcblk0p1 /sdcardtmp
So the encodings are the same...But I don't think it's a good idea
Here is my setup:
Defy+ with 1700mAh battery.
Nand: CM72 White rabbit 1.5.1
Multiboot 0.5.5
IN multiboot:
Only CM72 roms have battery errors.
The battery icon comes with a "?" mark and shows as 100% charged all the time.
I have tried using Quarx's CM72 latest nightly too. But it has the same problem. In ICS roms there are no issues.
I have tried many battery fixes (installed via multiboot CWM) but there is no difference.
Can you tell me what I am doing wrong?
BTW if I use any of the above CM72's as my NAND then there are no issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.