how to extract stock rom - Moto G4 Plus Questions & Answers

I have searched it but cant find a relevant one . Can somebody help me out on how to extract stock rom without root. From recovery to everything. Thanks....

pang12345 said:
I have searched it but cant find a relevant one . Can somebody help me out on how to extract stock rom without root. From recovery to everything. Thanks....
Click to expand...
Click to collapse
What do you mean by extract without root ?
What is purpose of extracting? please explain your question.
If you want to make dump or backup of system (or other partitions), you can use adb commands, but not sure if it will work or not without adb root permission.
For Better answer, explain your question and purpose first.

____Mdd said:
What do you mean by extract without root ?
What is purpose of extracting? please explain your question.
If you want to make dump or backup of system (or other partitions), you can use adb commands, but not sure if it will work or not without adb root permission.
For Better answer, explain your question and purpose first.
Click to expand...
Click to collapse
Though there are zip files ,, i want to flash my own ,i.e, taken out from my phone......

so if i am understanding properly you want to make your own fastboot version of the stock rom?

Ayan Uchiha Choudhury said:
so if i am understanding properly you want to make your own fastboot version of the stock rom?
Click to expand...
Click to collapse
No, i want to pull through adb from phone, and i can use it for flashing again.

pang12345 said:
No, i want to pull through adb from phone, and i can use it for flashing again.
Click to expand...
Click to collapse
Yes, that's what he was referring to. But what would be the purpose for doing so though? You won't be able to lock the bootloader with your version and the images that you can find around here are signed by Moto! And, if careful, you will have 0 risks in flashing them!

Related

[Q] Flashable ROM.zip

Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Mohanshbhr said:
Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Click to expand...
Click to collapse
Please someone help, i really need it.
unfortunately no one is going to help even if they know, just have a look at such similar posts in the forum all they were closed without any answer....
Mohanshbhr said:
Can someone please give a guideline or link for making a flashable zip pack of a whole rom, i mean is there any way to make a rom in flashable zip formate, so we dont need odin and we can flash rom without laptop, i.e. via cwm. Thanks for your help.
Click to expand...
Click to collapse
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
arunmcops said:
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
Click to expand...
Click to collapse
I have tried it once and it worked
here is what i did:
1: flash the ROM
2: Use qtadb to copy /system folder
3: make update .zip
arunmcops said:
I am trying same thing. It will take just 1-2 days to figure it out. I will tell u as soon as possible.
i5 Rom
Click to expand...
Click to collapse
Thanks i will wait.
RafayelG said:
I have tried it once and it worked
here is what i did:
1: flash the ROM
2: Use qtadb to copy /system folder
3: make update .zip
Click to expand...
Click to collapse
it will sure work, but i m searching some different, like kernel flashing via cwm.
Mohanshbhr said:
it will sure work, but i m searching some different, like kernel flashing via cwm.
Click to expand...
Click to collapse
that alreasy exists
RafayelG said:
that alreasy exists
Click to expand...
Click to collapse
i mean that like kernel flashing via cwm (in zImage formate not extracted files of zImage),
i want to flash rom in system.img or system.rfs (not extracted form of system.rfs)
Mohanshbhr said:
i mean that like kernel flashing via cwm (in zImage formate not extracted files of zImage),
i want to flash rom in system.img or system.rfs (not extracted form of system.rfs)
Click to expand...
Click to collapse
idk backup using cwm recovery then flash?
Well there is a way to flash zImage as it is from cwm - search in development forum - marcellusbe posted about it
But no way exists to flash rfs files from cwm

Manual unlock & root - without toolkit

