Modem image from twrp needed . - Google Pixel 4a Questions & Answers

Hello. I need backup from twrp partition modem/firmware/radio . I want to add support of volte to my device and i need to extract files from image . mcfg_sw and mcfg_hw i need from image . Unpack of stock image radio from stock zip is impossible , because i can't read correct files . I need last image of this partition from updated device . Please image on pm

Related

[Q] How to make a Hboot Flashable ROM?

I create a rom from Android Kitchen , but this rom need include a new radio,so i want make a hboot flashable rom . because it can be flash system and radio at the same time .
at before , i use mkyaffs2image under ubuntu 11.04 , make my "/system" folder to system.img, change name boot.img to boot_signed.img .
and compress
{android-info.txt;
boot_signed.img;
system.img}
the 3 files to zip , named PG32IMG.zip
restart device into hboot , after finish flashing, my device stop at first boot screen, cant enter system .
PS: boot.img is dumped from RCMIX rom.
does any one help me , how to make hboot flashable rom ?

[rom][4.2.1]701hd[fazhdv3][21/06/13]

{
"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"
}
Welcome
FazHDv3 is the Samsung S4 Based Custom Rom
This ROM is ported from SamHDv3 for Customizations and Smoothness of 701HD
Special Thanks to abhishek for his invaluable contribution.
FAZHD ROM Features
Same as http://forum.xda-developers.com/showthread.php?t=2201122
How To Flash :
( You Can Take CMW Backup for Revert back to your old system )
Flashing procedure is different Don't Skip
1) Download Fazhd rom and bin files
Extract them both.copy allfiles in bin files to rom's system/bin
copy updater-script and replace with updater-script in here .META-INF/com/google/android/here
make a zip of rom
2) Put into External SD Card
3) Go To CMW Recovery
4) Wipe Data/Factory Reset And Wipe Partition
5) From Advance Menu Do Dalvik Catch Clear
6) Go in Mount And Storage select FORMAT SYSTEM
7) Select Intall From SD and Select File And Click YES
8) Select FazHDV3.zip And Select YES
9) Reboot Your System
10) Enjoy
Downloads
Rom http://d-h.st/NVu
bin files http://d-h.st/BBf
updater-script http://www.mediafire.com/?mv7fksxvttm4c41
Hi Buddy, Can you port the Ultimate 2.1 Rom by Back37 of Xolo Q800/GiONEE GN708W to Lava IRIS 504Q??
It's SUPER AWESOME ROM!! GIONEE FIRMWARE ROCKS!
Here's the link.
https://disk.yandex.com/public/?hash=MliKIOx5Mpen0T9iZd1uQmMX6bJee7QjjfPLQtVMXoU=
Thanks lot!
NHS2008 said:
Hi Buddy, Can you port the Ultimate 2.1 Rom by Back37 of Xolo Q800/GiONEE GN708W to Lava IRIS 504Q??
It's SUPER AWESOME ROM!! GIONEE FIRMWARE ROCKS!
Here's the link.
https://disk.yandex.com/public/?hash=MliKIOx5Mpen0T9iZd1uQmMX6bJee7QjjfPLQtVMXoU=
Thanks lot!
Click to expand...
Click to collapse
I ported lewa os to lava iris 504q..
Will upload soon
Sent from my iris504Q using xda premium
Thanks I would be very greatful if you could port that rom. Its too goood
Thanks a Lot.... can you try to port Canva4HD from same dev...
fandroid7 said:
Welcome
FazHDv3 is the Samsung S4 Based Custom Rom
This ROM is ported from SamHDv3 for Customizations and Smoothness of 701HD
Special Thanks to abhishek for his invaluable contribution.
FAZHD ROM Features
Same as http://forum.xda-developers.com/showthread.php?t=2201122
How To Flash :
( You Can Take CMW Backup for Revert back to your old system )
Flashing procedure is different Don't Skip
1) Download Fazhd rom and bin files
Extract them both.copy allfiles in bin files to rom's system/bin
copy updater-script and replace with updater-script in here .META-INF/com/google/android/here
make a zip of rom
2) Put into External SD Card
3) Go To CMW Recovery
4) Wipe Data/Factory Reset And Wipe Partition
5) From Advance Menu Do Dalvik Catch Clear
6) Go in Mount And Storage select FORMAT SYSTEM
7) Select Intall From SD and Select File And Click YES
8) Select FazHDV3.zip And Select YES
9) Reboot Your System
10) Enjoy
Downloads
Rom http://d-h.st/NVu
bin files http://d-h.st/BBf
updater-script http://www.mediafire.com/?mv7fksxvttm4c41
Click to expand...
Click to collapse
Thanks a Lot.... can you try to port Canva4HD from same dev... great abhishek.....
and can it be possible if you put bin files... in the same.. .zip.. and do we need to sign the zip after copy - paste of bin files and updater script...
port MTK6589 roms easy
defy403 said:
Thanks a Lot.... can you try to port Canva4HD from same dev... great abhishek.....
and can it be possible if you put bin files... in the same.. .zip.. and do we need to sign the zip after copy - paste of bin files and updater script...
Click to expand...
Click to collapse
Download MTK firmware adaptor forum.china-iphone.ru/post862552.html
you should install adb and root access to phone and your stock boot.img
1. download Rom you need to port
2. open mtk firware Adaptor
3. select profile as mtk6589
4.get files from your phone.
5. make your system files as system.zip (will get from backup of your rom)
get files from your system.zip
the tool will look like not responding but its copying rom files
6. get files from port rom
7. tick automated boot.img and make modded boot.img from stock boot.img
8. make adapted rom (port rom for your device)
it will automatically sign your rom
you can edit build.prop before creating rom
copy to phone and flash via cwm
updater-script will be automatically created.
test the rom and tell me if you have any problem like
dark camera. audio not wotking
will tell you how to fix it
stuck on boot loop....
fandroid7 said:
Download MTK firmware adaptor forum.china-iphone.ru/post862552.html
you should install adb and root access to phone and your stock boot.img
1. download Rom you need to port
2. open mtk firware Adaptor
3. select profile as mtk6589
4.get files from your phone.
5. make your system files as system.zip (will get from backup of your rom)
get files from your system.zip
the tool will look like not responding but its copying rom files
6. get files from port rom
7. tick automated boot.img and make modded boot.img from stock boot.img
8. make adapted rom (port rom for your device)
it will automatically sign your rom
you can edit build.prop before creating rom
copy to phone and flash via cwm
updater-script will be automatically created.
test the rom and tell me if you have any problem like
dark camera. audio not wotking
will tell you how to fix it
Click to expand...
Click to collapse
stuck on boot loop.... what to do now......!!!
defy403 said:
stuck on boot loop.... what to do now......!!!
Click to expand...
Click to collapse
its becouse of boot.img
just tap modifying boot.img button two or more times after selecting boot.img
its because of bad repacking of boot.img
if you use android kitchen
then make portrom.zip working folder and replace your stock boot.img
unpack boot.img by going to advanced and unpack repack boot.img unpack pressing w
rename boot extracted to stock boot
change boot.img with port roms boot.img
unpack port boot.img
copy zimage or zboot (i forgot real name) zxxxxxxx from stock boot to boot exracted
repack boot.img and make zip using 7zip of new boot.img+meta+system and flash rom it will boot
need help badly....
fandroid7 said:
its becouse of boot.img
just tap modifying boot.img button two or more times after selecting boot.img
its because of bad repacking of boot.img
if you use android kitchen
then make portrom.zip working folder and replace your stock boot.img
unpack boot.img by going to advanced and unpack repack boot.img unpack pressing w
rename boot extracted to stock boot
change boot.img with port roms boot.img
unpack port boot.img
copy zimage or zboot (i forgot real name) zxxxxxxx from stock boot to boot exracted
repack boot.img and make zip using 7zip of new boot.img+meta+system and flash rom it will boot
Click to expand...
Click to collapse
hi sir,
how to boot into recovery... i am getting 8038 in sp flash tool... have cwm backup...... device is not detected on mtk... and getting 8038 error in sp flash tool... what to do... plz plz help...
defy403 said:
hi sir,
how to boot into recovery... i am getting 8038 in sp flash tool... have cwm backup...... device is not detected on mtk... and getting 8038 error in sp flash tool... what to do... plz plz help...
Click to expand...
Click to collapse
are you using cwm
download mobile uncle tools for mediatech and select reboot to recovery
resolved... phone is back to life....
defy403 said:
hi sir,
how to boot into recovery... i am getting 8038 in sp flash tool... have cwm backup...... device is not detected on mtk... and getting 8038 error in sp flash tool... what to do... plz plz help...
Click to expand...
Click to collapse
done... phone back to life... selected... firmware upgrade and did... flash factory rom backup.... and it's again alive...
with CWM & SU along with mobile uncle....
i think from next time... whenever i will try to do experiments.... will... make sure... i have backup ready..
so doing a new backup with CWM and SU... right away... also doing IMEI restore as it went to null.....
---------- Post added at 08:03 AM ---------- Previous post was at 07:54 AM ----------
fandroid7 said:
are you using cwm
download mobile uncle tools for mediatech and select reboot to recovery
Click to expand...
Click to collapse
HI....
i was stuck on boot loop... so not getting into recovery... even mtk was not detecting my phone... so i flashed... factory rom.. backup.. via firmware upgrade in sp flash tool... 3.13.... and did a factory reset and i am back in business,,,, still thanks for help...
you are from India... i am from mumbai.... can i just replace.... boot.img in custom rom with my phone's boot.img.... and do same for LK.bin... i.e. uboot.img... will that work....
---------- Post added at 09:01 AM ---------- Previous post was at 08:03 AM ----------
defy403 said:
done... phone back to life... selected... firmware upgrade and did... flash factory rom backup.... and it's again alive...
with CWM & SU along with mobile uncle....
i think from next time... whenever i will try to do experiments.... will... make sure... i have backup ready..
so doing a new backup with CWM and SU... right away... also doing IMEI restore as it went to null.....
---------- Post added at 08:03 AM ---------- Previous post was at 07:54 AM ----------
HI....
i was stuck on boot loop... so not getting into recovery... even mtk was not detecting my phone... so i flashed... factory rom.. backup.. via firmware upgrade in sp flash tool... 3.13.... and did a factory reset and i am back in business,,,, still thanks for help...
you are from India... i am from mumbai.... can i just replace.... boot.img in custom rom with my phone's boot.img.... and do same for LK.bin... i.e. uboot.img... will that work....
Click to expand...
Click to collapse
hi all...
http://forum.xda-developers.com/show....php?t=2012770
http://forum.xda-developers.com/show....php?t=1574401
check this thread...
this even works with our Zen 701HD... so install and enjoy.... new freedom... and.. no custom rom.. needed....
Replaced boot.img and it worked
fandroid7 said:
Download MTK firmware adaptor forum.china-iphone.ru/post862552.html
you should install adb and root access to phone and your stock boot.img
1. download Rom you need to port
2. open mtk firware Adaptor
3. select profile as mtk6589
4.get files from your phone.
5. make your system files as system.zip (will get from backup of your rom)
get files from your system.zip
the tool will look like not responding but its copying rom files
6. get files from port rom
7. tick automated boot.img and make modded boot.img from stock boot.img
8. make adapted rom (port rom for your device)
it will automatically sign your rom
you can edit build.prop before creating rom
copy to phone and flash via cwm
updater-script will be automatically created.
test the rom and tell me if you have any problem like
dark camera. audio not wotking
will tell you how to fix it
Click to expand...
Click to collapse
Replaced boot.img and it worked... bootup perfectly first time... all things working correctly... but now not booting up again... after i tried to restart...
troubleshooting done.... only needed to replace build.prop... and it works great.... even blow to unlock works...
only camera is dark... as told by you.. please tell me how to fix....
defy403 said:
Replaced boot.img and it worked... bootup perfectly first time... all things working correctly... but now not booting up again... after i tried to restart...
Click to expand...
Click to collapse
Hi can you share the files I need to flash from S.P. Tools to make my Irsi 504q back working?
I only have CWM backup. I've bircked it while trying a ported rom from Q800...THANKS!
please help me with camera
fandroid7 said:
Download MTK firmware adaptor forum.china-iphone.ru/post862552.html
you should install adb and root access to phone and your stock boot.img
1. download Rom you need to port
2. open mtk firware Adaptor
3. select profile as mtk6589
4.get files from your phone.
5. make your system files as system.zip (will get from backup of your rom)
get files from your system.zip
the tool will look like not responding but its copying rom files
6. get files from port rom
7. tick automated boot.img and make modded boot.img from stock boot.img
8. make adapted rom (port rom for your device)
it will automatically sign your rom
you can edit build.prop before creating rom
copy to phone and flash via cwm
updater-script will be automatically created.
test the rom and tell me if you have any problem like
dark camera. audio not wotking
will tell you how to fix it
Click to expand...
Click to collapse
only camera is dark... as told by you.. please tell me how to fix....
defy403 said:
only camera is dark... as told by you.. please tell me how to fix....
Click to expand...
Click to collapse
to fix camera.
I assume you use dsixda's kitchen.
Set up working folder for stock rom
Go to advanced > tools for boot.img
> unpack boot.img
Navigate to the folder called Boot-extracted.
> rename it to something else (for now: stock boot)
Set up working folder for port rom.
Go to advanced > unpack boot.img
Do a google search for 'winmerge' > install program (free).
Open winmerge, for left navigate to the 'stock boot' folder, and select init.rc (about 40kb)
For right, navigate to the port 'boot-extracted', and select init.rc (about 40kb)
In winmerge find lines like this
Chmod camera blablabla (on the left pane you will see where there are differences)
Chown camera blablabla
If there are differences in those lines, copy the stock lines, and overwrite the port ones
Save the files (crtl+s)
Navigate to boot extracted folder, you can close winmerge. Copy stock Zimage (from 'stock boot' folder) to port, and overwrite the Zimage there with stock one.
Go back to kitchen, > advanced > tools for boot.img > build new boot image.
Unable to open your site for downloading ROM, could you reupload please.
Looking for more ROMS.
Hi again fan droid.... It would help if you can fix the issues and upload the completed ROM....
I faced the same camera issue when I ported naturewiz HD..... Will you help fix that too?
Sent from my ultrafone 701HD
bro post the ROM, so that we could test it.
use MTK root tools
NHS2008 said:
Hi can you share the files I need to flash from S.P. Tools to make my Irsi 504q back working?
I only have CWM backup. I've bircked it while trying a ported rom from Q800...THANKS!
Click to expand...
Click to collapse
use MTK Root tools ...
1. recovery..backup tab
2. select prepare blocks for flash tool
3. select .md5 file from your CWM backup
4. it will checksum... and prepare files which can be flashed via... SP Flash Tool...
5. make sure you select... firmware upgrade... while flash...
* please note... you will need sp flash tool v3.13 & also.... all the files.... i.e. from preloader to cache.. and even userdata... nvram...tar...
please hit thanks if i help
post the ROM bro, so that we could test it. waiting for a long time.

