Flash TOT without erasing Userdata? - LG G Pro 2

Do anyone here know a way to flash TOT without erasing userdata?

okay.. i did found a way to do that.
you have extract tot and erase userdata and repack..
but i dont know a way to repack tot file! ?

Related

[Q] Flashed image is larger than partition size

when I flash the boot.img to my MZ604, I got " Flashed image is larger than partition size" error, code:0x2.
Would anyone clarify what does this error mean? or how to fix it? Thanks!
Same here .. my one mz601 hk version
after flash euro version , then universal root .. now it show only 4.11gb
flowed instruction here but not success any way
http://forum.xda-developers.com/showthread.php?t=1203128
now waiting any good guy publish his HK rom .. or some fix
------------
raovat
the same question for me about flash the userdata.img
I has met the same problem about it ,what can I do. It's looks My xoom601(hk) lie down there quietly.
I can go in the fastboot model. but when I flash boot.img, system.img,and recovery.img ,all is good.
but we I flash the userdata.img ,the information is the INFOFlashed image is larger than partition size FALIED
What can I do?
Who can help me.
best regards
Are you sure you guys are flashing a version of the ROM which is compatible with your specific xoom device?
savegod said:
when I flash the boot.img to my MZ604, I got " Flashed image is larger than partition size" error, code:0x2.
Would anyone clarify what does this error mean? or how to fix it? Thanks!
Click to expand...
Click to collapse
fastboot flash boot <dir from boot.img>
fastboot flash system <dir from system.img>
fastboot flash recovery <dir from recovery.img>
fastboot flash userdata <dir from userdata.img>
Flash the right image in the right partition...

[Q] Downgrade from GPE to 4.3

Someone can help me downgrading my MOTO G with unlocked bootloader from GPE to stock 4.3.
I've been trying but I get "Image is too large" when I try to flash "system.img".
I want to downgrade to stock 4.3 Claro Argentina firmware.
Please, I really need your help!
cocoralladoo said:
Someone can help me downgrading my MOTO G with unlocked bootloader from GPE to stock 4.3.
I've been trying but I get "Image is too large" when I try to flash "system.img".
I want to downgrade to stock 4.3 Claro Argentina firmware.
Please, I really need your help!
Click to expand...
Click to collapse
Could be two things:
1. You may need to flash gpt.bin from 4.3 (included in official 4.3 download) as this will create a new correctly sized partition table.
2. Make sure you use motorola fastboot to flash (known as mfastboot) and not the Google fastboot.
Not a problem. Download http://sbf.droid-developers.org/download.php?device=14&file=124
And follow:
Code:
fastboot flash partition gpt.bin #if this fails, ignore it and carry on
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot
I have same problem too...any firmware I flash I get those " image is too big " errors and when I restart I am stuck at bootloader? any ideas?
gd91 said:
I have same problem too...any firmware I flash I get those " image is too big " errors and when I restart I am stuck at bootloader? any ideas?
Click to expand...
Click to collapse
Unfortunately i'm in the same boat, stuck at boot. Flashing different zips doenst seem to help. I think the partition has changed since the 4.4.4 OTA from 4.4.2 on the GPE. It's impossible to flash a different rom at the moment. Hopefully there will be a fix soon.
Yes ...I read the same thing in several places...it has to do something with that gpe firmwares partition.....anyone have any idea how to fix this please?
same problem here. I was able to fix my phone partially with
1, factory reset in recovery (twrp)
2, adb Cyanogen rom
3, fixing reception with
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
using gpe 4,4 fsg
Can you explain that in "noob language " please ? ...did you managed to flash official firmware after that?
Is fastboot mode available? If yes then you could just either 'dd' them or flash via fastboot, starting with sys partition. Don't touch the efs.

Moto G Flash Stock Firmware Problem!!

