push files in CWM - Nexus 4 Q&A, Help & Troubleshooting

I accidently deleted the ROM and also all contents on SD card.
Can anyone please guide me to copy a ROM to my Nexus 4?
I am currently in Clockwork mod recovery.
Any help please
Update: I downloaded android-sdk , extracted it and when I type in adb devices
It shows no device

Well I fixed it.
I rebooted the phone and it automatically installed the ROM

ahmed470 said:
Well I fixed it.
I rebooted the phone and it automatically installed the ROM
Click to expand...
Click to collapse
I fixed my problem the same way
Sent from my Nexus 4 using XDA Free mobile app

Related

[Q] Need help reinstalling stock Twitter app

Okay, I rooted my N1 with Universal Androot and removed the stock Froyo Twitter app without backing it up. (Shame on me.) Now, I can't update to 2.2.1 because of it (a status 7 error complaining about not finding /system/app/Twitter.apk)
I have, at the advice of some other forum posts I've read, installed Twitter from Android Market and backed it up to the sd. Renamed it Twitter.apk and used the Terminal Emulator to copy it to /system/app. That worked and the file is there, but the update still will not apply. Do I also need a .odex file? Is there any way to update at this point?
Any help would be super appreciated. THANKS!
if this is the new twitter app would you be kindly enough to share it..lol
Sent from my Nexus One
grab it from an older update like from frf91 update.. then do adb push /system/app
if you cant do that...
put the twitter app in sdcard then go to terminal and do
cp /sdcard/twitter /system/app
reboot then apply it.. i had trouble with amazon and i did it that way and it worked well
ilostchild said:
put the twitter app in sdcard then go to terminal and do
cp /sdcard/twitter /system/app
reboot then apply it.. i had trouble with amazon and i did it that way and it worked well
Click to expand...
Click to collapse
That's exactly what I did. It didn't work.
I'd love to pull the app from a FRF91 build but I have no idea how that's done.
Flash a GAPPS update (try the on listed with CM6)
Sent from my Nexus One using XDA App
danger-rat said:
Flash a GAPPS update (try the on listed with CM6)
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
It looks as though I can't flash the GAPPS without unlocking the bootloader and installing a new recovery, correct? I'm really not that motivated if that's the case. I appreciate the information.
OK, just download the GAPPS, then use something like estrongs file manager to unzip to a folder of choice (with estrongs, longpress and select extract).
The Twitter apk will be in the extract folder/system/app. Just click the apk to install...
Sent from my Nexus One using XDA App
BTW, if you have root, you may as well install a custom recovery (without touching the bootloader).
Easy way with ROM Manager (has Clockworkmod and Amon-Ra), or use adb if you wanna learn something...
Sent from my Nexus One using XDA App
Thanks for the tips. I'll check it out tomorrow when I can make a data transfer. I am doubtful that installing from the zip will solve much since I already loaded the app and its already in the system folder.
could someone verify whether or not the Twitter app has a corresponding odex file that I might need?
I ran into the same problem when I removed Amazon Mp3, but I was impatient so I ended up reflashing the stock rom and then updating.
There is a thread that has all n1 updates look for it and download froyo fr91 update then unzip it go to system app and look for twitter apk then put in sdcard and do commands again .. I tried to do with market twitter and it failed so I did it the way I'm explained andnworkd
[SOLVED]
ilostchild said:
There is a thread that has all n1 updates look for it and download froyo fr91 update then unzip it go to system app and look for twitter apk then put in sdcard and do commands again .. I tried to do with market twitter and it failed so I did it the way I'm explained andnworkd
Click to expand...
Click to collapse
You sir, have saved my life. I swear I used that same exact Twitter.apk but I must not have. I used 3 different apks all with the same result but the one in the zip I found somewhere in this forum worked perfectly. I appreciate all the help and feel like such a 'tard for not trying something so seemingly simple earlier.
68pontiac said:
You sir, have saved my life. I swear I used that same exact Twitter.apk but I must not have. I used 3 different apks all with the same result but the one in the zip I found somewhere in this forum worked perfectly. I appreciate all the help and feel like such a 'tard for not trying something so seemingly simple earlier.
Click to expand...
Click to collapse
No problem man.. glad you got it working.. now reroot the phone and back up all the apps from then phone.. doin adb pull /system/app

