Create zip from STOCK ROM XT1676 - Moto G5 Questions & Answers

Does anyone know how I can create a ZIP from the rom stock preferably without having root? I have the XT1676 model in hand and the factory rom is installed on it. On the internet there is not a ZIP from stock for this model so I would like to create it so that I can make it available to those who need it

Cairo100 said:
Does anyone know how I can create a ZIP from the rom stock preferably without having root? I have the XT1676 model in hand and the factory rom is installed on it. On the internet there is not a ZIP from stock for this model so I would like to create it so that I can make it available to those who need it
Click to expand...
Click to collapse
Think of these roms more as a custom rom without any modifications - you would still need an unlocked bootloader and a custom recovery to flash it
Use adb to pull the system folder
Create the flashable zip - There are plenty of guides

Related

[Q] Quick stock flashing question

Hi, I have an M8 which is SuperCID and stock recovery but I want to reflash with a stock rom. Do I need to unlock bootloader and/or use a custom recovery or can I simply use Squabbi's Toolkit and flash a stock ZIP such as the odexed package from @Mike1986? Here
senjiroh said:
Hi, I have an M8 which is SuperCID and stock recovery but I want to reflash with a stock rom. Do I need to unlock bootloader and/or use a custom recovery or can I simply use Squabbi's Toolkit and flash a stock ZIP such as the odexed package from @Mike1986? Here
Click to expand...
Click to collapse
No toolkits buddy.
Yes fully unlock the device and search for a stock backup or a stock based ROM for your model (side note to remember is keep a SuperSU zip file handy and flash it after a stock ROM flash )
T-Mobile ?
At&t ?
Verizon ?
Sprint ?
The more info you provide about your device the better so people can provide the correct steps
jball said:
No toolkits buddy.
Yes fully unlock the device and search for a stock backup or a stock based ROM for your model (side note to remember is keep a SuperSU zip file handy and flash it after a stock ROM flash )
T-Mobile ?
At&t ?
Verizon ?
Sprint ?
The more info you provide about your device the better so people can provide the correct steps
Click to expand...
Click to collapse
Thanks for replying. I basically wanted to get rid of the red text that says you can't turn off Tell HTC etcetc. Turned out it just needed S-ON! :good:

[Q] I want to root my lollipop version on my Z1 Compact