Hello, so i have a Moto G XT1032 from Telus. Not too long ago i decided to root it (bad idea). Later on i decided that i don't want the root anymore and decided to unroot it. I thought i succeeded but when time came to update from Android 4.4.4 to 5.0 i proved myself wrong. When Android 5.0 started to install, it was installing through CWM and it was ending up giving me a error. I wanted to get rid of CWM and searched up some tutorials and ended up finding out that i have to flash my phone back to stock firmware. I flashed the wrong firmware and ended up converting my XT1032 to XT1033 Dual-Sim. I then found the good Telus firmware for my XT1032 but when i flashed it and connect my phone to my pc, my pc says that a XT1033 is connected. I'm also not able to lock bootloader, it gives me "bootloader sst lock failure". So please help me!
-Thank You
Did you flash the 4.4.4 firmware? Did you flash all partitions manually? No need to lock the bootloader to get the OTA update.
audit13 said:
Did you flash the 4.4.4 firmware? Did you flash all partitions manually? No need to lock the bootloader to get the OTA update.
Click to expand...
Click to collapse
Yes i flashed the 4.4.4 firmware XT1032_TELUS-CA_4.4.4_KXB21.14-L1.50_52_cid14_CFC_1FF.xml.
By flashing all partitions manually, do you mean this?
mfastboot.exe flash partition gpt.bin
mfastboot.exe flash motoboot motoboot.img
mfastboot.exe flash logo logo.bin
mfastboot.exe flash boot boot.img
mfastboot.exe flash recovery recovery.img
mfastboot.exe flash system system.img_sparsechunk.0
mfastboot.exe flash system system.img_sparsechunk.1
mfastboot.exe flash system system.img_sparsechunk.2
mfastboot.exe flash modem NON-HLOS.bin
mfastboot.exe erase modemst1
mfastboot.exe erase modemst2
mfastboot.exe flash fsg fsg.mbn
mfastboot.exe erase cache
mfastboot.exe erase userdata
Then yes.
Which bootloader version is on your phone? All partitions flashed without issue?
audit13 said:
Which bootloader version is on your phone? All partitions flashed without issue?
Click to expand...
Click to collapse
How do i check the version? and yes all partitions flashed without any issue
Boot into fastboot on the phone and look at the top. It will be 41.xx
audit13 said:
Boot into fastboot on the phone and look at the top. It will be 41.xx
Click to expand...
Click to collapse
41.18
dystieguy said:
41.18
Click to expand...
Click to collapse
With TWRP installed wipe data, cache and system partitions, and then reinstall with mfastboot again. :good:
Feche said:
With TWRP installed wipe data, cache and system partitions, and then reinstall with mfastboot again. :good:
Click to expand...
Click to collapse
I lost you over here, what's TWRP and how do i wipe data, cache and system partitions? (Sorry, i'm a noob in this)
dystieguy said:
I lost you over here, what's TWRP and how do i wipe data, cache and system partitions? (Sorry, i'm a noob in this)
Click to expand...
Click to collapse
TWRP is a custom recovery (like CWM) that will let you flash .zips, and do other things like wipe data partition, system partition, etc.
You can download it here
If you have TeamViewer I can help you :highfive:
You have the LP bootloader which is 41.18.
You didn't get an error trying to flash the motoboot.img file?
Feche said:
TWRP is a custom recovery (like CWM) that will let you flash .zips, and do other things like wipe data partition, system partition, etc.
You can download it here
If you have TeamViewer I can help you :highfive:
Click to expand...
Click to collapse
I need ROOT for this but i already removed root from my phone.
audit13 said:
You have the LP bootloader which is 41.18.
You didn't get an error trying to flash the motoboot.img file?
Click to expand...
Click to collapse
I think i did actually, it said in purple downgraded something.
dystieguy said:
I need ROOT for this but i already removed root from my phone.
Click to expand...
Click to collapse
You don't need to be rooted, just bootloader unlocked.
Feche said:
You don't need to be rooted, just bootloader unlocked.
Click to expand...
Click to collapse
Wait, i don't need to download the android app?
dystieguy said:
I think i did actually, it said in purple downgraded something.
Click to expand...
Click to collapse
If it downgraded the bootloader while flashing KK, you would not have a 41.18 bootloader.
audit13 said:
If it downgraded the bootloader while flashing KK, you would not have a 41.18 bootloader.
Click to expand...
Click to collapse
Should i try re-flashing it and tell you if i get any issues?
Try flashing just the motoboot file and let me know if it goes through. If it does and you are still on the 41.18 bootloader, that indicates to me that you're re-flashing the same bootloader.
audit13 said:
Try flashing just the motoboot file and let me know if it goes through. If it does and you are still on the 41.18 bootloader, that indicates to me that you're re-flashing the same bootloader.
Click to expand...
Click to collapse
it gives this:
target max-sparse-size: 256MB
sending 'motoboot' (1953 KB)...
OKAY [ 0.078s]
writing 'motoboot'...
(bootloader) Motoboot: Preflash validation for tz
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.328s
The bootloader is not flashing because you are trying to downgrade from 41.18 to 41.13.
Do you receive any error messages when flashing the rest of the ROM?