Hel setting up adb

Hey xda I have sdk ver.12 also jre 6....but its not detecting my device this is my 4th time trying to use adb I have windows 7...what I wanna do is use fastboot to flash a cm7 splash screen..please help..thanx
sent from my rooted mt4g running cm7.0.3...u jealous?
Download a program called usbdeview. Open up the program (run as administrator) and delete all of the drivers associated with your phone. Make sure USB Debugging is turned on in your settings/applications and plug your phone back into your computer. This should download the drivers necessary to run ADB.
Just use this
http://forum.xda-developers.com/showthread.php?t=956434
Sent from my Google Nexus 12! yup I'm from the future
I would recommend setting up adb this way if you cant get it to work with Android SDK.
<<< http://forum.xda-developers.com/showthread.php?t=928370 >>>.
I couldnt get Android SDK to work on my win7 machine either. Wish my comp just came with xp or something, new OS are a pain to get things like this working on.
Thanks guys appreciate the help the like u provided @eqjunkie829 did the trick....thanx
sent from my rooted mt4g running cm7.0.3...u jealous?
I got it to work wit win7 u must follow everything wit out flaw
Sent from my HTC Glacier using XDA App
Only thing now is flashing a new splash screen anyone know the fastboot method?
sent from my rooted mt4g running cm7.0.3...u jealous?
Chuchave said:
Only thing now is flashing a new splash screen anyone know the fastboot method?
sent from my rooted mt4g running cm7.0.3...u jealous?
Click to expand...
Click to collapse
I have flashed a couple of splash screens through terminal emulator method and it seems to be very easy. Should be a link in resource bible.
Sent from my HTC Glacier using XDA Premium App
Thanx eqjunkie
sent from my rooted mt4g running cm7.0.3...u jealous?
@eqjunkie the method that I have adb set up in using the drewblue way there's no ask tools folder so how would I push a splash screen thru? I tried a terminal emulator way by typing first such to get # then dd if=/mnt/sdcard/custom.img of=/dev/block/mmcblk0p19 I also had the custom image the right size 480*800 that I converted to a image using ez splash screen flasher tool renamed it custom.img put it on the root of my sdcard but got a cannot open for read no such file or directory error....I just don't know what to do so im guessing fastboot is maybe my last option...
sent from my rooted mt4g running cm7.0.3...u jealous?
Chuchave said:
@eqjunkie the method that I have adb set up in using the drewblue way there's no ask tools folder so how would I push a splash screen thru? I tried a terminal emulator way by typing first such to get # then dd if=/mnt/sdcard/custom.img of=/dev/block/mmcblk0p19 I also had the custom image the right size 480*800 that I converted to a image using ez splash screen flasher tool renamed it custom.img put it on the root of my sdcard but got a cannot open for read no such file or directory error....I just don't know what to do so im guessing fastboot is maybe my last option...
sent from my rooted mt4g running cm7.0.3...u jealous?
Click to expand...
Click to collapse
Try using one of splash screens that are on this site already so you can tell if there is something wrong with the file that you are using or if you are missing a step. You can always replace it later once you know what the problem is. I'm thinking that if it's saying that there is no such file that may be the problem with the file. Did you unzip the file from the folder and put it on the root of the sdcard?
Sent from my HTC Glacier using XDA Premium App
Actually I created the image usin the ex splash Creator and the other one I got from somewhere else but I put it on the root of my memory card I don't know I could be missing followed the steps to the t....ill try again....and thanx
sent from my rooted mt4g running cm7.0.3...u jealous?
my phone has the 2.3.4 update, want to go back to 2.2.1 to root, i downloaded jdk , and sdk is not detecting java . i'm on windows 7 is that the reason? my phone was rooted before using z4root i think. the one click method, so this is a frustrating. if someone could help id appreciate it. thanks
dirtyreturn said:
my phone has the 2.3.4 update, want to go back to 2.2.1 to root, i downloaded jdk , and sdk is not detecting java . i'm on windows 7 is that the reason? my phone was rooted before using z4root i think. the one click method, so this is a frustrating. if someone could help id appreciate it. thanks
Click to expand...
Click to collapse
There is a post in development section under stickies on how to downgrade to froyo.
Sent from my HTC Glacier using XDA Premium App

