System Partition wont be flashed - Nexus 7 Q&A, Help & Troubleshooting

Hi,
a few days i deviced to manualy flash 5.0.2 an my old n7.
flashing 5.0 already made many problems.
so i hoped 5.0.2 would be easier.
i wasnt -.-
i can flash bootloader, recovery but not system. when i flash system (fastboot flash system system.img, all drivers corectly installed) it lasts ours until my pc says something new like "too many links" or so. but not every time it comes to an error message. sometimes nothing happens (waited 2 days!)
the n7 it selfs dont react then.
at flashing 5.0 it helped me to change the filesystem and change it back. at 5.0.2 nothing helps. also cant flash back 5.0
bootloader is 4.23.
has anybody an idea?

What filesystem are you trying to use? Keep it at ext 4 until you get the 5.02 system flashed. Try a fastboot format system before flashing again.
Sent from my Nexus 7 using XDA Free mobile app

I switched to ext3 and instantly back to ext4 . Never tried to flash on an other filesystem.
The format command I will try

i love you
this is embarrassing for me. i tried everything i knew. i also formated the system partiton in recovery. but to format it via fastboot doesnt come to my mind

So I take it that formatting system with fastboot allowed you to successfully flash system.img? I hope you have your N7 up and running on 5.02.

Yes you're right.
I flashed 5.0.2 . So far so good.
But it won't install apps. So I wiped the cache and now I have a bootloop today after work I will look after that. But I'm happy that I can flash normally

Related

[HELP]My nexus 4 can not boot even after flash stock image correctly several times!