Hi all,
Finally received my nexus 4 after suuuch a long wait.
I went the nexus root as I'd really like to learn all the ins and outs of android. I'm working as a web dev now (nothing with java).
This is my first android device and I will soon want to unlock, root and try manually amend system files.
I have some questions though:
1. Can I unlock the phone through the terminal manually and without toolkit? I want to do everything myself.
2. Are there any tutorials on manually rooting a nexus 4 (I saw a gnex). I don't want to use a tool kit for now.
3. I'd like to try start amending (very basic) some System files. Will it be easy to transfer over the code when updates come?
Thanks!
Check the sticky in the general forum. Great stuff by efrant. http://forum.xda-developers.com/showthread.php?t=2010312
nm3th said:
Check the sticky in the general forum. Great stuff by efrant. http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
Thanks for the link but I have already read that. What I want to do is manually perform the tasks he mentions. When he says to download a toolkit , I want to skip that and manually do what the toolkit does to have a better understanding of the OS.
Did you actually read it? He gives a step by step from unlocking the bootloader, to installing the drivers needed to run adb/fastboot, root, etc. No toolkit; exactly what you're asking for.
nm3th said:
Did you actually read it?
Click to expand...
Click to collapse
Yes I have. I guess I must of misunderstood what platform tools are.
Why do I need those? The android development bridge cannot work without that?
Platform-tools-v16 contains the files needed to run adb and fastboot. Adb (android debug bridge) allows you to communicate with your device from your pc. Fastboot allows you to update the flash file system. You will need this if you don't already have the sdk installed. Just follow the instructions and it'll be a good learning experience. Good luck.
**edit** I'm not on my system with the sdk, so I can't check, but I don't think fastboot is included with the sdk anymore, only adb is.
monkeying. around said:
Hi all,
Finally received my nexus 4 after suuuch a long wait.
I went the nexus root as I'd really like to learn all the ins and outs of android. I'm working as a web dev now (nothing with java).
This is my first android device and I will soon want to unlock, root and try manually amend system files.
I have some questions though:
1. Can I unlock the phone through the terminal manually and without toolkit? I want to do everything myself.
2. Are there any tutorials on manually rooting a nexus 4 (I saw a gnex). I don't want to use a tool kit for now.
3. I'd like to try start amending (very basic) some System files. Will it be easy to transfer over the code when updates come?
Thanks!
Click to expand...
Click to collapse
its the same as on the gnex, exactly. its the same on all nexus devices. fastboot oem unlock, fastboot a custom recovery, flash either a custom rom or the su binaries in that new recovery, then reboot and profit
nm3th said:
You will need this if you don't already have the sdk installed. Just follow the instructions and it'll be a good learning experience. Good luck.
Click to expand...
Click to collapse
OK thanks that clears another point up. I'm not really after learning how to flash etc but more about the OS as a whole. Would also like to slowly attempt to amend some changes in the system files but I'll go ahead and do that guide.
simms22 said:
its the same as on the gnex, exactly. its the same on all nexus devices. fastboot oem unlock, fastboot a custom recovery, flash either a custom rom or the su binaries in that new recovery, then reboot and profit
Click to expand...
Click to collapse
OK thanks will try tackle it this weekend.
Can you guys answe my other question? What about people who amend the files how so they go about updating the system where. Updates are released?
monkeying. around said:
Can you guys answe my other question? What about people who amend the files how so they go about updating the system where. Updates are released?
Click to expand...
Click to collapse
Make a backup of whatever file you are modifying and when there is an update, revert back to the old file and you should be able to flash the OTA. Or just flash the stock image using the instructions from my first reply, then flash the OTA.
Androidrootz.com has tutorials for manual or tool kits rooting via windows or Mac. I did the Mac version and it was a piece of cake and I am no pc expert. They have info for unrooting and flashing clockwork mod recovery.
Good luck,
Ian B
nm3th said:
Make a backup of whatever file you are modifying and when there is an update, revert back to the old file and you should be able to flash the OTA. Or just flash the stock image using the instructions from my first reply, then flash the OTA.
Click to expand...
Click to collapse
Ok that should sort out the updating but after updated what do I do with the backup/modified file. I will have to remodify everything again correct?
Mr Ian B said:
Androidrootz.com has tutorials for manual or tool kits rooting via windows or Mac. I did the Mac version and it was a piece of cake and I am no pc expert. They have info for unrooting and flashing clockwork mod recovery.
Good luck,
Ian B
Click to expand...
Click to collapse
Thanks I saw this tutorial and video although I found a better one. Like I said before I thought this was the plug n
Play version. Any will root the traditional way I guess.
there's another guide in this forum, maybe you like that one
http://forum.xda-developers.com/showthread.php?t=2018179
OK guys just backed up all my data to my computer. I've downloaded the platform tools but there seems to be a contradiction here.
Do I have to download the .IMG file that is 300+ mb?
cause some tutorials say I don't.
The IMG file is for just in case you goof up and need to get your phone back up and running.
nm3th said:
The IMG file is for just in case you goof up and need to get your phone back up and running.
Click to expand...
Click to collapse
OK thanks. Now I get it.
Regarding the updates, if I am unlocked and have root access with no other changes, I can successfully install the update correct?
Only thing I will lose is root access?
What will happen if I do a factory data reset on a unlocked + rooted device?
monkeying. around said:
What will happen if I do a factory data reset on a unlocked + rooted device?
Click to expand...
Click to collapse
You lose installed apps and data but maintain root
Sent from my Nexus 4 using Tapatalk 2
What about if I've flashed cwm recovery? To the boot loader. Would that get overwritten
Or is that not affected since its in the bootloader...before you get to the os.
monkeying. around said:
What about if I've flashed cwm recovery? To the boot loader. Would that get overwritten
Or is that not affected since its in the bootloader...before you get to the os.
Click to expand...
Click to collapse
It will not erase that as you said unless you flash back to the stock recovery image as the boot and recovery is separate. You can wipe data and reflash all day long if you want.

