[Q] Desperate need some help, failure updating 4.4 - Nexus 4 Q&A, Help & Troubleshooting

my nexus 4 was rooted with 4.3 but then i decide to upgrade to 4.4
this is the video i am trying to follow, basically just wipe & install which i did most the time.
youtube title "NEXUS 4: HOW TO MANUALLY UPDATE TO ANDROID 4.4 KITKAT"
it has two files one is mako and one is gapp.
after i did all the wiping in cwm and try to install the mako file, it shows "no file context" or sth similar, and installation is abort (i think there is problem when i transfer the file), but then i continue to install the gapp file (what the hell was i thinking?)
so now i am stuck in the google start up loop, i can only access cwm recovery mode and don't have a valid rom to install in my sdcard.
i tried to adb push another rom to the sdcard with no success (my storage was already very low, any way to remove files in the storage at this point?)
the "mount & storage" also doesn't seem to let me mount the sdcard (but system shows up "unmount").
so now i don't know what to do.
if anything has any idea or suggestion please let us know.
i am quite desperate now with a dead phone and will try anything.
thanks for reading such a long thread.

Dude that vid is old and it installs pa or some other port just flash factory images from google
Sent from my F1 using xda app-developers app

try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.

Frickelpit said:
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Click to expand...
Click to collapse
any step by step guide to do this?
i am still new to this thing even i install a few roms before.
i will google it now, but any additional info is much appreciate.
thanks

Frickelpit said:
try to sideload a zip with ADB in recovery. no need to copy to your internal storage.
also try to connect with adb shell, then you can delete some files manual with rm.
Click to expand...
Click to collapse
frustrated..
i can't seem to get my windows to recogize the device (when i type adb devices, it shows an empty list)
already try trouble shooting this for a long time with no result.
any idea?

telly0050 said:
frustrated..
i can't seem to get my windows to recogize the device (when i type adb devices, it shows an empty list)
already try trouble shooting this for a long time with no result.
any idea?
Click to expand...
Click to collapse
after tons of troubleshooting finally got it back to work.
it ends up the reason is i didn't update to the latest cwm at the very beginning.
and sideloading 4.4 didn't work because of that too, i have to install an old 4.2 to have it working.

Related

[Q] Here is a good one for ya. Yes, I need some help

Ok. So I bricked my Kindle Fire. Could not access it through ADB. Nothing. So, I followed the unbricking method with fastboot. Got me access to ADB into the kindle again.
So now, one click will not root the device to allow me to put the other images onto the device. Nor will windows 7 mount it.
One click shows that no files or folders exist for the kindle and asks me if I am sure I am running 2.0 or higher.
I can adb into it, but without root I cannot copy files into the needed directories to get it back to stock, or put CM7 on it.
When I boot, i get the kindle fire words, then a black screen. It just stays black. Its better now because at least I can ADB into it, but without root I am hosed, and one click is not working.
I turn myself over to the mercy of the Kindle gods. Any help would be greatly appreciated.
added info:
To be clear. Windows recognizes it, and ADB can connect to it and I can navigate the file structure, but it will not let me root to copy things to the file system.
When I try to use the command prompt to get to e:, a window pops up and tells me there is no disk in the drive. Please insert a disk into drive \device\Harddisk1\DR52. Then the command prompt says, The device is not ready.
With all the knowledge and information going through this forum, not even a suggestion. Pretty please......
I'm no expert sadly but do you need to root to copy over a system file? If not you could push the stockrecovery.img that you can find here (http://forum.xda-developers.com/showthread.php?t=1390773), that may be why your device isnt booting.
Where do I push that to? What location on the device? I have downloaded the image, just not sure where to put it to get it going again.
just google it how to put android etc....
I would not say I am a noob. My question is this. It will not let me mount my sdcard. So when I push update.zip to the sdcard and then try to run it from the sdcard with twrp, I get an error message saying that it cannot mount /sdcard/update.zip, so can I put update.zip somewhere else, lets say in the system folder, and run the update from there?
Not to mention, its kind of messed up that you call me a noob and point me to a video basically telling me to search the forums. Here is the problem with that. I cannot start a thread in the dev forums for the kindle fire until I post 10 times. So while you are calling me a noob and pretty much insulting me and my intelligence, I am far from a noob, I simply could not post my question in the dev forums.
lonelliott said:
Not to mention, its kind of messed up that you call me a noob and point me to a video basically telling me to search the forums. Here is the problem with that. I cannot start a thread in the dev forums for the kindle fire until I post 10 times. So while you are calling me a noob and pretty much insulting me and my intelligence, I am far from a noob, I simply could not post my question in the dev forums.
Click to expand...
Click to collapse
When you do get 10 posts and post in the Dev forum they will just tell you that you posted in the wrong forum.
Your problem has been covered many times on here if you just browse around or search you will find it.
My problem is that the sdcard will not mount, nor will it hold information. I can copy a file to it, and as soon as I reboot, it will erase that file. I have searched for ways to format the sdcard, or format everything and partition but have found no answers yet.
Just for safe measure, I did another search just now in all the kindle fire forums for "mount sdcard" and "format sdcard" and I could find no answers.
Again, when I put a file onto the sdcard, like update.zip, as soon as I run it from twrp, or even fastboot, it tells me that it cannot mount the /sdcard/update.zip file.
On top of that, when I reboot it will not keep the file, it erases it, except the twrp folder, it stays after a reboot.
I can access the system through adb, fastboot and now twrp, but cannot get it to take an update.zip file to restore it. Even though I can access it through adb and fastboot, it does not show up in my explorer window and I cannot browse the device from either a windows 7 machine or a ubuntu 11.10 machine. When I plug it in, the machine recognizes it and charges it, but wont mount it to view files.
It also returned an error saying there is no listing for the sdcard in /etc/fstab.
Not sure what to try next. Any help would be greatly appreciated.
Then you must not have read and write privlage
Sent from my Kindle Fire using Tapatalk
I dont know if it will work but it fixed mine
download this http://forum.xda-developers.com/showthread.php?t=1348782
and flash it with fastboot
fastboot flash system path\to\system.img
and you may also have to get and flash boot.img from an amazon update
asb, I do have read write, tried and verified. It is failing to mount the sdcard. Thanks Kaw. I will give that a try with fastboot.
I have twrp as the boot image. If I reflash from an update will it remove the twrp? I think it would write over it, which, if it worked, would be ok with me. I am going to try both.
When I try to flash the system.img, it tells me the remote image is to large and exits.