Hello everyone, I thought I've got a big problem here...
My nexus 4 originally crashed and stuck into a boot loop several days ago, and I flashed stock factory image(4.4.2), then it works again. After that, I imported my backup files into internal storage and using titanium backup restored my apps and data, unfortunately, crashed and boot loop again...So I flashed stock factory image again to find out what reason of this. After several restore from stock factory image, I found that my sms message and many mp3 files could lead to crash, after flash factory image, works fine, use it, reboot it ,fine, but after copy many mp3 files and restore my sms backup(about 2,000+ messages), reboot, stuck into boot loop... Now I try to flash stock image again, however, with no luck to boot my phone...
During my privious several times of flash stock image, it's always hard to boot the machine normally at the first time, I always try to wipe cache, factory reset in recovery even several times to manage to boot the machine normally.
This time when I flash stock image again, I just can't boot my nexus 4 anymore, even wipe cache, factory reset from recovery, whatever other tries...:crying:
Now I even tried several ways to flash stock image(4.4.2, which I used to managed boot up before):
1 Using the newest Nexus Root Toolkit: Boot into bootloader mode and click "Flash Stock+Unroot(soft bricked/boot loop)", everything says OK, however, it just can't boot and stuck in Google logo screen, even after I waited for 2 hours...
2 Using the flash-all.bat: Extract the .tgz image file into a folder which contains adb.exe and fastboot.exe, then execute flash-all.bat, everything reports OK, but just can't boot up, still stuck on Google screen.
3 Manually flash: Extract the .tgz and the .zip, put all files(including boot.zip, system.zip, recovery.zip etc) in one folder, flash bootloader and radio first, then "fastboot flash [partition] *.img", and everything says OK, just can't boot up and stuck on Google screen.
4 Manually flash using 3rd party recovery: Have tried to flash newest CWRP recovery and CMOD recovery separately first, then do manually flash as above.
I even do:
fastboot oem lock
fastboot oem unlock
fastboot reboot-bootloader
fastboot erase system(or fastboot format system)
fastboot erase userdata(or fastboot format userdata)
fastboot erase boot
fastboot erase recovery
fastboot erase cache(or fastboot format cache)
these commands before I try to do the four ways to restore factory image above, but nothing changed.
Now stuck on Google screen, what ever I wipe cache/factory reset how many times, it's just stucked... I even doubt if my flash memory was broken???
PELEASE HELP!
diligentpig said:
Hello everyone, I thought I've got a big problem here...
My nexus 4 originally crashed and stuck into a boot loop several days ago, and I flashed stock factory image(4.4.2), then it works again. After
[Snip]
PELEASE HELP!
Click to expand...
Click to collapse
Flash CWM, wipe the partitions there (But not /boot or /persist, those will hardbrick if you reboot after wiping although I don't think it will let you wipe them), flash the latest radio (.98), and then flash a 4.4 ROM.
If that doesn't work, wait for more responses from others, then try this as a last resort. I suggest that you wait a few days, this can be dangerous
http://forum.xda-developers.com/nexus-4/general/tutorial-how-to-unbrick-n4-t2347060
Follow carefully, and read multiple times before starting. Take it slow and don't panic if the process doesn't go as expected at 85% (Mine wouldn't reboot on its own for some reason, it kept erroring but it was fine and worked itself out)
It should put the phone on a complete clean slate for flashing
Thanks for your reply
lopezk38 said:
Flash CWM, wipe the partitions there (But not /boot or /persist, those will hardbrick if you reboot after wiping although I don't think it will let you wipe them), flash the latest radio (.98), and then flash a 4.4 ROM.
If that doesn't work, wait for more responses from others, then try this as a last resort. I suggest that you wait a few days, this can be dangerous
http://forum.xda-developers.com/nexus-4/general/tutorial-how-to-unbrick-n4-t2347060
Follow carefully, and read multiple times before starting. Take it slow and don't panic if the process doesn't go as expected at 85% (Mine wouldn't reboot on its own for some reason, it kept erroring but it was fine and worked itself out)
It should put the phone on a complete clean slate for flashing
Click to expand...
Click to collapse
Hi lopezk38,
Thanks for your reply! And I do as your instruction:flash newest CWM recovery, then factory rest, wipe cache, and under mouts menu format system/cache/data and firmware(but error), then flash a latest CyanogenMod image for nexus 4, with no luck, everything remains the same
However, I saw the link you provided to unbrick nexus 4, I'll read it carefully several times. At the same time, I'll wait for any other kind help that anyone can provide. If finally there is no other way to repair it, I'll go through with your link.
Thanks again for the tip!
diligentpig said:
Hi lopezk38,
Thanks for your reply! And I do as your instruction:flash newest CWM recovery, then factory rest, wipe cache, and under mouts menu format system/cache/data and firmware(but error), then flash a latest CyanogenMod image for nexus 4, with no luck, everything remains the same
However, I saw the link you provided to unbrick nexus 4, I'll read it carefully several times. At the same time, I'll wait for any other kind help that anyone can provide. If finally there is no other way to repair it, I'll go through with your link.
Thanks again for the tip!
Click to expand...
Click to collapse
Yeah /firmware was another that won't wipe, I just forgot to mention it. Best of luck
It sounds like you have faulty nand block (s). Before no critical parts of the firmware got written to it, so it developed problems when you wrote data to it. Looks like this time you didn't get so lucky, or more failed. If it's under warranty I would RMA it; if it's not, I'm honestly not sure what your best option is. Maybe get one that has broken screen etc, then do a logic board transplant. Good luck.
Sent from my Nexus 4 using Tapatalk
lopezk38 said:
Yeah /firmware was another that won't wipe, I just forgot to mention it. Best of luck
Click to expand...
Click to collapse
I'm going to do the work in the thread you provided now...and will tell you what I've got finally.
consolation said:
It sounds like you have faulty nand block (s). Before no critical parts of the firmware got written to it, so it developed problems when you wrote data to it. Looks like this time you didn't get so lucky, or more failed. If it's under warranty I would RMA it; if it's not, I'm honestly not sure what your best option is. Maybe get one that has broken screen etc, then do a logic board transplant. Good luck.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Thanks for your reply. Nexus 4 was not intend to sell to my country, so...Wish me luck
lopezk38 said:
Flash CWM, wipe the partitions there (But not /boot or /persist, those will hardbrick if you reboot after wiping although I don't think it will let you wipe them), flash the latest radio (.98), and then flash a 4.4 ROM.
If that doesn't work, wait for more responses from others, then try this as a last resort. I suggest that you wait a few days, this can be dangerous
http://forum.xda-developers.com/nexus-4/general/tutorial-how-to-unbrick-n4-t2347060
Follow carefully, and read multiple times before starting. Take it slow and don't panic if the process doesn't go as expected at 85% (Mine wouldn't reboot on its own for some reason, it kept erroring but it was fine and worked itself out)
It should put the phone on a complete clean slate for flashing
Click to expand...
Click to collapse
diligentpig said:
Hi lopezk38,
Thanks for your reply! And I do as your instruction:flash newest CWM recovery, then factory rest, wipe cache, and under mouts menu format system/cache/data and firmware(but error), then flash a latest CyanogenMod image for nexus 4, with no luck, everything remains the same
However, I saw the link you provided to unbrick nexus 4, I'll read it carefully several times. At the same time, I'll wait for any other kind help that anyone can provide. If finally there is no other way to repair it, I'll go through with your link.
Thanks again for the tip!
Click to expand...
Click to collapse
Hi, I've carefully read the link several times, and finally go through with it without any problems, and I could flash 4.2.2 stock images and do the 8gb to 16gb part to restore my phone to 16gb storage...However I found that I only can flash 4.2.2 image to make the phone boot up normally, with 4.3 or 4.4.2 image, it fails at boot up. Most important and sad part is, when the phone complete initial setup and install some software, it crash and can not boot again:crying: I've given several tries but the same result.
Finally, I made decision to sold it to buyer who needs only a good glass screen for replacement purpose... Farewell, my nexus4...

Problem with flashing F2FS Recovery and ROM

Hello,
yesterday i tried to flash SlimKat with "All F2FS" (SlimKat).
I Followed the description and copied all files to my Nexus 7, flashed the new all f2fs twrp 2.7 via fastboot. Flashed the FormatPartition.zip rebootet and flashed ROM and Gapps. Till here, everything works great. But if I try to Format Data it says to me that I need to type in my password to decrypt partition. But I never set one.
The only way to bring my Nexus 7 booting was to flash stock rom and stock recovery via fastboot.
I´ve tried it two times but everytime i get the same problem.
Anyone know how to fix this?
P.S.: Sorry for my bad english
You get that error, because either you recovery or your partition is not f2fs. My guess is the second one. Try formating the Data partititon from your f2fs TWRP recovery.
This error is shown when I try to Format Data partition. And I realy have flashed both (right recovery and flashed the formatpartition.ZIP)
Sent from my P6-U06 using XDA Premium 4 mobile app
If I were you, I would revert back to full stock and start from there step-by-step.
Tried it a third time after flashing full stock. Also have downloaded the recovery and the zips a secound time. Now it works like it should
Thank you for your help

[Q] Can't finish write to userdata

Nexus 4 with stock (originally 4.4.2), which wouldn't update to 4.4.3, due to TWRP being installed, so when 4.4.4 came around, thought I would download and flash myself. Not a huge expert, but have certainly flashed several phones successfully previously.
Initially using the Nexus Root Toolkit, unrooted etc, downloaded the correct file from https://developers.google.com/android/nexus/images, tried to update, and would not write the radio file (waited for ages), tried to do using adb etc, no go.
Finally downloaded the 4.4.2 image, and using fastboot, this successfully did everything up to userdata, erased userdata successfully, and sent file, but never completes writing. (writing 'userdata'...) If I reboot, just gets stuck on the 4 circles.
Have installed CWM and tried doing a factory reset, but can not mount data....
Anyone able to assist?
Thanks
hornetster said:
Have installed CWM and tried doing a factory reset, but can not mount data....
Anyone able to assist?
Thanks
Click to expand...
Click to collapse
Panic over...
Perseverence seemed to pay off. Just did more of the same, and tried installing the userdata by itself. Seems to have worked.
But now am stock, and still doesn't seem to want to install the updates....
Well, thought it was stock, but the latest OTA didn't install. Don't really know why, as I wasn't watching, but it did the download, then kicked off the install, but when I came back to it, was just sitting at the home screen, no messages and the update hadn't happened - still sitting on 4.4.2.
I had flashed 4.4.2, and I thought the only bit that hadn't worked was the userdata, which I flashed separately, recovery has been flashed to stock recovery...
Why hasn't it updated?
And how can I tell if 'everything' is stock?
Thanks.

Bootloop on Lollipop Stock

So, yesterday i tried to install Euphoria OS on my phone, but in all of a sudden, the /cache partition corrupted, i was dumb enough and deleted it via TWRP, making my phone fall into the QPST status.
After fixing it, i proceeded and reflashed KitKat, but the phone only shows 8GB instead of 16GB, so i tried to fix this by flashing TWRP, everything went well, until i upgraded to Lollipop again.
It always bootloops no matter what i do, i really need my phone with my 16GB of storage back, it isn't a Hardware failure since the QPST diagnosis didn't say anything about mobo failures.
I can mount all the partitions, i can wipe it all, i can boot into bootloader and recovery, i can do basically everything but booting the system.
Any light on this? it either happens after i flash TWRP or after i try to root it.
Im running Android 5.1.1 stock.
List of tutorials i have tried (In order): http://forum.xda-developers.com/nexus-4/general/wip-unbricking-nexus-4-using-qpst-t2208289
http://forum.xda-developers.com/nex...unbrick-n4-t2347060/post43164157#post43164157
http://forum.xda-developers.com/google-nexus-5/help/nexus-5-stuck-boot-loop-lollipop-t3098632
Don't you dare tell me to reflash the ROM again, this is the first thing i have done, i did this 20 times already and it never worked. It isn't a ROM problem. It is a partition problem somewhere.
Fixed, had to use LGNPST to reflash JB 4.4.2, then upgraded to a ZIP version of the Lollipop ROM, then flashed the stock one.
I'm having the same problem with my Nexus 4. I read also about LGNPST, but I remember something about flashing the Optimus G cache partition I believe, then manipulating one of the prop files afterwards in order to get your 16gigs back. The problem is that all of the files needed to do this flash are attached to a stupid downloader site and so its full of pop up windows and adware from what I've seen. I can't get mine to boot into system, or bootloader, or recovery, etc. The device will not finish looping for debugging to be enabled, and even trying to boot into download mode is not happening. I've tried all I know to do, especially considering fastboot and adb both utilizeusb debugging. I really am baffled. Any root kits I've tried also don't work so far. Help please.

Nexus 6p bootloop (NOT same as Infamous BLOD)

Hi! Guys I have a problem, which doesn't resemble the BLOD, so here is what has happened. I was running stock android June build on 6p, rooted. And my phone started random reboots. I thought it could be fixed with either stock or custom rom. So I decided to flash AOSPA. I went into twrp but could not flash it, phone rebooted each time. I tried stock images via flash all command as well as manual. No rom worked although I could flash kernel etc. I used The Flash's custom twrp and fixed data and was able to flash rom easily, but it bootlooped on google logo, and rebooted. Now I can flash roms etc but it bootloops. Although Tesla rom did go into bootanimation before bootlooping.
So what can I do? Is it software related? What do you guys say!
PS. I did look into other threads, nothing was similar, although I did try a few mentioned fixes.
osamaasif786 said:
So what can I do? Is it software related? What do you guys say!
Click to expand...
Click to collapse
Use fastboot to FORMAT system, userdata and cache. Note any errors during the FORMAT process.... and then try flashing a full image from Google using flash-all.bat
v12xke said:
Use fastboot to FORMAT system, userdata and cache. Note any errors during the FORMAT process.... and then try flashing a full image from Google using flash-all.bat
Click to expand...
Click to collapse
It gives no error and did try the flash-all.bat method no luck.
osamaasif786 said:
It gives no error and did try the flash-all.bat method no luck.
Click to expand...
Click to collapse
I'd say you were squarely in a small group of people who are able to access and fully use Recovery but still boot loop after formatting and installing a clean image. If you've already tried a factory reset from the stock recovery I think you are done. Hardware issue. Replacing the motherboard is a fix, but not economically viable.
I had the same issue formatting data and cache to Ext4 and flashing modified stock ROM fixed. It would boot to Google logo freeze reboot and sometimes get to boot animation freeze and reboot.
Exodusche said:
I had the same issue formatting data and cache to Ext4 and flashing modified stock ROM fixed. It would boot to Google logo freeze reboot and sometimes get to boot animation freeze and reboot.
Click to expand...
Click to collapse
Which modified one, can you share the link?
osamaasif786 said:
Which modified one, can you share the link?
Click to expand...
Click to collapse
Cortex ROM it's flashable stock firmware with extras . Though my symptoms where the same I hope I'm not giving you false hope. Worth a shot though.
The only was I recover my phone without replacing is using https://forum.xda-developers.com/nexus-6p/general/boot-images-bootloop-t3633723 < method from here... but the phone is lag af as it is only running 1 core on stock july build. Good luck for that.
I have the same issue going on. i was trying to flash magisx and suddenly it is stuck in bootloop. i tried flashing stock images and everything. i can access twrp and flash eveything and they are getting flashed fine but still it is stuck on the bootloop.
TheTickReborn said:
I have the same issue going on. i was trying to flash magisx and suddenly it is stuck in bootloop. i tried flashing stock images and everything. i can access twrp and flash eveything and they are getting flashed fine but still it is stuck on the bootloop.
Click to expand...
Click to collapse
So have you used fastboot to FORMAT system, userdata and cache? Did each format command complete with no errors?

Categories

Resources