Coder Social home page Coder Social logo

Comments (10)

ale8530 avatar ale8530 commented on July 26, 2024 1

Really thanks, but it seems fortunately that Xiaomi has fixed the problem, we hope that Burgerz adds the function to delete certain files :)

from jbart.

KcNirvana avatar KcNirvana commented on July 26, 2024

Hello,
I don't think you can delete resources with Hex since Hex doesn't decompile resources.arsc.
But have you tried to replace colors.xml with an empty file?
Like putting in you translation repo something like:
Res/Values-it
Res/values-mcc9998-mnc9999

The empty file should replace the original one with the Hex.
Just a sugestion

from jbart.

BurgerZ avatar BurgerZ commented on July 26, 2024

There is no option yet to remove resources from resources.arsc, you can only replace them with yours.
Have you tried @KcNirvana's solution?

from jbart.

ale8530 avatar ale8530 commented on July 26, 2024

I thank both for the advice, I have not tried, but you empty I mean that I have to put it so colors.xml or an xml file without text?

from jbart.

ale8530 avatar ale8530 commented on July 26, 2024

@KcNirvana
Do I enter the code this way?

immagine

from jbart.

KcNirvana avatar KcNirvana commented on July 26, 2024

@ale8530
Good morning...
Yes...
Don't know if it will works, but if you don't test you will never know...
:)

from jbart.

BurgerZ avatar BurgerZ commented on July 26, 2024

I think it will not work as no resources will be "replaced" or "added", so this step will be just skipped.
I have to add new HEX option - deleting configs (such as mnc/mcc/xxhdpi, etc.)

from jbart.

ale8530 avatar ale8530 commented on July 26, 2024

@BurgerZ great feature for Hex very thanks

Do you have problems with MIUI notifications on a Chinese basis?

from jbart.

BurgerZ avatar BurgerZ commented on July 26, 2024

I don't have any Xiaomi device (except kettler and vacuum robot) :D

from jbart.

KcNirvana avatar KcNirvana commented on July 26, 2024

@ale8530
Hello...
I tried to test like I said the empty file in Hex and I think it works, at least it appears in log.

[19.01.2018 18:28:25] INFO: **** Recompiling Settings.apk ****
[19.01.2018 18:28:25] INFO: Check for available NXT patches...
[19.01.2018 18:28:25] INFO: Found NXT patches: 1
[19.01.2018 18:28:25] INFO: Extracting classes.dex...
[19.01.2018 18:28:26] INFO: Baksmaling classes.dex...
[19.01.2018 18:28:28] INFO: Loading Patching configs...
[19.01.2018 18:28:28] INFO: Loading NXT Patching configs...
[19.01.2018 18:28:28] INFO: Smaling classes.dex...
[19.01.2018 18:28:36] INFO: Zipping classes.dex...
[19.01.2018 18:28:37] INFO: File classes.dex packed successfully
[19.01.2018 18:28:38] INFO: Clearing directories and temp files...
[19.01.2018 18:28:38] INFO:
[19.01.2018 18:28:38] INFO: Directory: res (1/5)
[19.01.2018 18:28:40] INFO: Directory: values-mcc9998-mnc9999 (2/5)
[19.01.2018 18:28:41] INFO: Processing colors...
[19.01.2018 18:28:41] INFO: Adding "default" translation
[19.01.2018 18:28:44] INFO: Directory: raw-pt-rPT (3/5)
[19.01.2018 18:28:45] INFO: Processing raw...
[19.01.2018 18:28:45] INFO: Parsed locale: (pt; PT)
[19.01.2018 18:28:45] INFO: Replacing "portuguese (portugal)" translation

I didn't try the rom built, so I can say if it really works or not.

from jbart.

Related Issues (20)

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.