I tried to update to lollipop and root it but to of no avail. I tried to read many blogs and F*pieces but can not get any thing good. I am using KitKiat 4.4.4 14.A.0.157 rooted. I want to download the latest lollipop version and root it with Custom recovery. I do not want any messed with custom lollipops as i do not trust other people easily. If there is some smooth tool method to simply click and run root method , kindly share with me. If it is not possible and the only way to get a rooted lollipop is by using custom messed up lollipop ftf then paste it here in great simple details I am ready to follow this method. Thanks :laugh::laugh::silly::silly::silly::highfive::highfive:
LOL OK.So,how about using the guides to create your own Lollipop? Not that hard.
Not sent by me.
BlackArtsInc said:
LOL OK.So,how about using the guides to create your own Lollipop? Not that hard.
Not sent by me.
Click to expand...
Click to collapse
okay I am ready to make my own custom ftf. how can I make one? kindly make it simple and smaller.
Sent from my D5503 using XDA Free mobile app
noob_coder said:
okay I am ready to make my own custom ftf. how can I make one? kindly make it simple and smaller.
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
1. Using XperiFirm (Xperia Firmware Downloader developed by Igor Eisberg) to download desired firmware from Sony server.
2. Using Flash Tool to create your own TFT.
3. Using PRFCreator (Pre-Rooted Firmware Creator developed by zxz0O0) to create your own flashable zip file of Pre-rooted Lollipop firmware.
You may also need SuperSU Update and XZDualRecovery
On my Z1c Lollipop i become no root access. Not with prerooted flashable zip and not with my selfmade flashable zip.
My Z1c is LB and on rooted .108 firmware. After flash preerooted Lollipop the SuperSu app gives my Apps rootaccess, but the apps mean no root viable. (TitaniumBackup or SD-Maid)
Why?
wuhoatu said:
1. Using XperiFirm (Xperia Firmware Downloader developed by Igor Eisberg) to download desired firmware from Sony server.
2. Using Flash Tool to create your own TFT.
3. Using PRFCreator (Pre-Rooted Firmware Creator developed by zxz0O0) to create your own flashable zip file of Pre-rooted Lollipop firmware.
You may also need SuperSU Update and XZDualRecovery
Click to expand...
Click to collapse
Is this for BOOTLOADER UNLOCKED phone or with LOCKED BOOTLOADER PHONE?
noob_coder said:
Is this for BOOTLOADER UNLOCKED phone or with LOCKED BOOTLOADER PHONE?
Click to expand...
Click to collapse
Booth locked BL and unlocked BL. Because it is unmodified STOCK firmware and kernel.
heross said:
On my Z1c Lollipop i become no root access.
Click to expand...
Click to collapse
You mean "get no root access".
Not with prerooted flashable zip and not with my selfmade flashable zip.
Click to expand...
Click to collapse
If for some reason the "downloaded prerooted" method does not work, whatever went wrong will probably also prevent your selfmade zip from working. So I'd try to get the downloaded one to work before trying a homegrown one.
no root viable.
Click to expand...
Click to collapse
Do you mean "visible"? What happens when you try "su -", then "id" in a terminal app?
Why?
Click to expand...
Click to collapse
Maybe the /system partition was not flashed properly. Please be more specific in what you tried. Which instructions did you follow?
wuhoatu said:
1. Using XperiFirm (Xperia Firmware Downloader developed by Igor Eisberg) to download desired firmware from Sony server.
2. Using Flash Tool to create your own TFT.
3. Using PRFCreator (Pre-Rooted Firmware Creator developed by zxz0O0) to create your own flashable zip file of Pre-rooted Lollipop firmware.
You may also need SuperSU Update and XZDualRecovery
Click to expand...
Click to collapse
I followed your steps for homemade custom lollipop flashbale prerooted room, I got lollipop installation working but without neither the root access nor the custom recovery. What the hell got wrong during the installation process? :banghead::banghead::banghead::banghead::banghead::banghead::banghead:
Sent from my D5503 using XDA Free mobile app
wuhoatu said:
1. Using XperiFirm (Xperia Firmware Downloader developed by Igor Eisberg) to download desired firmware from Sony server.
2. Using Flash Tool to create your own TFT.
3. Using PRFCreator (Pre-Rooted Firmware Creator developed by zxz0O0) to create your own flashable zip file of Pre-rooted Lollipop firmware.
You may also need SuperSU Update and XZDualRecovery
Click to expand...
Click to collapse
noob_coder said:
I followed your steps for homemade custom lollipop flashbale prerooted room, I got lollipop installation working but without neither the root access nor the custom recovery. What the hell got wrong during the installation process?
Click to expand...
Click to collapse
Above said is step-by-step to get flashable zip file only. Install it on your phone as follows:
1. Downgrade to KitKat (4.4.2 is recommended because it can be rooted directly)
2. Install Custom Recovery (Philz Touch is recommendable because I have boot loop with TWRP)
you cap bypass these step if already have Custom Recovery
3. Copy flashable zip file to SD Card
4. Reboot your phone to Recovery mode and wipe you phone (wipe for clean installation is recommended) or format system. DO NOT REBOOT after that.
5. Install flashable zip file from SD Card then powever off your phone
6. Using FlashTool to flash your phone with TFT file EXCLUDE SYSTEM
Enjoy your phone with rooted Lollipop
wuhoatu said:
Above said is step-by-step to get flashable zip file only. Install it on your phone as follows:
1. Downgrade to KitKat (4.4.2 is recommended because it can be rooted directly)
2. Install Custom Recovery (Philz Touch is recommendable because I have boot loop with TWRP)
you cap bypass these step if already have Custom Recovery
3. Copy flashable zip file to SD Card
4. Reboot your phone to Recovery mode and wipe you phone (wipe for clean installation is recommended) or format system. DO NOT REBOOT after that.
5. Install flashable zip file from SD Card then powever off your phone
6. Using FlashTool to flash your phone with TFT file EXCLUDE SYSTEM
Enjoy your phone with rooted Lollipop
Click to expand...
Click to collapse
Why kitkat 4.4.2 when I have 4.4.4 working with root access? Will it work I mean your procedure to install with my 4.4.4 rooted kitkat installation? :what:
Sent from my D5503 using XDA Free mobile app
noob_coder said:
Why kitkat 4.4.2 when I have 4.4.4 working with root access? Will it work I mean your procedure to install with my 4.4.4 rooted kitkat installation? :what:
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
That method will work as long as You have a root, no matter the version. So You can use the 4.4.4 one with root access too.
Mirhawk said:
That method will work as long as You have a root, no matter the version. So You can use the 4.4.4 one with root access too.
Click to expand...
Click to collapse
When I followed that process for manually creating a customized lollipop version for my phone, It created ftf file. Now moments ago I was excited to follow the FLASH FROM THE PHILZ TOUC RECOVERY, I formatted everything and now my phone cant use FTF file because It needs the flashable zip format file. How in the world i transform my FTF file into FLASHABLE.zip file??? Be quick because I am now going back to root my KitKat; root it; install philz touch and then follow the method you provided. Tell me how to make ftf into zip file?:cyclops::cyclops:
wuhoatu said:
3. Using PRFCreator (Pre-Rooted Firmware Creator developed by zxz0O0) to create your own flashable zip file of Pre-rooted Lollipop firmware.
Click to expand...
Click to collapse
I haven't done yet this process but I suppose this is the step you need. I just read again a previous post
noob_coder said:
When I followed that process for manually creating a customized lollipop version for my phone, It created ftf file. Now moments ago I was excited to follow the FLASH FROM THE PHILZ TOUC RECOVERY, I formatted everything and now my phone cant use FTF file because It needs the flashable zip format file. How in the world i transform my FTF file into FLASHABLE.zip file??? Be quick because I am now going back to root my KitKat; root it; install philz touch and then follow the method you provided. Tell me how to make ftf into zip file?:cyclops::cyclops:
Click to expand...
Click to collapse
You can use the PRF Creator to create a flashable FTF. You need the SuperSU and recovery too for it.
Guys my friend got OTA a few weeks ago and now wants root again so i tried to flash .108 and it seemed to flash fine but now just bootloops.. ive flashed several times. What did i do wrong? how can i fix it?
can you be more specific
wuhoatu said:
Above said is step-by-step to get flashable zip file only. Install it on your phone as follows:
1. Downgrade to KitKat (4.4.2 is recommended because it can be rooted directly)
2. Install Custom Recovery (Philz Touch is recommendable because I have boot loop with TWRP)
you cap bypass these step if already have Custom Recovery
3. Copy flashable zip file to SD Card
4. Reboot your phone to Recovery mode and wipe you phone (wipe for clean installation is recommended) or format system. DO NOT REBOOT after that.
5. Install flashable zip file from SD Card then powever off your phone
6. Using FlashTool to flash your phone with TFT file EXCLUDE SYSTEM
Enjoy your phone with rooted Lollipop
Click to expand...
Click to collapse
Hi can you be more specific on what to wipe at philz touch because there are lots to wipe options in the philz recovery, do i have to wipe all? also from twrp's recovery so please be specific what to wipe because im afraid to wipe all that doesnt have to be wiped,
also after installing flashable zip in the recovery turning off the phone isn't an option there is only restart button there so is it alright to reboot phone after installing flashable zip in recovery then just turn it off after and continue to using flashtool?
and last one, at using flashtool ist it the stock firmware that i need to flash? is it alright to exclude all? or do i have to check the wipes there and also the kernels below excluding system only? thanks
---------- Post added at 02:32 AM ---------- Previous post was at 01:57 AM ----------
wuhoatu said:
Above said is step-by-step to get flashable zip file only. Install it on your phone as follows:
1. Downgrade to KitKat (4.4.2 is recommended because it can be rooted directly)
2. Install Custom Recovery (Philz Touch is recommendable because I have boot loop with TWRP)
you cap bypass these step if already have Custom Recovery
3. Copy flashable zip file to SD Card
4. Reboot your phone to Recovery mode and wipe you phone (wipe for clean installation is recommended) or format system. DO NOT REBOOT after that.
5. Install flashable zip file from SD Card then powever off your phone
6. Using FlashTool to flash your phone with TFT file EXCLUDE SYSTEM
Enjoy your phone with rooted Lollipop
Click to expand...
Click to collapse
Hi, I tried this multiple times, im rooted 4.4.4 then installed dual recovery then from one of those recovery then i installed "flashsable.zip" after installing flashable zip which is in "step 5" you mentioned turning off phone, do i really need to do the "step 6"? because i notice something in step 5 since after installing the flashable zip thru recovery there is no turn off option so i choose to reboot then i noticed i started my phone with lollipop installed and superSU installed, but i still did whats in your procedure which makes things complicated since i thought if i didnt continue to the whole process maybe something might go wrong , so i turned off my phone and continued to step 6, i flashed my phone using the stock firmware of lollipop then what happened is the superSU is gone.
so my main point is do i really have to continue to step 6?? or even just up to step 5 is fine?
if continuing to step 6 is important please be more specific thanks
noob_coder said:
Hi, I tried this multiple times, im rooted 4.4.4 then installed dual recovery then from one of those recovery then i installed "flashsable.zip" after installing flashable zip which is in "step 5" you mentioned turning off phone, do i really need to do the "step 6"? because i notice something in step 5 since after installing the flashable zip thru recovery there is no turn off option so i choose to reboot then i noticed i started my phone with lollipop installed and superSU installed, but i still did whats in your procedure which makes things complicated since i thought if i didnt continue to the whole process maybe something might go wrong , so i turned off my phone and continued to step 6, i flashed my phone using the stock firmware of lollipop then what happened is the superSU is gone.
so my main point is do i really have to continue to step 6?? or even just up to step 5 is fine?
if continuing to step 6 is important please be more specific thanks
Click to expand...
Click to collapse
You have to do Step 6 just in case flashable zip file contain SYSTEM ONLY (include Options were not checked when using PRFCreator).
In Step 6, flash your phone with FTF file EXCLUDE SYSTEM. That mean you need to check on System Option within the box of Exclude.
Folks, we already have a thread covering EXACTLY this question - was it really necessary to open a new one to ask all questions over and over again?
Look here: http://forum.xda-developers.com/son...lp/rooting-z1-compact-stock-lollipop-t3090021
The instructions included there helped me getting from rooted .157 to rooted Lollipop without touching my locked Bootloader, so they might work for others as well.
Mirhawk said:
That method will work as long as You have a root, no matter the version. So You can use the 4.4.4 one with root access too.
Click to expand...
Click to collapse
Mirhawk said:
You can use the PRF Creator to create a flashable FTF. You need the SuperSU and recovery too for it.
Click to expand...
Click to collapse
THanks buddy. I got my lollipop rooted and working. But there is one thing itching me about lollipop. Even though the camera result looks great in this new OS, but the OS new design theme looks sluggish. I do not feel it is working like it should. I mean a very bad version from SONY. KitKat theme was way more simpler and lighter than this lollipop ****piece. Besides cleanmaster keeps telling me the RAM USAGE around 68%-70% all the time:silly:, even though I applied the same precautions I had on kitkat installation. Kitkat used to run on 70% in heavy usage, otherwise it would run lighter around 46% RAM.
Summing up. Lollipop Version for SONY PHONES, SUCKS

