There is a fix I made for that error. I will send you an updated script...
Visualizzazione stampabile
Ho rimosso il Knox manualmente.. Sui firmware 4.3 i nomi degli apk del Knox sono uguali a quelli dei firmware 4.4.. Sui 4.3 però non ci sono i seguenti apk:
KnoxMigrationAgent
KnoxSetupWizardClient
KnoxSetupWizardStub
KnoxVpnServices
UniversalMDMClient
Grazie mille dax :)
Scaricare questo file
Sostituire do_remove_knox nella cartella scripts con la nuova versione dello script dal file tar. E sostituire knox_list nella cartella scripts/knox con il nuovo file di testo dal file tar.
Ciao ragazzi.. Non ricordo se ho già fatto questa domanda.. Per sicurezza la faccio un'altra volta rotfl Che cos è il SELinux? Su Android ho visto che c'è il "SE per Android" che può essere su "permissive" oppure "enforcing".. Che vuol dire? Grazie :)
Hey! Sorry in advance I will use English for the topic is hard for my bad Italian. Sorry guys...
SELinux is a Linux security protocol. It was kinda pushed into android and called SEAndroid. .. but basically it's a secure mode for the kernel operations. On default, Android Linux kernel is enforcing. Meaning that the security is tight and no operations outside of the kernel basic scope are allowed.
By modifying the kernel ramdisk we can set the kernel to be SELinux permissive. That alone will triger knox. This actually IS what triggers knox. Knox reads on each boot whether the SELinux status is permissive or enforcing. Each time it loads a component to the ram it checks for SELinux status. That's why if you load custom recovery, on top it says "recovery is not SELinux enforcing. Knox warranty void". That means "hey, you asked me to load into ram a component that is not by my standards. This operation voids your warranty"... and so on...
I hope this makes things more clear for you. And again... sorry for using English...
Salve,ho un problema quando voglio compilare l'apk allora... ho decompilato l'apk e cambiato un file ogg (solo rinominato) e poi succesivamente premuto 11 per ricompilare..e mi da errore vedi log.
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\ApkTool\other\..\projects\lol.apk\res\values\st yles.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'Widget.Helpshift.Base.ActionBar'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 19, -F, C:\Users\Raffaele\AppData\Local\Temp\APKTOOL565541 624055409945.tmp, -0, arsc, -I, C:\Users\Raffaele\apktool\framework\1.apk, -S, C:\ApkTool\other\..\projects\lol.apk\res, -M, C:\ApkTool\other\..\projects\lol.apk\AndroidManife st.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:353)
at brut.androlib.Androlib.buildResources(Androlib.jav a:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 19, -F, C:\Users\Raffaele\AppData\Local\Temp\APKTOOL565541 624055409945.tmp, -0, arsc, -I, C:\Users\Raffaele\apktool\framework\1.apk, -S, C:\ApkTool\other\..\projects\lol.apk\res, -M, C:\ApkTool\other\..\projects\lol.apk\AndroidManife st.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 19, -F, C:\Users\Raffaele\AppData\Local\Temp\APKTOOL565541 624055409945.tmp, -0, arsc, -I, C:\Users\Raffaele\apktool\framework\1.apk, -S, C:\ApkTool\other\..\projects\lol.apk\res, -M, C:\ApkTool\other\..\projects\lol.apk\AndroidManife st.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:404)
... 6 more
cosa puo' essere?
Che versione del programma usi? Hai scaricato quello gia aggiornato? La versione del framework che hai installato tramite il codice "apktool if framework-res.apk" è la stessa della apk che vuoi decompilare?
Il fatto che hai problemi nel ricompilare le res credo dipenda da una di queste due cose...
sempre che non sia java.. lo sei gia riuscito ad usare con successo in precedenza?