cant unbrick

i tried installing a system font from the rom toolbox and when it rebboted it wasnt booting up... i can switch on my device but it remains in the glowing (X) and doesnt load up... i tried a factory reset i didnt work... i dont have a custom recovery nor do i have a nandroid backup on my device. i have rooted it using wugfresh's toolkit.
i have been trying many methods over the day and nothing seems to work. i have dowloaded a stock image from google's site but its on my pc. some help pls!!!!
i have the drivers installed on my windows 8 . atleast they were wokring intially when i got the root done on it . i have no clue what to do now !!
Your gonna have to flash the stock image from download mode. Never make changes to system files without doing a nandroid backup.
Wayne Tech Nexus
zelendel said:
Your gonna have to flash the stock image from download mode. Never make changes to system files without doing a nandroid backup.
Wayne Tech Nexus
Click to expand...
Click to collapse
i am sorry but i am new to nexus 4 ... how do i get into the download mode?
Irthu said:
i am sorry but i am new to nexus 4 ... how do i get into the download mode?
Click to expand...
Click to collapse
Read the stickies. They will get you all the info you need. If you are gonna try mods like this I would advise a full custom set up. As what your gonna do is gonna fully wipe your device.
Wayne Tech Nexus
zelendel said:
Read the stickies. They will get you all the info you need. If you are gonna try mods like this I would advise a full custom set up. As what your gonna do is gonna fully wipe your device.
Wayne Tech Nexus
Click to expand...
Click to collapse
is it possible to flash the img. file if my phone is recognised only in the bootloader mode? and i am assuming we have to flash the img. file using an adb software ?
Irthu said:
is it possible to flash the img. file if my phone is recognised only in the bootloader mode? and i am assuming we have to flash the img. file using an adb software ?
Click to expand...
Click to collapse
yes you will need to use fastboot which is part of adb
follow this thread: http://forum.xda-developers.com/showthread.php?t=2010312
PhantomGamers said:
yes you will need to use fastboot which is part of adb
follow this thread: http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
i have downloaded a zip from google's site and its about 300 odd mb. i am assuming i have to extract the the img. files and then do it ? but there are about 3-4 img. files such as :
system
boot
boot loader
radio
recovery
user data
since my phone does get into bootloader can u pls tell me which all img. files i need to flash? do i have to everyone of them?
the thread i linked answers all of your questions
(you really only need to flash the system image but to avoid confusion i would just follow the thread verbatim)
PhantomGamers said:
the thread i linked answers all of your questions
(you really only need to flash the system image but to avoid confusion i would just follow the thread verbatim)
Click to expand...
Click to collapse
thanks alot i will try doing it... i havent used the command prompt in windows ever before guess its time to learn how to do this..