Whats the most up to date method for unrooting?

I only just rooted my wife's Moto G a couple of nights ago as I was going to install the Brazilian lollipop version but thought better of it. Now the official update and I can't install it for her, even though it has stock recovery and stock 4.4.4, so I take it its because the su payload is still installed.
So what's the best way to unroot? Surely all that manually installing each part separately crap is totally out of date?
faster and without problems- reflash current rom
plantator said:
faster and without problems- reflash current rom
Click to expand...
Click to collapse
Just flash it in fastboot?
Balls. So I did what was suggested on here, copied the 4.4.4 file to the internal memory, wiped the phone and the zip won't install in twrp. What do I do now?
mickrick said:
Balls. So I did what was suggested on here, copied the 4.4.4 file to the internal memory, wiped the phone and the zip won't install in twrp. What do I do now?
Click to expand...
Click to collapse
You need stock recovery and no root. Then you need to flash the stock firmware with fastboot. It's a simple process that I've done a few times. I'm on my phone right now and don't have time to provide a link, but search the forum for flash stock firmware.
Sent from my XT1034 using Tapatalk
Copy your brain to internal memory... you read any tutorial? so many... go and read, but be carefull to not broke your device
The stock xml.zip file needs to be unzipped and each partition needs to be flashed using fastboot or mfastboot commands.
mfastboot flash partition gpt.bin
mfastboot flash motoboot motoboot.img
mfastboot flash logo logo.bin
mfastboot flash boot boot.img
mfastboot flash recovery recovery.img
mfastboot flash system system.img_sparsechunk1
mfastboot flash system system.img_sparsechunk2
mfastboot flash system system.img_sparsechunk3
mfastboot flash modem NON-HLOS.bin
mfastboot erase modemst1
mfastboot erase modemst2
mfastboot flash fsg fsg.mbn
mfastboot erase cache
mfastboot erase userdata
mfastboot reboot
You may get a prevalidation error when trying to flash motoboot.img. If you do, just skip it.
When flashing the sparsechunk files, change the name to match the sparsechunk files in the zip.

[Q] Fastboot not applying changes

Please, I have a XT1033 in which I can't install anything. If I try to flash the stock rom or a custom recovery, nothing happens. When I flash the stock rom, it gives ok for most of the files (except for gpt and motoboot, preflash validation failed), but when I reboot to the system, NOTHING HAPPENED, system and userdata was left untouched. I would appreciate any help. Thanks in advance.
Hi,
Silly question, i know, but is your bootloader unlocked?
Did you try to convert to GPE?
Yes, my bootloader is unlocked and I don't know if someone did try to convert it to GPE because this phone is not mine.
Could be a bad eMMC.
Sent from my XT1031
Just erase recovery, system ,cache and userdata via fastboot and flash twrp.
Try using latest 5.1 Firmware Images and mfastboot: https://www.androidfilehost.com/?fid=24052804347778493
Provide logs, copy and paste command prompt - screen-shots - the more information the better.

Categories

Resources