Off-Topic Discussion for kitchen users

The Exploiter

Senior Member
Jul 27, 2017
56
14
0
It unpacks in AIK without issues running 64-bit Ubuntu 16.04. You are probably right and just missing a dependency that comes pre-installed in Debian based systems. Let me know if you figure out a way to deal with it :)

edit: do you have cpio installed? If not that may solve the issue

I had flashed AIK in custom recovery, but I can't seem to get it to work properly..
 

The Exploiter

Senior Member
Jul 27, 2017
56
14
0
Bro 2 more things i want to learn
1st how add multi languages in extracted rom?
And how fix gapps also in extracted rom?

What do you mean by that sir? I will be happy to help you :)

---------- Post added at 06:04 AM ---------- Previous post was at 06:02 AM ----------

Bro 2 more things i want to learn
1st how add multi languages in extracted rom?
And how fix gapps also in extracted rom?

For multi languages its usually built into the ROM. Fixing gapps depends on what's wrong with it.


When you extract your rom what gapps are you trying to fix?
 

The Exploiter

Senior Member
Jul 27, 2017
56
14
0
can you give me little details about add multi languages in extracted rom

and also add gapps

If you have a custom ROM build without gapps then grab a version perspective to your device too flash in recovery


To add multi languages (depending on the ROM) I would look around on XDA.. I haven't ever heard of multi language..
 

The Exploiter

Senior Member
Jul 27, 2017
56
14
0
Java 6?

sudo apt-get install openjdk-6-jdk openjdk-6-jre

You need Java 8 for the SuperR Kitchen tho..
Its for CM11 source code since I'm building CWM for nthe SM-T113

---------- Post added at 02:15 AM ---------- Previous post was at 01:34 AM ----------

Java 6?

sudo apt-get install openjdk-6-jdk openjdk-6-jre

You need Java 8 for the SuperR Kitchen tho..

Its telling me there's no install canadate.. I'm gonna go break my PC now..
 

vitjinka

Member
Aug 8, 2017
30
2
0
hi guys...
can someone help me please?

I'm really new to superr kitchen...

I'm trying to make an deodexed rom for an S8+.
I can't get it it start. it boots but stucks at samsung logo.

so, what are the right way to make an deodexed rom?

thanks in advance
 

SuperR.

Recognized Developer
Mar 23, 2014
2,546
8,489
203
Invisible
Hey @SuperR. I have a general apktool question.

I want to make some SystemUI mods for my ROM.

When recompiling SystemUI does it need to be signed, zipaligned, or both?

Your tool is awesome btw.
I am not the best to answer this honestly. I have not modified an apk since KitKat. The plugin is there for people such as yourself who want to use it. It has all the signing options I am aware of. If you don't get any other answers, I suggest trying them all to see what works for you :)
 
  • Like
Reactions: bkores

kevintm78

Senior Member
May 28, 2013
1,278
2,465
153
Bluegrass State
Hey @SuperR. I have a general apktool question.

I want to make some SystemUI mods for my ROM.

When recompiling SystemUI does it need to be signed, zipaligned, or both?

Your tool is awesome btw.
For system apps, I use winrar, or if using linux the default archive manager, to move the modified files into the original. I try to keep the meta-inf, sec-inf, and androidmanifest.xml intact on the original app and just drag the res, classes.dex (if modifying smali), and resources.arsc into the original. Then just zipalign.

Thats worked for me on 6.0.1, I think some things may have changed with 7.0.1 and I'm by no means an expert but thats how I do it.
 
  • Like
Reactions: SuperR. and bkores

bkores

Senior Member
Aug 12, 2016
813
615
0
Staten Island, NY
For system apps, I use winrar, or if using linux the default archive manager, to move the modified files into the original. I try to keep the meta-inf, sec-inf, and androidmanifest.xml intact on the original app and just drag the res, classes.dex (if modifying smali), and resources.arsc into the original. Then just zipalign.

Thats worked for me on 6.0.1, I think some things may have changed with 7.0.1 and I'm by no means an expert but thats how I do it.
So would it be like this:

1) Install frameworks
2) Decompile apk
3) Make modifications
4) Rename APK file to .zip to allow for pasting res and resources.arsc
5) Paste modified res and resources.arsc into the zip archive.
6) Rename the zip archive back to an apk file.
7) Push apk to /system/priv-app/SystemUI/SystemUI.apk.
8) Perform chmod 0644 on the apk.

I'm a complete noob at this so I want to make sure I'm doing everything right.
 

kevintm78

Senior Member
May 28, 2013
1,278
2,465
153
Bluegrass State
So would it be like this:

1) Install frameworks
2) Decompile apk
3) Make modifications
4) Rename APK file to .zip to allow for pasting res and resources.arsc
5) Paste modified res and resources.arsc into the zip archive.
6) Rename the zip archive back to an apk file.
7) Push apk to /system/priv-app/SystemUI/SystemUI.apk.
8) Perform chmod 0644 on the apk.

I'm a complete noob at this so I want to make sure I'm doing everything right.
Yep, that's how I do it. Except you dont have to rename your apk files, they'll open up in archive just like a zip. With jar files I just push without having to drag anything to the original and they'll work.

If you ever decide to modify the framework-res or certain system apps like secsettings, camera, contacts, and probably some others, I have to do those with Windows and winrar because they dont seem to work with the normal compression mode. Winrar lets you change the compression mode from normal to store. Thats the only I can get those working.
 
  • Like
Reactions: bkores