What happens if you accidentally delete the /data directory? - Hero CDMA General

I'll tell you...basically not good things
After updating lots of apps, I decided to run the command to remove the boot-cache through a terminal app on my phone, rather than through adb shell (sprint needs to hurry up and fix this bug.)
Unfortunately, the terminal app doesn't like landscape, so when hitting the front slash after the data directory, my finger instead (to my absolute horror) hit the enter key.
Hilarity did NOT ensue. Basically everything started FC'ing. I rebooted into recovery, did a wipe, and started over. Everything seems to be fine, but for those that are more familiar with the filesystem than I, could there be any residual effects, or would the wipe/factory reset basically take me back to step 1? Thanks!
I'm going to try and write an app that not only clears the boot cache, but also turns on net sharing, kinda like a "utilities" app in the interim until Sprint can fix our stuff. Should be simple enough.

Factory reset should take you back to step 1.
Have you installed the recovery ROM? It doesn't modify your actual OS at all, but it enables you to do "whole phone" backups via Nandroid. Very handy for just such an occasion.

jonnythan said:
Factory reset should take you back to step 1.
Have you installed the recovery ROM? It doesn't modify your actual OS at all, but it enables you to do "whole phone" backups via Nandroid. Very handy for just such an occasion.
Click to expand...
Click to collapse
I do believe so. I followed our five star "how to root the CDMA Hero" thread, and I think the RA-Recovery part was included there.
I'm assuming since I can reboot into recovery mode, this is, in and of itself, the recovery ROM you're talking about. I have the option of a nandroid backup in there.
So, then let me ask you this. If I get my phone how I like it, can I do a Nandroid backup, and always be able to restore to that point, similar to commercially available backup apps? Thanks for the quick reply!

a Nandroid backup will restore everything on your phone (not your SDCard) so it should work to restore even if you delete the whole /data directory. It's not tested but it seems like it should work since it's an image of the whole freaking thing.

Related

Issue after rooting

I recently rooted my HTC Hero and had no issues with it. I was trying to nandroid backup it, but now I can't download any of the programs from the Market. I have a restore image, but I dont have any clue how to get it onto my phone. Help would be amazing, I hope I didn't brick my phone.
thejawa said:
I recently rooted my HTC Hero and had no issues with it. I was trying to nandroid backup it, but now I can't download any of the programs from the Market. I have a restore image, but I dont have any clue how to get it onto my phone. Help would be amazing, I hope I didn't brick my phone.
Click to expand...
Click to collapse
You haven't bricked your phone. If you are positive you have a restore image or that you've done a nandroid back up. You should be able to boot into recovery and restore you back up by:
**You should either have your Nandroid back up still on your SD card or you saved it somewhere on your computer when you did your first Nandroid back up, if the latter -- copy the ENTIRE Nandroid folder onto your SD card and proceed with the following steps.
1. Turn your phone off
2. Press and hold home+power to boot into recovery
3. Choose Backup/Restore
4. Choose Restore backup
5. Choose the back up file (labeled Nandroid)
6. Confirm that you want to restore the backup by pressing the home button.
7. Wait a while
8. Reboot your phone
And report back if you have problems.
Looks like when I go into the recovery page, the only option I have is Clear Storage, nothing about restoring
thejawa said:
Looks like when I go into the recovery page, the only option I have is Clear Storage, nothing about restoring
Click to expand...
Click to collapse
You are positive that you flashed a recovery ROM correct? Do you remember doing steps 13-19 from the guide below? Also, what resource did you use to "root" your phone and did it ever mention anything about installing a custom recovery image, if so -- what version of the recovery image do you currently have?
http://forum.xda-developers.com/showthread.php?t=583291
Click to expand...
Click to collapse
Make sure that you are not holding down both the Power and Home keys. You only need to hold down Home and TAP power to make it come on. Once you feel the vibrate you can let go of the Home key.
Yes, Kcarpenter's right...I wouldn't want to be held liable for deleting your data, but then again...it'll teach you a lesson and you'll never forget to make a Nandroid back up.
try and fix your market problem first, I say. Does gTalk run on your phone? if not, try creating a brand new google account, rerunning the setup app, and log in with that one. Let us know how it goes.
edit:I've seen this happen to more than one person, and it's on google's end, not yours if this is the case.

What is recovery?

