Hi,
This all started off when i tried to use a SoftKey mod app and when I opened it up, I accidently clicked Restore Backup and then the phone restarted and my status bar and navigation keys dissapeared. I looked at the SystemUI.apk in system/app and found it had a 0.00kb size. I then tried to replace the SystemUI.apk which when rebooted, caused a constant force close. I then booted a custom recovery and replaced the framework-res.apk, the SystemUI.apk and then the .odex file. I then tried to reboot and found it was stuck in a bootloop.
I wiped both the dalvik cache and the other cache as well as wiped my data. After reboot, It started upgrading the apps and after it had finished, It started its bootloop again. Now I don't know how to get my phone back to an operational standard. Could someone please tell me how I can boot back to the OS?
If you are running a custom ROM you should reflash it.
If you are running stock flash the stock image.
Sent from my Nexus 7 using xda premium
El Daddy said:
If you are running a custom ROM you should reflash it.
If you are running stock flash the stock image.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Via sideload?
2.0 said:
Via sideload?
Click to expand...
Click to collapse
You can either adb side load a custom ROM or push it to SD.
Command would be adb push nameoffile.zip /sdcard/
Otherwise you can flash the stock image using fastboot.
Sent from my Nexus 7 using xda premium
El Daddy said:
You can either adb side load a custom ROM or push it to SD.
Command would be adb push nameoffile.zip /sdcard/
Otherwise you can flash the stock image using fastboot.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thank you so much! I flashed the system.img and now it boots again. Before i wiped everything i did a backup so do i backup data and cache to get my apps back?
2.0 said:
Thank you so much! I flashed the system.img and now it boots again. Before i wiped everything i did a backup so do i backup data and cache to get my apps back?
Click to expand...
Click to collapse
If you did a nandroid with the bad SystemUi it will bootloop again when restoring it. If you just restore userdata it should be fine.
Sent from my Nexus 4 using xda premium
Related
I tried to change the DPI, now I'm on boot loop. I have no backup. I have TWRP recovery, but trying to side load a new ROM via abd says "* cannot read 'sideload' *". I've tried to use the file explorer in TWRP to fine build.prop to edit it manually but that's not working either..
What can I do? Thank you so much!
Sent from my GT-I9100 using xda app-developers app
As a last resort you could always back up your data and flash stock/whatever rom you want on your phone then restore the data.
wipe and flash a new ROM or the same one again.
Sent from my Nexus 4 using xda app-developers app
Reflash your ROM & it will resore the default build.prop. I've never messed with the sideload option in TWRP but if you're booted into TWRP you should have adb access (no sideload function needed)
Hi guys im sort of new to the android scene and im having problems with my nexus 4, i downloaded the newest cyanogenmod nightly and flashed it, it messed up part way through. i rebooted the phone and now its just stuck at boot animation. i have wiped the cache the dalvik cache and done a factory restore.
i have tried reflashing the nightly but it stick stops part way through, i want to add the new rom to the /sdcard but i dont know how, its not showing in android file manager and i have tried using adb push command.
im sure its a noob question but any ideas?
P.s sorry i know there are posts similar to mine but tried them and wont work
If adb push won't work in recovery you might try flashing the factory images with fastboot. System.img is really all you'd need.
estallings15 said:
If adb push won't work in recovery you might try flashing the factory images with fastboot. System.img is really all you'd need.
Click to expand...
Click to collapse
sorry i have no idea how to do that, i just need to access the file system so i can dump a rom to install
AW: [Q] Nexus 4 wont work after new cyanogenmod update
You can try to sideload a new ROM via 'adb sideload' in the recovery.
Sent from my Nexus 4 using xda premium
TobiS87 said:
You can try to sideload a new ROM via 'adb sideload' in the recovery.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
i have tried to side load a rom onto it but that didnt work adb gave a error
http://forum.xda-developers.com/showthread.php?t=2010312
Follow the steps, but only flash the system.img. Once it boots, move your ROM over. Reboot into recovery. Flash.
Hi everyone,
So I have never ran across this issue before. I haven't had any problems with my device and yesterday I wanted to test out the new Jelly Bam update rom from their site. The rom would not boot pasted the "Google" spash screen so I rebooted in to recovery and did a full wipe and restored via backup to my previous rom just like normal. Well then I noticed that normally when I connect my phone to my computer I see my internal memory drive pop up which I am able to click on and then access my files, but this time when I accessed it I have a hand full or folders like 0, twrp, android, etc and I had to double click on o folder to access my memory with all my files. I thought that was weird so I went on about my day. Later I tried to do a fresh install of my current rom PACman but even after doing a fresh install the phone will not boot passed the Google spash screen, and now twrp doesn't even see my backup file because its being directed to this new partition with all the folders I was talking about. I even tried using the file manager in twrp to move the backup to that twrp folder but twrp doesn't even see it.
So as of right now I can get in to twrp but I can not boot my device pasted the google splash screen. I also can't access my memory through my pc since nexus does not allow it with twrp. What do I do? My thoughts are that something got screwed up with the partitions when I flashed the Jelly Bam rom so I will need to go back to stock, does that sound about right? I was thinking of following these instructions to go back to stock and then move on from there, any thoughts or alternatives? http://www.androidrootz.com/2012/12/how-to-unroot-nexus-4-to-stock-42-jelly.html
Thank you
Trying this method to return to stock: http://www.wugfresh.com/nrt/
If no one has any input I will assume I am following the right path.
I flashed factory images a couple weeks ago and in order for TWRP to see the nandroids I copied back to my phone I put them in the following path: /sdcard/TWRP/BACKUPS/stringofrandomnumbersandletters/
Are your TWRP backups in a similar location?
If you've decided to go back to stock, I'd suggest using the following guide by efrant... http://forum.xda-developers.com/showthread.php?p=34552123
Sent from my Nexus 4 using xda app-developers app
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
It looks like twrp is now looking at my twrp folder in my sd card 1 not sd card 0 where I have had my backups and all my files. After trying again, I moved the TWRP backup to the sd card 1 twrp folder, twrp recognized it and I restored from backup....but when I reboot I am still stuck on the Google screen. Not sure what to do.
Underground_XI said:
It is twrp fault. That recovery is crap to be honest.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Since I can't move anything to my memory, any suggestions?
If you've got adb and the proper drivers installed on your PC you could try:
Code:
adb push ROM.zip /sdcard/ROM.zip
from the command prompt. Obviously use the name of the actual ROM.
Edit: ignore that, just read the post where you managed to restore! D'oh!
Have you tried clearing both caches?
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
synergeticink said:
The only issue is that my phone is not recognized as having debugging on when I use the Nexus Root Toolkit. Would it matter trying to push via adb? Also with your code, can you specify exactly what I should type. Mine shows C: \Users
Click to expand...
Click to collapse
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
And that's were I am stuck right now. I am not a pro at using adb commands, never used it till I got my nexus 4. Right now when I launch the cmd it shows "C:\Users\My User Name\Desktop>", not sure where to go next. I guess I am not sure what I should be pushing at this point either.
Oops...it seems I was editing my post at the same time you were responding to it...take a look at my previous response again
I'm fairly new around here but I can help with the adb commands if you need. Hang in there
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
If I were you I would not rely on a toolkit at this point. If you boot into recovery you can use adb commands to push the files from your computer to your phone.
Edit... Spec-Chum's suggestion of wiping caches is a good one. Have you tried that while booted into TWRP?
You could also try the following from within TWRP:
1. Factory reset
2. Wipe system
3. Restore nandroid backup
4. Wipe caches
5. Reboot
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah. I tried wiping cache/dalvik/system/factory reset and then both restoring from backup or flashing the latest PACman rom which is in my sd card. Right now I am reading the http://forum.xda-developers.com/showthread.php?t=2018179 guide to see if I can use adb to flash my rom or another recovery. Makes sense if its the recovery not letting me flash anything, but i'm not a dev. At least I am able to get in to recovery to begin with, good sign I guess.
If you can boot into bootloader and recovery there are many options to help get you up and running again. That guide by Jubakuba is really good but if wiping and restoring your backup from within TWRP didn't work I would highly suggest reading efrant's guide on returning to stock...I posted the link in an earlier reply.
Sent from my Nexus 4 using xda app-developers app
I was able to flash cwm using adb, now trying to do a fresh install
Nope, doing a fresh install didn't work. Now its time to restore to stock. ......
One problem:
"
5) Extract the files from within the .tgz file which you downloaded in step 3 using 7-zip, not WinZip or WinRAR or whatever.
6) Make sure you have extracted ALL the files (including extracting any files in any archives inside the .tgz file). You should have six (6) files ending with .img in the directory you created in step 1. The other files you extracted from the .tgz are not necessary;"
UPDATE; Got it, instructions were not clear.
synergeticink said:
UPDATE; Got it, instructions were not clear.
Click to expand...
Click to collapse
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
chef_christoph said:
I was just checking how it appeared on my own computer before responding... I'm glad you got that part cleared up.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Its weird adb will not work on the computer unless the files are in the platform-tools folder in androi sdk. trial and error, just finished flashing system....
should I do this command, I really don't want to lose my stuff:
10) Optional (NOT optional for n00bs) -- Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 2 below.
Well, I didn't and finished the process...did a reboot when I was done...now its on the Google screen...just waiting....I'm seeing a Nexus X splash screen!!!...
Update: Its taking a very long time, hopefully it works...going to give it another 10 mins
And we have BOOT... thank you everyone! Now I have to root this sucker!
n4 with 4.3 now, rooted ,installed a fullscreen app ,then reboot as the app told ,,,,,,,,,,then black (but max brightness)screen then google logo then again.....help ,i still have some unsaved photo or files in it ,i can get into recovery, and ive checked that all files are allright ,how can i get them out??
What full screen app exactly?, if you have TWRP then it is possible to fix it all.
Sent from my Nexus 4 using Tapatalk 4
the app was made for galaxynexus ,and i could use it when my n4 was in 4.2.2 ,the name was in chinese...,i think i have the twrp ,infact i was in it,buta i can't find it againXD, now i'm in clockworkmod recovery.
andyabc said:
What full screen app exactly?, if you have TWRP then it is possible to fix it all.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
can you tell me how can i get in TWRP again? i can only get in CMW recovery now:P
andyabc said:
What full screen app exactly?, if you have TWRP then it is possible to fix it all.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
cffh said:
the app was made for galaxynexus ,and i could use it when my n4 was in 4.2.2 ,the name was in chinese...,i think i have the twrp ,infact i was in it,buta i can't find it againXD, now i'm in clockworkmod recovery.
Click to expand...
Click to collapse
Because I don't know what app it is I have no idea what it did so what I would do is go to recovery and do the following command to every file you want:
adb pull /sdcard/Some_file.txt C://Users/Your_name/Desktop/Some_folder/Some_file.txt
If possible you can make a backup of the internal storage and restore when you reflash your rom or something if you have TWRP also moving the image file to your PC using ADB Pull.
After backing up you have to use this tool with your device on the bootloader menu: https://developers.google.com/android/nexus/images#occamjwr66v
You can restore your files afterwards but if you originally used a custom rom then flash the custom rom.
Sent from my Nexus 4 using Tapatalk 4
Ummm, i found there is an Mount function in CWM Recovery ,but my pc has no respond ,besides i did got into the TWRP you said once i just donno how to get there again ,the images are about hundreds imma little bit lazy..anyway thank you very much for your help
andyabc said:
Because I don't know what app it is I have no idea what it did so what I would do is go to recovery and do the following command to every file you want:
adb pull /sdcard/Some_file.txt C://Users/Your_name/Desktop/Some_folder/Some_file.txt
If possible you can make a backup of the internal storage and restore when you reflash your rom or something if you have TWRP also moving the image file to your PC using ADB Pull.
After backing up you have to use this tool with your device on the bootloader menu:
You can restore your files afterwards but if you originally used a custom rom then flash the custom rom.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
finally after a sleep , i did some search ,then i successfully saved my files by using ADB Pull !!(it really took me a looooong time) and i guess there is no way to boot again now so i decide to flash to 4.3 rom
andyabc said:
Because I don't know what app it is I have no idea what it did so what I would do is go to recovery and do the following command to every file you want:
adb pull /sdcard/Some_file.txt C://Users/Your_name/Desktop/Some_folder/Some_file.txt
If possible you can make a backup of the internal storage and restore when you reflash your rom or something if you have TWRP also moving the image file to your PC using ADB Pull.
After backing up you have to use this tool with your device on the bootloader menu:
You can restore your files afterwards but if you originally used a custom rom then flash the custom rom.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Hey guys, I seem to have a problem with my Nexus 4
I installed Odyssey ROM (4.3) coming from Illusion (4.2.2) following the usual procedure of wiping etc...
It didn't boot, stuck on the Google logo....
Strange thing is that it stuck when I tried to reinstall Illusion and also when I restored the Backup I made before the install.
What couldve cause this problem and how can I solve it?
Thanks
I don't know the cause but try this:
1.Go to bootloader.
2.Use adb fastboot to flash to stock.
3.profit
Sent from my Nexus 4 using xda app-developers app
wargasm009 said:
Hey guys, I seem to have a problem with my Nexus 4
I installed Odyssey ROM (4.3) coming from Illusion (4.2.2) following the usual procedure of wiping etc...
It didn't boot, stuck on the Google logo....
Strange thing is that it stuck when I tried to reinstall Illusion and also when I restored the Backup I made before the install.
What couldve cause this problem and how can I solve it?
Thanks
Click to expand...
Click to collapse
Go into recovery:
- Wipe cache and dalvik cache and reboot or
- if that`s not enough do a data factory reset and reboot. That should do it.
gee2012 said:
Go into recovery:
- Wipe cache and dalvik cache and reboot or
- if that`s not enough do a data factory reset and reboot. That should do it.
Click to expand...
Click to collapse
This, plus reflash ROM.
Sent from my Nexus 4 using Tapatalk 4
OK guys.... Slight update... I get it to work but it seems to only boot ROMs after a factory reset..... Even now, Odyssey, PA etc no matter what ROMs I'm on if I reboot it hangs at the Google logo.... Forcing me into another factory reset.
Sent from my Nexus 4 using xda app-developers app
wargasm009 said:
OK guys.... Slight update... I get it to work but it seems to only boot ROMs after a factory reset..... Even now, Odyssey, PA etc no matter what ROMs I'm on if I reboot it hangs at the Google logo.... Forcing me into another factory reset.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Flash the factory image, so completly stock. Then you can go ahead and start running custom roms again!:highfive:
failly said:
Flash the factory image, so completly stock. Then you can go ahead and start running custom roms again!:highfive:
Click to expand...
Click to collapse
Than you... That's probably my best bet right now.
Sent from my GT-N8013 using xda app-developers app
wargasm009 said:
Than you... That's probably my best bet right now.
Sent from my GT-N8013 using xda app-developers app
Click to expand...
Click to collapse
Good luck! Let us know if you got it fixed!
failly said:
Good luck! Let us know if you got it fixed!
Click to expand...
Click to collapse
Will do bro
Sent from my GT-N8013 using xda app-developers app
I'm having this same problem with a friend's Nexus 4, my Nexus 4 I can flash whatever and it boots up no problem. With his it doesn't matter what ROM I flash it will not boot up. I have done the full wipe and installed factory image from Google Dev website at least 5 times and then installed customer recovery and root several times. I'm using the latest CWM touch and it will not boot. Any ideas? Thanks.
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot flash recovery nameofrecovery.img
Now boot to new recovery
adb sideload nameofrom.zip
adb sideload gapps.zip
Reboot
May is suggest the latest twrp recovery and latest slimkat and their all in one gapps for this as well
Also be sure you have the latest bootloader and modem
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app
demkantor said:
fastboot erase system -w
fastboot erase boot
fastboot erase recovery
fastboot flash recovery nameofrecovery.img
Now boot to new recovery
adb sideload nameofrom.zip
adb sideload gapps.zip
Reboot
May is suggest the latest twrp recovery and latest slimkat and their all in one gapps for this as well
Also be sure you have the latest bootloader and modem
Best of luck
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I did all of this except the adb sideloading, I just flashed the ROM and Gapps in CWM, I'll try it like this, thanks.