Formatted sdcard (HELP)

HOW CAN I ACCES root directory SDCARD from PC so I can place there my Rom to Flash it?
I Have formated everything, including the SDCARD, And now I only can get into RECOVERY mode,
Is there any way I can Flash my rom from Recovery?
How can I get acces to the SDcard ROOT directory so tha I can place there my Rom in order to Flash It ?
Is ther an ODIN type of flashing Roms in Nexus 7 just like in the S3?
How can I flash Rom from a Formatted SDCARD?
If you are in Recovery, then you can still use ADB. That means you can push files to your device.
Sent from my Nexus 7
BillGoss said:
If you are in Recovery, then you can still use ADB. That means you can push files to your device.
Sent from my Nexus 7
Click to expand...
Click to collapse
Plese Tell me HOW to use ADB ? What do I have to do to push the Rom files into Root Directory of SDCARD?
I am using CWM recovery TOUCH 6.0.1.0
If you are connected to your PC you are seeing the sdcard root directory. Not sure what you are looking for
Sent from my SPH-L710 using Tapatalk 2
Moricon said:
If you are connected to your PC you are seeing the sdcard root directory. Not sure what you are looking for
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I aM Connected to PC in RECOVERY mode,
The driver is installed OK
BUT I DONT SEE MY DEVICE IN PC
So I can not Push Rom fils to Root SDCARD directory becasuse I DONT SEE IT
When I PLUG in and Unplug I hear the USB installing BUT I DONT SEE THE DEVICE in my EXPLORER...So I dont Know Where I must Put Rom files to flash my Nexus 7...
My Device is ATTACHED into RECOVERY MODE
But I dont see it in my FileExplorerSo I dont Know HOW can I copy Rom to my SDCARD root directory...
Is there a COMMAND to copy rom from the CMD ?
OR is there a COMMAND for FLASHING ROM from within CMD
HELP NEEDED PLEASE:silly:
WHAT is the COMMAND to DUMP ROM into the SDCARD with Android. SDK and the CMD?
I am using the DEXDUMP.exe command but I dont know how it works...
NDUTU said:
I aM Connected to PC in RECOVERY mode,
The driver is installed OK
BUT I DONT SEE MY DEVICE IN PC
So I can not Push Rom fils to Root SDCARD directory becasuse I DONT SEE IT
When I PLUG in and Unplug I hear the USB installing BUT I DONT SEE THE DEVICE in my EXPLORER...So I dont Know Where I must Put Rom files to flash my Nexus 7...
Click to expand...
Click to collapse
Then you don't have the right drivers loaded if your pc can't see your device...
Sent from my Nexus 7
krelvinaz said:
Then you don't have the right drivers loaded if your pc can't see your device...
Sent from my Nexus 7
Click to expand...
Click to collapse
Yes I DO HAVE the right drivers loaded see the attached file,
The command is adb push. I'm not at my computer and it's too hard to type and example on my phone for you. Just Google adb push and you should get your answer. Hope this helps.
adb push <where rom is stored>/<name of zip>.zip /sdcard/<any name here>.zip
ie adb push E:/cm10-UNOFFICIAL-i777.zip /sdcard/cm10.zip
you might have to reboot the device back into recovery, even if you're already in recovery, for it to come up. Then just flash it like normal. You do have CWM or TWRP, right?
THANKS
OK guys thank you all , I managed to flash STOCK rom with the tool kit using the : put_google_factory_image_here , FOLDER