Everyone seems excited about this, what exactly is it? Does it just restore the phone back from root or what? I am still a WM user, but ordered a Inc so looking forward to rooting it. Just lookin ahead
It simplifies and automates the root process. Whereas before you had to sit there repeatedly rebooting and uplugging your Droid a billion times to get it into root (if at all), then follow a bunch of steps after that, this program fully automates it. All you have to do is install some drivers, start the program and it goes through and does just about everything for you, rebooting the phone and everything.
quagmire0 said:
It simplifies and automates the root process. Whereas before you had to sit there repeatedly rebooting and uplugging your Droid a billion times to get it into root (if at all), then follow a bunch of steps after that, this program fully automates it. All you have to do is install some drivers, start the program and it goes through and does just about everything for you, rebooting the phone and everything.
Click to expand...
Click to collapse
partly true, but you need to be rooted before the reflasher will work
reflashing the recovery is a big thing. it allows you to do nandroid backups (full system backups) and flash unsigned (custom) roms. which give you options such as overclocked kernels, sense-less roms and stuff of that nature
The process the unrevoked team made flashes the clockwork recovery which allows us to flash custom roms, make nandroid backups, partition and mount and write system files... etc etc... basically allowing us to fully customize our phone with a simple, easy to use menu..
ok, so from what I understand you have to be rooted before you run recovery. You run recovery so it will give you a menu to work with instead of having to hook the phone up to the computer to add kernels or whatever you are trying to do?
I am trying to understand it all, linux is just new to me.
I think there is a misunderstanding of the purpose of recovery. Recovery has nothing to do with root, although you need it to apply a custom one. It is built into all android phones, it is what allows the phone to apply updates to /system and it also is used when wiping to factory reset the phone.
The recovery's that Amon_Ra and Koush have worked on are similar, but just with added functionality to allow things like making backups, restoring backups formating the SD card etc. By having the ability to backup and restore /system and /data it allows you to roll back to a state where the phone still functioned properly in case you went and messed something up by accident (or on purpose).
You can still have root and flash custom ROMs w/o custom recovery. its just reckless as you could be left with a broken phone.
ah ok, so basically I can backup my phone from the stock settings with the recovery program that way if I ever want to revert back to the outofbox ROM I can. Then I can try other ROMs and always be able to revert back.
That said, if I backup my phone will it save everything (account settings, programs, appearance...)?

Clockworkmod vs Titanium?