Problem with ADB on softbricked Transformer

Hello everyone here at xda-developers.
A few days ago I was watching streams on my Asus Transformer TF101(B70). Suddenly out of nowhere the tablet shuts off and starts an infinite loop which I simply cannot get it out of. I end up restoring the tablet to factory default and load a stock kernel onto my tablet using adb push. Since the tablet doesn't have any rom installed at this point I try to push CyanogenMod 9.0 onto my tablet in order to try and get my tablet to work and this is where the issues begin. First of all I try to push the rom onto /sdcard but that bugs my CWM 5.5.0.4 and will not allow me to access /sdcard and keeps telling me that there are "No files" when I'm trying to access /sdcard. If I restart into recovery it can access my files again but the pushed file is not there.
Afterwards I try again to push the file to /sdcard/download but then it tells me that this archive is Read-Only. I run a the "adb remount" command and it tells me it completed succesfully but when I push again it tells me that the archive is still Read-Only.
I've tried various commands but I can simply not change the archive into read/write. A few times I have succeeded in pushing the rom to /sdcard/download but when I try to locate the file it is simply not there and is not located anywhere on /sdcard despite the process being completed. I have simply no idea on how to get the rom file onto my tablet in order to restore it to normal and I was wondering if any of you have any ideas on how to get my tablet working again?
If you have any questions regarding information needed about just ask and I will provide the necessary information. I am really out of ideas on what to do.
Get a Micro SDCard and copy the ROM onto that from a PC, then put that in the TF and boot to recovery
*Detection* said:
Get a Micro SDCard and copy the ROM onto that from a PC, then put that in the TF and boot to recovery
Click to expand...
Click to collapse
I already have a MicroSD card in my tablet but I am not able to access it from CWM recovery
Try pushing the file to data/media.
Are you pushing the file while in cwm recovery?
baseballfanz said:
Try pushing the file to data/media.
Are you pushing the file while in cwm recovery?
Click to expand...
Click to collapse
I am pushing files while in recovery mode. I have already tried pushing to.other directories than /media/download but the same thing.happen. either it tells Me that the file system is read only or it says that the file transfer succeeded but the file cannot be located anywhere. I read up on the solution of trying to access a rom through microssd. Unfortunately my recovery doesn't support that unless I can change it to use external.memory instead of internal memory.
The only thing I succeeded in was getting a rom pushed to /system. Would I be able to access this directory from my recovery?
baseballfanz said:
Try pushing the file to data/media.
Are you pushing the file while in cwm recovery?
Click to expand...
Click to collapse
I am pushing files while in recovery mode. I have already tried pushing to other directories than /sdcard/download but the same thing happen. either it tells Me that the file system is read only or it says that the file transfer succeeded but the file cannot be located anywhere on /sdcard. I read up on the solution of trying to access a rom through microsd. Unfortunately my recovery doesn't support that unless I can change it to use external memory instead of internal memory but I do not know it that is possible.
The only thing I succeeded in was getting a rom pushed to /system. Would I be able to access this directory from my recovery?
WebberX said:
possible.
The only thing I succeeded in was getting a rom pushed to /system. Would I be able to access this directory from my recovery?
Click to expand...
Click to collapse
It would be better to try than to ask !
How did you get on, any luck yet ?
You could try flashing a new CWM that supports SDCards via NVFLASH
WebberX said:
If you have any questions regarding information needed about just ask and I will provide the necessary information. I am really out of ideas on what to do.
Click to expand...
Click to collapse
If you did a factory reset (and hence data loss is not a problem), your best option is using nvflash/wheelie to restore the device to a clean state with a stock firmware build and then reflash CWM to install whatever custom ROM you want.

