Okay, I have SEARCHED XDA & SEARCHED GOOGLE and read probably close to thousands of posts trying to find the answer... maybe I just missed it but I tried...
I am thinking of moving from CM 4.0.4 to JacHERO... (no commenct please about possible move from CM it has nothing to do with the recent C&D) but I am afraid to wipe SD CARD & start fresh with everything...
Does NANDROID backup everything? Meaning does it COMPLETELY backup not just the OS but all the partitions on the SDHC card? (i.e. FAT32 & ext2 & ext3)?? I dont think it does from what I can tell & have read...
What I want to be able to do is wipe everything clean, install HERO, clean, if I totally hate it or its too slow for me or what not, I want to be able to restore what I had running...
please no comments on how hero is better or how CM is better etc...
I would suggest you do a search for switchrom or switchrom.sh
That should be what you're looking for.
HTH
search for the Q&A section?
Nandroid backs up all you need that if you get a bootloop for some reason you can just restore it and your good...... next time post in the proper place
P.S.- why are you afraid of wiping your SD card that would be a lot easier?
Switchrom.sh or Bart
Switchrom is good, but doesnt backup the entire ext3 partition. If complete EXT3 backup is what you seek, see BART (Backup and Recovery Tool).
Have fun and read lots!
emilj said:
Okay, I have SEARCHED XDA & SEARCHED GOOGLE and read probably close to thousands of posts trying to find the answer... maybe I just missed it but I tried...
I am thinking of moving from CM 4.0.4 to JacHERO... (no commenct please about possible move from CM it has nothing to do with the recent C&D) but I am afraid to wipe SD CARD & start fresh with everything...
Does NANDROID backup everything? Meaning does it COMPLETELY backup not just the OS but all the partitions on the SDHC card? (i.e. FAT32 & ext2 & ext3)?? I dont think it does from what I can tell & have read...
What I want to be able to do is wipe everything clean, install HERO, clean, if I totally hate it or its too slow for me or what not, I want to be able to restore what I had running...
please no comments on how hero is better or how CM is better etc...
Click to expand...
Click to collapse
If you want to back up your SDCARD, you need to plug it into your computer (can be through phone when phone is in "mount" mode) and run this command:
dd if=/dev/sdcarddevice | gzip -9 > /some/place/to/make/backup.gz
You can NOT make a backup of the sdcard from your phone OS since 1) phone internal storage is not nearly sufficient, 2) backing up the sdcard TO the sdcard is retarded and doesn't accomplish anything.
My suggestion;
first do a nandroid backup to backup the phone internal storage to the sdcard, then backup the sdcard. Then you have everything no matter what.
On more bit of complication...
I currently have fat32 & ext2 BUT no swap setup on my SDHC card....
I would need to wipe the card & re-partition it so that I can have swap.
BART looks like the key, but will it re-partition the sdhc card too?? It says BART backs up the ext partitions but doesnt say anything about the partitions...
This is not development related. Next time, please keep your questions within the Q&A forum. Moved.
lbcoder said:
If you want to back up your SDCARD, you need to plug it into your computer (can be through phone when phone is in "mount" mode) and run this command:
dd if=/dev/sdcarddevice | gzip -9 > /some/place/to/make/backup.gz
You can NOT make a backup of the sdcard from your phone OS since 1) phone internal storage is not nearly sufficient, 2) backing up the sdcard TO the sdcard is retarded and doesn't accomplish anything.
My suggestion;
first do a nandroid backup to backup the phone internal storage to the sdcard, then backup the sdcard. Then you have everything no matter what.
Click to expand...
Click to collapse
You read between the lines for me thank you... the point was to backup to a computer (obviously I cant backup 5gb to the remaining 3gb on my card )
I ran SU first & tried the command you gave me & I got this error:
dd: can't open '/dev/sdcarddevice': No such file or directory
Which makes sense if I am running it in "mounted" mode because the SD card is no longer visible to the OS.... right?
I currently have fat32 & ext2 BUT no swap setup on my SDHC card....
I would need to wipe the card & re-partition it so that I can have swap.
BART looks like the key, but will it re-partition the sdhc card too?? It says BART backs up the ext partitions but doesnt say anything about the partitions...
Click to expand...
Click to collapse
Yeah Bart isnt the way to go to repartition your SDcard, if you have the 1.4 cyanogen recovery you can do the repartitioning from the recovery console, a basic search can provide you with many guides on how to do something like this, hope this helps
stefan.buddle said:
Yeah Bart isnt the way to go to repartition your SDcard, if you have the 1.4 cyanogen recovery you can do the repartitioning from the recovery console, a basic search can provide you with many guides on how to do something like this, hope this helps
Click to expand...
Click to collapse
Okay, I'm not totaly newb if I sound like it...
I can repartition my card no problem... I was looking for a backup tool that would restore ALL partitions & ALL data if I was to wipe the OS & wipe the card & start fresh...
Theoretically backup to a PC... I can load up a Linux build if I need to... the "DD" was a good idea... would this be a good solution to load up linux to a "DD" combined with a Nandroid backup? Again, would I have to repartition my card back to the way it was?
emilj said:
You read between the lines for me thank you... the point was to backup to a computer (obviously I cant backup 5gb to the remaining 3gb on my card )
I ran SU first & tried the command you gave me & I got this error:
dd: can't open '/dev/sdcarddevice': No such file or directory
Which makes sense if I am running it in "mounted" mode because the SD card is no longer visible to the OS.... right?
Click to expand...
Click to collapse
#1: you don't run this on your phone, you run it on your COMPUTER.
#1a: when you set your phone to "mount", it is not actually mounting. That is what happens on your computer (if you so choose), AFTER putting the phone into its mode where it is mountable and after the computer detects the device. They really should call it "mass storage mode" or something that isn't strictly incorrect.
#2: you need to use some brains in running a command.
#2a: DON'T EVER just do stuff you see online. *ALWAYS* research the commands and understand what they do before you run them. Otherwise you *WILL* eventually do something stupid, like "for FILE in /dev/sd?; do dd if=/dev/zero of=$FILE; done", which will wipe every single bit of information in all of your hard disks with zeros. In this case, the command I suggested will do no damage, but you didn't know that...
#2b: There is no such device as /dev/sdcarddevice. This is intended (following #2a) that you replace it with what makes sense ON YOUR SYSTEM, i.e. "sdcarddevice" is variable and will change depending on when/how you attached the device and what other devices are already there. Same with the /some/path/to/etc
lbcoder said:
#1: you don't run this on your phone, you run it on your COMPUTER.
#1a: when you set your phone to "mount", it is not actually mounting. That is what happens on your computer (if you so choose), AFTER putting the phone into its mode where it is mountable and after the computer detects the device. They really should call it "mass storage mode" or something that isn't strictly incorrect.
#2: you need to use some brains in running a command.
#2a: DON'T EVER just do stuff you see online. *ALWAYS* research the commands and understand what they do before you run them. Otherwise you *WILL* eventually do something stupid, like "for FILE in /dev/sd?; do dd if=/dev/zero of=$FILE; done", which will wipe every single bit of information in all of your hard disks with zeros. In this case, the command I suggested will do no damage, but you didn't know that...
#2b: There is no such device as /dev/sdcarddevice. This is intended (following #2a) that you replace it with what makes sense ON YOUR SYSTEM, i.e. "sdcarddevice" is variable and will change depending on when/how you attached the device and what other devices are already there. Same with the /some/path/to/etc
Click to expand...
Click to collapse
Gee thanks... I thought you were giving me a command that I wasnt aware of...
So the bottom line is that I am still where I started, is there any way to backup the OS & all partitions to my computer that I can restore if necessary??
So something like imaging the sdcard like winhex, and a nandroid or switchrom should be fine. I'll be trying this soon. I need to learn more about the ins and outs first. Please let me know what you find or how u get this to work for u. With dd or whatever. Thanks.
you are making this WAY too complicated, make a nandroid, use BART, move the files over to your computer by dragging and dropping. then do whatever horror you want to do to your phone. if it messes up, then make your partitions again using parted in the recovery console. restore the contents of your sdcard from your computer to your sdcard, restore your nandroid. ta-da
it is not hard to backup your ext3, it is even simpler to backup your fat32. stop over thinking all of this and search a little next time.
You fail, please try again
Yeah makes sence now that I think about it, partitioning the sdcard was pretty ez. I'm just gonna repartition to include a swap and keep that setup for everything and BART the rest. Sometimes I just don't see the answers right away until they are pointed out to me lol sry .....I failed again.
Opps, some how ended up in this topic by mistake
Related
I just bought a new SD card, 4 GB, class 4. And my old one was only 2 GB, not sure what class. And i'm not sure what steps i need to do to get everything i had on my old one and get everything to be the same as before without any problems.
My sd card is partitioned and has linux swap with ext 2 converted to ext 3.
Phone is rooted and running MLIGN-Hero 2.5.5 and i think my apps are on my sd card, but not 100% sure.
And also i'm using Amon Ra's Custom Recovery v1.2.2 and used that to partition my sd card.
Do a nandroid back-up. After you do that, on your PC, copy the nandroid folder from your SD to your desktop. Then, format and partition your new 4 gig SD. I would make the ext3 and linux-swap partition the same size as you had them on the 2 gig SD. Finally, copy the nandroid folder on your PC desktop to the 4 gig SD, put it in the phone, boot into recovery, and run a nandroid restore. Everything should be good.
Just incase you need it...
Code:
parted /dev/block/mmcblk0
mkpartfs primary fat32 0 xxxx
mkpartfs primary ext3 xxxx yyyy
mkpartfs primary linux-swap yyyy zzzz
quit
upgrade_fs
reboot (or) reboot recovery
thanks, i really appreciate it. i'll try it out now. i'll make another quick reply when i'm done to say if everything worked out fine.
BlackElvis79 said:
Do a nandroid back-up. After you do that, on your PC, copy the nandroid folder from your SD to your desktop. Then, format and partition your new 4 gig SD. I would make the ext3 and linux-swap partition the same size as you had them on the 2 gig SD. Finally, copy the nandroid folder on your PC desktop to the 4 gig SD, put it in the phone, boot into recovery, and run a nandroid restore. Everything should be good.
Just incase you need it...
Code:
parted /dev/block/mmcblk0
mkpartfs primary fat32 0 xxxx
mkpartfs primary ext3 xxxx yyyy
mkpartfs primary linux-swap yyyy zzzz
quit
upgrade_fs
reboot (or) reboot recovery
Click to expand...
Click to collapse
ok this is weird, when i go to to the nandroid backup it says "Error : Backup not performed!"
EDIT: nvm i fixed it. i just had to reboot.
EDIT: nvm again, it worked for a little while then the same error message showed up again.
didnt work, i got stuck in a boot loop at the hero loading screen, im just gonna use my old one for now then ill have to go back to the store and trade in the 4 gb sdcard for a new one and try again.
wtf?!?! now none of my apps work! as soon as i open it and then try to click on something inside the app i get a force close (the one where it doesnt have the option to "wait")
nvm i just did a nandroid restore from my old sdcard.
sumtime nandroid can't finish if there is not enough room left on the card
maek_it_happen said:
sumtime nandroid can't finish if there is not enough room left on the card
Click to expand...
Click to collapse
hmm... makes sense. i'll try and remove some stuff from my old sd card then backup again.
I don't believe nandroid backs up your SD also. Just internal flash. So you'll need to find another way, I believe you can do this through adb
Basket Lotioner said:
I don't believe nandroid backs up your SD also. Just internal flash. So you'll need to find another way, I believe you can do this through adb
Click to expand...
Click to collapse
sorry for being a noob here but what is adb again? i completely forgot.
Here
Basket Lotioner said:
Here
Click to expand...
Click to collapse
thanks but umm... i think i'll just stick to my 2 GB sdcard, lol. way too confusing stuff and way too much to read and understand. i'm a major noob when it comes to android and i know i would screw alot of stuff up with that, i always do. thanks for the help anyways though.
AnThNeE said:
thanks but umm... i think i'll just stick to my 2 GB sdcard, lol. way too confusing stuff and way too much to read and understand. i'm a major noob when it comes to android and i know i would screw alot of stuff up with that, i always do. thanks for the help anyways though.
Click to expand...
Click to collapse
u could jus use nandroid and back up for root users , format and partition ur new card using amon then just restore the nandroid and back up !
maek_it_happen said:
u could jus use nandroid and back up for root users , format and partition ur new card using amon then just restore the nandroid and back up !
Click to expand...
Click to collapse
well, i wish it was that easy. i think my new sdcard is broken anyways, when i did it the first time, i got stuck in a boot loop. then i went back to recovery, got rid of my ext 3 i think or something like that, and then i put it in my computer and formatted it, and then did it all over again, and then this time my apps didnt work, actually, wait i think i know what you mean... hmmm.... brb i'm gonna try what you basically said. sorry for all the typing, i have a habit of over typing things, lol.
well, ran in to a major problem. now everytime i try to do anything i get an error saying to run _________ (<--whatever it says) via console. so is my sdcard broken? cause i really dont feel like going out and buying a anew one.
maek_it_happen said:
sumtime nandroid can't finish if there is not enough room left on the card
Click to expand...
Click to collapse
how much room does nandroid need?
Ok so I rooted and flashed the recovery image. Now I want to apply the MoDaCo Custom Hero ROM. Whats the easiest way to partition the SD card to allow apps2SD?
When I was in the recovery mode there were partition options can it from there or do I have to go on the desktop and use the cmd prompt?
Just use the partition option in recovery.
Thank you for the quick response
hmmm apps2sd is not working. I got the Rom to work fine but before i flashed the rom I partitioned fat32+ext2+swap in the recovery screen so I can have apps2sd access and it does not work
Ok got the Apps2sd to work, but how can I see both partitions. I can't can only see the update.zip folder, footprints. and some other file but my music and photos are nowhere to be found and the Nanodroid back up. I did copy the nanodroid back up to my phone, but should it still be there on the main partition? Help please.
justin24 said:
Ok got the Apps2sd to work, but how can I see both partitions. I can't can only see the update.zip folder, footprints. and some other file but my music and photos are nowhere to be found and the Nanodroid back up. I did copy the nanodroid back up to my phone, but should it still be there on the main partition? Help please.
Click to expand...
Click to collapse
As should be obvious, partitioning the sdcard erased what was there.
2 things
1. Windows won't see that EXT3 Partition, it's not support by Microsoft.
2. The format to FAT SWAP EXT wipes the ENTIRE CARD, nandroid backups included.
I do an Nandroid anytime I go to mess with something in Shell or load a ZIP. Here in the past few days it seems like I do 2 or 3 a day lol.
More than likely you have a card larger than 2 gigs and the backups seem to be realativly small. I copy all of mine to a folder on my computer and Rename them with a small descript of the Rom build and Date. So I know what it is I can load back.
I'm sorry for posting such a newbie thread but I'm rather stuck at the moment. I rooted my device earlier this week without much hassle. I was pretty excited and tried to get to customizing right away and ended up somewhat screwing up my device. I've tried following just about every solution that google will give me for Nandroid restore but I still can't achieve restoration.
Maybe someone can tell me what I'm doing wrong. I have been trying this method:
Phone in recovery mode
-in command prompt-
cd c:\(directory)
adb devices - it will show "000000000000 recovery"
adb shell - gives me "#"
cd /sdcard - I've tried with and without this step
nandroid-mobile.sh --restore - At this point it asks me about G1 keyboard or just continue, so I hit enter and get
error: unable to mount /sdcard, aborting
I've also tried to mount /sdcard after the adb shell step
and it returns:
mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
but typing ls at the same point lists all the files on that level, including sdcard.
could it be my SD card is corrupt? I'm very confused, I really hope someone can help. Any replies or PMs would be very very appreciated. Thanks in advance!
1. hold the volume button down and press the end call button
2. press home button once the white/green screen comes up to go to recovery
3. scroll down and choose backup/restore
4. choose your backup file and restore
You don't need to do all of that other stuff unless your nandroid backup file is not working and gives you errors..............and usually if it gives you errors, its because the nandroid file was renamed in which case you just need to change it back to its proper name.
I had the same exact thing happen. Somehow the sd card is corrupted (just a guess on my part). Here is what I did:
Copy the entire contents of your sd card to a folder on your PC (this is so you don't lose anything on your sd card).
Reboot into recovery and re-partition your sd card making sure you upgrade the ext partition to ext3.
Do a complete wipe (Caution this will reset your phone, I am not responsible for any data you may lose).
reflash your nandroid backup and if that doesn't work reflash the rom zip file of the rom you were using.
Hopefully you have a nandroid backup or at least titanium backup for the apps you had installed (will make your life easier).
Copy the contents from the folder you created in the first step back to your SD card.
These steps fixed my problem. It MIGHT fix yours.
I hope this helps.
Peter
n01un0 said:
2. press home button once the white/green screen comes up to go to recovery
Click to expand...
Click to collapse
???
once the phone is powered down, all i do is hold home while pressing the end key.. takes me right to the recovery screen...
im not trying to be mean an not help but...PLEASE POST IN THE RIGHT SECTION and you might get more help!
ive never seen that problem from experience so im really no help. your best bet is post this thread in the Q&A section. I would bet tho by whats its saying like above that your SD CARD is corrupt somehow. just reformat(but make sure to backup the sd card), then try again.
n01un0 said:
1. hold the volume button down and press the end call button
2. press home button once the white/green screen comes up to go to recovery
3. scroll down and choose backup/restore
4. choose your backup file and restore
You don't need to do all of that other stuff unless your nandroid backup file is not working and gives you errors..............and usually if it gives you errors, its because the nandroid file was renamed in which case you just need to change it back to its proper name.
Click to expand...
Click to collapse
When I do it that way, it tells me to run nandroid backup via ADB..
prios914 said:
I had the same exact thing happen. Somehow the sd card is corrupted (just a guess on my part). Here is what I did:
Copy the entire contents of your sd card to a folder on your PC (this is so you don't lose anything on your sd card).
Reboot into recovery and re-partition your sd card making sure you upgrade the ext partition to ext3.
Do a complete wipe (Caution this will reset your phone, I am not responsible for any data you may lose).
reflash your nandroid backup and if that doesn't work reflash the rom zip file of the rom you were using.
Hopefully you have a nandroid backup or at least titanium backup for the apps you had installed (will make your life easier).
Copy the contents from the folder you created in the first step back to your SD card.
These steps fixed my problem. It MIGHT fix yours.
I hope this helps.
Peter
Click to expand...
Click to collapse
Thank you, I will get started on it today and let you know how it goes.
Also, sorry for posting in the wrong section. I thought it related to development but I will be sure to post anything like this in Q&A from now on.
-Jake
**Edit**
Thank you, Peter! I backed everything up and repartitioned the card, upgraded to ext3 like you said. After that I rebooted into recovery and tried nand restore from my device and it started up right away. Didn't have to wipe my device and everything is back to normal! Thanks so much!!
-Jake
Good to hear u got everything worked out bud.
Sent from my HERO200 using XDA App
okay that solved my hour and a half long struggle. thanks peter.
Hi. First of all thanks guys for the CWM and instructions. Everything went smooth, and I'm already after my first backup, but I would appriciate a small clarification for me.
When I do "mount", does it mean that I tick the things I want to find it's way in this backup? If so, I have following question:
What does
1. eccm
2. sdcard
3. USB Storage
mean?
Many places call each differently, and it's worse that it changes when we talk in CWM terminology, so I would appriciate some clarification.
Also, I don't have "ext-sd" option in my mounting options, which some tutorials give, and I wanted to ask about that as well.
As for technical details. I have rooted phone, with Open Rom 2.3.6. The things I have in my backup directory I made are:
boot.img
recovery.img
system.ext4.tar
data.ext4.tar
.android_secure.vfat.tar
cache.ext4.tar
nandroid.md5
I chose everything but USB Storage, going with my gut. Was I correct?
cheers
Lucas
Man I thing this link is useful:http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
umarian said:
Man I thing this link is useful:http://www.addictivetips.com/mobile...-and-how-to-use-it-on-android-complete-guide/
Click to expand...
Click to collapse
Thanks for the link and good reading. I learned much from it.
However, in the guide there, the terms used are still sdcard as the INTERNAL card. So while I know now what USB Storage in mounting option means, I still don't know, and there is no explanation in the guide in that linke, what these 2 reffer to:
What does
1. eccm
2. sdcard
cheers
emmc is your internal sdcard. Normally, it is mounted to /sdcard.
sdcard is your external micro sd card. In Android, it is mounted to /sdcard/external_sd.
wintel_mac said:
emmc is your internal sdcard. Normally, it is mounted to /sdcard.
sdcard is your external micro sd card. In Android, it is mounted to /sdcard/external_sd.
Click to expand...
Click to collapse
Awsome, thanks a lot for clarification.
One follow up question. If I mount the sdcard, so my external card, it won't backup the content of ext sd card as well into my backup? What I mean is, I don't want to break something, by trying to make a backup that includes over 20GB of stuff on my external memory card.
Also, I looked over polish forum of android, and someone told me, that there is no need to mount/unmount stuff as the backup that is made, is made all the time the same, no matter the mounting options. Strange a bit. Is it true what he said?
cheers
Lucas
Don't know exactly how it is implemented for your device (9000, I'm on 9001) but external SD cards are normally never backed up (which would not make any sense at all btw, since you might even backup the backup you're doing at that moment^^).
When you take a look at the structure of an CWM backup folder, you realize that also your internal sd card is not backed up (aside from .asec).
And yes, it is not ncecessary to mount anything for backup or restore purposes. CWM does what is necessary to perform the desired actions.
wintel_mac said:
Don't know exactly how it is implemented for your device (9000, I'm on 9001) but external SD cards are normally never backed up (which would not make any sense at all btw, since you might even backup the backup you're doing at that moment^^).
Click to expand...
Click to collapse
I'm on i9001 as well
When you take a look at the structure of an CWM backup folder, you realize that also your internal sd card is not backed up (aside from .asec).
And yes, it is not ncecessary to mount anything for backup or restore purposes. CWM does what is necessary to perform the desired actions.
Click to expand...
Click to collapse
I see...
But if that is the case, what's the point of mounting the eccm as well as sdcard if they are not backed up to begin with?
cheers
You can connect over adb to the phone and perform varous actions. And it makes no sense to mount every partition you may need with commands such as
"mount -o rw /dev/block/mmcblk0p15 /system" as you would have to remember where each file system resides.
So you can do it with few keypresses on the phone.
Moreover, there are some custom update-zips that do not do the mounting for you, so it would be necessary to apply them, too.
wintel_mac said:
You can connect over adb to the phone and perform varous actions. And it makes no sense to mount every partition you may need with commands such as
"mount -o rw /dev/block/mmcblk0p15 /system" as you would have to remember where each file system resides.
So you can do it with few keypresses on the phone.
Moreover, there are some custom update-zips that do not do the mounting for you, so it would be necessary to apply them, too.
Click to expand...
Click to collapse
I think I know what you mean. You are saying that there are other actions that require mounting, not backup in this case, and it's much easier to do it automaticly through cwm, rather than doing it manualy with linux lingo.
Thanks for the explanations.
Just one clarrification at the end. When I do backup with CWM, do I need to do any mounting, or it's done automaticly now and it mounts everything it needs to, to do backup?
cheers
Lucas
wintel_mac said:
And yes, it is not ncecessary to mount anything for backup or restore purposes. CWM does what is necessary to perform the desired actions.
Click to expand...
Click to collapse
As I wrote before
wintel_mac said:
As I wrote before
Click to expand...
Click to collapse
Awsome. Thank you wintel_mac so much, for very detailed answers.
cheers
The topic can be closed.
Hey, I got a Virgin Mobile HTC Desire 510. Y'know, the blue one....
I fudged up severely the other evening and installed another rom which bricked my phone. I did manage however restore a stock back-up I managed to find online, however the phone was still rooted, tampered and TWMP(did I get the abbreviation correct?) is still on it. So I go and install Supersu and Busybox in an attempt to go back to where I left off as I've been attempting to get the phone to do the internal to SD card bit but no success thus far, especially not right now. In anycase, after reinstalling Supersu, I load it up and get the message of "There is no SU binary installed and SuperSU cannot install it. This is a problem! If you just upraded to Android 4.3, you need to manually re-root. consult the relevant forums for your device.". I attempted to reinstall threw recovery and it seems to be working till I get the actual phone's Google ROM running and click on the SuperSU program only to get that message.
Any suggestions or advice on how to do this and get SuperSU back up? How do I exactly re-root or can I somehow install the binary via PC or flash?
Can the HTC Desire 510(Virgin Mobile version) even have the the script/rom/trick setting to have the SD Card used as Internal memory or is this quest just wasted time?
Thanks
EDIT- Device version is 0PCV1
Okkvltist said:
Hey, I got a Virgin Mobile HTC Desire 510. Y'know, the blue one....
I fudged up severely the other evening and installed another rom which bricked my phone. I did manage however restore a stock back-up I managed to find online, however the phone was still rooted, tampered and TWMP(did I get the abbreviation correct?) is still on it. So I go and install Supersu and Busybox in an attempt to go back to where I left off as I've been attempting to get the phone to do the internal to SD card bit but no success thus far, especially not right now. In anycase, after reinstalling Supersu, I load it up and get the message of "There is no SU binary installed and SuperSU cannot install it. This is a problem! If you just upraded to Android 4.3, you need to manually re-root. consult the relevant forums for your device.". I attempted to reinstall threw recovery and it seems to be working till I get the actual phone's Google ROM running and click on the SuperSU program only to get that message.
Any suggestions or advice on how to do this and get SuperSU back up? How do I exactly re-root or can I somehow install the binary via PC or flash?
Can the HTC Desire 510(Virgin Mobile version) even have the the script/rom/trick setting to have the SD Card used as Internal memory or is this quest just wasted time?
Thanks
EDIT- Device version is 0PCV1
Click to expand...
Click to collapse
Hello and welcome to xda,
Where exactly did you get the back-up from that you used to restore?
You were close it is TWRP or Team Win Recovery Project.
I believe the reason you can't install SuperSU is because you don't have a write protect removed kernel installed. You can find one here. Check out their related forums and see which one you like best. They are pretty much all great. Some aren't being supported anymore as a heads up. To flash a kernel, in case you didn't know how:
Go into Settings-About-Software information-More-Kernel version and write down the name of the Kernel
1. Power the phone down
2. Hold "Down" button then hold "Power" key while still holding "Down" button, until you get into the bootloader
3. Release "Down" and "Power" button
4. Tap "Power" key once and it will change from "HBOOT" in white letters with blue background to "FASTBOOT" in white letters with red background on your phone
5. Connect your USB cable and it will say "FASTBOOT USB" on your phone
6. Navigate to the folder you have your fastboot.exe from Android Studio or wherever you obtained it from (Mine is in C:\Users\myusername\Android\sdk\platform-tools)
7. Hold the "Shift" key then right click in any empty space in that folder
8. Select "Open command window here"
9. Type
Code:
fastboot devices
in the command window, then press Enter just to make sure it is picking up your phone
10. You should see something like:
Code:
HT42PXU89475 fastboot
if you don't make sure your USB cable is inserted all the way and you are in "FASTBOOT USB"
11. Make sure your recovery.img or whatever the name of the recovery is, is in the folder you are currently in
11. Type
Code:
fastboot flash boot boot.img
in the command window
You should see something like:
Code:
C:\Users\yourusername\Android\sdk\platform-tools>fastboot flash boot boot.img
sending 'boot' (12932 KB)...
OKAY [ 1.350s]
writing 'boot'...
OKAY [ 1.030s]
finished. total time: 2.385s
Your phone will still be in FASTBOOT USB mode
To test it out to see it was correctly flashed, reboot the phone
Go into Settings-About-Software information-More-Kernel version and see that the version changed
You can follow my little guide to use SD as Internal memory. Let me know if you need any help.
I won't be able to get to this til tomorrow but another issue is I can't d/l apps off Google play. It comes up with some server issue and some weird code that starts with an R. Sorry I can't give full details as I'm at work :/.
Okkvltist said:
I won't be able to get to this til tomorrow but another issue is I can't d/l apps off Google play. It comes up with some server issue and some weird code that starts with an R. Sorry I can't give full details as I'm at work :/.
Click to expand...
Click to collapse
Is your phone completely stock or do you have any custom ROMs? I have seen errors like that.
blaqueknight said:
Is your phone completely stock or do you have any custom ROMs? I have seen errors like that.
Click to expand...
Click to collapse
I'm fairly certain I reinstalled Busybox when I was installing(or trying to) Supersu. I'm giving the kernel bit a shot.
Oh the stock back-up is this(No, I didn't back up my phone since I didn't see a reason, I had everything I needed on the computer/sd) file:
http//qc-.androidfilehost-com/dl/PObYV5uN55P2PGDNrX1pLQ/1430391523/95832962473396445/2014-12-02--16-24-34+KOT49H+Stock.not.rooted.rar
(can't post links since i'm a newb)
Had to make a backup of my empty phone and put the files into the empty back up to restore it.
UPDATE- Flashed over Modded Kernel V2.6.1 since that looked like a safe bet. Installed correctly. Tried to reinstall Supersu. Got "Android is upgrading". Supersu Installed. Next is the SD Card bit.
Okkvltist said:
I'm fairly certain I reinstalled Busybox when I was installing(or trying to) Supersu. I'm giving the kernel bit a shot.
Oh the stock back-up is this(No, I didn't back up my phone since I didn't see a reason, I had everything I needed on the computer/sd) file:
http//qc-.androidfilehost-com/dl/PObYV5uN55P2PGDNrX1pLQ/1430391523/95832962473396445/2014-12-02--16-24-34+KOT49H+Stock.not.rooted.rar
(can't post links since i'm a newb)
Had to make a backup of my empty phone and put the files into the empty back up to restore it.
Click to expand...
Click to collapse
I'm sorry, please disregard that last comment. I was posting like your only problem was the Play Store. lol Sorry. But yea, check out those things I mentioned to you and you should be able to get SuperSU back up, if not I'll help you with anything else.
Okkvltist said:
I'm fairly certain I reinstalled Busybox when I was installing(or trying to) Supersu. I'm giving the kernel bit a shot.
Oh the stock back-up is this(No, I didn't back up my phone since I didn't see a reason, I had everything I needed on the computer/sd) file:
http//qc-.androidfilehost-com/dl/PObYV5uN55P2PGDNrX1pLQ/1430391523/95832962473396445/2014-12-02--16-24-34+KOT49H+Stock.not.rooted.rar
(can't post links since i'm a newb)
Had to make a backup of my empty phone and put the files into the empty back up to restore it.
UPDATE- Flashed over Modded Kernel V2.6.1 since that looked like a safe bet. Installed correctly. Tried to reinstall Supersu. Got "Android is upgrading". Supersu Installed. Next is the SD Card bit.
Click to expand...
Click to collapse
UPDATE 2- When partioning the sd card, it continues to come up as ext2. When I go into Link2SD and I go to select I get the message on whatever I select- "Mount script cannot be created. mount: invalid argument"
Okkvltist said:
UPDATE 2- When partioning the sd card, it continues to come up as ext2. When I go into Link2SD and I go to select I get the message on whatever I select- "Mount script cannot be created. mount: invalid argument"
Click to expand...
Click to collapse
Are you using Aparted? What was the method you used to partition? You should partition as ext4.
Yeah, I downloaded Aparted, went in to partition the SD card("8" gigs) and selected ext4 but it comes out ext2. Do I need S-OFF and/or 4EXT Recovery?
Okkvltist said:
Yeah, I downloaded Aparted, went in to partition the SD card("8" gigs) and selected ext4 but it comes out ext2. Do I need S-OFF and/or 4EXT Recovery?
Click to expand...
Click to collapse
Did you select Create then Format? If it still comes out ext2 after that, I don't know what the problem is. Format will take a while because it is creating journals.
blaqueknight said:
Did you select Create then Format? If it still comes out ext2 after that, I don't know what the problem is. Format will take a while because it is creating journals.
Click to expand...
Click to collapse
It's saying the partition doesn't exist when I go to format after creating the partition. Even when creating the proper ext from the create screen, it still doesn't come up as ext4.
other info
device- /dev/block/mmcblk1.
when I opened up link2sd its asking me for mmcblk1p2 but there is no mmcblk1p2
Okkvltist said:
It's saying the partition doesn't exist when I go to format after creating the partition. Even when creating the proper ext from the create screen, it still doesn't come up as ext4.
other info
device- /dev/block/mmcblk1.
when I opened up link2sd its asking me for mmcblk1p2 but there is no mmcblk1p2
Click to expand...
Click to collapse
Are you trying to partition the whole SDcard as ext4? To properly partition the card to be used with Link2SD you have to:
1. Delete the sdcard
2. Create a FAT32 partition of any size of your choosing
3. Format the FAT32 partition
4. Create an ext4 partition of any size of your choosing
5. Format the ext4 partition (this will take a long time, as it will create journals that are used to recover from an error such as removing the device while files are being copied)
After following those steps, Link2SD should properly create the script/mount and you should be able to link to your sdcard
If you are doing those steps perfectly and you still have an error, we have to find out another solution
Ok, I still can't get it to make Ext4......
However, weirdness- I made a Fat32 Partition and went into Link2SD. Link2SD was able to use/read the Fat32 partition. Tried to create/change the Fat32 and it didn't work. Tried to make a third partition under ext4 and it comes up ext2. Openned Link2SD and it doesn't read/use the ext2. Uses the additional Fat32 no sweat. I don't know how much of it is working(tried downloading Brave Frontier and had to delete loads of stuff in general) usual memory bull**** ensures and I see theres a lock for the full copy of Link2SD....
another thing; I can't get into/mount the open part of my SD card. Should I go back to square one or should I blow the meager 3 bucks for the full copy and see if I can do it from there?
PS- Does the class of the sd decide on if I can partition an ext3-4? Cause if so, mine is only a class 4 SD card.
Okkvltist said:
Ok, I still can't get it to make Ext4......
However, weirdness- I made a Fat32 Partition and went into Link2SD. Link2SD was able to use/read the Fat32 partition. Tried to create/change the Fat32 and it didn't work. Tried to make a third partition under ext4 and it comes up ext2. Openned Link2SD and it doesn't read/use the ext2. Uses the additional Fat32 no sweat. I don't know how much of it is working(tried downloading Brave Frontier and had to delete loads of stuff in general) usual memory bull**** ensures and I see theres a lock for the full copy of Link2SD....
another thing; I can't get into/mount the open part of my SD card. Should I go back to square one or should I blow the meager 3 bucks for the full copy and see if I can do it from there?
PS- Does the class of the sd decide on if I can partition an ext3-4? Cause if so, mine is only a class 4 SD card.
Click to expand...
Click to collapse
I just made a couple of very simple tutorials to use Aparted and Link2SD and they are both working for me. Check them out: Aparted tutorial, Link2SD tutorial. I believe the ext2 that you are talking about is around the 10 second mark in the Link2SD video. Do you mean the /data/sdext2? That is just the name of the second sdcard partition.
If you can, you should buy the full copy of Link2SD to link external data and whatever other options become available.
The class of sdcard shouldn't have anything to do with the partition. That's just a classification of the speed of the card.
If needed, I'll make more videos to show exactly how everything is done. I think sometimes it is better to show than simply explain how something is done.
Hope this helps.
Wow.......I mean seriously, holy zen, it worked.
I had to start over from scratch since my f'ling screwed so much crap up but after everything was reinstalled and flashed and what not, It made the ext4. I don't know why the programming is so touchy you have to create it threw such weird steps but I believe it worked. Upgraded the link2sd. Next question and I'm pretty sure on the answer- Are you able to remove the SD card or is it perma-bound to the phone(IE- if I change SD cards around, will everything crash?)? Thank you so much
Okkvltist said:
Wow.......I mean seriously, holy zen, it worked.
I had to start over from scratch since my f'ling screwed so much crap up but after everything was reinstalled and flashed and what not, It made the ext4. I don't know why the programming is so touchy you have to create it threw such weird steps but I believe it worked. Upgraded the link2sd. Next question and I'm pretty sure on the answer- Are you able to remove the SD card or is it perma-bound to the phone(IE- if I change SD cards around, will everything crash?)? Thank you so much
Click to expand...
Click to collapse
I'm happy it worked out good for you.
Yes, you are able to remove your sdcard. Be aware that your apps are on your sdcard so if you remove it, you remove them. They are placed on your sdcard and symlinked so Android thinks they are still on your phone in the place they would normally be. Nothing should crash, they just shouldn't show up. There is some great info about Link2SD here.
@blaqueknight..
nice videos man.