How to extract the boot.img file from the oneplus 8 firmware for magisk rooting - OnePlus 8 Guides, News, & Discussion

Install Python for Windows - Windows is the easiest
Download Payload Dumper (you can find it on XDA by searching or google it)
Download your correct firmware file and unzip it, then discard everything except the payload.bin file - that's the only one you need
Make a desktop folder and name it anything you want. I named mine Python.
Install Python inside that folder.
Take the contents of the Payload Dumper (all the files) and put them in the folder also.
Also put the payload.bin file in that folder
Now open a command prompt ( you can do it in the address bar inside that python folder or whatever you named it by typing CMD).
Run the following two commands in terminal: python -m pip install -r requirements.txt
and the second: python payload_dumper.py payload.bin
that's it. The boot.img and other files will be in the output folder.

cityneversleepz said:
Install Python for Windows - Windows is the easiest
Download Payload Dumper (you can find it on XDA by
...
that's it. The boot.img and other files will be in the output folder.
Click to expand...
Click to collapse
Hi, that's not a question, so this belongs to the guide and discussion thread.
Thanks for doing that next time

cityneversleepz said:
The boot.img and other files will be in the output folder.
Click to expand...
Click to collapse
you could also just throw that payload.bin into the input folder in the payload dumper folder and double click payload dumper.exe

Related

CrunchIT Method

A Type of COMPRESS EXTENDED ROM that uses the SelF eXtracting Archive (SFX), done thru a Zip Program(Pocket Rar, Winzip, or Winrar), Zip it then Make a SFX with Nsctech CrunchIT 5.0, then add the XdA2JoJo.v3.0.1t.CAB in config.txt to automatically execute the ExtROM.exe and extract the files to TEMP folder, the files will be executed by autorun and needed to specify the \TEMP\ as the path, after installing all program files, it will remove the cab files in the TEMP folder with wei's Fast Cleanup 1.3
.. for more details about the CrunchIT Method Click Here

need files

hi could someone upload these files please
fastboot.exe
adb.exe
and the .dll file that make both run properly
thanks in advanced i am going to make a easy filing tool for learners to use
edit: got the files i needed
here you go : Link
Code:
adb.exe
fastboot.exe
AdbWinApi.dll
AdbWinUsbApi.dll
CMD.exe

[Tutor] Extracting files from system.img and Data.img's

Usefull to get files from DFT installs
Usefull for extracting thoses backup .img files in your clockworkmod folder on sdcard
1.Unzip unyaffs.zip file to drive of your choice.
2. Copy system.img to same folder.
3. Double click Command Prompt.bat
4. type 1 press enter ( automaticly ) extracts any system.img
5. pressing 2 enter is for data.img ( copy data.imp file to folder and press d )
For ICS and other newer system.img's you may need to convert the image then unpack the converted img
http://forum.xda-developers.com/showpost.php?p=13393576&postcount=41

What software do I need to decompile a apk?

I need a program to decompile a apk for cm7, to make a rom and my question is what program do I need? from already thank :laugh:
frixed said:
I need a program to decompile a apk for cm7, to make a rom and my question is what program do I need? from already thank :laugh:
Click to expand...
Click to collapse
Try this guide: http://forum.xda-developers.com/showthread.php?t=1989533
you mean like extracting the files from apk file...........you can always use 7zip or winrar
it will extract the file in it like as if unzipping any file.....there you will find the xml files and any media and metadata folder dont know what else
you can use ApkMultiTool to decompile, edit, sign and install apks
apktool & the likes will generate smali code, which is a real mess. Here's how you should proceed to get readable java sources from an apk (for educational purposes only!)
Use apktool only to extract the /res folder from an apk
Extract the classes.dex from your apk (either with an archive manager or in terminal with the following command) :
Code:
unzip yourapp.apk classes.dex
Download dex2jar, put your classes.dex in the same folder and cd to it, then :
Code:
bash d2j-dex2jar.sh classes.dex
Download JD-GUI, put it in the same folder as dex2jar & classes.dex and cd to it, then :
Code:
./jd-gui classes.dex.dex2jar.jar /[COLOR="Green"]/or whatever the generated .jar file's name is[/COLOR]
This will open the jd-gui IDE with all the java sources of your apk, hit source/export all sources (or something like that, I don't remember exactly)
Add the /res folder you extracted with apktool to the /src folder you extracted with dex2jar/jd-gui and import the whole thing as existing Android code into Eclipse
There you go, you now have a full eclipse project out of an apk, the decompilation might have generated a few errors in the code during the process though, you'll need to fix them to be able to rebuild the apk.

How to use payload dumper and fastboot installer script to install custom rom on OP8.

See the video.
Links in video description for payload dumper and fastboot installer zip.
fastboot_installer.zip also attached to this post.
link to payload dumper: https://github.com/vm03/payload_dumper
Extract rom files into "payload input" folder
run payload dumper exe
copy files from "payload output" folder
extract files from fastboot_installer.zip
paste payload files into fastboot_installer folder
run rominstaller.bat with phone in bootloader and connected to pc

Categories

Resources