Help!

How could I flash recovery without pc? I have twrp at the moment and i want the CWM. Im on 6.0 Emui 4.1
staska_lt said:
How could I flash recovery without pc? I have twrp at the moment and i want the CWM. Im on 6.0 Emui 4.1
Click to expand...
Click to collapse
Try with the Flashify app.
GaT7 said:
Try with the Flashify app.
Click to expand...
Click to collapse
I tried and i got black screen
Flash it via TWRP then? TWRP supports flashing .img too if you need to. :|
3. Post using a clear and descriptive subject and message.
You're most likely to receive a helpful answer to your question, if you use a short subject title that describes your problem and a message that explains in detail, what your problem is and what you've done to try solving it.
Click to expand...
Click to collapse
Source (Forum rules): http://forum.xda-developers.com/announcement.php?a=81
Just sayin bro...
And btw some things just dont work well without a PC. Even though it might be possible to work around it you might just wanna do this on a computer with these commands in adb:
Code:
adb reboot bootloader
and
Code:
fastboot flash recovery recovery.img
and then reboot
PCSE said:
Source (Forum rules): http://forum.xda-developers.com/announcement.php?a=81
Just sayin bro...
And btw some things just dont work well without a PC. Even though it might be possible to work around it you might just wanna do this on a computer with these commands in adb:
and
and then reboot
Click to expand...
Click to collapse
I tried to flash via twrp. It said that the install was succesful, but when i tried to go to recovery i got black screen
Why would you want cwm? TWRP is way better. Oh and your recovery is gone. You can be lucky that you didn't brick your phone. Next time, use TWRP instead and ONLY if you have the ability to restore everything with a PC. ONLY make such hard modifications to your phone if you have a PC nearby
Confirm that you're fully rooted using something like Root Checker
GaT7 said:
Confirm that you're fully rooted using something like Root Checker
Click to expand...
Click to collapse
Im sure im fully rooted
Ok, I suspect something may be wrong with your root or TWRP or ROM, which may be the reason for the odd problems.
So do check & confirm root anyway, & also tell us the versions of your TWRP & ROM (latter in Settings > About phone > Build number).
GaT7 said:
Ok, I suspect something may be wrong with your root or TWRP or ROM, which may be the reason for the odd problems.
So do check & confirm root anyway, & also tell us the versions of your TWRP & ROM (latter in Settings > About phone > Build number).
Click to expand...
Click to collapse
Im on sakoban's rom. B564

Error Device, pls help!

After Root and Install TWRP, when I want to wipe the data accidentally I also delete the system, and when I want to reboot the device there is a notification "NO os installed! are you sure wish to reboot?"
What should I do? sorry I'm still new to this.:crying:
thank you in advance
I think you need to flash system.img back
I don't think I seen anyone upload system.img for this phone here
watatara.102 said:
I think you need to flash system.img back
I don't think I seen anyone upload system.img for this phone here
Click to expand...
Click to collapse
yeah i think no. Is there any other way ?
Arown orton said:
yeah i think no. Is there any other way ?
Click to expand...
Click to collapse
You have twrp. Flash any available custom rom or modify the Updater script in stock rom and flash it via twrp.
Go to this thread for instructions regarding editing the updater script.
https://forum.xda-developers.com/max-pro-m2/how-to/unroot-relock-bootloader-max-pro-m2-t3885870
After flashing the stock rom flash the decrypt zip too.

Categories

Resources