D855 on T-mobile... What Rom to use??

I have recently unlocked the bootloader on my D855. Can anybody recommend a Rom to flash what will work the best? Wifi calling and all?
Thx
hermeez said:
I have recently unlocked the bootloader on my D855. Can anybody recommend a Rom to flash what will work the best? Wifi calling and all?
Thx
Click to expand...
Click to collapse
How did you unlock the boot loader on the d855?! Is this a new development or are you confusing bump with a true boot loader unlock?
my phone was already rooted. and I needed to flash a custom recovery. this is what I used
https://play.google.com/store/apps/details?id=b007.autorecd855
hermeez said:
my phone was already rooted. and I needed to flash a custom recovery. this is what I used
https://play.google.com/store/apps/details?id=b007.autorecd855
Click to expand...
Click to collapse
Pretty sure you are still on a locked bootloader. If that is true you need any boot.img you flash to be "bumped". If you want to port your own tmobile rom you could do this:
Find a rom that supports multiple devices
Extract the zip and see what you need to move from the d855 rom to the d851 rom
Download the tmobile rom and move the files
Delete the boot.img
Delete the boot.img out of the installer script
Zip it up
Backup your current rom + efs in twrp
Wipe system, data and both caches
Flash and see if it works
If you currently run kk make sure you use a tmobile kk rom. If you do the boot.img should play nice with the system. I was running d855 system with my d851 boot.img so I dont see why it wouldn't work reversed.
ThePagel said:
Pretty sure you are still on a locked bootloader. If that is true you need any boot.img you flash to be "bumped". If you want to port your own tmobile rom you could do this:
Find a rom that supports multiple devices
Extract the zip and see what you need to move from the d855 rom to the d851 rom
Download the tmobile rom and move the files
Delete the boot.img
Delete the boot.img out of the installer script
Zip it up
Backup your current rom + efs in twrp
Wipe system, data and both caches
Flash and see if it works
If you currently run kk make sure you use a tmobile kk rom. If you do the boot.img should play nice with the system. I was running d855 system with my d851 boot.img so I dont see why it wouldn't work reversed.
Click to expand...
Click to collapse
Can we do reverse steps , i mean converting D851 to D855 as we have unlocked bootloader on D851?