[Q] Rooting help needed!

I am trying to root my new Nexus 4 and I am stumped. I am trying to follow efrant's instructions: http://forum.xda-developers.com/showthread.php?t=2010312
I successfully completed part D and now am trying to work through part E. I am stuck at step 3 of E: I downloaded SuperSU v 0.98 (is that really the one to get?) and I'm supposed to put that in /sdcard. Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere? Do I have to make it? How can I see that folder? I am using a Mac and the Android File Transfer program window shows no sdcard folder anywhere.
Also: Why does another unlock guide talk (http://forum.xda-developers.com/showthread.php?t=2018179) about pressing "Build Number" seven times? Why doesn't efrant's guide mention this?
I don't follow this part at all. How do I put that damn file where it needs to be?
Just download the N4 toolkit. Will do everything you want.
Toolkit
Doggonit said:
I am trying to root my new Nexus 4 and I am stumped. I am trying to follow efrant's instructions: http://forum.xda-developers.com/showthread.php?t=2010312
I successfully completed part D and now am trying to work through part E. I am stuck at step 3 of E: I downloaded SuperSU v 0.98 (is that really the one to get?) and I'm supposed to put that in /sdcard. Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere? Do I have to make it? How can I see that folder? I am using a Mac and the Android File Transfer program window shows no sdcard folder anywhere.
Also: Why does another unlock guide talk (http://forum.xda-developers.com/showthread.php?t=2018179) about pressing "Build Number" seven times? Why doesn't efrant's guide mention this?
I don't follow this part at all. How do I put that damn file where it needs to be?
Click to expand...
Click to collapse
When you plug the phone into the computer /sdcard is the folder that comes up. Just place it in there.
Sent from my Nexus 4 using xda app-developers app
DO NOT USE TOOLKITS. Especially if you're new to modding.
That's like saying, I want to overclockmy computer. Just give me a toolkit where I can one click and overclock my computer.
Read more here http://forum.xda-developers.com/showthread.php?t=1469909
Do it the proper way and download ADB drivers
http://forum.xda-developers.com/showthread.php?t=1514942 (enable USB debugging)
set up ADB environment
adb reboot bootloader
fastboot oem unlock
unlock bootloader on phone
download clockwork recovery or TWRP (i suggest TWRP)
put the .img file of recovery into your /platform-tools/
fastboot flash recovery <name-of-file>.img
then boot into recovery and there you can flash your ROM, gapps, kernel.
In the long run, IT WILL PAY OFF because eventually YOU will be faced with a problem with your phone and you won't be able to recover your phone because you dont know basic fastboot or adb commands all simply because you wanted to use a toolkit. People are already asking on how to use adb / fastboot in Q&A, we can reduce the clutter by not having people use toolkits and actually learning how adb / fastboot works when it isn't a very complicated thing to do at all
As stated in my original post, I am using a Mac. Not a PC. Therefore I don't use ADB, nor any other drivers. I also do not see, as stated before, any sdcard folder. I don't, I repeat, don't see it.
Doggonit said:
As stated in my original post, I am using a Mac. Not a PC. Therefore I don't use ADB, nor any other drivers. I also do not see, as stated before, any sdcard folder. I don't, I repeat, don't see it.
Click to expand...
Click to collapse
you dont need drivers on mac then... you can still ADB connect using mac.
simple: google search..... http://lmgtfy.com/?q=mac+adb first link
Doggonit said:
Where is /sdcard? There is no SD Card in a Nexus 4. Is this a hidden folder somewhere?
Click to expand...
Click to collapse
On the Nexus 4, /sdcard is the same as /storage/emulated/0. As mentioned earlier in the thread, this is the default location for native USB file transfer.
Sent from my Nexus 4

Can't write on internal SD card after root

After having rooted (with nexus 10 toolkit v1.3.0) my nexus 10 and flashed AOPK Nexus 10 (WIP) Task650 & Ktoonsez (1-4) rom, I'm unable to upload to, change or move any files or folders on my internal SD card. I installed Root Explorer and changed from Mount R/O to Mounted as r/w. Access is granted by Super SU. I also tried to change permission settings, unfortunatedly without any success. There appeared the following message:
"Warning
Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes."
Is there a possibility to change these permissions in order to be able to create and move files and folders on my SD card?
Thanks for taking your time to help me with my issue!
Anzirothu
1. Clear cache
2. Clear dalvik
3. Fix Permissions
forgot something ?
Thank you for your reply, Patrik!
1. done.
2. done.
3. Fix Permissions - How? With cwm? I did fix permissions with cwm recovery, but the problem persists...
Just so we are clear, when you say "upload to, change, or move" are you meaning you cannot copy a file from your computer to your Nexus 10? Or just that you cant arrange stuff through root explorer from within the tablet itself?
Neither copying from PC to Nexus nor arranging stuff through root exlorer from within the tablet itself. I can't even download an email attachment and put it to the SD card. The card seems to be locked.
I had that problem once but I dont remember what caused it or what exactly I did to fix. I think I just did a complete wipe by locking and unlocking the bootloader and then installing a new ROM again.
I think I did this too (unroot, lock bootloader, then root and unlock bootloader) and then installed the same rom again. I will try it this time with another rom.
Isn't there really no other solution to get access to my SD card again??
Thx for your help!
Are you using a toolkit to unlock and root? If so them maybe it is not doing something right and it messing up a permissions somewhere. It could also be a driver problem on your PC with being unable to copy a file to the tablet.
Thank you for your help!
I am using the nexus 10 toolkit V1.3.0. Right now I'm trying to intall twrp recovery with a fully wiped sd card. No easy task fot me being a noob...
In ClockWorkMod, make sure that /data is mounted
Then download the Android SDK: http://developer.android.com/sdk/index.html
I usually put all the files just in C:/android-sdk-windows
Once you have it all there open up the SDK Manager and download all the additional files needed. You probably only need to download "Android SDK Tools" and "Android SDK Platform-tools", but I always download the other files for whatever version of Android I am running, in our case Android 4.2. That way I have them if I need to do something else.
Once downloaded, open the Android-sdk-windows/platform-tools directory. copy:
adb.exe
adbWinApi.dll
adbWinUsbApi.dll
fastboot.exe
to your base C:/Android-SDK-Windows directory.
Now open command prompt from Start -> run
type: cd C:/Android-SDK-Windows
type: "adb devices" and it should list your tablet. It will actually say something with your devices serial number and then "Recovery" after it, showing your tablet is in recovery. If you dont see this then you either dont have your tablet mounted right from in the Recovery, ClockWorkMod is stupid, or you dont have working adb drivers.
Now copy the ROM you want to flash to C:/Android-SDK-Windows
Then type: "adb push blahblahblah.zip /data/media/0"
That should push the ROM to the root of your SD card. Give it time, it takes a while to push a ROM file. Once it is done, flash the ROM.
That *should* put it in the right spot where it looks like it is on your "internal storage" (what you see when navigating files within the ROM). If you dont see the ROM in clockworkMod then keep navigating back to the root of your internal storage and then open up "data", then "media", then "0" and you should see it. If you still cant find the ROM, push it again but just use "/data/media" as the location.
I just did all these steps myself to verify I remembered it all correct and I was able to successfully copy a ROM and find it on my tablet to flash by doing everything I just listed above. SO you should be good to go if you follow all those steps properly. I know it looks like a lot of work, but it really isnt and will go quite fast. Most of it is just the setup for getting ADB and Fastboot ready to use.
For a ROM to install, I would recommend to someone new like you either of these:
http://forum.xda-developers.com/showthread.php?t=2071082
^^^^^ That one is pretty close to the stock ROM with a few fixes and a couple extra features
or: http://forum.xda-developers.com/showthread.php?t=2071082
^^^^^ This one is pretty much CyanogenMod 10.1, but built by a different guy and not pulling every new thing from CM, just the "cherry picks" of features. It tends to be a bit more stable and less buggy than the real CM10.1 nightly's
And for a kernel you can flash and forget you will want to try this one:
http://forum.xda-developers.com/showthread.php?t=2098157
^^^^^ To flash that you will want to do a similar thing as how you pushed the ROM to your device. Only this time you will copy the kernels' "boot-r4.img" file into your android-adk-windows directory and use the command: "fastboot flash boot boot-r4.img"
While I enjoy the KTManta kernel more, it does require a bit of tweaking to get running perfect. Which is one of the things I like about it because of all the options to tweak. But for someone just learning this stuff that would be a bad thing, so Franco's kernel is much better than stock and doesnt require you to adjust anything once it is flashed to your tablet.

Phone now has no OS!

Had LG G2 2 hours
Rooted, TWRP installed. Downloaded new ROM and copied to storage (whilst phone was running). Booted in to recovery wiped Rom (stupidly) then went to install new Rom which is not there. So I have no OS...
Unless it's in a weird directory I need to copy it across again however Mount under TWRP settings does not bring up windows explorer to allow me to copy it again (USB Drivers all installed I thought after root process). Had it got an SD card slot I could have burnt it to that in my PC and then put it in the phone.
Any ideas please
jamesbond_28_007 said:
Had LG G2 2 hours
Rooted, TWRP installed. Downloaded new ROM and copied to storage (whilst phone was running). Booted in to recovery wiped Rom (stupidly) then went to install new Rom which is not there. So I have no OS...
Unless it's in a weird directory I need to copy it across again however Mount under TWRP settings does not bring up windows explorer to allow me to copy it again (USB Drivers all installed I thought after root process). Had it got an SD card slot I could have burnt it to that in my PC and then put it in the phone.
Any ideas please
Click to expand...
Click to collapse
"adb sideload" -> please type into the searchbox. Would help you a little more but busy currently. however this will help you.
So you wiped your complete storage? lol.
Try to sideload your rom.
http://android-revolution-hd.blogspot.de/2013/12/ow-to-use-adb-sideload.html
ckyy said:
So you wiped your complete storage? lol.
Try to sideload your rom.
http://android-revolution-hd.blogspot.de/2013/12/ow-to-use-adb-sideload.html
Click to expand...
Click to collapse
Yes nightmare. And ADB doesnt look for the faint hearted either. is there no way of mounting in TWRP?
jamesbond_28_007 said:
Yes nightmare. And ADB doesnt look for the faint hearted either. is there no way of mounting in TWRP?
Click to expand...
Click to collapse
I wouldn't bother trying to get it to work. Sideloading is way faster.
http://forum.xda-developers.com/showthread.php?t=2588979
1. Download and install it. Put the rom inside ADB folder. Put twrp in sideload mode.
2. Open your adb folder and shift-right click. Select open command propt here.
3. This is what you type in your CMD -> adb sideload flash.zip (flash.zip is obviously replaced by your rom name).
ckyy said:
I wouldn't bother trying to get it to work. Sideloading is way faster.
http://forum.xda-developers.com/showthread.php?t=2588979
1. Download and install it. Put the rom inside ADB folder. Put twrp in sideload mode.
2. Open your adb folder and shift-right click. Select open command propt here.
3. This is what you type in your CMD -> adb sideload flash.zip (flash.zip is obviously replaced by your rom name).
Click to expand...
Click to collapse
Thanks. 'device not found'...
jamesbond_28_007 said:
Thanks. 'device not found'...
Click to expand...
Click to collapse
Have you installed all drivers?
Gesendet von meinem LG-D802 mit Tapatalk
jamesbond_28_007 said:
Thanks. 'device not found'...
Click to expand...
Click to collapse
Ok. Needed google universal ADB driver by Koush (as windows 8). So it reached 100% but phone back on LG flashscreen...
jamesbond_28_007 said:
Ok. Needed google universal ADB driver by Koush (as windows 8). So it reached 100% but phone back on LG flashscreen...
Click to expand...
Click to collapse
All good. Thanks for all the help and apologies for being such a muppet.

Categories

Resources