Edit init.rc repack boot.img & flash using sp flash tool - Android Q&A, Help & Troubleshooting

Hi
please let me know the procedure to unpack boot.img edit init.rc & repack boot.img & flash using sp flash tool. The main purpose is to change device id, serial & Android ID.
Pl advise.
Thanks in advance

Related

Custom Splash screen

Hi,
I wanna change the splash screen (boot logo) of my sony ericsson xperia active (st17i) , with FXP 152 CM 10 on it, I can't find the original logo.rle, I found the bootanimation but not the boot logo, can someone help me please? Thanks
Sent from my Xperia Active using xda app-developers app
u cant change kernel boot logo with just a simple copy pasting. its in ramdisk.
one has to unpack ramdisk from kernel, change the boot.rle in ramdisk and repack back ramdisk with kernel.
http://forum.xda-developers.com/showthread.php?t=2066539
First, start off by installing any linux distro (preferrably Ubuntu) and download android kernel kitchen - http://forum.xda-developers.com/showthread.php?t=1659584
In the kitchen, you have to first unpack the boot.img. Then you have an option to convert your (the one you want to put) png file to a rle file and replace the stock logo.rle file and then repack the ramdisk and create the boot.img. Flash it to your phone using fastboot and the following command - fastboot -i 0x0fce flash boot boot.img
Press thanks if I helped and good luck

How to flash system image file via fastboot?

Sir, I'm flashing system.img file to my micromax a27 via this command "fastboot flash system system.img" but it's showing error. Why? Pls help me immediately..
dont worry
No need to worry. Tell me are you flashing a kernel or an .ftf file or what?
By using fastboot, you will only be able to flash an .elf .sin or .img file!

Flash system.img Mtk Droid Tools Create folder

Hey people i have a problem,i made a backup from mtk droid tools and only creates me a folder with system content but its not in .img format.
i try to make a repack but when im try flash my created.img , but in sp flashtools freezes at 76%, i dont have any cwm , and i cant enter recovery mode so anyone of you can repack img to me? If yes i´m gonna upload my backup
THANK YOU

Lenovo K5 pro STOCK ROM flash - how to?

