I am really excited to try Ubuntu on my gnex but I have a ton of data on my android that I do not want to lose. Is it possible to just make a NANDROID and flash back to it from recovery if I chose to?
I am pretty sure that is what Canonical said.
Sent from my SGH-T999 using xda app-developers app
absolutely you can. the ubuntu os will be cwm flashable, meaning you can flash back if required. I would say procedure however would be backup, copy across to PC, then install Ubuntu OS - not sure if part of the procedure would bea wiping internal memory, but I would suspect it would be as nothing apart from media (music/pictures/video's) would be compatible with ubuntu os.
So, step by step I should:
1. NANDROID Backup
2. make folder on my computer and put the backup there
3. factory reset
4. flash Ubuntu
5. reboot
6. profit?
Profit? Lol
From what I understand, it's the same process as any other custom Rom install. I could be wrong.
Sent from my SGH-T999 using xda app-developers app
Lanmonster said:
So, step by step I should:
1. NANDROID Backup
2. make folder on my computer and put the backup there
3. factory reset
4. flash Ubuntu
5. reboot
6. profit?
Click to expand...
Click to collapse
On ubuntu 12.10 install the Android tools with "sudo apt-get install android-tools-fastboot && sudo apt-get install android-tools-adb"
http://packages.ubuntu.com/search?keywords=android&searchon=names&suite=quantal§ion=all
1. Backup (nandroid etc.)
2. Flash U4P with fastboot
3. Reboot and enjoy
Dont think it will be threw CWMR..
Sent from my Galaxy Nexus using xda premium
Does this work with toro? How will I get back to android without my TWRP?
As your phone supports fastboot, you will be able to install everything back to Android as required - don't stress on it, Ubuntu for Phones will not kill off the fastboot capabilities of your phone.
Related
Having issues having my computer recognize my NT8. I now have something listed in Device Manager that says Android ADB Interface listed under the Android Phone tab. Is this a step closer to my computer recognizing my NT8? Or am I totally out of the ball park. I want to flash CM9 but I need ADB to create a rombackup.zip. Part of my problem may be that I have other Android devices and I have not used USBDview to disable other drivers. Since Android ADB Interface popped up under Android Phone in the Device Manager I am not sure what method or step to follow from this point.
You don't need adb set up to get a rom on your NT8.
Get clockworkmod recovery running on an sdcard (you'll need to burn the image to it, check out this thread for info). Boot into clockworkmod, make a backup, and you're ready to flash roms.
Cubanluke88 said:
You don't need adb set up to get a rom on your NT8.
Get clockworkmod recovery running on an sdcard (you'll need to burn the image to it, check out this thread for info). Boot into clockworkmod, make a backup, and you're ready to flash roms.
Click to expand...
Click to collapse
Appreciate the response. I already have a CWM SD Card and I have already backed up. I would think that the information being saved in the rombackup.zip would be the same info backed up in CWM. However, having very basic android dev knowledge, especially for the NT, made me hesitant to move to the next step without having a rombackup.zip. Thanks for confidence of moving along as I have been stuck a while. Also thanks to indirects OP on his thread [Blocks OTA's!] Full root for Nook Tablet my laptop has recognized my NT8.
I managed to accidentally flash the BLADE boot.img for CM10.1 to my phone before I transferred the ROM across to my SD card.
Didn't think this was a problem.. went into recovery to Mount USB Storage. Didn't work, so I flashed TWRP to see if it worked on there. No luck.
Tried performing a restore of the full working stock sense and wiped caches so I could try to transfer it over the OS. again no luck.
I've even tried pushing the .zip file to the sdcard using adb (run cmd as admin and use 'adb push ROM.zip /sdcard/ROM/') with no luck. It just tells me the device isn't connected. The drivers are definitely installed (fastboot is working).
I'm all out of ideas. If anyone could point me in the right direction, I'd be grateful. Thank you!
Mounting usb storage does not work with MTP devices.
Sent from my HTC One X+ using Tapatalk 2
AndroHero said:
Mounting usb storage does not work with MTP devices.
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
Is there another way of accessing the SD Card through recovery?
No except adb, but that only works with twrp. Why not flash a stock rom, and copy the rom to the SD Card while booted into android.
Sent from my HTC One X+ using Tapatalk 2
You might not be able to directly access your sd card, but you can most likely use adb sideload to load the CM10.1 ROM onto your device and regain functionality. Check this out for more information: http://teamw.in/ADBSideload
NasaGeek said:
You might not be able to directly access your sd card, but you can most likely use adb sideload to load the CM10.1 ROM onto your device and regain functionality. Check this out for more information: http://teamw.in/ADBSideload
Click to expand...
Click to collapse
Yeah while I was waiting for replies. I did a lot of research into adb sideloading and I pretty much get it now.. Only problem is that I'm running Windows 8 which has a whole bunch load of problems with adb... can't get it to recognise my device even with the correct drivers installed. Followed a few guides on the internet, but to no avail.
Does anyone know of anything that works? Or do I have to install it all on a W7 PC?
petedavison93 said:
Yeah while I was waiting for replies. I did a lot of research into adb sideloading and I pretty much get it now.. Only problem is that I'm running Windows 8 which has a whole bunch load of problems with adb... can't get it to recognise my device even with the correct drivers installed. Followed a few guides on the internet, but to no avail.
Does anyone know of anything that works? Or do I have to install it all on a W7 PC?
Click to expand...
Click to collapse
Do you have the latest SDK downloaded from google? I can confirm on windows 8 sideload through command prompt works fine in the platform tools folder. This is through CWM in my experience. i have not messed with TWRP
Kraizk said:
Do you have the latest SDK downloaded from google? I can confirm on windows 8 sideload through command prompt works fine in the platform tools folder. This is through CWM in my experience. i have not messed with TWRP
Click to expand...
Click to collapse
I downloaded and installed it today.
I'll go through exactly what I've done..
- Installed Java SDK
- Installed Android SDK
- Installed platform tools and usb driver
- Installed HTC Sync
- Opened hasoon's toolkit for the One X+
- Booted into TWRP and selected Advanced > Side Load
- Used the side load button on the toolkit.
I've also tried pushing files using the command line directly and cd-ing to the platform tools folder. This is what brings up the error connecting to device message. I've also started getting messages about starting daemon? No clue what that means.
petedavison93 said:
I downloaded and installed it today.
I'll go through exactly what I've done..
- Installed Java SDK
- Installed Android SDK
- Installed platform tools and usb driver
- Installed HTC Sync
- Opened hasoon's toolkit for the One X+
- Booted into TWRP and selected Advanced > Side Load
- Used the side load button on the toolkit.
I've also tried pushing files using the command line directly and cd-ing to the platform tools folder. This is what brings up the error connecting to device message. I've also started getting messages about starting daemon? No clue what that means.
Click to expand...
Click to collapse
Ignore the toolkit. That thing is less than stellar. Open the platform tools folder in the android SDK directory (default should be C: Android) Place the ZIP file of the rom you wish to flash in this directory. Hold shift and right click in blank space in the android sdk folder. Select "open command window here" (or something along those lines, not at my desk). type "adb kill-server" and then type the command "adb sideload romname.zip"
I recommend using CWM as I know this works on that. I do not use TWRP. You are welcome to try it with TWRP though.
Kraizk said:
Ignore the toolkit. That thing is less than stellar. Open the platform tools folder in the android SDK directory (default should be C: Android) Place the ZIP file of the rom you wish to flash in this directory. Hold shift and right click in blank space in the android sdk folder. Select "open command window here" (or something along those lines, not at my desk). type the command "adb sideload romname.zip"
I recommend using CWM as I know this works on that. I do not use TWRP. You are welcome to try it with TWRP though.
Click to expand...
Click to collapse
I have tried this method before too. It brought up the error message. I'll try it again in a minute and let you know. I'll also try it on CWM, but I read somewhere that CWM didn't support it? TWRP 100% does. It has an option for it in GUI.
EDIT: my android sdk in burried in Users/x/AppData/Local/Android/ .. Should I re-install in C:\Android ?
petedavison93 said:
I have tried this method before too. It brought up the error message. I'll try it again in a minute and let you know. I'll also try it on CWM, but I read somewhere that CWM didn't support it? TWRP 100% does. It has an option for it in GUI.
EDIT: my android sdk in burried in Users/x/AppData/Local/Android/ .. Should I re-install in C:\Android ?
Click to expand...
Click to collapse
That sounds like it is in the wrong place. That is usually a temporary folder. Check your c drive, it may also be labeled adt bundle and may be in program files. Sideload is an option in CWM by lloir by default which can be found in the original development section.
---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------
Alternatively after rereading your OP. If you have not wiped anything you could just flash your old boot.img
Kraizk said:
That sounds like it is in the wrong place. That is usually a temporary folder. Check your c drive, it may also be labeled adt bundle and may be in program files. Sideload is an option in CWM by lloir by default which can be found in the original development section.
---------- Post added at 04:27 PM ---------- Previous post was at 04:24 PM ----------
Alternatively after rereading your OP. If you have not wiped anything you could just flash your old boot.img
Click to expand...
Click to collapse
About to reinstall the Android SDK (uninstalled and rebooted PC). I should install it to C:\Android ? (This folder doesn't exist currently)
I've also never set the environment variables as the Android SDK installed fine. Should I set these?
Also tried that.. it just hangs
petedavison93 said:
About to reinstall the Android SDK (uninstalled and rebooted PC). I should install it to C:\Android ? (This folder doesn't exist currently)
I've also never set the environment variables as the Android SDK installed fine. Should I set these?
Also tried that.. it just hangs
Click to expand...
Click to collapse
Download the android SDK bundle from google and install to C: Android, if it does not exist let it create it (i would still bet it is somewhere in your C drive but ok). I do not know what comes stock but i typically launch the SDK (NOT ECLIPSE) and allow it download all of the files associated with android (probably not needed). There should be an sdk folder inside the c android folder. in that is the platform tools folder. This is where you will open your command window and run the previously mentioned commands.
Kraizk said:
Download the android SDK bundle from google and install to C: Android, if it does not exist let it create it (i would still bet it is somewhere in your C drive but ok). I do not know what comes stock but i typically launch the SDK (NOT ECLIPSE) and allow it download all of the files associated with android (probably not needed). There should be an sdk folder inside the c android folder. in that is the platform tools folder. This is where you will open your command window and run the previously mentioned commands.
Click to expand...
Click to collapse
Trying the sideload now
petedavison93 said:
Trying the sideload now
Click to expand...
Click to collapse
If it is CWM give it a few minutes (literally like 5). Never used TWRP but it could take some time as well.
Kraizk said:
If it is CWM give it a few minutes (literally like 5). Never used TWRP but it could take some time as well.
Click to expand...
Click to collapse
Nothing came up for the kill-server command but it did pause.. so I'm guessing it did something.
The rest ran pretty quick but the phone hasn't received anything and is just sitting there (using CWM to keep my battery charged)
petedavison93 said:
Nothing came up for the kill-server command but it did pause.. so I'm guessing it did something.
The rest ran pretty quick but the phone hasn't received anything and is just sitting there (using CWM to keep my battery charged)
Click to expand...
Click to collapse
You could flash the stock recovery and run the RUU
Kraizk said:
You could flash the stock recovery and run the RUU
Click to expand...
Click to collapse
Very quick guide? I knew this was a possibility, but I've never had to do it until now. Thank you so much for the help btw
Although this still doesn't solve my problems with adb
petedavison93 said:
Very quick guide? I knew this was a possibility, but I've never had to do it until now. Thank you so much for the help btw
Click to expand...
Click to collapse
Flash the stock recovery (I do not have this as you appear to be on the international variant). Download your RUU (search the forums, I know it is here somehwere but the usual htcruu.com is now down....) boot into your boot loader and run the command "fastboot oem lock" Hit the power button to select hboot from the list and then just run the executable.
Kraizk said:
Flash the stock recovery (I do not have this as you appear to be on the international variant). Download your RUU (search the forums, I know it is here somehwere but the usual htcruu.com is now down....) boot into your boot loader and run the command "fastboot oem lock" Hit the power button to select hboot from the list and then just run the executable.
Click to expand...
Click to collapse
Can't relock the bootloader without working drivers.. this is beyond annoying now ¬.¬
EDIT: Relocked but not enough battery to flash RUU. Do I just run the RUU from the computer while the phone is at the home menu in the bootloader?
I'm using a batch file to charge the device over night. Will try again tomorrow.
As a Nexus 4 user, I take into note that I do not have expandable memory. When it comes to roms and backups, I tend to copy my backups and store them into Google Drive and delete them off f my device to save memory Well I've had my fun with Ubuntu for now and now I'd like to return back to Android, but because my nand is not on my device I cannot restore it. I've tried to connect my phone to my computer so I can put my nand back into my TWRP folder so I can recover back to Android but it seems that I cannot access my internal storage from neither Ubuntu not TWRP.. any suggestions?
There is a universal nexus Linux toolkit in nexus 7 android development, works for all nexus devices. You can flash your backup with that, or another ROM.
Sent from my Nexus 7 using XDA Premium HD app
I can access my internal storage from TWRP, in fact it didn't touch my sdcard. That's weird.
bsbachert said:
There is a universal nexus Linux toolkit in nexus 7 android development, works for all nexus devices. You can flash your backup with that, or another ROM.
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Right now I am using the Nexus Root Toolkit, and I did make a backup through the program before hand, but I cannot perform the steps as it asks for. I've tried flashing stock through the program as well and I currently have no luck doing so. I have yet however to try ODIN, I may download it and see if I can get somewhere.
juicyjones said:
I can access my internal storage from TWRP, in fact it didn't touch my sdcard. That's weird.
Click to expand...
Click to collapse
I may have worded it wrong, I meant as in accessing my internal storage through my computer so I can move my nandroid into my phone so I can recover from there.
I will go ahead and download ODIN and give that a try, I will post my results.
MewRai95 said:
I will go ahead and download ODIN and give that a try, I will post my results.
Click to expand...
Click to collapse
ODIN is only for SAMSUNG devices...
you dont need it.
boot into recovery
adb push nameoffilehere /sdcard/
Pirateghost said:
ODIN is only for SAMSUNG devices...
you dont need it.
boot into recovery
adb push nameoffilehere /sdcard/
Click to expand...
Click to collapse
derp.. I only thought of ODIN since that was one of the suggestions the Nexus Root Toolkit said. Thanks for the suggestion. Will this work for folders as well?
MewRai95 said:
derp.. I only thought of ODIN since that was one of the suggestions the Nexus Root Toolkit said. Thanks for the suggestion. Will this work for folders as well?
Click to expand...
Click to collapse
Yes it will.
MewRai95 said:
As a Nexus 4 user, I take into note that I do not have expandable memory. When it comes to roms and backups, I tend to copy my backups and store them into Google Drive and delete them off f my device to save memory Well I've had my fun with Ubuntu for now and now I'd like to return back to Android, but because my nand is not on my device I cannot restore it. I've tried to connect my phone to my computer so I can put my nand back into my TWRP folder so I can recover back to Android but it seems that I cannot access my internal storage from neither Ubuntu not TWRP.. any suggestions?
Click to expand...
Click to collapse
I have Samsung Galaxy Nexus, flashing with ubuntu touch/phone. on my gentoo linux after running adb as root you can push any ROM in zip file format to /sdcard
Code:
adb push NameOfRomFile.zip /sdcard/
boot into TWRP/CWM ... flash rom (presumed android rom). ubuntu phone/touch is on developer preview stage. But Canonical said ubuntu device phone will be release in October 2013 ... I doubt the phone will be something better, ubuntu does not make something new ... unless it is ubuntu ... LOL. What I wonder, it is ubuntu, but to access the phone via PC still using ADB and NOT UDB .... ubuntu debug bridge
Lol, Ubuntu Debug Bridge on Ubuntu Touch connected to an Ubuntu desktop while watching an Ubuntu TV. I think the world would explode from too much awesome.
Sent from my Galaxy Nexus using Tapatalk 2
I'm an ubuntu lover, so I wait stable release to flash in my device for daily bullets.
Sent from my Lenovo S880 using xda app-developers app
Every time I find myself developing or messing with my Nexus 7 and I need to wipe my device I always have to get into Android SDK and open a command window and start typing commands, Well that is too much work for something I do too frequently! So I decided to create a simple program that erases boot partition and formats the system, userdata, and cache partitions automatically also to avoid accidental deletions I put a password on the program, and now I want to share this with the community
How to use:
No need to have Android SDK as all of the necessary files are included in the program. All you have to do is make sure drivers are installed, open the program with your device in Fastboot mode and connected to your computer; then type "Clean Everything" without quotes and the program does everything for you.
Download:
Nexus Cleaner
I hope it doesn't wipe data/media or virt. sdcard?
mihovil13 said:
I hope it doesn't wipe data/media or virt. sdcard?
Click to expand...
Click to collapse
Then it would not clean everything. Would the .sh command in Linux do the same?
Sent from my Nexus 7 using XDA Premium HD app
k29er said:
Then it would not clean everything. Would the .sh command in Linux do the same?
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I'm not exactly sure, but the way I made the program in windows was I created a batch file and converted it to exe and included fastboot and adb
duffieldj1 said:
Every time I find myself developing or messing with my Nexus 7 and I need to wipe my device I always have to get into Android SDK and open a command window and start typing commands, Well that is too much work for something I do too frequently! So I decided to create a simple program that erases boot partition and formats the system, userdata, and cache partitions automatically also to avoid accidental deletions I put a password on the program, and now I want to share this with the community
How to use:
No need to have Android SDK as all of the necessary files are included in the program. All you have to do is make sure drivers are installed, open the program with your device in Fastboot mode and connected to your computer; then type "Clean Everything" without quotes and the program does everything for you.
Download:
Nexus Cleaner
Click to expand...
Click to collapse
This Program asks for an passwort ..
solved said:
This Program asks for an passwort ..
Click to expand...
Click to collapse
No need to have Android SDK as all of the necessary files are included in the program. All you have to do is make sure drivers are installed, open the program with your device in Fastboot mode and connected to your computer; then type "Clean Everything" without quotes and the program does everything for you.
Hey xda members,
My name is Pierre, from France and new owner of X820 version 6GB 64GB (from Aliexpress).
I made a big mistake yesterday, wiping from TWRP all data (Sytem, applications etc.)
Now if I put "ON" again, it is just showing "EUI" logo, without end
I have still access to TWRP but no backup, not .img loaded in the phone.
I can't connect and load from USB the ROM, so I am honestly lost.
If you have just any idea,how to solve it! Please let me know
Thank you very much, and good evening,
TWRP has a backup solution for you. I did this same misstake like you.
In Advanced settings you can run ADB SIDELOAD.
I hope you have proper ADB drivers in your PC and command prompt in Windows is your friend.
With ADB SIDELOAD you can install ROM from your PC via USB to your bricked phone. ADB uses whole base of commands to control what you can do.
Follow this steps:
https://forum.xda-developers.com/showthread.php?t=2318497
Twrp also supports MTP so you should also be able to copy a rom on the sdcard when in twrp.
just use:
fastboot boot twrp.img (if TWRP you have in twrp.img file)
mobile boot in TWRP
then
adb push rom_file.zip /sdcard
after OK just install that rom from SDCARD via TWRP...
Thank you Razor, mikey and cr3pt !
If I am not mistaken, you provide me: 2 different solutions (ADB Sileload or abd push ROM).
It does mean, if I select the "one more easy" :
1. I boot in TWRP my phone
2. connect by USB (ADB drivers must be installed). Usually it is written MTP or "Android" but I can't see the external drive in Win10.
3 Then adb push rom_file.zip /sdcard in the Wincommand
4. wait and after disconnect USB
Then I will find the ROM to install in my phone.
Is it correct?
Yes
If you have TWRP, connect the phone to your computer, mount storage in TWRP, copy the rom of your choice, and install it. That simple
Sent from my Le X821 using Tapatalk
I use TWRP and always just drag and drop the ROM zip from PC to the phone's internal storage and it shows up in TWRP under install. It's super easy. As long as you have the correct drivers installed on your PC you shouldn't need to use adb.
kanagawaben said:
I use TWRP and always just drag and drop the ROM zip from PC to the phone's internal storage and it shows up in TWRP under install. It's super easy. As long as you have the correct drivers installed on your PC you shouldn't need to use adb.
Click to expand...
Click to collapse
Hey
My computer (Win 10) does NOT recognized sometimes: MTP, or sometime "Android". So in fact, I never the external storage in my windows.
That is why I can not simply "drop" unfortunately.
Should I maybe install ADB again?
install ADB, all necessary drivers. without that you can only dream about correct fix'a
piyerre said:
Hey
My computer (Win 10) does NOT recognized sometimes: MTP, or sometime "Android". So in fact, I never the external storage in my windows.
That is why I can not simply "drop" unfortunately.
Should I maybe install ADB again?
Click to expand...
Click to collapse
I'd try to start again clean. First completely remove adb and android device drivers from your computer. Then boot your phone into TWRP and connect it by usb to your computer and see if it auto installs the right drivers. If not, I guess you have to find where to download them from to install manually.
cr3pt said:
install ADB, all necessary drivers. without that you can only dream about correct fix'a
Click to expand...
Click to collapse
Can you give me please a link with the correct ADB and the correct drivers.?
I can't see the external drive even if adb devices gives me OK result.
Thank you,
you don't need external drive - correct is adb device. just push file when is visible in device manager
Hello !
It does work perfect, I finally use the "adb push" function!
Thank you very much all
cr3pt said:
just use:
fastboot boot twrp.img (if TWRP you have in twrp.img file)
mobile boot in TWRP
then
adb push rom_file.zip /sdcard
after OK just install that rom from SDCARD via TWRP...
Click to expand...
Click to collapse
It works! Thank you very very much!
Bro Its is new security added in windows 10... U can only install official and signed drivers in windows 10.. U should turn it off.. only then u can access adb and fastboot...
One more thing bro...
If u have lost every thing, but u r able to boot in twrp, then follow me:
1. Download any rom for le max 2 U want to
2. After downloading,copy it in ur pendrive
3.Boot in twrp
4.connect the pendrive to ur device using OTG adapter
5.Mount USB storage
6.wipe every thing again.
7.After installation,reboot
8.first boot may take time and then wgwghrussuwgskaaiiawg (U know the rest??)