[Q] How do you make a system.img from firmware zip

Problem: We can download the firmware from Asus in the form of a zip file. We can use adb sideload <firmware>.zip to sideload the firmware.
Request: How can I flash that firmware using fastboot? It looks like I need to use a .img file. How do I convert that .zip file to a .img file?
Reason: I found a situation where using the sideload method didn't seem to work correctly. I ended up having to get a pre-rooted .img and flashed that, but I want a "virgin" img file. Thanks.
If you install zip from ASUS download site (not OTA!) then you will get virgin stock ROM after update.
This kind of update (around 1GB) erases system partition before install, so it doesn't matter how hard you've modified previous firmware. SU, Xposed, etc - everything will be automatically wiped before install.
The question is how do you convert .zip to .img?
damian5000 said:
The question is how do you convert .zip to .img?
Click to expand...
Click to collapse
tools to build img from zip (only full ROM, not OTA) published there: http://forum.xda-developers.com/zenfone2/orig-development/rom-pre-root-img-t3079590
But keep in mind, it's for advanced users. I would say, for developers.
Thanks. I asked that nice feller if he was able to do such a thing as I'm not a dev or even well-versed in Linux.
What firmware zip are you looking to flash?
flashing system.img was just temporary solution, as the only way to root or modify firmware before bootloader unlock.
With unlocked bootloader and custom recovery you can modify update.zip as much as you want and then install it.
Even if you don't want to unlock the bootloader, then you can use temporary custom recovery and install any modified zip.
So, in general you don't need to create system.img anymore. Just use zip to install whatever you want.
sorg said:
flashing system.img was just temporary solution, as the only way to root or modify firmware before bootloader unlock.
With unlocked bootloader and custom recovery you can modify update.zip as much as you want and then install it.
Even if you don't want to unlock the bootloader, then you can use temporary custom recovery and install any modified zip.
So, in general you don't need to create system.img anymore. Just use zip to install whatever you want.
Click to expand...
Click to collapse
^ That's exactly why I was asking. I can put together whatever zip if they know what they want flashed. :good:
Harfainx said:
^ That's exactly why I was asking. I can put together whatever zip if they know what they want flashed. :good:
Click to expand...
Click to collapse
Hi,
can you make system.img, pre-rooted or not, like @shakalaca?
I tried but I haven't enough knowledge to do, though I tried to install a ghitub, etc, etc.
I would like to download the system.img fro last firmware, Z00A-WW.2.19.40.22.
Thanks