Hello!
Posting here because the model doesn't have its forum.
My phone is currently unlocked with phh-trebmble android 9 and the rom has rather crucial problems - apps crashing, no auto brightness, unable to connect to networks with hidden SSID and some more.
Unfortunately I cannot find a guide showing a working method [atleast for my case] to flash the stock rom.
I got the stock rom from firmwarex .net and tried flashing it with QFIL. At first the program couldn't locate a usable file for the "programmer path". After seeing multiple guides for the program I saw that everyone is using the same file "prog_emmc_firehose_8936.mbn" so I got the file, placed it in the rom folder and selected it from the QFIL. When i start the download proccess it returns Sahara error so I am unable to complite the recovery.
As it is somewhat scuffed method with spare parts from here and there could anyone point me to somthing that I am missing or doing wrong.
P.S. Phone is in download mode when I'm trying to flash trough QFIL, QFIL is seeng the phone on the port.
Flash stock rom lenovo k5
try turning off your internet connection and flash sorry for my inglis I'm using google translate
Nox.BG said:
Hello!
Posting here because the model doesn't have its forum.
My phone is currently unlocked with phh-trebmble android 9 and the rom has rather crucial problems - apps crashing, no auto brightness, unable to connect to networks with hidden SSID and some more.
Unfortunately I cannot find a guide showing a working method [atleast for my case] to flash the stock rom.
I got the stock rom from firmwarex .net and tried flashing it with QFIL. At first the program couldn't locate a usable file for the "programmer path". After seeing multiple guides for the program I saw that everyone is using the same file "prog_emmc_firehose_8936.mbn" so I got the file, placed it in the rom folder and selected it from the QFIL. When i start the download proccess it returns Sahara error so I am unable to complite the recovery.
As it is somewhat scuffed method with spare parts from here and there could anyone point me to somthing that I am missing or doing wrong.
P.S. Phone is in download mode when I'm trying to flash trough QFIL, QFIL is seeng the phone on the port.
Click to expand...
Click to collapse
I'm stuck on the "fire hose" file. QFIL seems to not detected the phone.
Did you managed to solve the problem?
Lenovo K5 Pro ROM
After flashing IMG file (using TWRP 3.3.1) the phone (Lenovo k5 pro) always starts in bootloader mode. Everyone can help?
ShmuelCohen said:
After flashing IMG file (using TWRP 3.3.1) the phone (Lenovo k5 pro) always starts in bootloader mode. Everyone can help?
Click to expand...
Click to collapse
Did you get any solution, I have the same problem.
Instead of using qpst I solved this by using a qfil unsparse tool which made a single raw image file of system.img, vendor.img and userdata.img and I then used img2simg to make sparse images of the newly created files that I flashed using the command:
fastboot flash system system.img
and so on with vendor.img, boot.img, cache.img and userdata.img (in my case i had overwritten vendor files) from platform-tools.
anonym34 said:
Instead of using qpst I solved this by using a qfil unsparse tool which made a single raw image file of system.img, vendor.img and userdata.img and I then used img2simg to make sparse images of the newly created files that I flashed using the command:
fastboot flash system system.img
and so on with vendor.img, boot.img, cache.img and userdata.img (in my case i had overwritten vendor files) from platform-tools.
Click to expand...
Click to collapse
Thank you so much for this post.
After many many many attempts to repair my device through qfil without success, I tried what you wrote in the post and thank God I finally succeeded so thank you very much.
However for some reason I can not update the system version because he thinks I have root, no matter what I did I could not fix it.
Any ideas?
I also wanted to ask, for what should a userdata partition be flashed? It is always built on its own. I'm wrong?
anonym34 said:
Instead of using qpst I solved this by using a qfil unsparse tool which made a single raw image file of system.img, vendor.img and userdata.img and I then used img2simg to make sparse images of the newly created files that I flashed using the command:
fastboot flash system system.img
and so on with vendor.img, boot.img, cache.img and userdata.img (in my case i had overwritten vendor files) from platform-tools.
Click to expand...
Click to collapse
Resuscitated my K5 Pro, thank you very much your comment saved me!:victory::victory:
help me what is the correct file to download to flash android 10 on lenovo k5 pro. Gapps and custom rom please help. Im stock the google pixel logo boot screen for almost an hour.
anonym34 said:
Instead of using qpst I solved this by using a qfil unsparse tool which made a single raw image file of system.img, vendor.img and userdata.img and I then used img2simg to make sparse images of the newly created files that I flashed using the command:
fastboot flash system system.img
and so on with vendor.img, boot.img, cache.img and userdata.img (in my case i had overwritten vendor files) from platform-tools.
Click to expand...
Click to collapse
.
shisho585 said:
Thank you so much for this post.
After many many many attempts to repair my device through qfil without success, I tried what you wrote in the post and thank God I finally succeeded so thank you very much.
However for some reason I can not update the system version because he thinks I have root, no matter what I did I could not fix it.
Any ideas?
I also wanted to ask, for what should a userdata partition be flashed? It is always built on its own. I'm wrong?
Click to expand...
Click to collapse
.
iugleafar said:
Resuscitated my K5 Pro, thank you very much your comment saved me!:victory::victory:
Click to expand...
Click to collapse
anonym34 said:
Instead of using qpst I solved this by using a qfil unsparse tool which made a single raw image file of system.img, vendor.img and userdata.img and I then used img2simg to make sparse images of the newly created files that I flashed using the command:
fastboot flash system system.img
and so on with vendor.img, boot.img, cache.img and userdata.img (in my case i had overwritten vendor files) from platform-tools.
Click to expand...
Click to collapse
.

Phone isn't booting after flashing damaged vendor.img

I edited my vendor.img & boot.img in a hex editor and flashed it. And now my phone doesn't go to the bootloader. Any suggestion is appreciated, plz help!
Cyberavater said:
I edited my vendor.img & boot.img in a hex editor and flashed it. And now my phone doesn't go to the bootloader. Any suggestion is appreciated, plz help!
Click to expand...
Click to collapse
Flashing the stock image using the SP flash tool fixed the issue.

Categories

Resources