Git Product home page Git Product logo

rom_resigner's Introduction

Hi there ๐Ÿ‘‹ this is Erfan

erfanoabdi github stats

How's life

  • ๐Ÿ“ฑ Ask me about LibreMobileOS
  • ๐Ÿ’ป Currently working on LineageOS, Ubports and Droidian
  • ๐Ÿ“š Struggling with random books

What's the weather

Top Langs

What i know

Linux GIT Bash Java Python PHP javascript VB Jenkins Docker

How to reach me

rom_resigner's People

Contributors

althafvly avatar erfanoabdi avatar xiaoxindada avatar

Stargazers

 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

rom_resigner's Issues

Unable to resign

i tested tool with A13 firmwares like OPLUS(oneplus/oppo/realme) and moto a12/a13
when doing resigning on LINUX( ubuntu , resginer works but fails to resgin for some reason and it detect all apps/jars,

meanwhile on WSL,
OS: Ubuntu 20.04.5 LTS on Windows 10 x86_64
Kernel: 5.15.79.1-microsoft-standard-WSL2
Resigner unable to detect even all apps/jars.

Problems parse the xml files

Got this while using the resign python script :

Traceback (most recent call last):
File "resign.py", line 33, in
xmldoc = minidom.parse(mac_permissions)
File "/usr/lib/python3.8/xml/dom/minidom.py", line 1959, in parse
return expatbuilder.parse(file)
File "/usr/lib/python3.8/xml/dom/expatbuilder.py", line 913, in parse
result = builder.parseFile(file)
File "/usr/lib/python3.8/xml/dom/expatbuilder.py", line 204, in parseFile
buffer = file.read(16*1024)
AttributeError: 'NoneType' object has no attribute 'read'

Where is the problem ?

Doesn't work for System as Root

Traceback (most recent call last):
  File "/home/penn/ROM_resigner/resign.py", line 33, in <module>
    xmldoc = minidom.parse(mac_permissions)
  File "/usr/lib64/python3.10/xml/dom/minidom.py", line 1988, in parse
    return expatbuilder.parse(file)
  File "/usr/lib64/python3.10/xml/dom/expatbuilder.py", line 913, in parse
    result = builder.parseFile(file)
  File "/usr/lib64/python3.10/xml/dom/expatbuilder.py", line 204, in parseFile
    buffer = file.read(16*1024)
AttributeError: 'NoneType' object has no attribute 'read'

Because /etc/ should be /system/etc/

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.