I've had such great help in these forums (Nook specifically) I couldn't resist trying my luck in these (Droid X) forums as well.
So, I've searched for Clockworkmod threads but they are all (That I found or noticed) from back in August.
Plenty of info to be had on Titanium Backup.
So my question, is Titanium the backup/restore program of choice? I was hoping for an idiots guide to backup and restore (especially in the event of problems) but the guides are kind of sketchy on the restore part.
Titanium
Use titanium backup to backup and restore all your apps. Useful when trying out new roms, although without the paid version of titanium you will spend alot of time tapping through the installation screens as it goes through your apps. Titanium won't help you recover a broken system.
SBF
Use RSDLITE 4.9 with a .SBF file to perform what many call a "sbf". This is usually used to restore a phone back to stock, or to recover from a bad/corrupted operating system. If your phone is unbootable, this is your recovery option. SBF'ing your phone is not as scary as it sounds, just download the system restore file (.sbf), connect your phone via usb to your computer, and use RSDLITE 4.9 to flash the phone.
Nand backups / Clockwork recovery
Use clockworkmod to do a full backup of your phone. Think of it as a clone of your phone. Restore your phone by booting into clockwork recovery and instead of choosing "backup", use the "restore" command. It will then allow you to select one of the backups you have made with clockwork. Pretty easy stuff here.
jeftep said:
Nand backups / Clockwork recovery
Use clockworkmod to do a full backup of your phone. Think of it as a clone of your phone. Restore your phone by booting into clockwork recovery and instead of choosing "backup", use the "restore" command. It will then allow you to select one of the backups you have made with clockwork. Pretty easy stuff here.
Click to expand...
Click to collapse
Thank you, this is exactly what I was after. My only problem remains that I do not see any guides on how to go about downloading/installing/operating this program. I'll keep searching now that I know more about what I'm searching for. Thanks!
Search the market for "rom manager", it's free. Load it and tap "flash clockworkmod recovery".
You can use this app to reboot into recovery or by holding down the home and volume down buttons while pushing the power on button.
You can also download the DX bootstrapper from koushik's site, just google "koush bootstrap". Also free.
Sent from my DROIDX using XDA App
Woah there buddy.
I'm going to clarify this process a bit for you before you mess something up, if you don't mind.
Root your phone.
The simplest method is to search for Z4Root here in the forums...it's a .apk that roots your phone for you.
Now...
I assume you want a sweeeeeeeet rom, ya?
We can do that...
MY personal recommendation would be this...
Make sure you have at least 2-3 gigs free on your SD...it won't need to STAY that way...but during this process, it will.
Open your contacts.
Click the options button.
Backup your contacts to your SD card.
Now download Titanium from the market...
The free version works fine for 99% of what you need.
The only problem is (as mentioned) you have to manually click the "install" button for all 500098098098 of your apps when you restore...as opposed to just one button and letting it work for a few minutes.
Open Titanium and backup all of your apps+data.
Do you want Liberty 2.0? I personally use it and LOOOOOOVE it...but you currently have to pay $5.99 for it...a free version should be released soon.
If you do...just download liberty toolbox donate from the market.
It will install the rom for you! The option is under the "Rom Manager" part...
Make sure you select both options when installing....The "Backup" and "clear data" ones.
If you don't want liberty...read below...if you've chosen to pay the $5.99...skip down to the ****** below.
Download either DX bootstrap or Rom Manager.
Rom manager actually installs Clockwork...where bootstrap is simply a method of booting into clockwork via an application.
Either work fine.
Find the ROM you'd like to install and download the .zip
Put the zip on the root of your SD card.
Boot into clockwork.
(With DX bootstrap you click "bootstrap" and when it finishes click "reboot recovery")
Backup. (Camera button selects options, volume moves up and down, and power moves back a page)
Now Wipe Data/Factory Reset
Now...Wipe Data/Factory Reset
And again.
And again.
I usually do that 3-4 times just for extra security.
Now install zip from SD card.
Pick the "Choose Zip from SD card" option.
Find your rom's .zip
Click Reboot.
******
CONGRATULATIONS!
You're running a custom ROM!
Now...if you're contacts don't automatically start restoring...
You can choose the backup that you made from the options menu in your contacts.
Now...restore all apps+data with Titanium.
And you're back to where you were before the rom.
All your contacts...all your apps...
You may need to go back into your settings menu and change those back to your exact specifications.
Now...
If you don't like your rom...
You can boot into recovery again...
And restore to where you were previously with one click.
At this point after deciding I like the rom (I don't keep much free space on my SD)
I usually move my nandroid backup from before the rom to my computer...and delete it from my SD card...and then do another backup of my current (rom'd) setup.
I keep a copy of the titanium backup on my PC as well...and delete it from my SD card...there is no reason to waste a gig of space that can easily be transferred back when needed.
My recommendation is to always have you're most recent nandroid backup on your SD card and a copy of your last few on your computer.
You can rename the backup folders for organization...but don't use any spaces or special characters.
If you're REALLY hurting for space...
You can delete the nandroid backup safely if you have a microSD reader on your computer...in the case that your phone doesn't work and need to transfer the backup back onto your SD card.
Happy modding!
Thanks for the info, all of which answered my question just right. I've been using Gingerbread rooted & deoxed since Friday and it is quite nice. The improved battery life is phenomenal!
I want to STRONGLY recommend that everyone who is new/does not know what they are doing actually go through the process of flashing the rom. I was inexperienced once and I hard bricked it (unfixable). No one needs to go through that and anyway that's what keeps our bootloaders locked.
INCREDIBLY IMPORTANT STEPS
If you do not wipe data/cache/dalvik cache/battery stats, you will bootloop. Repeatedly wiping is not at all necessary but its good for ocd.
If you do not mount system and data, your phone WILL NOT BOOT and you will have to sbf.
SBF'ing is not difficult but a pain in the ass. First of all you do not need version 4.9. I used 4.7 three days ago to flash the most recent system version. Make sure that you have the file for your bootloader version or again your phone WILL NOT BOOT.
That being said, I have found that all problems are almost always careless mistakes or at least mine have been
You will find that as long as you're careful and follow all instructions, you'll never have any problems
Ok. Great info. I have been reading through the stickies n then came across this.
I am currently running darkslide 4.2 with blur. Flashed using clockwork mod on DX rooted with z4. I know that's alot of acronyms but yall understand. I used the bootstrap to get to clockwork and load everything using astro file manager.
Here is the question.
Do I have to wipe my cache in clockwork or can I leave it? So far I have left it n its running fine but doesn't seem any faster and my battery runs down in about a day.
I also use Titanium to back up my stuff but do I ha e to back up everything manually or is the free version one touch good enough? I noticed there are alot of things not backed up in to do list. I will happily get the donate version if its recommended.
Thank you all for your time and effort to answer our beginner questions.
Sent from my DROIDX using XDA App
Glad to see you are making progress, jperro. It never hurts (in my experience) to wipe the cache.
The paid version of Titanium backup lets you perform batch operations without interacting with every single install screen. There are other features that make it good, but thats the main one that saves you time/frustration.
I only back up a few system apps/data like Contacts Storage and Wifi Hotspots Storage. If I'm restoring my phone, chances are I'm either trying a new rom and I don't really want to muck it up with any old data - so I don't back up all the system apps/data that Titanium Backup shows as "not backed up". Besides, I've got nand backups in case I'm flashing back to a previous setup, so restoring system data or apps via Titanium seems redundant.
Ahhh. Ok. Thanks jeftep for the info. Very useful and informative.
Sent from my DROIDX using XDA App

[Q] Please help, S4 Complete Backup (Nandroid) tool/ dicerctions needed

Hey everyone, I'm new to android game, I've been cracking iPhones since 1st gen, decided to challenge myself. I have an S4, rooted, but no CWM installed. I want to save the recovery so if any issues ever occur, I can just flash it and have it covered under warranty, and also to be ble to return to stock wen I sell the phone.
Is there a tool i can use to make a nandroid backup? On my Nexus 7, There is an all-in-one tool and I can make a nandroid straight from my PC. Is there anything similar for the s4? If not, how to I make a nandroid backup? thank you everyone for your help, I appreciate it
Odin back to stock if you ever need to.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Dimon1990 said:
Hey everyone, I'm new to android game, I've been cracking iPhones since 1st gen, decided to challenge myself. I have an S4, rooted, but no CWM installed. I want to save the recovery so if any issues ever occur, I can just flash it and have it covered under warranty, and also to be ble to return to stock wen I sell the phone.
Is there a tool i can use to make a nandroid backup? On my Nexus 7, There is an all-in-one tool and I can make a nandroid straight from my PC. Is there anything similar for the s4? If not, how to I make a nandroid backup? thank you everyone for your help, I appreciate it
Click to expand...
Click to collapse
I'm not entirely sure it's possible to do a nandroid backup without first having a custom recovery. However, it is "always" possible to use the Odin method to return to stock (including stock recovery). Personally, I installed TWRP and immediately did a full nandroid (including system, boot, cache, etc...) and I've frequently found myself restoring pieces of it as I manage to screw up different things. I did return my recovery back to stock once by using the "dd" method to flash the stock recovery.img onto the correct emmc block. There's instructions how to do this exactly on the TWRP homepage (make sure you get the correct phone - block numbers are different for different devices) - but instead of re-flashing TWRP, I pulled the recovery.img from the giant Odin image available here on XDA.
It may also be possible to use "dd" to pull a copy of your existing recovery image as well, but I've never tried it.
Aou said:
I'm not entirely sure it's possible to do a nandroid backup without first having a custom recovery. However, it is "always" possible to use the Odin method to return to stock (including stock recovery). Personally, I installed TWRP and immediately did a full nandroid (including system, boot, cache, etc...) and I've frequently found myself restoring pieces of it as I manage to screw up different things. I did return my recovery back to stock once by using the "dd" method to flash the stock recovery.img onto the correct emmc block. There's instructions how to do this exactly on the TWRP homepage (make sure you get the correct phone - block numbers are different for different devices) - but instead of re-flashing TWRP, I pulled the recovery.img from the giant Odin image available here on XDA.
It may also be possible to use "dd" to pull a copy of your existing recovery image as well, but I've never tried it.
Click to expand...
Click to collapse
Thank you! I'll be installing TWRP today, what is Odin if I can ask? I've never heard of any of it from Nexus 7.
Also, If i do a titanium backup, can I easily restore apps with setting and save games while I'm running CM10.1?
Dimon1990 said:
Thank you! I'll be installing TWRP today, what is Odin if I can ask? I've never heard of any of it from Nexus 7.
Also, If i do a titanium backup, can I easily restore apps with setting and save games while I'm running CM10.1?
Click to expand...
Click to collapse
You better find out what odin is because it's the only way you'll be installing twrp. And don't count on tibu restoring all your apps seamlessly. Never reinstall system apps.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
You better find out what odin is because it's the only way you'll be installing twrp. And don't count on tibu restoring all your apps seamlessly. Never reinstall system apps.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I installed TWRP through GooManager. I looked up ODIN and got general info, hopefully I won't get stuck, but I'm sure I'll find my way around. Thank you so much for your help! I figured that sys apps will just be for stock, but i have a MC4 save that i don't want to lose ::cyclops: it looks like it's CM10.1 time for me!
Dimon1990 said:
Thank you! I'll be installing TWRP today, what is Odin if I can ask? I've never heard of any of it from Nexus 7.
Also, If i do a titanium backup, can I easily restore apps with setting and save games while I'm running CM10.1?
Click to expand...
Click to collapse
Here's the thread that explains how to return to stock using Odin. Be prepared for a large download.
http://forum.xda-developers.com/showthread.php?t=2261573
In short, "Odin Mode" is the download mode that's built-in to just about every modern Samsung device, beginning as far back as the Captivate, afaik. Each device has a button combination to enter "download mode" or "odin mode". This special mode sometimes requires specific drivers to connect to your PC. Flashing stock firmware using this method is common, but with an unlocked bootloader, it could be used to flash about anything. It's like a secondary recovery in a sense. It's harder to destroy download mode, but still possible if you mess up the bootloader somehow.
For our device the easiest methods to get to download mode are:
- Hold down the power button until the device force-resets itself. The moment the device turns black, release the power button and begin holding down the Vol-Down button. The device with vibrate once as usual, but then you'll see a screen that you've never seen before (begins with "Warning!!").
- Using any shell, such as ADB Shell or a terminal emulator, give the command "reboot download". This may require root privileges, I'm not sure.
- There's apps for this - haven't tried them yet.
As for Titanium backup - I love this program and have purchased Pro (totally worth it). As others have said, it's a bad idea to backup/restore System apps. Only do so with extreme caution. It is possible to restore only the data from system apps, but again do so with caution.
While Google does its own job at re-installing apps after a factory reset (if you allow it to), it usually doesn't backup data for each app. I have a couple authenticator apps that I backup this way, and it works great for this. I've also managed to keep my copy of Angry Birds Samsung Edition from my Infuse. Other applications that have since disappeared from Google Play are still backed up and get migrated to each new device I purchase.
And for that matter, with almost every User application, you can easily back it up (with data) and restore it on a completely different ROM. When changing major android versions, you sometimes will find apps force-closing on you, requiring that you wipe their data... but I haven't had that problem in a long time.
You'll see some other things that you can backup, like SMS, Access Points, Bluetooth Pairings, etc. .... I recommend only restoring these with caution - especially cross-ROM or cross-device.
Okay, I'm done being long-winded. Good luck, have fun.
Good write up
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Aou said:
Here's the thread that explains how to return to stock using Odin. Be prepared for a large download.
http://forum.xda-developers.com/showthread.php?t=2261573
Thank you so much!
In short, "Odin Mode" is the download mode that's built-in to just about every modern Samsung device, beginning as far back as the Captivate, afaik. Each device has a button combination to enter "download mode" or "odin mode". This special mode sometimes requires specific drivers to connect to your PC. Flashing stock firmware using this method is common, but with an unlocked bootloader, it could be used to flash about anything. It's like a secondary recovery in a sense. It's harder to destroy download mode, but still possible if you mess up the bootloader somehow.
For our device the easiest methods to get to download mode are:
- Hold down the power button until the device force-resets itself. The moment the device turns black, release the power button and begin holding down the Vol-Down button. The device with vibrate once as usual, but then you'll see a screen that you've never seen before (begins with "Warning!!").
- Using any shell, such as ADB Shell or a terminal emulator, give the command "reboot download". This may require root privileges, I'm not sure.
- There's apps for this - haven't tried them yet.
As for Titanium backup - I love this program and have purchased Pro (totally worth it). As others have said, it's a bad idea to backup/restore System apps. Only do so with extreme caution. It is possible to restore only the data from system apps, but again do so with caution.
While Google does its own job at re-installing apps after a factory reset (if you allow it to), it usually doesn't backup data for each app. I have a couple authenticator apps that I backup this way, and it works great for this. I've also managed to keep my copy of Angry Birds Samsung Edition from my Infuse. Other applications that have since disappeared from Google Play are still backed up and get migrated to each new device I purchase.
And for that matter, with almost every User application, you can easily back it up (with data) and restore it on a completely different ROM. When changing major android versions, you sometimes will find apps force-closing on you, requiring that you wipe their data... but I haven't had that problem in a long time.
You'll see some other things that you can backup, like SMS, Access Points, Bluetooth Pairings, etc. .... I recommend only restoring these with caution - especially cross-ROM or cross-device.
Okay, I'm done being long-winded. Good luck, have fun.
Click to expand...
Click to collapse
Thank you so much!

TWRP for Essential?

Probably too soon to be asking but has anyone heard if Team Win is planning to support an Essential phone TWRP version?
Yes I know it's an old post, but I'm replying to this, rather then starting a new one...
Everyone knows TWRP sucks for this phone. Funny the OP asks about this. I was chatting the other day in the TWRP IRC channel on Freenode, and it seems, if they could get a phone, maybe this would be possible.
But in the meantime, is there anyone working on TWRP? It's really sad, that as long as this phone has been out, there's not better support for TWRP.
Hmm
I've only used twrp to boot to root on the PH1, but it does that perfectly every time (both IMG and zip).
What exactly doesn't it do?
kboya said:
I've only used twrp to boot to root on the PH1, but it does that perfectly every time (both IMG and zip).
What exactly doesn't it do?
Click to expand...
Click to collapse
1. Doesn't fit screen properly
2. Touch & Typing doesn't work properly
3. Backups & Restore don't seem to work properly - I'm still playing with it, maybe because of A/B I'm going about it wrong.
If this would fit the screen properly, and the touch and typing worked better, then it wouldn't be half bad.
I haven't noticed the first 2 (but touch in twrp has been janky on various phones since it began... A quick search will show this.)
Not tried backup/restore as Ive not used alpha/beta indy ROMs for several years (pre-6p I'd guess). Good luck with your mod attempt.
kboya said:
I haven't noticed the first 2 (but touch in twrp has been janky on various phones since it began... A quick search will show this.)
Not tried backup/restore as Ive not used alpha/beta indy ROMs for several years (pre-6p I'd guess). Good luck with your mod attempt.
Click to expand...
Click to collapse
If it fits the screen properly, can you take a picture? I'd like to see this.
For me, twrp leaves a space on the entire right side, it doesn't fill the screen properly...
I went back playing, and I did get a backup to work ok, now I'll need to see about restoring it and see if that goes ok.
I don't remember anything like the missing part you describe and I think if notice that! Sure, but it'll be next week before I can.
kboya said:
I don't remember anything like the missing part you describe and I think if notice that! Sure, but it'll be next week before I can.
Click to expand...
Click to collapse
I'm on the forum this week, but can't boot into TWRP till next week... LOL
What you loose your phone?
I've attached two screen shots, notice all the red dots, showing the gap on the right, compared to the left, and how the top right doesn't wrap around too...
Hahaha, no, I'm on holiday abroad without a laptop and I only boot into twrp via fastboot.
I've not noticed the gap that you show, but I'm not sure it would bother me enough to really consider it
I'll have a look when I get back.
DoR3M3 said:
I've attached two screen shots, notice all the red dots, showing the gap on the right, compared to the left, and how the top right doesn't wrap around too...
Click to expand...
Click to collapse
kboya said:
Hahaha, no, I'm on holiday abroad without a laptop and I only boot into twrp via fastboot.
I've not noticed the gap that you show, but I'm not sure it would bother me enough to really consider it
I'll have a look when I get back.
Click to expand...
Click to collapse
DoR3M3 said:
If it fits the screen properly, can you take a picture? I'd like to see this.
For me, twrp leaves a space on the entire right side, it doesn't fill the screen properly...
I went back playing, and I did get a backup to work ok, now I'll need to see about restoring it and see if that goes ok.
Click to expand...
Click to collapse
DoR3M3, he'll notice if he takes a close look at it. This is a documented issue that plagues EVERY PH1. It happens on my PH1 as well. Touch typing is indeed bad. The keyboard seems to be shifted left of what you actually are typing on.
Please keep us updated on your restoring experiences. I just rooted my 2nd PH1 and I'm also looking for ways to make a NANROID backup. Really want to hear your experience with the restoring part.
Thanks!
Try booting twrp on the opposite boot partition and make a nand backup from there and then try restoring from there. From what i understood it flashes to the opposite boot partition when twrp first came out im not sure if it still does that so its possible it does that to for nand backups and restores.
Ok I have managed to make a Backup and then Restore it!
MAKING THE BACKUP
These are the Steps I have taken, and take note, I do reboot, which some might assume isn't needed, but I have found, that if I didn't, then Magisk wasn't getting flashed in properly. Sometimes you just need to reboot between steps...
When you flash a Custom Rom, that should be on Slot A, then if you root with Magisk, Magisk will be flashed to Slot B. So now your BACKUP & RESTORE will be on Slot B! But some times I have seen people get their Slots flipped around, so however it ended up, the Slot you are making your BACKUP on, is the Slot that Magisk was flashed to, not the ROM!
1. IMPORTANT - TWRP does not backup the Internal Storage so this is a simple way of backing it up! Advanced > File Manager > data - RENAME the media folder > media.bak.
2. Now you are ready to make a BACKUP! All you need checked are Boot > System > Data - Click on (Auto Generate) to rename your BACKUP!
3. When the backup completes, now go back to Advanced > File Manager > data and you will see media, which is the new folder TWRP created with your backup in, and your old one you backed up, media.bak. Now you need to rename them both! Rename the new one to media.new and rename media.bak back to it's original name media. Now here's that reboot part I was talking about before, now Reboot > Bootloader.
4. For this step I'm assuming you're Rooted and using a Custom ROM, if that is the case, when you reboot back into TWRP > Install > lower right Install Image and pick the boot image, and make sure you flash it to Boot.
5. Now go back and Install Magisk.
6. You have now successfully made your TWRP backup, now reboot the system.
7. Once booted up and back in your system, start up your File Manager, I personally use and like FX File Manager with Root Access. Now you'll navigate to data and you should still see your two directories media & media.new. In FX File Manager I have this path, data > media.new > 0 > TWRP > BACKUPS. You want to copy BACKUPS to your Internal Storage TWRP directory. So in your Internal Storage you end up with TWRP > BACKUPS. Once you are done copying it, it's safe to delete the media.new directory, but just make sure you have copied the BACKUPS directory.
8. To test that you have your BACKUPS in the right path, boot into TWRP and click on Restore, if it shows up, you placed it in the correct path!
DOING THE RESTORE
With the A/B partitions, if you are rooted and running Magisk, then you will have noticed, that you installed your ROM into Slot A, then you should of rebooted back to the Bootloader, rebooted back into TWRP and installed the boot.img and Magisk, on Slot B. But as I mentioned above, some times people get their Slots flipped around, so remember, whichever Slot your flashed Magisk to, is the Slot you RESTORE on!
1. Boot into TWRP, which I'm assuming by my above statement, you are on Slot B, click Restore, click your backup, then make sure all partitions are checked, and then swipe.
2. Now reboot to the Bootloader, then reboot back into TWRP and Install your boot.img and Magisk.
3. Next go to Advanced > File Manager > data and you'll now see media & media.bak, confused? LOL Just think about it for a second, and you can delete media.bak.
4. Now reboot into your system and enjoy!
I'd like to add for anyone saying we don't need Twrp - Same reasons virtually every other phone gets a working build of it. If there was no need or demand for it, they'd cease to exist and people will stop using it. But every couple of weeks, there's an announcement of new phones getting TWRP.
DoR3M3 said:
Ok I have managed to make a Backup and then Restore it!
Click to expand...
Click to collapse
lol. Thanks for the step by step. It does seem a bit overwhelming for the uninitiated. I'll give it a try once I've had more time to digest the whole process.
Maybe we can get that post pinned. Thanks again for testing.
We do need TWRP, it's a great tool, that does simplify many things all in one...
@Lakino, it's not complicated at all, just a few steps, and once you've done it, then you'll see how easy it is, and come back and tell us then...
The TWRP guys have an Essential phone now so they will work on it but it sounds like not until Pie is figured out.
galakanokis said:
The TWRP guys have an Essential phone now so they will work on it but it sounds like not until Pie is figured out.
Click to expand...
Click to collapse
Woo time to round up the Army and head over to Freenode - #twrp
Get your butts over their people!
I'll be looking for Essential peeps chatting...

Categories

Resources