[Request] Stock Odexed P2a42_S244_170725_ROW flashable zip file

Hello,
Is it possible for someone to make Stock version of odexed P2a42 S244_170725_ROW, in zip format, ready to flash in TWRP? It think it could be useful for people that want to have rom as close as stock, especially for those with custom recovery, that want to have odexed system, without added anything, and with f2fs file system?
Regards,
Pro
ProrokX said:
Hello,
Is it possible for someone to make Stock version of odexed P2a42 S244_170725_ROW, in zip format, ready to flash in TWRP? It think it could be useful for people that want to have rom as close as stock, especially for those with custom recovery, that want to have odexed system, without added anything, and with f2fs file system?
Regards,
Pro
Click to expand...
Click to collapse
All you need is a TWRP backup with the data partition excluded. I have about 6 days more before my bootloader is unlocked. If no one does it by then, I'll do it.
medwatt said:
All you need is a TWRP backup with the data partition excluded. I have about 6 days more before my bootloader is unlocked. If no one does it by then, I'll do it.
Click to expand...
Click to collapse
Well if you do that you will get a restore able zip AFAIK. You need to get updater script and a few more things.
Sent from my Lenovo P2a42 using Tapatalk
Uploading an odexed zip but process for creating the same is totally different than mentioned in the thread
Sent from my Lenovo P2a42 using Tapatalk

Categories

Resources