• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Soft Bricked when trying to Repartition Internal memory

Been busy for a while, but now I'm back... Thanks for asking :)
I'm in a dialog with crutchcorn right now, but now when this thread is opened, we should really share everything here for all to see... Maybe my problem will happen to someone else sooner or later???
 
So, after I messed up (soft bricked) my phone, by wrongly mounting/unmounting during repartitioning the system - this is what I've got
Userdata and cache is gone and the rpmb (whatever that is?) is wrong size?
I can reach adb (twrp) and fastboot (download mode) and I've already tried all possible methods to restore laf, aboot, boot and different recoverys, even the stock recovery? Restores alright, but I can't get to stock download mode with button combo (a ms323 thing I believe).
I believe my last resort would be to learn (if it's even possible) how to create/repartition/resize partitions in adb? Or if it's possible to flash userdata.img and cache.img (if someone can upload it)? But I assume I have to create those partitions first?

Grateful for any help ☺


LG optimus l70 ms323 partitions



mmcblk0

(All 381747)

p1 65536 modem
p2 1024 sbl1b
p3 512 rpm
p4 512 tz
p5 512 sdi
p6 2048 aboot
p7 512 rpmb
p8 512 tzb
p9 2048 abootb
p10 2048 pad
p11 3072 modemst1
p12 3072 modemst2
p13 16384 misc
p14 32768 persist
p15 22528 laf
p16 22528 boot
p17 22528 recovery
p18 3072 fsg
p19 512 fcc
p20 512 ssd
p12 512 ddr
p22 512 encrypt
p23 512 rct
p24 8192 drm
p25 8192 sns
p26 20480 factory
p27 32768 fota
p28 1024 sbl1b
p29 32768 mpt
p30 512 eksst
p13 1587200 system
p32 # [295mb] cache
p33 # [1.48gb] userdata
p34 20463 grow
rpmb 4096[512kb] xx

# = non existing partition

[ ] = original size

Maybe it's possible to make a flashable script (in twrp) to stock partition sizes?
 
Use cs emergency inlg flash tool and return to stock

If it's not about USB cables or drivers (tried plenty) there's the problem I've heard that more ms323 users have: download mode won't work - even after properly restoring laf and all available recoverys? It always ends up with fastboot only
My next mission is adb / parted, to recreate those missing partitions (userdata and cache)...
 
Solved ☺
Couldn't have done this without all the brilliant help from: @Kamil Mazik, @DevMyAndroid, @Shahell Salvin Deo and @crutchcorn

Thank you so much guys!!!

Even before this problem, I never solved the restoring of laf (download mode), but thanks to Kamil Mazik's recommendation to flash an older twrp:

https://drive.google.com/file/d/0ByEz7OmJjgdcdkFSRUFMWG9GNEE/view?usp=sharing

it worked ☺ Well the actual flashing of the laf.img worked before, but now the download mode works ☺

I'm not sure if it matters, but crutchcorn shared the proper ms323 laf.img if needed:

laf.img (ms323)
https://mega.co.nz/#!5h93lRyJ!3T_woM7e2W8xB8jNA4MPsSaOfEPe1cNhIzClv2aCHH4

And then the flashing of ms32310c works at last:

LG flash tool
http://androidforums.com/threads/unbrick-twogbsds-simple-unbrick-guide.864922

And please, straight after unlocking bootloader, restore laf, so you'll keep download mode - it makes everything so much easier (in case of brick)

And after rooting and unlocking bootloader (again, puh) the repartition worked flawlessly with PhilZ recovery thanks to Shahell Salvin Deo's post:

http://androidforums.com/index.php?posts/6917893

Have in mind that if you want to restore a ROM backup after repartition, make sure your backed up system aren't bigger than the repartition makes it and also, I think it's important that the ROM backup was made with the same recovery that you will restore it with.

I'm obviously not 100% sure I found the best ways here, I'm just a noob trying to follow advice ☺

Good luck ☺
 
Last edited:
Back
Top Bottom