[flashable zip][5.x.x] add multi user support without root on lollipop

ADD MULTIUSER SUPPORT TO LOLLIPOP IF IT IS DIABLED​
ALL CREDITS GOES TO @klenamenis . HE HAS MADE A FLASHABLE ZIP WHICH MODIFIES THE BUILD.PROP FILE ; HIGHLY USEFUL FOR PEOPLE WHO CHANGE ROMS OFTEN and USE MODIFIED VERSION OF BUILD.PROP .
YOU CAN CHANGE THE TWAEK.PROP TO ANYTHING YOU WISH TO . FOR MORE INFORMATION VISIT HIS ORIGINAL THREAD HERE​INSTRUCTIONS
DOWNLOAD BOTH THE ATTACTMENTS
DO NOT EXTRACT TWEAKPROP-0.5.4.ZIP FILE
EXTRACT THE SECOND FILE NAMED EXTRACT ME.ZIP ; YOU WILL GET A FILE NAMED TWEAK.PROP
COPY BOTH FILES TO SD CARD (INTERNAL) OR EXTERNAL IF DONT HAVE INTERNAL
REBOOT TO RECOVRY
AND FLASH THE TWEAK-PROP-0.5.4.ZIP FILE
REBOOT AND ENJOY
​
Screen shots
screenshots​
hi.
can i get the modified build.prop file only?
i cant flash zip files cause my bootloader is locked i dont know if it will flash zips with a locked bootloader.
i have flashed the indian android 5.1 backup using philz recovery by booting into the recovery by using this fastboot boot recovery.img
i also want to know by enabling multi user will the device take more ram at startup and also require more storage then normal?
austinpinto said:
hi.
can i get the modified build.prop file only?
i cant flash zip files cause my bootloader is locked i dont know if it will flash zips with a locked bootloader.
i have flashed the indian android 5.1 backup using philz recovery by booting into the recovery by using this fastboot boot recovery.img
i also want to know by enabling multi user will the device take more ram at startup and also require more storage then normal?
Click to expand...
Click to collapse
Yes ..u can flash on locked boot loader.. It will be better if u test and tell us ..
And yes it takes some storage and no idea about RAM

