370829592 / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
0 stars 0 forks source link

I can't compile lewa-res.apk (sdk 16) from LeWaOS - bootloop #502

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. adb pull (/framework/framework-res.apk, lewa-res.apk, mediatek-res.apk, 
/system/SystemUI.apk )

2. install from apktool this 4 files. (apktool if framework-res.apk), etc.

3. framework-res.apk = 1.apk, mediatek-res.apk = 2.apk, lewa-res.apk = 9.apk, 
SystemUI.apk = 127.apk

4. apktool d lewa-res.apk

5. nothing edit, only apktool b lewa-res

6. In 7z copy from original app this 2 things (META-INF, AndroidManifest.xml) 
to new compilate version.

7. New version of lewa-res.apk copy in totalcommander to rom in zip. Install in 
TWRP 2.5.0.0 or CWM 6.0.3.0. or Lewa Frog recovery.

What is the expected output? What do you see instead?
After install rom in zip with this edited (only decompilated, and compilated) 
lewa-res.apk I have bootloop (freeze logo on booting system).

If i translate other app from /framework/ (framework-res.apk, mediatek-res.apk) 
or app from /system/ (as Settings.apk), everything are OK (same step by step).

I need OK lewa-res.apk (without bootloop) :-) Please help me...

What version of the product are you using? On what operating system?
phone: Lenovo P770
ROM: LeWA OS - 
http://static.lewatek.com/yun/Lenovo_P770_JB/LeWa_Lenovo_P770_JB_ROM_13.08.09_40
a3d.zip

I use:
last version of http://apkmultitool.com/?q=node/5
last version apktool 1.5.2
jdk1.7.0_25 (64bit)
Windows 8 64 bit
in android SDK manager i have download last version for API 18, 17, 16.

Original issue reported on code.google.com by i...@danbar.cz on 10 Aug 2013 at 10:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm not going through an entire ROM :p too busy for that. Meet me half way 
please.

Upload all apk's in the /system/framework
and the affected apk.

Original comment by connor.tumbleson on 3 Sep 2013 at 2:05

GoogleCodeExporter commented 9 years ago
Now I can decompilated, translated and recompilated lewa-res.apk !!!

This is step by step guide:
1) Download new version jBart 
https://github.com/BurgerZ/jBART/archive/master.zip and unzip
2) download this file: http://androidforum.cz/download/file.php?id=8456
3) to folder jBart\data\frameworks_single\ copy (unzip) fake3.apk up to 
fake8.apk (from number 2) - zip file)
4) to same folder copy framework-res.apk, framework.jar, mediatek-res.apk from 
original lewa rom (zip)
5) in JBart choose Single file, set path to lewa-res.apk, and tap to Decompile
6) in folder jBART\lewa-res.apk.bzproject\decompiled\lewa-res.apk\ edit file 
apktool.yml by notepad++
7) search "- 1"
8] replace to:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
9) save this file
10) to folder jBART\lewa-res.apk.bzproject\decompiled\lewa-res.apk\res\ add 
your translate (as usualy)
11) in program JBart choose button Compile
12 in folder jBART\lewa-res.apk.bzproject\compiled\ you find new app 
(functioned with translate)

Original comment by i...@danbar.cz on 4 Sep 2013 at 10:51

GoogleCodeExporter commented 9 years ago
okay.

Original comment by connor.tumbleson on 4 Sep 2013 at 12:21