sd data wiped while trying to install a new OS, what should i do?

i was trying to install a new PA nightly and then i wanted to wipe the phone clean before i install it, but i accidentally wipe the sd card. Can i just use a toolkit and flash stock OS or can i just connect it to pc and paste a zip file of PA? help please
If you can use adb just do
adb push nameofrom.zip /sdcard
Then install as normal
Sent from my Nexus 4 using xda app-developers app
yes i have adb, i hope i have a copy of any zip file there :/
aside from that can i do a fresh install using a toolkit? i have mskips toolkit and as far as i can remember it downloaded the stock images.
eluspo said:
yes i have adb, i hope i have a copy of any zip file there :/
aside from that can i do a fresh install using a toolkit? i have mskips toolkit and as far as i can remember it downloaded the stock images.
Click to expand...
Click to collapse
Why would you? You are as clean as you can get as you wiped everything. Just push PA and gapps to the sdcard as said by Alex240188 before and flash the rom.
so command would be adb push filename.zip/sdcard? no spaces?
doest matter where i put my zip file? no need to indicate the location of the zip file?
eluspo said:
so command would be adb push filename.zip/sdcard? no spaces?
Click to expand...
Click to collapse
"adb push nameofrom.zip /sdcard/"
Also do the same for the gapps
Sent from my Nexus 4
eluspo said:
doest matter where i put my zip file? no need to indicate the location of the zip file?
Click to expand...
Click to collapse
It doesn't matter where you put it if you have adb.exe in your environment variables.
If you don't then you have to have it in the same folder as adb.exe and then CD to that folder in command prompt.
You can flash stock images in fastboot then copy new ROM back on if that's easier for you.
On a side note I keep laughing every time I put fastboot in because the slide keyboard always likes to default to Fatboy
Sent from my Nexus 4 using xda app-developers app
thanks for the info, im just wondering if i have stock images downloaded becase when i downloaded mskips toolkit it downloaded the stock 4.2.2
if i can see the images maybe ill flash stock then flash everything again.
there are tutorials all over xda on how to use adb and thats all you need to do is just push it over and flash. The longest part would be simply pushing the file over to your phone... hit up google and check it out

[GUIDE] VM HTC Desire 816 Root How-to

Hello everyone, I recently purchased the Desire 816 for Virgin Mobile, and could not find anything on rooting this device.
So... I figured it out on my own! I decided to write out a tutorial since there isn't anything out there about rooting this phone!
I'm also including a nandroid backup of my stock rooted rom if you don't want to go through all of the steps. You will still need custom recovery.
1. Unlock your bootloader, install custom recovery, and flash superuser. I used v_superuser's guide for this, so thanks to him!
Use his guide to install custom recovery and root: http://forum.xda-developers.com/showthread.php?t=2775801
The custom recovery he links to isn't made for the VM variant of this phone, but it works!
Now you can restore my clean install, rooted nandroid backup (link at end of post) if you don't want to do the following steps and still have full root.
2. Hopefully you were able to successfully install custom recovery and root.
Now this part is a bit tricky. Even with root HTC is stopping us from writing to system. For this we need to apply the wp_mod.ko module.
Download it here: http://forum.xda-developers.com/showthread.php?t=2707378
Copy this file to the root of your internal storage.
Now download Terminal Emulator from play store, run it and enter the following commands (you only need to do this once):
su
insmod /sdcard/wp_mod.ko
Once you do this go into your favorite root explorer and mount as R/W. Copy the wp_mod.ko file to /system/lib/modules
Now go to /system/etc and find install-recovery.sh. Open it with a text editor and add a new line at the end with the following:
insmod /system/lib/modules/wp_mod.ko
Reboot! If all went well the wp_mod module will run at boot every time so you won't have to do it manually each time!
Congratulations, you now have a fully rooted Desire 816!
Download my nandroid backup here (place the contained folder into the CWM backup directory):
https://drive.google.com/uc?id=0B0bhyG2E55hXaWtpeGVQaEpOVzA&export=download
Hope this helped anyone wondering how to root the device!
I just get md5 mismatch error when I try to restore
Never mind found out my phone wasn't downloading the whole back up
jcrt2000 said:
I just get md5 mismatch error when I try to restore
Click to expand...
Click to collapse
I'm not trying to offend with my answer. Just going for the easiest solution first...
Did you unzip the backup nandroid onto your PC? I imagine he zipped the actual Nandroid folder as it would have a date and time as the name.
If you unzip VM_HTC_Desire_816_Rooted_NandroidBackup.zip you SHOULD see a folder with a date and time. That is the actual nandroid that you'd copy to your Clockwordmod backup folder.
sirrx7 said:
I'm not trying to offend with my answer. Just going for the easiest solution first...
Did you unzip the backup nandroid onto your PC? I imagine he zipped the actual Nandroid folder as it would have a date and time as the name.
If you unzip VM_HTC_Desire_816_Rooted_NandroidBackup.zip you SHOULD see a folder with a date and time. That is the actual nandroid that you'd copy to your Clockwordmod backup folder.
Click to expand...
Click to collapse
^ this. And restore that from clockworkmod. I know it should work because I already had someone confirm it working.
Kontrary said:
^ this. And restore that from clockworkmod. I know it should work because I already had someone confirm it working.
Click to expand...
Click to collapse
It does work. I had to download on my pc to get the whole file downloaded.
jcrt2000 said:
It does work. I had to download on my pc to get the whole file downloaded.
Click to expand...
Click to collapse
Oh nice! Glad you got it working.
Kontrary said:
^ this. And restore that from clockworkmod. I know it should work because I already had someone confirm it working.
Click to expand...
Click to collapse
Also...
The act of unlocking the phone clears out your data so you might notice that your flashlight and calculator apps are missing. For some reason HTC didn't make those 2 system apps.
If you'd like them back, here you go.
http://forum.xda-developers.com/showthread.php?t=2699906
sirrx7 said:
Also...
The act of unlocking the phone clears out your data so you might notice that your flashlight and calculator apps are missing. For some reason HTC didn't make those 2 system apps.
If you'd like them back, here you go.
http://forum.xda-developers.com/showthread.php?t=2699906
Click to expand...
Click to collapse
Thank you, I sold the phone but never noticed that.
Thanks for this, I had deleted my stock backup
problems with the mod.ko
everything works until I get to the wp_mod.ko command when using the terminal command. It just says cannot open. I tried countless times but it says the same thing. Is there any other way?
dwest3784 said:
everything works until I get to the wp_mod.ko command when using the terminal command. It just says cannot open. I tried countless times but it says the same thing. Is there any other way?
Click to expand...
Click to collapse
If you're having too much trouble and are about to give up you can always download Kontrary's Nandroid backup. I didn't use it but I did look through it and it looks like he already did the write protect mod in it.
Just unzip it on your PC and put the dated folder in your clockworkmod/backup folder. Boot into CWM recovery and restore from his nandroid.
Out of curiosity... Are you hitting enter after SU and before insmod???
Also...
The command insmod /sdcard/wp_mod.ko is only good if you have wp_mod.ko sitting on the root of the internal sd. If its on your micro sd card you'll obviously have to change the path after insmod or just move it to the internal sd..
thanks
sirrx7 said:
If you're having too much trouble and are about to give up you can always download Kontrary's Nandroid backup. I didn't use it but I did look through it and it looks like he already did the write protect mod in it.
Just unzip it on your PC and put the dated folder in your clockworkmod/backup folder. Boot into CWM recovery and restore from his nandroid.
Out of curiosity... Are you hitting enter after SU and before insmod???
Also...
The command insmod /sdcard/wp_mod.ko is only good if you have wp_mod.ko sitting on the root of the internal sd. If its on your micro sd card you'll obviously have to change the path after insmod or just move it to the internal sd..
Click to expand...
Click to collapse
Thanks I figured it out last night. I put in the internal memory and it worked but thanks for the reply!
dwest3784 said:
Thanks I figured it out last night. I put in the internal memory and it worked but thanks for the reply!
Click to expand...
Click to collapse
Right on. Glad you got it working.
driver issue
ive downloaded and installed and uninstalled and rebooted and done everything i can think to do...ive tried on my PC and on my laptop...ive tried with every usb cable i have...including the one that came with the phone...i can not get windows to recognize my phone...so i cant even unlock the bootloader to begin this process...any suggestions or hints on what i could try?
any help??
dragonclaw88 said:
ive downloaded and installed and uninstalled and rebooted and done everything i can think to do...ive tried on my PC and on my laptop...ive tried with every usb cable i have...including the one that came with the phone...i can not get windows to recognize my phone...so i cant even unlock the bootloader to begin this process...any suggestions or hints on what i could try?
Click to expand...
Click to collapse
i really really need to get this phone rooted any help??
dragonclaw88 said:
i really really need to get this phone rooted any help??
Click to expand...
Click to collapse
Have you plugged it in while in Fastboot? Which OS are you running? I'm on Win 7 x64 and have it set to download drivers from Windows update, I didn't have any problems going that route.
Have you downloaded HTC Sync Manager? It has the drivers required for your PC to recognize your phone.
Kontrary said:
Download my nandroid backup here (place the contained folder into the CWM backup directory):
https://drive.google.com/uc?id=0B0bhyG2E55hXaWtpeGVQaEpOVzA&export=download
Hope this helped anyone wondering how to root the device!
Click to expand...
Click to collapse
I installed your CWM Backup after I couldn't figure out your steps... but now there's an ANNOYING notification that says, "Smith disabled... Click here to open." I open it, and no matter what settings I choose, this notification keeps POPPING UP! Is this your doing, or a known issue with this "Mod." All I wanted to do was uninstall all the Google/VM Bloatware. Now going back to stock might be the only fix... ????
That Smith app is a problem for most recent HTC phones. It has nothing to do with the CWM backup. It happens with the M8 and our 816.
I just long press the notification, click App Info and force close. It's usually good until you reboot your phone.
Either HTC or Sprint is supposed to be looking for a fix but who knows.
https://community.sprint.com/baw/thread/169142?start=0&tstart=0
jayblaze406 said:
I installed your CWM Backup after I couldn't figure out your steps... but now there's an ANNOYING notification that says, "Smith disabled... Click here to open." I open it, and no matter what settings I choose, this notification keeps POPPING UP! Is this your doing, or a known issue with this "Mod." All I wanted to do was uninstall all the Google/VM Bloatware. Now going back to stock might be the only fix... ????
Click to expand...
Click to collapse
I was able to stop this annoyance by simply going to Titanium Backup (root needed) and freezing the process.
I typed in Smith in the search bar of TB and it came back with this process/app called
"Smith 4.21-plat_4.4.2-KOT49H"
I believe it happens to come up when a specific "bloatware" app is unaccessible by the device when removed but I have not singled out which app is it so far.
I backed up the app first then froze it and it stopped the Smith popup error permanently even after reboots and power offs.
(You could possibly delete it but until the stock bloatware app that causes this pinpointed i wouldn't recommend it.)
Tested running everything is good no errors rebooted fine checked bootloader and recovery and both are fine as well.
Sent from my 710C using XDA Free mobile app

Categories

Resources