How To flash [ SYSTEM.IMG ] using TWRP

Hii.. All , I'm using A Lyf wind mobile , I have my my orginginel ( system.img ) file I don't have PC Computer . , I'm using TWRP 3.0 .. Somebody help me how to flash a System.img using TWRP
_ THANKS _
vinay durva said:
Hii.. All , I'm using A Lyf wind mobile , I have my my orginginel ( system.img ) file I don't have PC Computer . , I'm using TWRP 3.0 .. Somebody help me how to flash a System.img using TWRP
_ THANKS _
Click to expand...
Click to collapse
TWRP can flash .img files without having to do anything special.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
TWRP can flash .img files without having to do anything special.
Click to expand...
Click to collapse
Sir .. I was tried , there was only 2 options in TWRP 1st one recovery & 2cond one boot .. Which 1 ican select ,, I need to flash system.img
vinay durva said:
Sir .. I was tried , there was only 2 options in TWRP 1st one recovery & 2cond one boot .. Which 1 ican select ,, I need to flash system.img
Click to expand...
Click to collapse
I dont think you've booted into TWRP yet, I think you're looking at bootloader, select recovery and see if it boots to TWRP.
TWRP has more than just 2 options, are you sure you have TWRP? What version is it? Does it look like this?
http://cloud.tapatalk.com/s/58a730280544c/Screenshot_2017-02-17-12-15-48.png?
If that's what you have, select Install then find your .img and flash it.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
I dont think you've booted into TWRP yet, I think you're looking at bootloader, select recovery and see if it boots to TWRP.
TWRP has more than just 2 options, are you sure you have TWRP? What version is it? Does it look like this?
http://cloud.tapatalk.com/s/58a730280544c/Screenshot_2017-02-17-12-15-48.png?
If that's what you have, select Install then find your .img and flash it.
Click to expand...
Click to collapse
Yes sir I'm Booting Into TWRP , Then > install > install images >. I found 2 options 1st one BOOT 2cond RECOVERY , but I won't to flash SYSTEM.img
vinay durva said:
Yes sir I'm Booting Into TWRP , Then > install > install images >. I found 2 options 1st one BOOT 2cond RECOVERY , but I won't to flash SYSTEM.img
Click to expand...
Click to collapse
I remember now that TWRP doesn't flash system.img correctly, system.img isn't a standard .img, you need PC and use fastboot.
Sent from my SM-S903VL using Tapatalk
Thanks Sir.. Any Another way to flash system , i don't have A PC
vinay durva said:
Thanks Sir.. Any Another way to flash system , i don't have A PC
Click to expand...
Click to collapse
I wouldn't try it without PC
Sent from my SM-S903VL using Tapatalk
vinay durva said:
Thanks Sir.. Any Another way to flash system , i don't have A PC
Click to expand...
Click to collapse
I know it is too late, but you can enter in Advaced > Terminal and then run this command:
dd if=/sdcard/system.img of=/dev/block/bootdevice/by-name/system
If your mobile phone doesnt have by-name symlinks you will need to enter the correct partition.
Aex12 said:
I know it is too late, but you can enter in Advaced > Terminal and then run this command:
dd if=/sdcard/system.img of=/dev/block/bootdevice/by-name/system
If your mobile phone doesnt have by-name symlinks you will need to enter the correct partition.
Click to expand...
Click to collapse
hi aex, I have the same problem but I dont have the folder
/bootdevice/by-name............
can you help me?
it will not work.
try to make a folder and "mount -o loop file in it.
and it will be not mounted also if you specify file system type.
(if it work probably you can use the file)
so ,i don't know how fastboot write in partition or probably
in to file system.
however if you do a dd of your current system partition in a file , after will be correctly mounted , or rewrited correctly in the original partition if you need.
then probably you cannot use fastboot system.img directly in twrp shell (using dd)
this is my experience (e2303 sony / pexorom 3.0 twrp 3.1.1)
if you are searching a fast way to know system partition device block
cat /etc/fstab
and look for system
or just mount system in twrp , then in a terminal do a
df -h
and search for system
for e2303 was /dev/block/mmcblk0p30
(example)
twrp have busybox and light kernel.
so , is linux.
for better support try to ask
tonystark88
u need to use simg2img
(sparse file format compression)
system partition device name can be different on other phones.
done.
img can be write by twrp whitout pc/fastboot.
c'ya
giuseppe
just go to file manager and search for system partition, and on first part type your system.img location and 2 part type just system location
I did this Steps on my Huawei P8. Sim2Img reported a non sparse image, so i moved directly to the DD steps. But after writing the image to the partition, the /system Partition cannot get mountet...
What the hell iam doing wrong ????
I extracted the system.img from an update.app Firmware file.
Its the same Firmware file i flashed before with the dload method.
I want to install TWRP on my Phone with an faulty USB Port. So i have no PC / ADB. I Installed the Firmware via the official Dload Method from Huawai. Then i used this crappy Kingroot to get root and installed TWRP. Now i wanted to flash the stock system partition to get rid of Kingroot for Safetynet.
But why i cant just flash the systempartition ?
Or is there another way to gain root for 15 seconds without traces ?
chr2002 said:
I did this Steps on my Huawei P8. Sim2Img reported a non sparse image, so i moved directly to the DD steps. But after writing the image to the partition, the /system Partition cannot get mountet...
What the hell iam doing wrong ????
I extracted the system.img from an update.app Firmware file.
Its the same Firmware file i flashed before with the dload method.
I want to install TWRP on my Phone with an faulty USB Port. So i have no PC / ADB. I Installed the Firmware via the official Dload Method from Huawai. Then i used this crappy Kingroot to get root and installed TWRP. Now i wanted to flash the stock system partition to get rid of Kingroot for Safetynet.
But why i cant just flash the systempartition ?
Or is there another way to gain root for 15 seconds without traces ?
Click to expand...
Click to collapse
Why not just use the settings in Kingroot to remove root? Or convert from Kingroot to SuperSu then use SuperSu app settings to remove root?
You don't have to flash the stock system to remove root.
Sent from my LGL84VL using Tapatalk
Kingroots uninstall leaves traces in /system/xbin and Safetynet wont work. Why i did not try Supersu ? :-/
But i managed to flash the system.img without problems.
First i tryed an extracted system.img from the Huawei Firmware extractor and Sim2img reported an invalid sparse image. So i thought it must be a raw image.....And this was my mistake. It is a useless image for TWRP.
So i created a flashable zip (TWRP cant flash this, too and the /system partition is not mountable after flashing / installing this zip.
BUT, the system.img INSIDE this zip is a spase image, which sim2img can handle. It gave me a nice raw image which i just dd´d to /system and BINGO, my phone starts up normally
The Short Version :
- Create a FLASHABLE ZIP with the Huawei Firmware Extractor
- use SIM2IMG in TWRP Terminal to get a RAW Image.
- dd´it to the /system partition
System img
You use the restore in twrp to flash your system img, you just until the other boxes
Edit: Sorry wrong thread
Lenovo K5 Pro ROM img
After flashing img file (using TWRP 3.3.1) the phone (Lenovo k5 pro) starts in bootloader mode. Everyone can help?
Help u
Hi u can download a deodexed rom because ais doesn't support some stock roms for ex ch Samsung roms. then decompile it.then decompile it with rar or zarchiver or etc. Then install android image studio (ais) from google
Then open it and tap unpack/mount and select system.img or system.img.ext4 file in decompiled rom . After mounting, copy all files to a directory for ex emulated/0/system/system or another. Attention if you copy it in another directory, rename it as (system) now copy the boot.img from decompiled rom into emulated/0/system .then download this file
https://forum.xda-developers.com/an...oid-o-beta-redesigned-emoji-set-t3608280/amp/
Extract meta-inf file into emulated/0/system using winrar or zarchiver or etc. Now you need to have a system folder,boot.img file and a Meta-inf in diractory emulated/0/system. Now compress system,boot.img and meta-inf into one archive and after completing, turn of your device and boot it into twrp recovery and wipe data and cache without wipping internal storage then select install. Then tap select storage and select internal storage.then go to the file and select it and turn off zip singuature verification and install it after installing tis rom, install root zip file and wipe cache/dalvik art and then reboot your device. It may take between 5-25 minutes to boot. Enjoy your new rom
#issues
Sometimes your device maybe take bootloop so you need to install your stock boot.img file and after installing your root zip file choose wipe cache/dalvik art and then reboot your system.
#Alert
1.Don't install the recovery.img file which exists in the decompiled rom because it takes your device into recovery mod and not boot anymore and after you need to install the stock rom using PC
2.your device maybe take bootloop in this method so do it with your own risk
---------- Post added at 07:58 AM ---------- Previous post was at 07:53 AM ----------
ShmuelCohen said:
After flashing img file (using TWRP 3.3.1) the phone (Lenovo k5 pro) starts in bootloader mode. Everyone can help?
Click to expand...
Click to collapse
Reboot your device and install twrp official app and open it and select flash image from a directory and select your own twrp and reboot your device [root]
Connect your phone to a PC and install stock rom using ADB or another app which was made for your smartphone [no root]

[Q] Installing System raw image with flashable .zip

I'm trying to make a flashable zip for TWRP to install a Lenovo Z6 Pro stock ROM. I create the .zip file with Boot, System and Vendor (I'd add the rest of the firmware later). Boot and Vendor are installed but system.img is not installed. I know that I could use .dat files but I'm specially interested on using the image files.
I took as template another ROM which uses .IMG files too with the function 'package_extract_file'. I just replaced the .IMG files making sure that the names are exactly the same, and also I'm sure that my system.img is raw. When I try to install the flashable zip from recovery it prompts the uiprint "Patching system unconditionally" but nothing is installed and skips directly to patch the vendor partitions which is successfully patched.
Any help or clue will be much appreciated. Thanks in advance.

Categories

Resources