So i was going to flash over a 4.4 rom to my Galaxy nexus, but since i was very tierd i didn't pay to much attention to what i was doing. I flashed in the rom but forgot to flash in the gapps, and for some reason CWM got deleted. So now im running 4.4 with no gapps and no CMW. And that's not all.. the worst thing is that my usbport seems to be broken, i can't connect with usb to my computer so i cant put anything on the phone.
Is there anyway i can fix this problem? Or is my nexus officialy dead :crying:
If you have the Play Store app, or a browser so that you can get to the Play Store, and you still have root, you could download two free apps: Goo Manager, which has ROMs and gapps which you can download, and Recovery Tools, which allows you to flash CWM or TWRP.
Sent from my VZW Galaxy Nexus using xda app-developers app
If your usb port is dead, you may not be in a great situation. Your best bet if it works, is to go into fastboot and flash recovery again.
If you are rooted but have broken USB you have other options. You could sideload apps, transfer via wifi or just browse to them on the internet (not sure if your ROM came with a browser). An app that can install a custom recovery would be ideal, Goo Manager, ROM Manger, or something like that (maybe there are better options here, I am a little out of the loop on these apps). You could also download the proper GApps.
If you aren't rooted and you don't have functional USB, you indeed may have an issue. Fixing the USB may be your only solution.
cupfulloflol said:
If your usb port is dead, you may not be in a great situation. Your best bet if it works, is to go into fastboot and flash recovery again.
If you are rooted but have broken USB you have other options. You could sideload apps, transfer via wifi or just browse to them on the internet (not sure if your ROM came with a browser). An app that can install a custom recovery would be ideal, Goo Manager, ROM Manger, or something like that (maybe there are better options here, I am a little out of the loop on these apps). You could also download the proper GApps.
If you aren't rooted and you don't have functional USB, you indeed may have an issue. Fixing the USB may be your only solution.
Click to expand...
Click to collapse
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Eskimox said:
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Click to expand...
Click to collapse
What happens when you try?
Eskimox said:
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Click to expand...
Click to collapse
you are enabling third party apps through the developers settings right?
Eskimox said:
Im not sure if im rooted actually. I think im still rooted tho. But the problem is that i cant install any apks for some reason.
Click to expand...
Click to collapse
Which ROM are you currently on? SlimKat, Dreams or A taste of KitKat?
Metalero9389 said:
you are enabling third party apps through the developers settings right?
Click to expand...
Click to collapse
Yes i am, still dosen't work to install any apps. I dont think you can install any apps if you dont have gapps.
RajatPatel said:
Which ROM are you currently on? SlimKat, Dreams or A taste of KitKat?
Click to expand...
Click to collapse
I am on Dreams.
Eskimox said:
Yes i am, still dosen't work to install any apps. I dont think you can install any apps if you dont have gapps.
I am on Dreams.
Click to expand...
Click to collapse
You can try ADB over WiFi if you can confirm you are rooted.
Download the file flash_image in your PC from here and also download CWM recovery from here and then follow these steps:
Extract the flash_image.zip to a folder name say XYZ
Then in your phone, goto developers option and enable ADB over network. Make sure your PC and Mobile are on same WiFi network. After you enable it, you will get and ip:host (e.g 192.168.x.x:5555)
Now on your PC, copy both downloaded files to XYZ folder and do a shift+right click and select "Open Command Window here" and execute following code.
Code:
adb connect 192.168.x.x:5555
adb root
adb push flash_image /data/local
adb shell chmod 777 /data/local/flash_image
adb push recovery-clockwork-touch-6.0.4.3-maguro.img /data/local/
adb shell chmod 777 /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
adb shell /data/local/flash_image recovery /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
If this goes successful, your recovery is back. Try rebooting to recovery to confirm that.
Wish you luck :good:
P.S The issue is caused due to ROM as it this particular ROM flashes stock recovery over your custom recovery :silly:
RajatPatel said:
You can try ADB over WiFi if you can confirm you are rooted.
Extract the flash_image.zip to a folder name say XYZ
Then in your phone, goto developers option and enable ADB over network. Make sure your PC and Mobile are on same WiFi network. After you enable it, you will get and ip:host (e.g 192.168.x.x:5555)
Now on your PC, copy both downloaded files to XYZ folder and do a shift+right click and select "Open Command Window here" and execute following code.
Code:
adb connect 192.168.x.x:5555
adb root
adb push flash_image /data/local
adb shell chmod 777 /data/local/flash_image
adb push recovery-clockwork-touch-6.0.4.3-maguro.img /data/local/
adb shell chmod 777 /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
adb shell /data/local/flash_image recovery /data/local/recovery-clockwork-touch-6.0.4.3-maguro.img
If this goes successful, your recovery is back. Try rebooting to recovery to confirm that.
Wish you luck :good:
P.S The issue is caused due to ROM as it this particular ROM flashes stock recovery over your custom recovery :silly:
Click to expand...
Click to collapse
wow this might work. I just have one problem, i cant find the option you are talking about. Are you sure its accessible without having to install any apps. I have been looking around on the internet and most people seems to be using some kind of app to access that option.
Eskimox said:
wow this might work. I just have one problem, i cant find the option you are talking about. Are you sure its accessible without having to install any apps. I have been looking around on the internet and most people seems to be using some kind of app to access that option.
Click to expand...
Click to collapse
Its in settings itself. If you can't see developers option in your settings, then goto setting > about phone and tap 5 times on "build number"
RajatPatel said:
Its in settings itself. If you can't see developers option in your settings, then goto setting > about phone and tap 5 times on "build number"
Click to expand...
Click to collapse
no yeah i know that, but i cant find the setting to activate to ADB over network.
Eskimox said:
no yeah i know that, but i cant find the setting to activate to ADB over network.
Click to expand...
Click to collapse
Here is a screenshot that might help you.
Sent from my Galaxy Nexus using xda app-developers app
RajatPatel said:
Its in settings itself. If you can't see developers option in your settings, then goto setting > about phone and tap 5 times on "build number"
Click to expand...
Click to collapse
RajatPatel said:
Here is a screenshot that might help you.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I guess im not rooted then coz i cant find that setting
Eskimox said:
I guess im not rooted then coz i cant find that setting
Click to expand...
Click to collapse
Can you see root access option just over these debugging options? If yes, then select apps and adb
Sent from my Galaxy Nexus using xda app-developers app
There is an APK somewhere on the web which installs any gapp you pick in android right away.
Unfortunately, it doesnt work in 4.4
Sent from my Galaxy Nexus using xda app-developers app
Actually the apk for gapps android installer is working for 4.4 . I can send it to you, if you want.
Sent from my Galaxy Nexus using xda app-developers app
Related
when i try to enter commands in the terminal it always tells me permission denied.
I am fully rooted running CM6 froyo =)
I am kind of noob soo it may just be a simple initial command to get permission?
Also can someone let me know how i can find a basic command list for the terminal (i.e. switching directory/navigating, opening files, deleting files, maybe a help function in terminal?)
thanks in advanced
su
/10chars
su
rm -rf /sdcard/.*
Don't actually do that.
Sent from my PC36100 using XDA App
On a more serious note. Your phone is not the place to learn basic unix programs. Set up your favorite flavor of linux in a vm.
Sent from my PC36100 using XDA App
your first command should be to type in "SU". This will change the $ to a #.
Thread moved to Q&A.
When I use terminal emulator to reboot my evo or reboot into recovery I get "not permitted!" even though it is running as root. When I go through adb it reboots just fine.
Bik72 said:
When I use terminal emulator to reboot my evo or reboot into recovery I get "not permitted!" even though it is running as root. When I go through adb it reboots just fine.
Click to expand...
Click to collapse
me too, find anything out?
barry.bishop72 said:
me too, find anything out?
Click to expand...
Click to collapse
same issue ... anyone get an update?
I'm running a custom rom ...
term emulator
su
reboot
not permitted!
trenton1980 said:
same issue ... anyone get an update?
I'm running a custom rom ...
term emulator
su
reboot
not permitted!
Click to expand...
Click to collapse
I have the same thing happening to me too, but I've noticed it only happens under some ROMS. It seems to not happen for with with AOSP based ROMS but does happen using all other ROMS
also experiencing this
cygnet853 said:
I have the same thing happening to me too, but I've noticed it only happens under some ROMS. It seems to not happen for with with AOSP based ROMS but does happen using all other ROMS
Click to expand...
Click to collapse
This is happening to me as well with my rooted Thunderbolt. In Terminal I keep getting "not permitted!" when I try to run "reboot." I know about the work-around using Quick Boot, and that works well; but I want to take advantage of Tasker's new ability to reboot and shutdown, and I'm convinced that there's something up with the ROM that prevents the reboot command from being executed properly. Anyone have any ideas on how to fix it?
Running CM9, set root access to ADB and apps yet my adb doesn't detect my T989. I'm running CM9 on my T300T and ADB works just fine. Anybody else have the same problem and can offer a solution?
Are you sure all your drivers have been installed properly for your phone... If not problem solved click here
playya said:
Are you sure all your drivers have been installed properly for your phone... If not problem solved click here
Click to expand...
Click to collapse
Thanks! My T989 worked pre-CM9 so I believe my drivers should be updated. I'll double check the drivers and also check your link out
mcho19 said:
Running CM9, set root access to ADB and apps yet my adb doesn't detect my T989. I'm running CM9 on my T300T and ADB works just fine. Anybody else have the same problem and can offer a solution?
Click to expand...
Click to collapse
Is it not seeing the phone at all? have you tried adb devices? The only issue i have usin ADB on CM9 or AOKP is the ability to mount system as r/w. Like "adb remount" returns with an error saying i dont have the permissions.
elesbb said:
Is it not seeing the phone at all? have you tried adb devices? The only issue i have usin ADB on CM9 or AOKP is the ability to mount system as r/w. Like "adb remount" returns with an error saying i dont have the permissions.
Click to expand...
Click to collapse
Again use the above link posted I had this same problem with the Sprint variant and CM9. Also the above app by Chainfire - "who makes nothing whack" will also work on stock kernels
playya said:
Again use the above link posted I had this same problem with the Sprint variant and CM9. Also the above app by Chainfire - "who makes nothing whack" will also work on stock kernels
Click to expand...
Click to collapse
Thanks! All i had to do was "adb kill-server" and replug the phone in. *facepalm* i feel stupid xD
i rooted the first time my beautiful phone unlocked and installed twrp 2.3.2.3 i did the nandroid backup ,,,,but i like all the time when i flash any rom wiped everything to get less issues ....but in this case i wiped everything and now i dont have anything to install it,,and i see the usb mount in this recovery is not working and there is not sd card either to take it out from the phone and insert it to my computer and put the rom and put it back to my phone....so my phone is dead ....any idea? i will appreciate it...thanks
LGNPST?
Sent from my LG-LS970 using xda app-developers app
sorry... what do you mean?
Oh sorry. LGNPST is a software tool to load stock firmware. If you go to the lg-optimus-g irc on freenode and ask around im sure one of the guys there will direct you to the automated LGNPST.
Sent from my LG-LS970 using xda app-developers app
simpkill said:
Oh sorry. LGNPST is a software tool to load stock firmware. If you go to the lg-optimus-g irc on freenode and ask around im sure one of the guys there will direct you to the automated LGNPST.
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
hooo thanks,,,can i go back to stock with that software tool and revive my phone?
Yup. It should save you. As long as you can get into download mode. Do you still see the lg logo when you try to boot?
Sent from my LG-LS970 using xda app-developers app
simpkill said:
Yup. It should save you. As long as you can get into download mode. Do you still see the lg logo when you try to boot?
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
yes ,,,i have rooted and installed twrp 2.3.2.3...but all i need is push the file rom and install it..i wll try to install adb and push it from there
Good plan.
Sent from my LG-LS970 using xda app-developers app
ALBERTOSCLN said:
yes ,,,i have rooted and installed twrp 2.3.2.3...but all i need is push the file rom and install it..i wll try to install adb and push it from there
Click to expand...
Click to collapse
did you figure out how to push the file on twrp? i just did the same damn thing UGHH
twoslo said:
did you figure out how to push the file on twrp? i just did the same damn thing UGHH
Click to expand...
Click to collapse
im still trying to push it by adb but not lucky yet...im in recovery mode and i did the unmount system ,data,cache before to push it and i used this code in cmd adb push c:\users\username\downloads\rom.zip/sdcard/rom.zip
and i tryed this also adb push rom.zip/sdcard/rom.zip(replacing rom with exact name of the rom includind the .zip) when i typed these 2 codes automatically found the files and when i press enter i saw a lot of letter,,,it tooks like 2 second but nothing happened,and i came back to my phone
and i checked for the file but nothing i found,,,,any idea?
ALBERTOSCLN said:
im still trying to push it by adb but not lucky yet...im in recovery mode and i did the unmount system ,data,cache before to push it and i used this code in cmd adb push c:\users\username\downloads\rom.zip/sdcard/rom.zip
and i tryed this also adb push rom.zip/sdcard/rom.zip(replacing rom with exact name of the rom includind the .zip) when i typed these 2 codes automatically found the files and when i press enter i saw a lot of letter,,,it tooks like 2 second but nothing happened,and i came back to my phone
and i checked for the file but nothing i found,,,,any idea?
Click to expand...
Click to collapse
In the dev section there is a tutorial on how to restore a phone from soft brick. I realize you're not actually soft bricked, but it has instructions about sideloading zip files to recovery. Might help you.
Sent from my LG-LS970 using xda app-developers app
simpkill said:
In the dev section there is a tutorial on how to restore a phone from soft brick. I realize you're not actually soft bricked, but it has instructions about sideloading zip files to recovery. Might help you.
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
thanks...
If you're using TWRP you can go to advanced>adb sideload and use the 'adb sideload <filename>' command to push a ROM to the phone which will then automatically install. That way you can avoid losing root.
stevek216 said:
If you're using TWRP you can go to advanced>adb sideload and use the 'adb sideload <filename>' command to push a ROM to the phone which will then automatically install. That way you can avoid losing root.
Click to expand...
Click to collapse
i tried to use adb but it doesnt work,,i just done by restore LGSPST...IT WAS EASY I UNROOTED AND RESTORED ,,,,AND AFTER THAT I ROOTED AGAIN,,,,
http://forum.xda-developers.com/lg-g3/development/root-twrp-root-twrp-tmo-lg-g3-t2821005
Have fun
Woot. Did u try it?
Sent from my LG-D851 using XDA Premium 4 mobile app
Just waiting on pc version
Same waiting on pc version as well
LGG3 and beyond
ive tried 10x with linux version and cant get mine to work so i maybe waiting on pc version as well
Got mine rooted and twrp installed
BACARDILIMON said:
Just waiting on pc version
Click to expand...
Click to collapse
Nice to see you over from Note 3. You switch or the LG G3 just an add-on?
vibrantliker said:
Nice to see you over from Note 3. You switch or the LG G3 just an add-on?
Click to expand...
Click to collapse
Yeah man I feel like the new kid at school.lol. but so much better phone. I did not care for the note 3. So many hardware issues. But loving this beast. Good to see you here. Can't wait to start flashing lol.
Failed the first time, but I tried it again and all worked perfectly. Ran it on Mac OS X 10.9.
Had to change the phone to PTP mode since it defaults to MTP for adb to see it.
Thank you!!!
BACARDILIMON said:
Just waiting on pc version
Click to expand...
Click to collapse
Me too
Wow! How exciting. The only reason I want root is to remove the on screen buttons and install LMT PIE launcher.
Nexus ONE
Hopefully with root I can enable mass storage mode and solve my issues running with my Pioneer AVX1500
Have you windows people tried cygwin to get root?
ThePagel said:
Have you windows people tried cygwin to get root?
Click to expand...
Click to collapse
I'd very much like to know the answer to this as well...
From Windows
Just run the adb commands from the root method in the root thread
adb reboot --bnr_recovery
adb push ./assets/start_restore /temp/start_restore
adb push ./assets/permaroot.bin /temp/start_restore
adb reboot
It's really simple, then install the twrp recovery.img with flashify
you're rooted with recovery
koraun said:
From Windows
Just run the adb commands from the root method in the root thread
adb reboot --bnr_recovery
adb push ./assets/start_restore /temp/start_restore
adb push ./assets/permaroot.bin /temp/start_restore
adb reboot
It's really simple, then install the twrp recovery.img with flashify
you're rooted with recovery
Click to expand...
Click to collapse
Can you explain this adb method it always confusing me Im used to using odin this my first lg device
raw2000j said:
Can you explain this adb method it always confusing me Im used to using odin this my first lg device
Click to expand...
Click to collapse
Same here. I searched for a guide for first timers on LG. It is very different
So I'm rooted and have TWRP now. I know I'm rooted cause exposed framework installed and quickboot app works fine but there's no notification for root request. Is a seperate app needed?
Punchatron said:
So I'm rooted and have TWRP now. I know I'm rooted cause exposed framework installed and quickboot app works fine but there's no notification for root request. Is a seperate app needed?
Click to expand...
Click to collapse
Superuser from playstore
koraun said:
From Windows
Just run the adb commands from the root method in the root thread
adb reboot --bnr_recovery
adb push ./assets/start_restore /temp/start_restore
adb push ./assets/permaroot.bin /temp/start_restore
adb reboot
It's really simple, then install the twrp recovery.img with flashify
you're rooted with recovery
Click to expand...
Click to collapse
This method worked perfectly for me!! Time to remove bloat ?
Sent from my LG-D851 using Tapatalk
Can any one help me I think I didn't sleep for 3 days lol..I flashed cm13 official and then for some stupid reason I flash that recovery too.I had twrp before that..so now I got no root I can't flash anything..that root option in dev set don't work...I got d855 and I use Linux.but I tried adb and all that nothing seems to work.. Thanks regardless... It's first time I can't fix that..:/
russiandroidx said:
Can any one help me I think I didn't sleep for 3 days lol..I flashed cm13 official and then for some stupid reason I flash that recovery too.I had twrp before that..so now I got no root I can't flash anything..that root option in dev set don't work...I got d855 and I use Linux.but I tried adb and all that nothing seems to work.. Thanks regardless... It's first time I can't fix that..:/
Click to expand...
Click to collapse
hm... have you adb acess within cyanogenmod recovery? if yes try dd method
Sent from my Xperia T using XDA Free mobile app
Thenx for reply ... What u mean by that... Like inside recovery???if so.. Yes but absolutely nothing works in that recovery..only thing I can do is browse thru the files
SdtBarbarossa said:
hm... have you adb acess within cyanogenmod recovery? if yes try dd method
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
Ye but with dd u have to use adb she'll and then "su" command and since I got no root ..I tried
russiandroidx said:
Ye but with dd u have to use adb she'll and then "su" command and since I got no root ..I tried
Click to expand...
Click to collapse
nope... "su" is not necessary when in cm recovery... because you are already superuser within it
Sent from my Xperia T using XDA Free mobile app
SdtBarbarossa said:
nope... "su" is not necessary when in cm recovery... because you are already superuser within it
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
But there is no adb in that recovery.. Only thing I seen is when u press on install update but when I press on it says adb cancled..
russiandroidx said:
But there is no adb in that recovery.. Only thing I seen is when u press on install update but when I press on it says adb cancled..
Click to expand...
Click to collapse
do you even know what adb is?
google "minimal adb and fastboot" ... install on pc...
reboot phone to cm recovery and connect to pc
on minimal adb and fastboot type
adb shell
then the dd command for YOUR and ONLY YOUR device (otherwise you will brick it)
Sent from my Xperia T using XDA Free mobile app
russiandroidx said:
But there is no adb in that recovery.. Only thing I seen is when u press on install update but when I press on it says adb cancled..
Click to expand...
Click to collapse
OK there aplly update->from adb or emulator.when I press adb it says adb saidload..but that just bring me right back ina first page of recovery
russiandroidx said:
OK there aplly update->from adb or emulator.when I press adb it says adb saidload..but that just bring me right back ina first page of recovery
Click to expand...
Click to collapse
you dont read what i posted above?
Sent from my Xperia T using XDA Free mobile app
SdtBarbarossa said:
you dont read what i posted above?
Sent from my Xperia T using XDA Free mobile app
Click to expand...
Click to collapse
. Just seen it... Ye ofcourseci know what adb is .its just I don't Linux kinda comes with it build in already.. But that might actually work.. Since it ina recovery already...thx bud..I'll try when I get home