Skip to content

Temparary fix the bug that adb truncate non-ascii filename in windows environment when pull and push.

Notifications You must be signed in to change notification settings

fjh1997/adb-for-windows-nonascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdb-for-windows-nonascii

release

tmp solution of adb.exe truncating non-ascii name in windows when pull and push.

see issue place the patch in /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/toolchain-patches/mingw-w64 run build-mingw64-toolchain.sh to make toolchain.clean and build adb.exe as usual. or much easier.In msys2

cd mingw-w64-master
git apply rewrite.patch
cd mingw-w64-crt
./configure
make lib32/libmingwex.a

in AOSP.replace the /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/lib32/libmingwex.a clean and build adb.exe as usual.

rm -rf out
source build/envsetup.sh
cd packages/modules/adb
mm

use msys2 to strip adb.exe

strip -s adb.exe

About

Temparary fix the bug that adb truncate non-ascii filename in windows environment when pull and push.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages