[HowTo] Easily deodex (System-)Apps and extract StockFirmwares - Samsung Galaxy SL i9003

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

Related

Deodex help!!! [DEV HELP}

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]

[Tutorial] How to change kernel logo (1st boot srceen) [COMPLETED]

We have 3 major works here... So I gonna to make it seperated
-1st post is HOW TO EXTRACT kernel.img (boot.img)
-2nd post is HOW TO CONVERT PICTURE FILE to BOOT.RLE
-3rd post is HOW TO REPACK THE KERNEL PAKAGE into boot.img
Requiredment
-Window machine
-installed cygwin
-the full boot.img/kernel (some kernel won't work because there is no full pakage/ i mean we can't)
-bootimg.zip (tool for UNPACK and REPACK kernel)
-boot_screen_logo_creation_package.rar
Thank and Credit
i- Credit to DooMLoRD Recognized Developer over most of XPERIA devices for his own tool and tutor that I learned before
ii- Credit to jimbo77 Senior Member for his tutorial that I used and learned and tool for unpack and repack
ii- Don't forget to give them a thanks meter
=============================================================================
Here we go
1-This section I will show u how to unpack and repack the boot.img
just see from original thread by jimbo77 from here and download the UNPACK and REPACK tool by him HERE
this is a fast guide from me:-
1-extract the bootimg-tools.zip into new folder (name it 'boot' folder)
2-move it into cygwin directory (cygwin/boot)
3- move your fav kernel into same directory
4-run cygwin.bat
cd /boot
Click to expand...
Click to collapse
{
"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"
}
5-Now, unpack your boot.img by running the following command:
./extractboot boot.img
Click to expand...
Click to collapse
If your output looks like this, then the extraction has worked correctly! Note that the Command Line string has also been read from the source file, this will be used later when you go to re-pack your file.
Your script folder should now look like this:
boot.img-kernel is the compiled kernel blob that was inside the source boot.img, if you want to replace the kernel with another compiled kernel image, you can replace this file with another one (but leave the file name the same)
boot.img-ramdisk.gz is the gzipped ramdisk image which has been split from the boot.img, you should leave this file alone.
The “out” folder contains the EXTRACTED ramdisk, and this is where you should make your changes to the ramdisk.
Important Note!
Remember, when editing files in the ramdisk through Windows, such as init.rc, Windows notepad will not format the files correctly, making them almost impossible to read, wheras Wordpad will LOOK like it is formatting the files correctly, if you save one of these files from the Wordpad application it will BREAK the file and it will no longer be able to be read correctly by Android. To edit these files you MUST use an editor such as Notepad++ which you can download for free.
AGAIN...
Special thanks/credit to jimbo77 for his excellent guide
So.. NEXT step to change a kernel logo is here
Requiredment
1-a picture what are u like to look into the 1st boot screen (kernel logo) (make sure it size/resolution same your device resolution)
2-boot_screen_logo_creation_package.rar
3-some infos and knowledges here
4-window machine like i explained on 1st post
My quick guide
-extract the tool.rar
-move extracted files into new folder (name it 'rle' folder without quote)
-move into cygwin folder (to make it easy to follow my simple guide)
-copy your own logo.png (a picture u want to use on a kernel) into same rle folder
(for 4 steps above it shold look like tis)
-now launch cygwin.bat
cd /rle
Click to expand...
Click to collapse
./convert_image_to_rle.bat logo.png
Click to expand...
Click to collapse
Ah...my mistake..don't forget to move/copy/replace new logo.rle into
C/cygwin/boot/out/ramdisk/here
if you done good...follow next step on next post (to repack your moded kernel)
Last step before you flash a new look kernel (boot.img) is
Repack your moded kernel
./packboot
Click to expand...
Click to collapse
One thing to note that people may mention in other guides, is that when packing boot.img files, you will usually have to declare a base address, and a command line to the packaging tool. This set of scripts reads the existing command line and base address from the boot.img file you originally provided at the time of repacking, so always make sure you leave your original source boot.img file in the folder and do not re-name it after extraction, your newly created boot.img file will be named boot_new.img and will NOT overwrite the original.
Done! If your screen looks like the image above, then you should now have a freshly created boot_new.img file, ready to be flashed to Android for testing, you can now go ahead and flash it through FASTBOOT one thing I'll recommend though is to first do
I need this for extra (extra thanks..)
(may U?)

[GUIDE] Deodexing your custom rom the easy way

Hello Guys,
@android.zealot.fervor wanted me to post this guide so why not
There is already a guide by Panda00 but that one is a bit outdated...
Requirments:
- A Windows PC
- Zip opener (7zip,winrar,winzip)
- Dsixda's kitchen and cygwin
- sgs2ext4.jar
- linux reader
- A Brain and hands
So let's begin:
Step 1)
- Download the stock firmware from sammobile samsung-updates search for yourself and open the file with 7zip inside the file you will find a md5 file open that with 7zip it should give you a error ignore that! Take out the system.img and open up sgs2ext4.jar and drop the system.img into there now after some time the system.img.ext4 will be placed onto your desktop!
Step 2)
- Open up Linux Reader and mount the system.img.ext4 drive open it up and take out only the app and framework folder save them to your desktop!
Step 3)
- Now make a WORKING_DEODEX folder name it exact as i say you and make inside that folder a system folder! drop the app&framework folder in the system folder and copy WORKING_DEODEX to C:/kitchen or where ever you have kitchen on your PC!
Step 4)
- Open up kitchen with cygwin by typing in the following:
cd C:/kitchen and hit Enter! (I take the C drive as example but your drive letter could be diffrent!!!)
sh menu Hit Enter again!
Now it should load up kitchen if not do not ask me!
go in kitchen to advanced options by typing in 0 and after that go to 11 now select the correct api version it should be 17!
Now type in b for deodexing both folders! let kitchen do his work here this can take up to 20min!!!
Step 5)
When kitchen is done go back to your C:/kitchen drive and take out the system folder of the WORKING_DEODEX and drop it onto your desktop!
What you need to do now is download the zip file from the attachments and drop the system folder in it!
Step 6)
Copy the zip to your device and flash enjoy your deodexed phone!
Credits:
Panda00 for his zip file
CoolDevelopment for his CWM
Some things you need to know:
1) secemail_j will not deodex!!!
2) you must be on the firmware you are deodexing!
3) Install custom recovery for flashing
{
"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"
}
android.zealot.fervor said:
Click to expand...
Click to collapse
Thanks man if you want more guide's etc just ask
safariking said:
Thanks man if you want more guide's etc just ask
Click to expand...
Click to collapse
Thanks a lot. That's so generous of you. Well i just want to ask right now....in your guide i couldn't found the ZipAlligning step.Is zipalligning necessay after deodexing. Thanks
android.zealot.fervor said:
Thanks a lot. That's so generous of you. Well i just want to ask right now....in your guide i couldn't found the ZipAlligning step.Is zipalligning necessay after deodexing. Thanks
Click to expand...
Click to collapse
not needed to zipalign btw: new link for deodex xxbml1
safariking said:
not needed to zipalign btw: new link for deodex xxbml1
Click to expand...
Click to collapse
Thanks.....well i already fixed the update-script and it worked.
Thanks once again for your efforts.

[Guide] Unpack-Repack Boot, Recovery .img without Kitchen

I have searched a lot, but couldn't find any post like this. So I thought I would post it here. This is NOT purely my work, and I do not take credit for it as such .
NO NEED ANDROID KITCHEN FOR UNPACK REPACK IMG's
This is the easiest way to unpack .img files with extracted ramdisk. So, Lets Start
At first Download the tool from HERE
For MTK (chineese) phones - use MTK_unpack.bat (MTK_pack.bat)
For android standard phones - use STD_unpack.bat (STD_pack.bat)
Here I am showing you about MTK (chineese) phones .img unpack-repack....
Instructions
1. Extract the file in any where you want
2. You will see this files
{
"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"
}
3. Then Copy your .img file in this folder like this
Remember the file should be named as boot.img or recovery.img
4. Just Drag and Drop .img files into unpack.bat for unpacking. Then you will see this.
5. A folder will be created there. I unpacked boot.img so here is the all file you want
6. To repack, again just drag and drop the folder into pack.bat. you will see this
7. New .img file created. Rename it as you want. So All done. Enjoy.
[ NOTE: It's Only for Windows]
Thanks to
Michfood for making this tool
DON'T FORGET TO HIT THANKS IF I HELPED YOU
NO NEED TO DONATE ME, JUST SAY THANKS TO ENCOURAGE ME
Thanks for this awesome guide
Thanks bro for this awesome guide and Tool
I will so much try...... but I don't success bcoz ramdisk folder empty.....
I will so much try...... but I don't success bcoz ramdisk folder empty.....
try with patience
A.S.Noman Khan said:
I will so much try...... but I don't success bcoz ramdisk folder empty.....
Click to expand...
Click to collapse
do it carefully bro.. this tool extract ramdisk nicely bro
problem
Bro, when I am going to repack my boot.img, its not repacking correctly. Help me out. Please.
golam1962 said:
Bro, when I am going to repack my boot.img, its not repacking correctly. Help me out. Please.
Click to expand...
Click to collapse
did u deleted something? Make sure that your boot.img has all the files what needed.
check
I will just check. By the way, thanks again for this.
golam1962 said:
I will just check. By the way, thanks again for this.
Click to expand...
Click to collapse
Ok. I will wait. And don't thank me. Thank the main dev MICHFOOD who created this tool
Succeeded
aalakib07 said:
Ok. I will wait. And don't thank me. Thank the main dev MICHFOOD who created this tool
Click to expand...
Click to collapse
it worked bro thanks
My device is LG GX F310, original boot.img 24MB, https://docs.google.com/file/d/0Bx0NlR3rjLYeUS14YmxESGc3bWc/edit?usp=docslist_api after unpacked and repacked new boot.img only has 11MB. And can't boot into system. Could you help me?
Work with MT6752?
this tool isn't working under Windows 10, that unpack all files except "rmdisk" folder.
the rmdisk is empty...
I tried to use this tool to unpack the lienageOS recovery ROM from https://wiki.lineageos.org/devices/s5neolte/install
When I change the name and drag it to unpack it, it doesn't work and I get these error messages.
'chcp' is not recognized as an internal or external command,operable program o - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
pastebin.com
Am I doing something obvious wrong?
I tried it for my stock boot.img(Mi 11 lite 5g NE-Snapdragon 778G) and the unpacked items didn't satisfy me. Looks like it isn't for snapdragon chipset. BTW I'm looking for similar tool to extract kernel from boot.img of this device.Thnaks though for uploading the tool.

[Q] How to extract the stock ROM from a backup?

Hi
Im asking for help, beacuse I wanted to extract my stock ROM from my LG L7 II's backup? Can i manage to do it somehow or is it not possible? Is there any other way I could pull the stock ROM out of the backup? Thanks for all hints tips and informations, I appreciate it.
Jabar678 said:
Hi
Im asking for help, beacuse I wanted to extract my stock ROM from my LG L7 II's backup? Can i manage to do it somehow or is it not possible? Is there any other way I could pull the stock ROM out of the backup? Thanks for all hints tips and informations, I appreciate it.
Click to expand...
Click to collapse
If your backup's a .img file, you can just extract it with an archive manager and copy the .\rom folder out of it.
That's the problem, it's not an .img file ...
Jabar678 said:
That's the problem, it's not an .img file ...
Click to expand...
Click to collapse
What type of file is it, then?
If it has no file extension (Windows calls these just "Files"), try adding the .img extension, as sometimes backups are saved without an extension but really are .img files.
help
how to edit the ftf file to remove bloatwares? i just wanted to remove the bloatwares from it so that everytime i flash the stock rom i will no longer delete and delete it again
SmartPoppy said:
how to edit the ftf file to remove bloatwares? i just wanted to remove the bloatwares from it so that everytime i flash the stock rom i will no longer delete and delete it again
Click to expand...
Click to collapse
Open the directory where the system apps are located inside of your file with an archive manager and delete what you like.
Hit the
{
"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"
}
button for me if I helped you!
thenookieforlife3 said:
What type ot file is it, then?
If it has no file extension (Windows calls these just "Files"), try adding the .img extension, as sometimes backups are saved without an extension but really are .img files.
Click to expand...
Click to collapse
Thank you I'll try to add the extension
Jabar678 said:
Thank you I'll try to add the extension
Click to expand...
Click to collapse
The backup means nandroid backup right?
If you can't extract those files , just listen what I said below
There is a folder which contain data.tar , system.tar ,an img file ...
You can also see a system.tar.a , rename it into system.tar and extract it . It contains all the system files .
Do the same step for all files in the backup folder .
Hope I helped you
Regards,
AlfasPeralassery
Sent from my GT-S7562 using XDA Premium 4 mobile app
thenookieforlife3 said:
Open the directory where the system apps are located inside of your file with an archive manager and delete what you like.
Hit the
button for me if I helped you!
Click to expand...
Click to collapse
thank you sir for quick response
AlfasPeralassery said:
The backup means nandroid backup right?
If you can't extract those files , just listen what I said below
There is a folder which contain data.tar , system.tar ,an img file ...
You can also see a system.tar.a , rename it into system.tar and extract it . It contains all the system files .
Do the same step for all files in the backup folder .
Hope I helped you
Regards,
AlfasPeralassery
Sent from my GT-S7562 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
OMG! It's working! Thank you so much! :3
But there is one problem now I've got nearly everything, but I'm missing the META-INF and now my question how do I manage to get it?
Jabar678 said:
But there is one problem now I've got nearly everything, but I'm missing the META-INF and now my question how do I manage to get it?
Click to expand...
Click to collapse
You don't need to get it. That folder creates itself when the backup is restored on a device, and is generally not included when a backup is made.
But does it mean I don't need it when I want to port?

Categories

Resources