Hello fellow devs out there, I'm new to learning these stuff... so i want to deodex my JB rom DDBLI1 using xUltimate, but when i deodex my system/app it shows error
Starting AllshareMediaServer.odex
*****************************************
* Deodexing... *
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find int
erface Landroid/widget/AdapterView$OnItemClickListener;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInte
rfaces(ClassPath.java:865)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:
690)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280
)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:16
3)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPath(ClassPath.j
ava:131)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:111)
at org.jf.baksmali.main.main(main.java:293)
Error while loading class Landroid/accounts/ChooseAccountActivity$1; from file .
\origi_frame\framework.zip
Error while loading ClassPath class Landroid/accounts/ChooseAccountActivity$1;
what is boot class path files?? How can i fix this? thanks!
Some apks utilize class files from other odex files from other apks. So it is looking for a class file , speficically " Landroid/widget/AdapterView$OnItemClickListener".
Have you ever tried to deodex an apk manually? I've only used Xultimate once, I've always deodexed manually but I'm old school. It's looking for this specific dependancy file which is not contained in AllshareMediaServer.apk. This file most likely needs to be deodexed manually. I do not have my Gtab2 here with me so I can't do a system pull to further look into it.
edit: I just read you're not doing this to the stock ICS rom. Let me d/l this JB rom and I'll see if I can deodex this apk myself.
tucstwo said:
Some apks utilize class files from other odex files from other apks. So it is looking for a class file , speficically " Landroid/widget/AdapterView$OnItemClickListener".
Have you ever tried to deodex an apk manually? I've only used Xultimate once, I've always deodexed manually but I'm old school. It's looking for this specific dependancy file which is not contained in AllshareMediaServer.apk. This file most likely needs to be deodexed manually. I do not have my Gtab2 here with me so I can't do a system pull to further look into it.
edit: I just read you're not doing this to the stock ICS rom. Let me d/l this JB rom and I'll see if I can deodex this apk myself.
Click to expand...
Click to collapse
Thank you for willing to help i havent try doing it manually bcoz i am not familiar with the cmd command for java smali/baksmali...
stephen2282 said:
Hello fellow devs out there, I'm new to learning these stuff... so i want to deodex my JB rom DDBLI1 using xUltimate, but when i deodex my system/app it shows error
Click to expand...
Click to collapse
Ok, so I d/l that JB rom and there is no /system/app/ or /system/framework/ called "allsharemediaserver.apk" Is this an apk from the OTA or from the "base rom" you're suppose to flash first?
nevermind, I found it in the patch files
---------- Post added at 10:12 AM ---------- Previous post was at 10:08 AM ----------
yeah, I can't do this with .p files. Do you already have this rom flashed onto your tab? you went through the process of flashing the base system and then flashing the unofficial ota? If so, the only way I can do this is if you provide me with a pull of your system and framework folders. Do you know how to do that?
tucstwo said:
Ok, so I d/l that JB rom and there is no /system/app/ or /system/framework/ called "allsharemediaserver.apk" Is this an apk from the OTA or from the "base rom" you're suppose to flash first?
nevermind, I found it in the patch files
---------- Post added at 10:12 AM ---------- Previous post was at 10:08 AM ----------
yeah, I can't do this with .p files. Do you already have this rom flashed onto your tab? you went through the process of flashing the base system and then flashing the unofficial ota? If so, the only way I can do this is if you provide me with a pull of your system and framework folders. Do you know how to do that?
Click to expand...
Click to collapse
I am deodexing my base rom apps... I pull all of them to my comp already... I will try uploading 2 apps n odex
If i were to do it manually myself, what would the command be? Oo
EDIT : I could not upload the files... said missing security token... i will try Dropbox..
https://www.dropbox.com/s/tqju2e118j7cf9v/origi_app.zip
stephen2282 said:
I am deodexing my base rom apps... I pull all of them to my comp already... I will try uploading 2 apps n odex
If i were to do it manually myself, what would the command be? Oo
EDIT : I could not upload the files... said missing security token... i will try Dropbox..
https://www.dropbox.com/s/tqju2e118j7cf9v/origi_app.zip
Click to expand...
Click to collapse
No see, this won't help me. The reason you're having trouble deodexing these 2 files is because they are looking for dependency files from ANOTHER apk or jar within your system or framework folders. In order for me to deodex these apks I need an entire pull of your /system/app/ and /system/framework folders.
Do you know how to pull folders from your device with ADB? Do you have ADB? If you understand what I'm saying. Plug your device in and pull the system/app and system/ framework folders. Zip them up and put them in drop box. Then I can deodex the files you're having problems with, or at least try. If you can't do this, you might be in over your head already, with all due respect.
tucstwo said:
No see, this won't help me. The reason you're having trouble deodexing these 2 files is because they are looking for dependency files from ANOTHER apk or jar within your system or framework folders. In order for me to deodex these apks I need an entire pull of your /system/app/ and /system/framework folders.
Do you know how to pull folders from your device with ADB? Do you have ADB? If you understand what I'm saying. Plug your device in and pull the system/app and system/ framework folders. Zip them up and put them in drop box. Then I can deodex the files you're having problems with, or at least try. If you can't do this, you might be in over your head already, with all due respect.
Click to expand...
Click to collapse
I have pulled all framework n apk to my comp... Will upload it when im home. Thanks
edit : do u need the init.rc i found out u might need that file to find the bootclasspath?
edit 2 : Im unable to upload the zip due to my poor home wifi =(
Xultimate bootclasspath error
Hi there , Recently I tried to dedoex using XUltimate my JB ROM. Got the same issue .. Solved Via these methods ..hope they work for you,, if the do.. do inform
Download JAVA SDK ( JDK) not JRE! http://www.oracle.com/technetwork/java/javase/downloads/index.html
Right-click on ‘My Computer’ (or Computer for Vista) and choose ‘Properties’.
Navigate to the ‘Advanced’ tab (or for Vista/7/8, click 'Advanced System Settings’ on the left, then find the ‘Advanced’ tab)
Click ‘Environment Variables’
Under System Variables, find 'Path' and click Edit...
DO NOT ERASE OR REPLACE THE CONTENTS OF THIS. YOU ARE SIMPLY GOING TO ADD TO IT.
At the very end of the text field, add a semicolon [ ; ] and add the location of java.exe.
On my Windows 64-bit system this is in “c:\program files\java\jdk1.7.0_06\bin” . For others it might be "c:\program
files\java\jre7\bin". I seem to have java.exe in both locations but only the first one worked in xUltimate.
Then ‘Okay’ that to save the addition and come out of ‘Properties’
Next Download XUltimate 2.4.2 ( This only work with JB until where i have tried) (http://www.xeudoxus.com/android/xUltimate-v2.4.2.zip)
Copy it C:\
Replace the smali and baksmali file from the jar folder with those given below
Disable your antivirus
Run the Main.exe as Admin
Start from scratch .. It should work
HIT THANKS IF THIS HELPS
Signature
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/COLOR][/COLOR][/COLOR][/COLOR]
Related
10/30/2010 Update: 42 new status bar header images --> http://forum.xda-developers.com/showthread.php?t=786313&page=5
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is my first contribution to this forum.
Simple instructions:
1 nandoid backup
2 adb devices
3 adb pull /system/framework/framework-res.apk framework-res.apk
(make a backup copy of this file)
4 open the apk file with winrar
5 insert the "status_bar_header_background.9.png" that is in the attached rar file into the framework-res.apk's \res\drawable-hdpi folder
6 adb remount
7 adb push framework-res.apk /system/framework/
8 adb reboot
I'll be making and adding a few more as they happen.
For Spurs Fans
Nice work. Do you have a flashable zip just for the transparent shade?
MSmith1 said:
Nice work. Do you have a flashable zip just for the transparent shade?
Click to expand...
Click to collapse
That is explained HERE
Bootloops, endless bootloops...
Edit: got it to work by inserting the .png into manups' theme and flashing it. Adb push pull method was a no go on fresh 3.1.
Here is a modded status_bar_close_on.9
MSmith1 said:
Nice work. Do you have a flashable zip just for the transparent shade?
Click to expand...
Click to collapse
Sorry...I havent figured out how to make a flashable zip file yet.
johncjenc said:
Bootloops, endless bootloops...
Edit: got it to work by inserting the .png into manups' theme and flashing it. Adb push pull method was a no go on fresh 3.1.
Click to expand...
Click to collapse
Cool...glad you were able to use it.
awesome ass mod! what are the dimensions for this?
Nice work! I'm surprised this isn't getting more attention.
here is my version!
I tried this and got a boot loop. It would load all the way to the boot sequence then FC the framework. How can i modify without breaking the signature. I am on a mac, because i know everyone uses winrar on pc.
Some had posted a file and asked for the avenge sevenfold death bat to be put on.
I had done it but the posts were lost when the site was recovered a few days ago.
I cant remember who it was, but here it is.
lookylookitzadam said:
I tried this and got a boot loop. It would load all the way to the boot sequence then FC the framework. How can i modify without breaking the signature. I am on a mac, because i know everyone uses winrar on pc.
Click to expand...
Click to collapse
Sorry I am not familiar with the process for MAC's.
I tried this with ninja morph and still didnt work. Can someone elaborate on the process maybe. I must be missing something somewhere.
How do I get rid of the "sprint" in the upper left of the notification bar?
Also, do I need to delete the original png?
SniperDroid said:
How do I get rid of the "sprint" in the upper left of the notification bar?
Also, do I need to delete the original png?
Click to expand...
Click to collapse
Instructions on editing the sprint banner can be found here -> http://forum.xda-developers.com/showthread.php?t=708419
To do this mod you wouldnt delete the original png...you need to replace it with the modded png file. I would make and save backup of the original on your local hard drive that way if you ever wanted to go back to stock or create a new banner with a different image you would have a copy of the non modified stock png to work with.
Thanks, I got the header and closer .png changed. Now to get rid of the pesky Sprint lettering.
lookylookitzadam said:
I tried this and got a boot loop. It would load all the way to the boot sequence then FC the framework. How can i modify without breaking the signature. I am on a mac, because i know everyone uses winrar on pc.
Click to expand...
Click to collapse
Why can't they make equal apps for us? Right? :'(
Would somebody please mod the services.jar from the 3.29 odex Rom posted by joeykrim. All we need is the services.jar and an edited png right?
Sent From My HTC Evo 4G Using Tapa Talk Pro!
Rydah805 said:
Why can't they make equal apps for us? Right? :'(
Would somebody please mod the services.jar from the 3.29 odex Rom posted by joeykrim. All we need is the services.jar and an edited png right?
Sent From My HTC Evo 4G Using Tapa Talk Pro!
Click to expand...
Click to collapse
I think you need to use a deodexed rom.
martijua said:
Here is my first contribution to this forum.
Simple instructions:
1 nandoid backup
2 adb devices
3 adb pull /system/framework/framework-res.apk framework-res.apk
(make a backup copy of this file)
4 open the apk file with winrar
5 insert the "status_bar_header_background.9.png" that is in the attached rar file into the framework-res.apk's \res\drawable-hdpi folder
6 adb remount
7 adb push framework-res.apk /system/framework/
8 adb reboot
I'll be making and adding a few more as they happen.
Click to expand...
Click to collapse
when i do this procedure i get all kinds of force close errors. to the point of i have to do a nand restore. i edited a "status_bar_header_background.9.png" file from another theme. The .png image file is the same physical size, but the framework-res.apk file is now larger in size than the one i edited it from, does that have anything to do with it?
I am trying to decompile the framework-res.apk file with APK Manager. But it's not working. When I did this with the DX, I had to use a dependee apk file (moto-res.apk) to be able to decompile without error but I can't seem to find the write file to use. Does anyone know if there is a dependee file or should I just be able to decompile it? Don't know if the Apk Manager 4.9 will actually work but I am trying to figure it out. Any help would be great.
Couldnt you just rename the .apk extension to .zip unzip it then edit it rezip then sign it to install. Or you could use 7zip if ur on windows to get into the .apk without renaming to .zip and messing around with signing etc.
Will this actually work for a framework-res.apk file?
qubit76 said:
Couldnt you just rename the .apk extension to .zip unzip it then edit it rezip then sign it to install. Or you could use 7zip if ur on windows to get into the .apk without renaming to .zip and messing around with signing etc.
Click to expand...
Click to collapse
This won't work because this way you don't get the Value folders that I need to access. It has to be decompiled to get access to those.
That's the million dollar question. You will not be able to deodex or decompile until hc source is released. Otherwise we'd all have deodexed zip aligned pngopt roms.
bigrushdog said:
That's the million dollar question. You will not be able to deodex or decompile until hc source is released. Otherwise we'd all have deodexed zip aligned pngopt roms.
Click to expand...
Click to collapse
I have done all of these (plus recompiling/odexing). The tools are out there, but they are not 100%. I have had to fix several resources manually before being able to repackage them. I only use apktool/baksmali/smali though so I don't know about the various front-ends like APKManager
sangreal06 said:
I have done all of these (plus recompiling/odexing). The tools are out there, but they are not 100%. I have had to fix several resources manually before being able to repackage them. I only use apktool/baksmali/smali though so I don't know about the various front-ends like APKManager
Click to expand...
Click to collapse
Smali/baksmali needs to be updated to support honeycomb
They cannot be updated until hc source is released.
bigrushdog said:
Smali/baksmali needs to be updated to support honeycomb
They cannot be updated until hc source is released.
Click to expand...
Click to collapse
As I mentioned, these tools have already been fixed (to some degree):
C:\anddev>java -jar baksmali.jar -d c:\anddev\xoomdump\framework\ -x Music2.odex -o Music_deodex
C:\anddev>java -jar smali.jar Music_deodex -o Music.dex
C:\anddev>apktool d -f framework-res.apk framework-res-hc-test
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\anddev>apktool b framework-res-hc-test framework-res-hc-test.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building apk file...
C:\anddev>
Click to expand...
Click to collapse
They do not work perfectly. What is not shown in the log is several manual fixes to the files. They work quite well though. Here is a screenshot to show the streaming music manager after enabling (broken) streaming in Music2.odex and recompiling + reodexing:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I also have a thread demonstrating framework-res changes: http://forum.xda-developers.com/showthread.php?t=1015857
I've made a few posts about this but nobody seemed to care too much.
Note: The author of baksmali does not recommend recompiling apps deodexed using this version
sangreal06 said:
As I mentioned, these tools have already been fixed (to some degree):
They do not work perfectly. What is not shown in the log is several manual fixes to the files. They work quite well though. Here is a screenshot to show the streaming music manager after enabling (broken) streaming in Music2.odex and recompiling + reodexing:
I also have a thread demonstrating framework-res changes: http://forum.xda-developers.com/showthread.php?t=1015857
I've made a few posts about this but nobody seemed to care too much.
Note: The author of baksmali does not recommend recompiling apps deodexed using this version
Click to expand...
Click to collapse
Yeah I saw your posted from your other thread but I'm not that edumicated to use that tool you mentioned. That is why I was trying to use the APK Manager.
I don't use APK Manager, so I don't know about that. I believe it is a wrapper around apktool though, so you should be able to just replace apktool.jar in the APK Manager folder
Maybe a really dumb question, but did you copy the framework-res.apk as 1.apk to the apktool folder?
dimitri407 said:
I am trying to decompile the framework-res.apk file with APK Manager. But it's not working. When I did this with the DX, I had to use a dependee apk file (moto-res.apk) to be able to decompile without error but I can't seem to find the write file to use. Does anyone know if there is a dependee file or should I just be able to decompile it? Don't know if the Apk Manager 4.9 will actually work but I am trying to figure it out. Any help would be great.
Click to expand...
Click to collapse
I would learn to use hxd. Hex editer
Sent from my ADR6300 using XDA Premium App
jim_panse said:
Maybe a really dumb question, but did you copy the framework-res.apk as 1.apk to the apktool folder?
Click to expand...
Click to collapse
I am still learning this stuff but why would I rename it to 1.apk?
sangreal06 said:
I have done all of these (plus recompiling/odexing). The tools are out there, but they are not 100%. I have had to fix several resources manually before being able to repackage them. I only use apktool/baksmali/smali though so I don't know about the various front-ends like APKManager
Click to expand...
Click to collapse
Care to share your updated tools? I would like to fix uastring in the wifi version of Xoom. I've got to:
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources:
spec=0x01030065 style/TextAppearance.StatusBar.Title, config=[DEFAULT]
I think I need to update apktools.jar, but if you have it done that would save me some time.
Thanks,
Jeff
I can't find the updated version of Smali/Baksmali. Got a link?
Hey guys,
for all Dev´s and maybe for user that want to deodex new Firmwares. Here´s my guide how to easily deodex (system-)apps on windows. You don´t need your phone!
Our Situation: A new firmware is released, nobody uploaded the deodexed apps but you want them. So you need:
Step one, Download:
xUltimate
Magic ISO Maker
The Firmware you want to deodex from here
You can find more Information about xUltimate and his author at
http://www.xeudoxus.com/android/xUltimate-v2.3.3.zip
I´m using latest Gingerbread 2.3.5 Stock Firmware KNP in this tutorial, but you can use any other one you want.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step two, extract all files you need
Extract the xxxKP*.zip or .rar (PW: samfirmware.com)
If this file is a one-package you will only finde one file there (like I9003SERKPN_HOME.tar.md5). In this case, extract this one with 7zip or Winrar - else skip this step
You should now have files like "boot.bin", "chache.rfs", "normalboot.img"... in your folder
Now Extrace xUltimate.zip
Open Magic ISO Maker
(When you run it, you will be asked if you want to buy full program-version, press "Try it"
It should now look like this:
Now klick on "File"->"Open"-> Select all files -> Double click on the system.rfs in your Firmware Folder
All this files and folders you now see are later on your device under /system
Remember your xUltimate folder. Drag and drop all files in the opened Magic ISO Maker from /system/app to xUltimate folder origi_app
Drag and drop all files in the opened Magic ISO Maker from /system/framework to xUltimate filder origi_frame
Close Magic ISO Maker
Go on with the second post...
Run Main Skip.bat
Type "4" and press enter
All your Framework apps will be now deodexed
Run Script again and type "3" and press enter
All System apps will now be deodexed
All the deodexed Apps are now located in the folders done_app and done_frame. Finished! If you don´t now how to push the files to your system i can create a tutorial for this in third post. If something goes wrong post in this thread and i will help you
Resereved for future use
I know deodexing but really thanx for telling to us how to extract system.rfs file. It will help me alot.
OK!
i deodex all apps... but how create a file.zip and install with CWM???
jZanetti said:
OK!
i deodex all apps... but how create a file.zip and install with CWM???
Click to expand...
Click to collapse
u can copy all the files on ur sdcard and move them to ur system folder with rootexplorer..
or else u can use adb
-SiMmER
i create a backup nandroid and install with cwm from restore???
jZanetti said:
i create a backup nandroid and install with cwm from restore???
Click to expand...
Click to collapse
If you want to restore your nandroid backup in CWM you select in CWM restore, yes ^^
simmer14 said:
u can copy all the files on ur sdcard and move them to ur system folder with rootexplorer..
or else u can use adb
-SiMmER
Click to expand...
Click to collapse
no memory full...
No one is mentioning the fact that u need to delete the *.odex from /system/app and /system/framework too.
and why do we need another thread when we have one from kkrraazzyy.
Link
need your third post
---------- Post added at 02:56 PM ---------- Previous post was at 02:50 PM ----------
vishal24387 said:
I know deodexing but really thanx for telling to us how to extract system.rfs file. It will help me alot.
Click to expand...
Click to collapse
Use MagicISO to open system.rfs and then you can extract the files within it.
I have create a file To restore with nandrod, but in cwm dont see... i can't install this... why??
your third post is wanted
This method didn't work for me magic iso fail to open system.rfs file saying it's not a image file
Sent from my GT-I9003 using Tapatalk
Start MagicISO
File
Open
In the File select window,
select all files and then find system.rfs
it will load the data.
Thank you the guide is very neatly explained just add what Ganesh said in first post (deleting odex files)
Starting AccountAndSyncSettings.odex
*****************************************
* Deodexing... *
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: regCount does not match the number of a
rguments of the method
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:92)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:76)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.baksmali.main.main(main.java:265)
Caused by: java.lang.RuntimeException: regCount does not match the number of arg
uments of the method
at org.jf.dexlib.Code.Format.Instruction3rc.checkItem(Instruction3rc.jav
a:129)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:7
9)
at org.jf.dexlib.Code.Format.Instruction3rc.<init>(Instruction3rc.java:4
4)
at org.jf.dexlib.Code.Format.Instruction3rc$Factory.makeInstruction(Inst
ruction3rc.java:145)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:84)
... 6 more
Error occured at code address 8
code_item @0x256c
Press any key to continue . . .
Click to expand...
Click to collapse
Got this error while deodexing I have downloaded I9000 2.3.6 firmware from sammobile
dsixda's Android Kitchen http://forum.xda-developers.com/showthread.php?t=633246
Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!
UNPACK folders to any place in Windows:
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.
DOWNLOAD HERE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...
Android RFS Unpacker
HERE IS ANOTHER TOOL FROM THE SAME PERSON:
HERE
THE ANDROID RFS UNPACKER
Nice find.
Ta,
Alqi
Sent from my SCH-I535 using xda app-developers app
Nice find! Hopefully, this can help some of the Devs on here that know what they are looking at.
Sent from my SCH-I535 using xda premium
It really helps me out a lot if I am stuck in Windows and don't feel like firing up my Ubuntu Machine or having to start VMware. I mainly use it for the Odin dumps I pull off my extSdCard (if I am already in Windoze...
Sent from my SCH-I535 using Tapatalk 2
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
MinnesotaVikings1961 said:
I get "Unknown file" when I try to open the .ext4 file. How do I fix this?
Click to expand...
Click to collapse
Me too.
I can See the files, But cannot do anything else
h311sdr0id said:
Download NOW from SourceForge!!
VIEW YOUR SYSTEM.IMG (HAVEN'T TESTED OTHERS) FROM YOUR ODIN DUMPS IMG'S FROM THE TUTORIAL:
"[GUIDE][HOW-TO]Create custom ODIN packages"
VIEW THE IMG FILES AND THEN SAVE THEM AS EXT4!!!
VIEW XML (NICELY)
HEX TOO!!
For WINDOWS!!!
UNPACK folders to any place in Windows:
(ie: look at your system.img in this tool, then select the folder you want to have in Windows, right-click on it, and click "extract", and then choose where in your Windows Directory where you want it saved.)
"I had not tried it with anything but the System.img. But if you right-click on ANY folder in the tool, you can extract it (save a copy in windows) to anywhere. And it's totally readable. You can also extract the apk's, etc, etc.."
PERFECT TOOL. EASY TO USE. I FOUND IT WHILE BROWSING SOURCEFORGE AND NOBODY HAD DOWNLOADED IT YET.
DOWNLOAD HERE
PHOTO SOURCE: SourceForge.net (they were better than my screenshots)
THIS TOOL WAS NOT MADE BY ME. NOR DID I HAVE ANYTHING TO DO WITH IT OTHER THAN THE FACT I FOUND IT WHILE WHILE BROWSING...
Click to expand...
Click to collapse
I can view the files inside the folder. But cannot do anything. It is shown in a dialogue window. When open it says, unknown file. Can anyone help to extract an apk from the list??
Thanks! Works great.
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
sudhindrakv said:
Hi.. I saw your tutorial.. I tried to extract system.sin from my Stock ROM of Xperia S.. And when i did, i got to extract it in "ext4" format instead of what other tutorials showed me as "yaffs2" format.. Well, i googled about how to extract ext4 format files and found your tutorial.. I happened to find only app and bin folders as in the SS i have given you and even when i try to extract those folders i am unable to.. I see the error i have given you in 2nd SS.. And i couldn't even exit the application.. Can you help?
Click to expand...
Click to collapse
i get unknown file formay when i try to open a system.img file. or pretty much any file .it seems
I downloaded the ext4 unapcker v. 16.10.2013 (R2) archive.
The file inside are quite old (April and August 2013) and didn't include latest changes (italian translation and tips for translation).
Please update the files in the distriibution archive.
Could add simple text file for documentation
*** README.TXT
- Info about command line parameters
- How to change GUi language
- How to create a new language
*** CHANGELOG.TXT
- Small info about changelog in different releases
If I can help you I can post a sample for two files.
Hi.
There some serious bugs in this util.
1. Didn't extract all files (compared with other similar utils)
I checked that utils didn't extract all files (compared with other utils).
I made a comparison between the file/folders extracted from saprse file iamge (ex. Android systm.img of some smartphones) by this util and Total commander Diskinternal Total Commander Plugin)
EXT4 unapcker extract a lot of file less than Total Comamnder with DiskInternal plugin (about 300 Mb elss).
2. File extracted dind't maintain original date/time
Opening a system.img file and extracting the files inside, the extracted files/folders have today date/time instead original date/time.
Please mantain original date/time for the file extracted.
3. Comamnd line use - it crashed
Using command line for EXT4 unpacker it crashed
The error is
Extracting \system\xbin\Base64
Exception EListError in module ext4_unpacker.exe at 00019E8A
List index out of bounds (0).
Is it a really living project?
No one answer.
The autho din't reply since first day of novembrer.
There are some critical issues.
The file into sourceforge repository are wrong.
Very interesting project but (probably) dead.
The idea is good, but..
From time to time i need to unpack system images for android. It happens. the latest models have HUGE images ~2Gb+
But unfortunately, the program designed to load data to RAM, wich makes problems for 32 bit applications to work with huge images.
Actully, EXT4 partitions may be unpacked in many ways (WinHex can do it easy), but we have here some-kind of compressed images wich have to be uncompressed before we can read it with any 3rd party tool.
According to the SF sources i made a small tool for this purpose.May be it will help to someone
BR
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Should be possible to make a similar command to extract all ffles/folder by system.img?
Or should be possible to use unyaffs command?
Thanks.
I believe that we can close this thread!
The program was very interesting but had some bug and from November the author didn't replay on Sourceforge.
Thanks.
bovirus said:
@darkmen
jb.ext4 comamnd
Could you customize the app with more option like
/nodetail to avoid showing the progress
add an option to specify the output file name, ex
jb.ext4 system.img newsystem.img
Thanks.
Click to expand...
Click to collapse
Hi, source is attached, so its very easy to modify.
Updated the download URL with these fixes.
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
bovirus said:
Many thanks darkmen.
If I will have some improvement proposals I hope that you can help me to implement it.
Which language do you sue for this program?
Which resources/program are needded to compile it?
Thanks. Bye.
Click to expand...
Click to collapse
Just open zip and you will see (delphi).
HEY GUYS HERE I AM WITH ANOTHER GUIDE...
I HAVE RECEIVED MANY REQUESTS FOR THIS...
MANY PEOPLES GET ERRORS/BOOTLOOPS ON COMPILING APK'S...
Click to expand...
Click to collapse
TOOLS I USE:
1. APKTOOL(to play with apk's)
2. APKTOOL for ics (i don't have link, search for it)
3. notepad++(to edit files)
4. 7zip(to edit files)
5. APK One click (optional)(to make things very easy)
Click to expand...
Click to collapse
SETTING UP FILES:
1. Install Notepad++ and 7zip
2. Download apktool-install-windows-* file
3. Download apktool-* file
4. make a folder in windows directory named apktool
example C:/APKTOOL
5. Unpack both downloaded packages to apktool folder named apktool
example C:/APKTOOL/here
Click to expand...
Click to collapse
COMPILING/DECOMPILING
1. Copy stock framework-res.apk, twframework-res.apk and files you want to edit to apktool folder(in my case settings.apk)
2. Go to start > run > type cmd > enter
3. Type:
cd C:\apktool
Click to expand...
Click to collapse
TIP: window 7 users you can skip 2 and 3 step and
go to C:\ just hold shift and press right mouse click on apktool folder.
you will see open command window here, click on it4. Type: apktool if framework-res.apk (enter)
apktool if twframework-res.apk (enter) this will install your frameworks which is needed to decompile system apk files...
5. Type: apktool d settings.apk can be something else in your case
6. Minimize cmd and go to apktool folder you will find settings folder
edit files you want to edit. when done go back to cmd
7. Type: apktool b settings it might give you errors so read it and find the errors but
if it shows building apk file then forget about errors.
8. When done minimize cmd and go to apktool/settings/dist/
and there is your modded apk file...
now's important part
9. Now open modded apk and stock apk in 7zip
10. Drag/drop meta-inf folder and AndroidManifest.xml from stock apk to modded apk
11. Rename modded apk same as stock apk. (capital/block letters)
example modded > settings.apk >Settings.apk
12. All done now push moded apk to phone and enjoy!!!
Click to expand...
Click to collapse
USING APK One click
HOW TO INSTALL
* Download and Extract the achieve to a folder.
* Open the extracted folder & run shellext-add.cmd
* if some errors occur during install:
- Open Windows Control Panel -> User Account Control Settings
- Set the slider to 'Never notify'
- Reboot Windows
- re-run shellext-add.cmd
HOW TO USE
* Install frameworks with apktool as mentioned above
* Right-click apk file you want to edit and select 'Decompile APK'.
* A folder containing the output will be created in the same directory as the APK.
HOW TO RECOMPILE APK
* Modify the smali code or resources
* Right-click xxx_decompiled folder and select > Recompile APK from source
Click to expand...
Click to collapse
SCREENSHOTS
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LINK TO FEW OF MY WORK:
Aroma installer based ATOMODS to have all cool mods, tweaks, apps, cwm recovery, kernel etc on any rom even stock rom...(MUST TRY)
[AROMA] █ ATOMODS █ [Galaxy Ace Plus GT-S7500][Mods/Tweaks/Apps/CWM/Kernel]
Guide for those who want to customize there rom on there own... doo cool mods like center clock,CRT animation, ics and jelly bean style mods etc...
[GUIDE] [MODS] Collection of mods for all gingerbread[2.3] phones..
Learn compiling and decompiling apk files my way
[Guide] COMPILE/DECOMPILE APK FILES MY WAY
Guide on how to make you own custom rom(easy way) (using kitchen)
[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]
Link to apktool for ics bro
http://forum.xda-developers.com/showthread.php?t=15581
LINK NOT VALID
No thread specified. If you followed a valid link, please notify the administrator
lokeshsaini94 said:
SCREENSHOTS
Click to expand...
Click to collapse
In my case I don't see meta-inf !! Can I skip that step.
What I did..!!
For sample I have taken Dropbox.apk.
Decompiled and Recompiled again.
Got the new apk.
viijay4b7 said:
In my case I don't see meta-inf !! Can I skip that step.
What I did..!!
For sample I have taken Dropbox.apk.
Decompiled and Recompiled again.
Got the new apk.
Click to expand...
Click to collapse
The old apk has metainf folder... Drag it into new apk...
Sent from my Galaxy Nexus using xda premium
thanks bro.
Sent from my LG G4 using XDA Labs