Coder Social home page Coder Social logo

patchrom_tools's People

Contributors

nian0114 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

patchrom_tools's Issues

the smali.jar need upgrade

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.

the apktool need upgrade

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.

Problem with ota_target_from_phone

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

deodexing

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!

Upgrade aapt.exe

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

Apktool and aapt

Hello...
Can you please update apktool and aapt to work with Miui7 Android 5.1.1 and Android 6.0.1?
Thanks

Issue with getting filesystem config from TWRP Recovery

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!

mkbootimg can not rebuild mi-4c boot.img

on xiaomi 4c, android version is 5.1.1, miui is v7.1

  1. use tool to unpack boot.img
  2. do nothing, but use mkbootimg to pack kernel and ramdisk again
  3. the new boot.img is much smaller than before
  4. push to device, can not boot.

Impossible to build framework.jar

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

Problem with /releasetools/ota_from_target_files

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.