micode / patchrom_tools Goto Github PK
View Code? Open in Web Editor NEWapktool and misc auto-packaging tools
apktool and misc auto-packaging tools
Everytime I get this error
Recovery link files success rm: can't remove '/system/xbin/getfilesysteminfo': No such file or directory Build apkcerts.txt [100%] /data/system/packages.xml ls: cannot access '/home/thunderblockit/patchrom/y551/out/target_files/SYSTEM/framework/*.apk': No such file or directory
The script doesn't copy the framework folder from the device neither vendor files (system/vendor/*)
I have problems with build.prop too
unzipping target target-files... ERROR: couldn't find ro.build.fingerprint in build.prop
Opening the file out/target_files/SYSTEM/build.prop
#place holder
The right build.prop is located in out/target_files/SYSTEM/system/build.prop
Why it creates another system folder?
The code has to be revised
I can't get past the KeyError: '/system' while building the stockrom.zip.
I heard it has to do something with the recovery.fstab within the metadata folder. Can someone take a look at the file and let me know what's wrong. It can be viewed from the link below.
I've encountered this particular error while trying to run ota_target_from_phone.
The terminal error is given below:
Build full ota package: /home/ishtiaque/patchrom/xblade/stockrom.zip
Traceback (most recent call last):
File "/home/ishtiaque/patchrom/tools/releasetools/ota_from_target_files", line 76, in
import common
File "/home/ishtiaque/patchrom/tools/releasetools/common.py", line 42, in
OPTIONS.search_path = os.path.join(os.environ["$PORT_ROOT"], "tools");
File "/usr/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: '$PORT_ROOT'
As you can see, it seems there's a certain issue with the $PORT_ROOT thing. Please look into it and provide solution. Do I need to edit envsetup.sh in any way?
the smali.jar is too old and could not support new ROMs such AMOI N828 v5.1 ROM.
upgrade to smali-1.4.2.jar will solve the problems.
Add support for arrays.xml.part using ResValuesModify.jar?
unpackbootimg is not working with MTK boot.img
tried to deodex the stock rom from the htc one s. it deodex the complete framework folder without any problem.
But a lot of apps didnt deodexed. -> it has problems to find a resource from the classpath!
on xiaomi 4c, android version is 5.1.1, miui is v7.1
Hello...
Can you please update apktool and aapt to work with Miui7 Android 5.1.1 and Android 6.0.1?
Thanks
Hello.
I try to port miui V7 to my samsung note edge but i have a probleme to buil framework.jar and framework2.jar.
I have patched all rejected file but i have always apktool error
"Exception in thread "main" org.jf.util.ExceptionWithContext: Unsigned short value out of range: xxxxx"
My file i s all right because on windows,with apkool advanced 4.1.0 by bdfreak,the build process is ok.
Do you have a plain to fix this error ??
Thanks a lot
regards
the apktool is too old and do not support new apks such as in AMOI N828 roms.
upgrade to 1.5.2 will solve the problems.
Hi,
I was about to get an ota from phone and I was in TWRP recovery and find out there's some kinda problems, one of them was in get_filesystem_config file where it just run ls -aRZ /system
which will result in strange characters in file lists such as �[0
because of the color thingy ... so I removed the color by changing the ls code to ls -aRZ --color=never
and it worked great!
Kindly you have recently updated "aapt", kindly update the file "aapt.exe" for windows, in the framework-miui-res.apk have this kind of errors:
invalid resource directory name: C: \ Apktool JB \ framework-miui-res \ res/drawable-
land-xxhdpi
invalid resource directory name: C: \ Apktool JB \ framework-miui-res \ res/drawable-
xxhdpi
Thanks
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.