Related
I owe much credit to toastcfh, none of this would be possibly without his work on originally rooting the EVO.
Getting Root & Recovery Mode
(My version, dumbed down even more)
You have three options with rooting:
1) Toasts Rooted ROM - Missing Apps in Market
2) Rooted Stock ROM - No 4G Support
3) Unrevoked Root Patch - No system access in recovery (can't remove sprint apps, etc)
To get a rooted stock ROM, you have to start with Toasts, instructions below; you can find details after.
If you want the Unrevoked Root patch, install a file browser on your EVO and install this.
1. Copy this to the root folder of the SD card, you can do this by syncing the Evo as a disc and just copying in windows.
2. Shut off the Evo, and hold the "volume down" button while powering it on until you see a white screen. Every question it asks, just answer yes. DO NOT UNPLUG, let it finish at all costs, no matter how long it takes.
3. Rename the file you copied to the SD card. (to avoid accidental re-flash and save it for later)
4. Download this and unzip to anywhere of you liking on your desktop. Run the setup, if it asks to accept and install a bunch of stuff, hit cancel, you wont be needing most of it. Select available packages and it will show a repository url, the actual url is irrelevant and will be google's be default...we want to expand the list and select SDK Platform 2.1. Accept an install the selection.
What you just did is installed the Android SDK which includes adb, a shell connector for your phone that we need to operate in recovery mode.
5. Hold the Windows key and press "R", type CMD in the run box. (Run the task with Administrative privileges if there is an option)
Type "cd " in the CMD window, do not forget the trailing space, it is important and DO NOT HIT ENTER yet.
Now, with that CMD windows open, go to the folder you installed the android sdk. There will be a "tools" folder, drag the tools folder into the cmd window.
Press enter, this will set your working directory to the tools folder.
6. If you have not installed drivers for your Evo, there is a folder that comes of the sd card called "HTC-Sync", run the setup in there and it will install sufficient drivers automatically.
After drivers are setup sync the phone using the HTC Sync mode, this will ensure we can control the phone using adb.
Go to your CMD window and type "adb reboot recovery", you will see your phone reboot...it will show a red warning icon on the screen afterwards, this is perfectly normal and good to see such.
7. Your phone should not be in recovery mode, but the filesystem will be offline. Download this to setup the shell for us before we can mount the filesystem. Run "recovery-windows.bat", if you are using Vista or Win7, make to sure right click the file and "Run as Administrator"...you will see another CMD window popup and do some work, just leave it open. You should now have the shell setup in Recovery Mode on your Evo.
8. Go back to your original CMD window we setup, type "adb shell" and hit enter, this will set all commands to work right on the phone. You should see a line with just "#", that is what we want.
Now type "mount /dev/block/mtdblock4 /system" and hit enter.
You should now have your Evo in recovery mode with a shell setup and filesystem mounted. This is where we can begin making changes.
Now that this has all been setup, you may want to go back after making some changes.
Repeat steps 5-8 to re-enter recovery mode with the filesystem mounted.
If you want to continue and do the stock update, check here.
Basically, copy that file to the SD and do steps 5-7.
Then use the onscreen (on the EVO Recovery Mode) to "Flash from ZIP" and select the rooted stock rom update.
WARNING: You must clear user data if the update creates issue, you will know right away.
so this is a third way of rooting, if i used a different way how do i get rid of it and use yours, i'm so tired and confused.
Post Removed to maintain consistancy, see 1st post in thread.
root rom and activesync?
I'm a complete noob here but: By using this method do I still retain the ability to run ActiveSync/Exchange support? (Didn't think this was in the SDK Platform 2.1)
What about Sense?
What the crap is up with the title of this thread? How us this a tweak or an optimization?
Good noob friendly guide, kinda tldr, but what I did readlooked good!
Change ur title
Neotelos_com;
[B said:
You have two options with rooting:
1) Toasts Rooted ROM - Missing Apps in Market
2) Rooted Stock ROM - No 4G Support[/B]
....
Click to expand...
Click to collapse
Any thought about the third option (i.e. unrevoked, new sticky, apk??) will it do the same things? i read users aren't losing full market, 4g etc.? Someone much smarter than me please weigh in.
adeyo said:
Any thought about the third option (i.e. unrevoked, new sticky, apk??) will it do the same things? i read users aren't losing full market, 4g etc.? Someone much smarter than me please weigh in.
Click to expand...
Click to collapse
Yes, adding in right now...just tested and it works well.
I need to check if it allows things to be changed in recovery mode (which is important for removing the Sprint bloatware)
johnsongrantr said:
What the crap is up with the title of this thread? How us this a tweak or an optimization?
Change ur title
Click to expand...
Click to collapse
I have plans for adding in tweaks, which will be delayed a bit...
Sorry for any inconvenience.
Neotelos_com said:
Yes, adding in right now...just tested and it works well.
I need to check if it allows things to be changed in recovery mode (which is important for removing the Sprint bloatware)
Click to expand...
Click to collapse
If you have root at all, and you have "rw" permissions for "system". You should be able to remove sprint apps when the phone is booted, assuming you dont have root while in recovery.
Is something different on the Evo that im missing?
can you not do this
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
ls
Then remove the apps like so
rm NameOfApp.apk
rm NameOfApp.odex
Not saying this will all work.. But if you have root, shouldnt this work to remove sprint apps.
Jus10o said:
If you have root at all, and you have "rw" permissions for "system". You should be able to remove sprint apps when the phone is booted, assuming you dont have root while in recovery.
Click to expand...
Click to collapse
You can make changes like that but it will not actually save to the NAND.
So...you can remove, but it will come back after reboot.
Neotelos_com said:
You can make changes like that but it will not actually save to the NAND.
So...you can remove, but it will come back after reboot.
Click to expand...
Click to collapse
Well thats all kinds of dumb..
I give it a week and there will be something better working.
Nice write up. The only problem is, I don't have the sync software on my sd card because the best buy employee knew about the evo's sd card problem and formatted it, erasing everything on the card. I checked htc's site and they had the drivers for download, but it keeps giving me an error saying it's not compatible. I'm using windows 7 64bit. Any ideas guys?
Jus10o said:
If you have root at all, and you have "rw" permissions for "system". You should be able to remove sprint apps when the phone is booted, assuming you dont have root while in recovery.
Is something different on the Evo that im missing?
can you not do this
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd /system/app
ls
Then remove the apps like so
rm NameOfApp.apk
rm NameOfApp.odex
Not saying this will all work.. But if you have root, shouldnt this work to remove sprint apps.
Click to expand...
Click to collapse
you CAN remove apps like that, using toast's custom recovery. if you do your shell, and mount, in recovery, using adb, you can go to /system/app and rm whatever you want (be careful not to remove anything important, probably wise to pull whatever first, in case you need to push it back)
i had problems when i did an rm on a file, but that is because apparently i forgot to rm it's info in /data/data too. word to the wise
HTC Sync Torrent
http://thepiratebay.org/torrent/5609530
PLEASE SEED AFTER DOWNLOAD!
New android user here!
So to me it seems like all three have something they're not able to do. Seems best to wait for a root release that your able to take full advantage of, right?
I'm a former WM flasher , I need to learn android still. I want the free hot spot/tethering, more battery life as I need 2 batteries to make it through the day -.- (I kill apps constantly, 4g turned on rarely,ect, ect)
Any feedback is appreciated,
Sean
can someone point me in the right direction to do this using a mac not new to android just the mac os i did pretty much everything but im stuck on the htc sync part HELPPP PLZ thanks
kingcliff00 said:
can someone point me in the right direction to do this using a mac not new to android just the mac os i did pretty much everything but im stuck on the htc sync part HELPPP PLZ thanks
Click to expand...
Click to collapse
Try going to Settings -> Applications on the evo and enable usb debugging...if that5 gives you adb access that's all you need
confirmed working with unrevoked root method. It can tether 3G or 4G, depends on how you connected to the Sprint network. 3G was 0.80Mbps DL, 4G was 2.63Mbps DL.
Before using unrevoked root method, I had applied the sdcard patch already. so it doesn't matter if you applied the sdcard patch or not (OTA updated).
You really shouldn't kill tasks. Just cycle the battery a couple of times and turn your antennas off and on when u need them. Especially if u are in spotty 3g coverage. There already one or two official write ups that say task killing is bad I use to do it and got forceloses and errors all the time. Its not about how many tasks you have running I.e. memory, items about cpu and antenna signal that kills you're battery I'll find the link if I can. My battery life is pretty good and I'm a heavy user.
Sent from my PC36100 using Tapatalk
i cannot get recovery bat file to work. I am at the red exclamation point screen on my evo and i run the bat file as amdmin. it pops up for a second then closes and nothing happens.
Edit: NVM I figured it out. on to the next step.
hi i've upgraded my hd 2 to the sensation( i had windows on it). and it's a god send!
i've got a few concerns/ questions
1. biggest concern - backups.. i have a stock tmobile usa sensation.. what is the best app/ way to do a COMPLETE image (all settings/info, programs, pics, messages etc..)is there away? i use acronis for all my pc's which is just awesome. anything happens i plug in external drive, and everything is back to date.
2. rooting, i hear people talking about it... what are the benefits? if one roots there sensation do they have to start over? meaning a image would not work?
3. apps. i 've bought a bunch of apps, and installed a bunch of free ones from the phone. how do i back all these up? and save them?
4. EMAIL notifications, i have 2 email accounts, personal, and business, anyone know of way to set customized ringtones/sounds for each INDIVIDUAL email account?
5. how do i access the phone files so i can add my own notification sounds, instead of the factory ones? i'm not finding an option to look on SDcard and use my own for notifications.
Thanks for any help with these concerns.
your apps are bundled to your google account. There's a list of what you bought/downloaded already. If you wipe your phone, you can simply put them back through web.
good to know, ty!
Out of curiosity, is there away for me to get the installers as well? so i can back them all up on my server?
Anyone else have info on other questions please?
1. You can Temp. root right now( which means you will lose root if you reboot), perm root is not available yet (Hopefully soon), so temp root and use the application from the market call titanium back-up , you can back up all system, apps and personal settings to your SD card. As far as backing up pics they are already on your SD card so if you want to back those up back them up to you personal computer.
Link to Temp-root
2. Rooting benefits are removing bloatware apps installed by your service provider that you don't want, use custom Roms and root apps, increase speed and performance and battery life etc.....
Cons of rooting- you could seriously Eff up your phone if you don't know what your doing, void warranty etc....
3. See answer #1 also you can back them all up on your Google account.
4. As far as i know there is no way to set up different notification sounds for two separate email account, only one choice for notification sounds.
5.Install a file manager from the market like "Astro" to explore your sdcard, with temp root or perm root you can use "Root Explorer" and browse and change system files as well as the SD card files.
If you want to add notification sounds you can also select the personalize button on the far right side of the Rosie launcher and then select "Sound Set" and download new notification sounds.
Add ringtones check out this link....http://maketecheasier.com/add-custom-alarm-ringtone-in-android/2010/01/08
Hope this helps you with some of your questions.....
Thanks joemm
thanks for detailed info... one question on rooting if i may. Can i root without loosing everything i've done? meaning root it, download, use titanium. and know i'll be good to go.
Thanks
Yes, temp rooting will not touch any of your settings or apps. So temp root then back up with titanium backup, it will even back up each apps settings too, like a certain level your on in a game or saved search results etc...
thanks alot.. will attempt this tonight!
How do you back up your apps to your google account?
xladeeda said:
How do you back up your apps to your google account?
Click to expand...
Click to collapse
It's automatic.
joemm im going to tackle this tomm. will ES file explorer work? or will i need to use root explorer to accomplish my goals? i love ES file explorer because it gives me access to my network files.
thanks in advance!
xtacybyme said:
joemm im going to tackle this tomm. will ES file explorer work? or will i need to use root explorer to accomplish my goals? i love ES file explorer because it gives me access to my network files.
thanks in advance!
Click to expand...
Click to collapse
ES will work just the same....
No need to temp root now....perm root is out.
Sent from my HTC Sensation Z710e using XDA Premium App
i think this may beyond me. i tried the temp. i think it's the temp.. steps i took
downloaded rw sensation from post #1 on link you provided.
unzipped
installed htc sense on win 7 machine double clicked Run_ME_Fr3vo_ROOT
ran a bunch of commands. once done it said hit any key to continue
then i went to phone transferred superuser file to storage card /installs, installed that. then went to superuser and it says no apps.
so not sure how to uninstall the default apps.
in Es file explorer i did notice i can see the system files now.
questions. may i ask how i permanently root this thing? (all i want to do is remove stock apps, and do backups. i 'm to old for the custom rom stuff. and to be honest don't have the time to be testing/doing custom roms anymore.)
after i accomplish the permanent root, what steps are needed to remove stock apps? (special programs, commands?)
and then what steps are needed to just do a backup, and finally enjoy this phone with out worries of lockups, crashes, etc...
and thirdly what are the steps to get all apps off my htc sensation onto my main machine so i have them backed up.
Sorry for not understanding fully. ive spent 4 days setting this up to my liking, buying what i need. and just want to be able to backup everything, and not worry bout it. like i can with all my pc's via Acronis image.
thanks for any clarification.
still yet to get my sensation permanently rooted... is this the most recent guide that will work with my Tmobile USA sensation?
post 1 - http://forum.xda-developers.com/showthread.php?t=1192300
I don't brick my phone.
thanks
xtacybyme said:
still yet to get my sensation permanently rooted... is this the most recent guide that will work with my Tmobile USA sensation?
post 1 - http://forum.xda-developers.com/showthread.php?t=1192300
I don't brick my phone.
thanks
Click to expand...
Click to collapse
Ah, yep. That's the one.
Just read each point completely before you start.
It's really much easier than it appears.
Good luck.
well i decided to try it. and i think i screwed up
http://forum.xda-developers.com/showthread.php?t=1192300
Grrrr. im getting to old for this stuff, (not on pc's as much anymore) when i was younger this stuff came easy to me.
i downloaded first file (revolutionary) did the steps. OF COURSE IT HANGS ON MINE)
so i went to post 2. it wasnt detailed for lamens.. so i uninstalled htc sync on phone and windows 7 32 bit. then i went to this post unrar'd files. http://forum.xda-developers.com/showthread.php?t=1161769&highlight=htc+driver and have no clue what to do next...
so now i sit, with those files on my windows 7 machine, no htc sync on phone or windows 7 machine. ideas please?
yes i read this post... http://forum.xda-developers.com/showpost.php?p=16143324&postcount=11
but they dont tell me where i should make temp folder (on phone or pc?)
who wants to make a quick $20.00?
If not enough let me know amount. i'm done with this. i just want to backup my phone in it's entirety, i want to backup my apps to HDD location of my choice on my pc. I want to do an image (just like an acronis, or norton ghost) of my sensation to HDD location of my choice on my pc. Like i use to be able to do with my SPV's, HD2's.
Pm Me. and let's get this done!
Thank you!
Bought a rooted Captivate on ATT with ICS 4.0.4 and cyanogen 9. Tried to unlock it but could not get nv_data.bin to copy to my sdcard. Ended up just calling ATT and they gave me the code.
Forgive me if these answers are here. I looked, I couldn't find them.
Why doesn't cat /efs/nv_data.bin >> /sdcard/nv_data.bin result in the file being copied to the sdcard next to the sim card? Does that sdcard have a different name? I put an apk file on there via my computer (LOST.DIR was there from the phone, btw) but the phone said nothing was on the sdcard, which means I'm looking at the wrong sdcard somehow?
Why does my SGH-i897 have an i9000UGKG3 baseband and does that make the phone a GT-i9000 or is it still an i897?
Why does Google Play not allow registering a second device so that the app store can be accessed? I got the apk for the store downloaded and installed, but it just launches and then immediately closes.
I found KIESAIR-1.apk, downloaded it but that halts with a message "Application not installed." No idea why. Tried two versions of Kies Air. Both installations halted. I did check allow unknown sources. I want Kies Air because I cannot get USB to work with the phone on three different Windows laptops and that's a whole other kettle of fish.
Much appreciate any info you can share.
-Bob
To answer your first question, i think the command would be going to /mnt/sdcard instead of just /sdcard.
I loathe kies air. You can use "Air Droid", it should be on the market. There are other similar applications where you can transfer files via Wi-Fi. Hopefully someone else here will help you with accessing the market.
The baseband is the modem(or radio, not sure what term exactly) your phone is running, which is what the phone uses to get a signal and access the data network People report higher data speeds, better signal, and better GPS reception with different modems. It's still a Samsung Captivate. I'm using an I9000 modem as well.
That's all I can answer for you, I'm sort of a newbie too. Lots of reading and googling helps.
the micro sd card is mounted as
/sdcard/external_sd
the path /sdcard is the internal user storage.
Sent from my SAMSUNG-SGH-I897 using xda app-developers app
Thank you very much. So that I can have better luck with Google searches in the future, can you tell me how you came to know this? All I came up with in my searches was /mnt/sdcard but that turned out to be the system card and I'm lucky I didn't screw up anything.
Found the various wikis on XDA for Captivate and now reading through them.
laughingT said:
the micro sd card is mounted as
/sdcard/external_sd
the path /sdcard is the internal user storage.
Sent from my SAMSUNG-SGH-I897 using xda app-developers app
Click to expand...
Click to collapse
I had tried that, but forgot to mention it. As somebody else pointed out, that turned out to be the system card.
bobcov said:
Why does Google Play not allow registering a second device so that the app store can be accessed? I got the apk for the store downloaded and installed, but it just launches and then immediately closes.
-Bob
Click to expand...
Click to collapse
Are you sure gapps was ever flashed once CM9 was installed? You might flash it again anyway and see if that helps. I've never known Play to limit registrations.
It has to be part of the firmware? Is that what you mean by it has to be flashed? Where can I read about that? BTW, I now have access to the phone via Android Sync Manager over wifi. Trying to find a way to put contacts into it without using Gmail. Seems I can't see the entire file system. The contacts are supposed to be in a file in this path data/data/com.android.providers.contacts/databases/contacts.db, but that path doesn't show up. How come? I'll be looking back at this post someday chuckling, but for now, I'm mystified.
bobcov said:
It has to be part of the firmware? Is that what you mean by it has to be flashed? Where can I read about that? BTW, I now have access to the phone via Android Sync Manager over wifi. Trying to find a way to put contacts into it without using Gmail. Seems I can't see the entire file system. The contacts are supposed to be in a file in this path data/data/com.android.providers.contacts/databases/contacts.db, but that path doesn't show up. How come? I'll be looking back at this post someday chuckling, but for now, I'm mystified.
Click to expand...
Click to collapse
When you install cyanogenmod Google apps (gapps) aren't included. If the previous owner didn't add them then none of your Google apps nor your sign in will be present. Even if it is already installed a reinstall may help.
Download this: http://goo.im/gapps/gapps-ics-20120429-signed.zip
Reboot to recovery and install zip from sdcard. You'll have to find and choose the file you just downloaded. Reboot and see if things aren't square.
You can also do a nandroid backup from the recovery so you can get back to where you are now if things go awry. Side note, if you want to install the latest cm9 nightly the method is the same.
You can find clearer instructions via the cyanogenmod site should you feel uneasy about proceeding. I'm away from the PC and typing from my phone or I'd try to be more thorough. Good luck!
---------- Post added at 08:28 PM ---------- Previous post was at 08:19 PM ----------
bobcov said:
It has to be part of the firmware? Is that what you mean by it has to be flashed? Where can I read about that? BTW, I now have access to the phone via Android Sync Manager over wifi. Trying to find a way to put contacts into it without using Gmail. Seems I can't see the entire file system. The contacts are supposed to be in a file in this path data/data/com.android.providers.contacts/databases/contacts.db, but that path doesn't show up. How come? I'll be looking back at this post someday chuckling, but for now, I'm mystified.
Click to expand...
Click to collapse
I just checked and found my contacts where you mentioned. You probably just need to copy the file using a file manager and move it to an accessible location you can see from the PC. I like root explorer. ES file manager is good, too, and free.
Since you may not have gapps I'd try that first and it may create the contacts db.
Hi,before I can try what you suggested, I need to straighten out what's up with my file system. I still cannot see my external sd card in file operations, even though the phone shows it is present, lets me mount and unmount it. If I copy something to it from the laptop using a card reader, nothing shows up when it is mounted in the phone. The other mystery is that with ES file explorer, I still do not see the contacts.db file path, so I'm doing something wrong. Once I can see that path and see the external sd, I'll follow your instructions.
-B
Make sure you have root function enabled in es file explorer. It's in settings.
With the external sd , on cm9 you'll find it at /emmc. (or /mt/emmc)
But read up on flashing.... You won't regret it.
Sent from phone with app
i believe the external sd card is called emmc on the ics roms
try opening a terminal emulator, then type:
df
the ouput from df will give you total space and free space for mounted paths, including your sdcard, if it is mounted.
if you want to see rootsystem files, run su before df.
there is a free terminal emulator on google play, aka market, if you need it.
Sent from my SAMSUNG-SGH-I897 using xda app-developers app
bobcov said:
Hi,before I can try what you suggested, I need to straighten out what's up with my file system. I still cannot see my external sd card in file operations, even though the phone shows it is present, lets me mount and unmount it. If I copy something to it from the laptop using a card reader, nothing shows up when it is mounted in the phone. The other mystery is that with ES file explorer, I still do not see the contacts.db file path, so I'm doing something wrong. Once I can see that path and see the external sd, I'll follow your instructions.
-B
Click to expand...
Click to collapse
At this point, how do you feel about starting over? Some people aren't comfortable with a full factory reset and/or starting over with stock gingerbread, but I'd be leaning toward that at this point. I'm not completely sure it's necessary but I've wiped clean for less.
Well, after many days, I am now finally importing 750 contacts without exposing any of them to a 3rd party server such as Google, etc.
1. There's a link here somewhere for version 1.3.450.0 "Samsung USB Driver for Mobile Phones. The filename was SAMSUNG_USB_Driver_for_Mobile_Phones_x86.exe
2. Forget about Kies. Somebody said it won't work unless it sees Touch Wiz. I don't know if it would work under any circumstances.
3. For my 750 contacts in blackberry, I made an .ipd backup of the blackberry using the RIM software, then used ABC Amber Blackberry Converter which can extract data from IPD backups and exported my contacts as CSV.
4. I used Windows Address Book to read the CSV file created by Amber and saved the file with .WAB as a Windows Address Book file.
5. I used the inexplicably free and astoundingly well-executed Wondershare MobileGo for Android program to link to my phone. On one computer it immediately identified the model and showed all contents. On another computer, it could not see the phone, and went to the web without prompting, downloaded a driver, installed it and loaded the phone into the program. Amazing. All I did was click on contacts on the left and then the small down arrow under the word "Import" on the Import icon. It took me about an hour to realize this was how to get the program to import different formats other than vcard. It somehow immediately found the .WAB file, and imported the 750 contacts where are now on the phone.
6. For the purposes of entertainment for those who know better and education for those who don't, here were some of my downfalls: All the apps may respond to that little funny symbol on the left, below the keyboard adjacent to "Samsung." I didn't know for the longest time that was a critical menu key. Also mirthful, I didn't know that you can just draw downward from the top of the screen and get a kind of status page where you will see "USB connected" which you must press if you want to copy stuff to the phone. I will now read the phone's manual.
It seems that the external card under Cyanogenmod 9 is /mnt/emmc/ instead of where programs expected it to be. I got a program called Directory Bind and tried to make it so that /mnt/emmc/ would automatically be seen as /mnt/sdcard/external_sd but it said that that wasn't a valid target. Any ideas there? Meantime I have done it from terminal but I don't think that will stick beyond a reboot.
Damn you learn quick. When I first discovered the menu key it was like discovering a while new world.
hi guys....
quick question... i have a star note a9220... a generic android 4.0 phone... and everytime i set a ringtone from one of the sd cards whenever i access the cards from my pc or just use it to charge my phone it returns everything to default... is there a way to access the root directory so that I can add some better ringtones to the default list??? i dont really want to start messing about with the os... do i need to root it or can i use an app?
cheers peeps!!!
shugs81 said:
hi guys....
quick question... i have a star note a9220... a generic android 4.0 phone... and everytime i set a ringtone from one of the sd cards whenever i access the cards from my pc or just use it to charge my phone it returns everything to default... is there a way to access the root directory so that I can add some better ringtones to the default list??? i dont really want to start messing about with the os... do i need to root it or can i use an app?
cheers peeps!!!
Click to expand...
Click to collapse
To access the root directory or system files, your phone needs to be rooted. I don't think there is any better way than that.
shugs81 said:
hi guys....
quick question... i have a star note a9220... a generic android 4.0 phone... and everytime i set a ringtone from one of the sd cards whenever i access the cards from my pc or just use it to charge my phone it returns everything to default... is there a way to access the root directory so that I can add some better ringtones to the default list??? i dont really want to start messing about with the os... do i need to root it or can i use an app?
Click to expand...
Click to collapse
You can use SuperOneClick to root your device temporarily. The root access survives until reboot. After that your device would become normal. Do this and push your ringtones to relevant location using Root Explorer. Then, reboot.
is there a version of super one click that supports android 4?
otherwise any idea's how to root it while keeping 4.0?
plus any idea's how to install and run stuff from the external card? the way it's set up is 512mb as system 2gb in sd and 16gb "usb" which is my external card... 2gb just isnt enough...
Thanks peeps
shugs81 said:
is there a version of super one click that supports android 4?
otherwise any idea's how to root it while keeping 4.0?
plus any idea's how to install and run stuff from the external card? the way it's set up is 512mb as system 2gb in sd and 16gb "usb" which is my external card... 2gb just isnt enough...
Thanks peeps
Click to expand...
Click to collapse
Rooting doesnt change your android version
It will still be 4.0 after rooting
1 - Just root with superone click
get a free explorer which can access root directories
copy your desired Ringtones and paste them into media/rindtone folder (or where every you rom stores the ringtone)
2 - go to setting, then developement and check Install from unknown sources tick box
then use a Explorer, find the apk files downloaded from internet and install by clicking
3 - 2 GB is more then enough for about 500 apps
i think you'll be good to go for about some time until its become low
that wasn't it...
the "latest" version of super one click from the official site tries to root 2.2/2.3... that's what it says... which was why I was asking if there's a version for 4.0...
and the 2gb thing.... I listen to various podcasts etc and I can't seem to download them onto the 16gb card... it doesn't like it... but that's beside the point...
I have a few apps which came installed natively like docs to go, and fm radio etc which I would like to remove...
I might as well full root it and try to get a blank 4.0 rom.... just need to try to remember how to do it! :s
not sure which 9220 copy you have, just check on this http://forum.xda-developers.com/showthread.php?t=1646544 it has links to other 9220 copies, then find the yours
as I know, the simple way to check is your rom model number to ensure the right rom, patches... to flash
NOTE:
I'm not a developer or something even near to that. I'm a newbie and will be, seems so. All information provided here is copied and compiled from different internet sources. This information is according to best of my knowledge and comprehension and is just for curious souls like me who want to understand things in quite simple words.
I have tested this on different devices. I'll not be responsible for any harm to you or your device. It works perfectly for me. You may try it on your own risk.
Encrypted memory may cause problem in backing up and restoring data. So better decrypt it before proceeding. Or the Recovery should support decryption of /data partition.
WHY YOU NEED TO BACKUP YOUR DATA
For security, in case if device is lost. Read here more about the risks.
If you are going to change your device.
If your device is running out of memory space.
If your device is slowing down or giving random errors and you want a clean start i.e. by factory data reset.
If you are upgrading your Factory Firmware or ROM (OS).
If you are a curious soul like me and interested in experimenting with device.
WHAT TO BACKUP
Backup is a broad term used in many contexts.
PERSONAL DATA
On an android device, backing up personal data like pictures, music, videos, documents, e-books etc. means backing up Internal Memory (/data/media/) and SD card (if you use one). If you have disabled internal memory (D.I.M), your SD Card would be working as Internal Memory.
Personal data might be created by apps (like Camera, Facebook, WhatsApp etc) or imported from internet or other devices by yourself.
APPS & APPS DATA
If you are upgrading your ROM permanently, you might be interested in backing up your apps and their data as well. So that you don't lose important data and don't have to install apps again. System apps are stored in different folders under /system/ while user apps under /data/.
Apps typically store their data in /data/data/ but it's not a rule. Many apps save / backup their data on Internal Memory and/or SD Card as well. That's why you see folders named 'Android', 'data' etc. on Internal Memory and SD Card. Also, there are numerous folders named after app names. These folders may contain Personal Data as well, created by that certain app.
Contacts and messages are also stored in their default apps' data folder i.e. in /data/data/ and are not usually backed up manually.
OPERATING SYSTEM & APPS & APPS DATA
If you are going to install new ROM temporarily, you may want a complete backup so that you don't have to go through the hassle of installing apps and setting up / personalizing your device again. It usually includes /system, /boot and /data partitions.
OS consists of SYSTEM and BOOT. While user apps & apps data is stored in DATA.
PARTITION IMAGES
From a developer's perspective, one may want to backup the whole device partitions, in case if something goes wrong during experimenting.
Read here more about android partitions.
WHERE TO BACKUP
INTERNAL MEMORY (/sdcard) (/storage/sdcard0) (/data/media/0)
This memory can be used to save data if you are not going to wipe / clean it. A Factory Data Reset usually doesn't wipe this but it can. It depends on the device. Similarly, Recoveries usually don't wipe internal memory but you can manually do so. However, formatting /data would certainly erase internal memory. Formatting might be a part of flashable zip if you are going to install new ROM. Flashing Factory Firmware using flasher will also erase internal memory.
EXTERNAL SD CARD (/external_sd) (/storage/sdcard1)
This is a more safer place to save / backup data because it is not wiped unless done manually or accidentally.
PERSONAL COMPUTER (USB Flash drive or Internal / External Hard Disk)
This is the safest place to keep data with abundant space and the least chances of losing / corrupting data.
ONLINE / CLOUD STORAGE
Some apps, including Google offer backing up your data online and auto-synchronizes it. You should certainly avail this option particularly for sensitive and light weight data like contacts, messages, documents, saved passwords, bookmarks, financial transactions etc. WhatsApp also has a good online backup option. You can use apps like Drive, SMS Backup & Restore, FolderSync, KeepSafe etc. to better utilize this option. But technically, this is a limited option.
HOW TO BACKUP
FILE EXPLORER APPS
You can use a file explorer like ES Explorer or Solid Explorer to manually copy files from, say, Internal Memory to SD Card to back it up.
BACKUP APPS
Some default apps have built-in feature to backup data and settings locally and online e.g. GO-SMS, Tasker etc. You can check apps for this feature.
Also, special backup apps like Titanium Backup can backup almost all of your user and system apps and their data. It can also backup contacts, messages, device settings etc. It can create a flashable zip of backed up data to flash through recovery. However, backups from one ROM may not fully work with other ROM's.
CUSTOM RECOVERY
Backing up data when ROM is running isn't safe. When files are being used by OS, they might not be written / read sometimes. So, a custom recovery is the best option to backup/restore data. Custom recoveries (TWRP/CWM) can backup / restore partitions SYSTEM, BOOT and DATA (excluding internal memory) for sure. Some new recoveries offer backing up more (or all) partitions on device. You can choose where to save backup files i.e. Internal Memory or SD Card. Then you can transfer these files to PC as well.
You can also use recovery's File Explorer to copy Internal Memory to SD Card. However, it's a slower process if you have a large number of files to backup.
PC
You can use PC in multiple ways to backup/restore data within device or from/to PC.
First of all, you will often come across different software advertised on net claiming to fully backup your device when connected to PC. They work but are not much useful / reliable according to my experience. Give them a try, if you want to.
Secondly, you can use USB cable to directly connect your device (as MTP in ROM or recovery) to PC or use apps like Wi-Fi File Transfer to wirelessly connect (in ROM) and then explore Internal Memory and SD Card. FTP or SFTP (SSH) server may also be setup on Android to remotely access it from PC if both are on same network.
Thirdly, you can mount SD Card as flash drive (UMS in ROM) or switch off your device, remove SD Card and then insert directly into PC through card reader to manually copy files. This method is faster, to copy large data. However, mounting as UMS in running ROM isn't recommended, particularly if you are using D.I.M. It will crash apps.
In Android 5+ UMS may not be available in USB settings as it has been deprecated in favor of MTP to avoid problems. However, to copy large data from internal SD card is really problematic without direct USB connection. Or what if we need to recover accidentally deleted data from internal memory? We can directly attach internal memory (as in UMS) to PC by a little hacking.
Fourthly and ultimately, like a boss , you can use life saving ADB feature of android to backup/restore your data as well as recovering your device from difficult situations and doing a lot of stuff. It's the best and fastest method to backup Internal Memory to SD Card and then restore (COPY WHOLE FOLDER (within device)). Or you can COPY WHOLE FOLDER (From/To PC) or COPY WHOLE PARTITION IMAGE (within device) or BACKUP / RESTORE APPS & DATA (From/To PC) in seconds.
Read here more about android partitions.
Another application that you can use to backup your phone to computer is Apowersoft Phone Manager. This works greatly in managing your devices plus it make sure that all your files are secured from being corrupted or loss.
doublematteo said:
Another application that you can use to backup your phone to computer is Apowersoft Phone Manager. This works greatly in managing your devices plus it make sure that all your files are secured from being corrupted or loss.
Click to expand...
Click to collapse
I can't determine the efficiency of the Apowersoft tool, but if you want to backup data , this is right way , after the phone data is backuped ,you don't have to worry about the deleted data unable be recovered back ,
The backup files is the best way to recover deleted data from phone
Kindly guide me on restoring app data alone from a nandroid to newer version of an app..
The scenario is that ,I upgraded to a higher android OS but find some of my apps(with no cloud storage),restored from my nandroid ,crashing; probably prompted by the change in OS.
I downloaded the compatible version of the app from playstore,but am clueless how to sync restored app data from nandroid to this version.
DIGVIJAY24 said:
Kindly guide me on restoring app data alone from a nandroid to newer version of an app..
The scenario is that ,I upgraded to a higher android OS but find some of my apps(with no cloud storage),restored from my nandroid ,crashing; probably prompted by the change in OS.
I downloaded the compatible version of the app from playstore,but am clueless how to sync restored app data from nandroid to this version.
Click to expand...
Click to collapse
Would you please mention apps names? Don't uninstall previous version. Just install compatible version over it. It should automatically have previous app data.
The backup program is much simpler than the android recovery program,
I came here looking for the best way to back up my internal storage before activities like flashing a new ROM or firmware. Previously, I'd plug my phone into my PC and just drag and drop the internal storage partition to a folder on my computer, but I'd often have to do it a few times because some file would get hung up, or the phone would randomly disconnect (even though my phone, cables, and computer are all new and high quality).
I'm currently using the TWRP file explorer to copy /sdcard to /external-sd/!InternalBackup, but there is no running log or progress indicator... So, this approach is less than ideal.
I'm still looking for the best method (not necessarily a software that will do it for me) that will do it fast, not get interrupted, and provide good feedback on if it's working and how much longer it will take. (The TWRP method above checks the first 2 criteria, but the 3rd is woefully insufficient.
I'm thinking that the best way to back up the internal SD will be in recovery, otherwise something might be in use and will halt the process.
Any suggestions?
DrPhant0m said:
I came here looking for the best way to back up my internal storage before activities like flashing a new ROM or firmware. Previously, I'd plug my phone into my PC and just drag and drop the internal storage partition to a folder on my computer, but I'd often have to do it a few times because some file would get hung up, or the phone would randomly disconnect (even though my phone, cables, and computer are all new and high quality).
I'm currently using the TWRP file explorer to copy /sdcard to /external-sd/!InternalBackup, but there is no running log or progress indicator... So, this approach is less than ideal.
I'm still looking for the best method (not necessarily a software that will do it for me) that will do it fast, not get interrupted, and provide good feedback on if it's working and how much longer it will take. (The TWRP method above checks the first 2 criteria, but the 3rd is woefully insufficient.
I'm thinking that the best way to back up the internal SD will be in recovery, otherwise something might be in use and will halt the process.
Any suggestions?
Click to expand...
Click to collapse
Commandline solutions are always best. You have better control over them. Use TWRP built-in terminal to run commands.
Simply 'cp' with verbose option "-v" is what fulfills your needs. 'rsync' is better if you want to save time by automatically skipping unchanged existing files. If you want to preserve file attributes and permissions, use 'tar'. Added compression can be achieved by 'xz' or '7za'. All of these commands are stable solutions, with high speed and ability to handle/resume broken/interrupted operations.
TWRP comes with busybox bundled. Busybox utilities have limited functionality and mostly suffice the need but rarely we face unexpected behavior. Instead you can use full static binaries of these commands.
Typing lengthy commands in TWRP shell terminal is somewhat challenging. Either use 'adb shell' or for repeated use, create a shell script and place it in internal memory or SD card. Or you can unpack TWRP image and save script in /sbin directly to run it just as a normal command. Another easy way is to create a flashable zip of your script. This way you can also see progress bar moving if you write a proper script for it.
Hope it helped.
mirfatif said:
Commandline solutions are always best. You have better control over them. Use TWRP built-in terminal to run commands.
Simply 'cp' with verbose option "-v" is what fulfills your needs. 'rsync' is better if you want to save time by automatically skipping unchanged existing files. If you want to preserve file attributes and permissions, use 'tar'. Added compression can be achieved by 'xz' or '7za'. All of these commands are stable solutions, with high speed and ability to handle/resume broken/interrupted operations.
TWRP comes with busybox bundled. Busybox utilities have limited functionality and mostly suffice the need but rarely we face unexpected behavior. Instead you can use full static binaries of these commands.
Typing lengthy commands in TWRP shell terminal is somewhat challenging. Either use 'adb shell' or for repeated use, create a shell script and place it in internal memory or SD card. Or you can unpack TWRP image and save script in /sbin directly to run it just as a normal command. Another easy way is to create a flashable zip of your script. This way you can also see progress bar moving if you write a proper script for it.
Hope it helped.
Click to expand...
Click to collapse
That's a lot of help... But I lack the basic understanding and experience to make use of it all. I'll have to Google it a bit and look at some examples. Thanks!
UPDATE: I did a little research, and I succeeded in using "cp" to do a test move in TWRP (I had to use -r and -v), but even using -v didn't create a progress bar or any indication that files were being moved. It just finished and went to the next new line. Is this expected?
Also... my version of TWRP doesn't seem to have rsync available. When I try to use rsync in TWRP, I get
Code:
sh: rsync: not found
So it seems that TWRP's terminal doesn't have rsync. I'm using TWRP 3.0.2-1
So... I'm currently using the Termux app to do the cp operation. I'd prefer to use rsync, which is supported in Termux, however, unless I do "su" first, it says it doesn't have access to the destination folder. And, when I use "su" I can't use rsync. I get pretty much the same message as when I try to use it in TWRP... something like "rsync not found"
Does this mean that when Termux is using root, it can't use rsync? Does that make sense?
Any help?
Thanks!
DrPhant0m said:
I did a little research, and I succeeded in using "cp" to do a test move in TWRP (I had to use -r and -v), but even using -v didn't create a progress bar or any indication that files were being moved. It just finished and went to the next new line. Is this expected?
Click to expand...
Click to collapse
'cp -r' copies recursively i.e. files/directories under directories and so on. So it's definitely required if you want to copy directories. 'cp -v' shows each file which is being copied, but not the progress during a single file copying. Check 'cp --help' for options.
Also... my version of TWRP doesn't seem to have rsync available. When I try to use rsync in TWRP, I get
Code:
sh: rsync: not found
So it seems that TWRP's terminal doesn't have rsync. I'm using TWRP 3.0.2-1
Click to expand...
Click to collapse
TWRP uses busybox which doesn't have rsync built-in. You can get a copy of static (independently working) rsync binary from many sources like this. Aarch64 will be a bit faster. Check 'getrpop | grep ro.product.cpu' to find your CPU architecture if it's 64-bit or 32. When in TWRP, place binary in /sbin directory. Then do 'chmod 0777 /sbin/rsync' to make it executable. Now you can use rsync. 'rsync --help' will show you options and basic help. Do note, /sbin is on volatile filesystem i.e. it will be gone on reboot. Don't expect it to be permanently there. You can also use rsync from other locations like sd card but that will need to call binary with full path and filesystem may put restrictions on execution.
So... I'm currently using the Termux app to do the cp operation. I'd prefer to use rsync, which is supported in Termux, however, unless I do "su" first, it says it doesn't have access to the destination folder. And, when I use "su" I can't use rsync. I get pretty much the same message as when I try to use it in TWRP... something like "rsync not found"
Does this mean that when Termux is using root, it can't use rsync? Does that make sense?
Click to expand...
Click to collapse
It's expected. When we do 'su' on Termux, it's environment is gone and PATH is set to /system/bin etc. So any binaries which Termux downloaded to /data/data/com.termux/files/usr/bin won't work. There are better options, but easiest is to use 'tsu' instead of 'su' on Termux. It will handle things for you to run Termux binaries in superuser mode. Do 'apt install tsu' when connected to internet. Once installed, simply execute 'tsu'. Now you can use Termux rsync binary.
Or use rsync static bianry instead as explained above. Copy rsync to /system/bin/ or /system/xbin/ etc. and set permissions. SELinux may interfere if it's set to "Enforcing". Do 'getenforce' to check and 'setenforce 0' to set it "Permissive".
DrPhant0m said:
That's a lot of help... But I lack the basic understanding and experience to make use of it all. I'll have to Google it a bit and look at some examples. Thanks!
UPDATE: I did a little research, and I succeeded in using "cp" to do a test move in TWRP (I had to use -r and -v), but even using -v didn't create a progress bar or any indication that files were being moved. It just finished and went to the next new line. Is this expected?
Also... my version of TWRP doesn't seem to have rsync available. When I try to use rsync in TWRP, I get
So it seems that TWRP's terminal doesn't have rsync. I'm using TWRP 3.0.2-1
So... I'm currently using the Termux app to do the cp operation. I'd prefer to use rsync, which is supported in Termux, however, unless I do "su" first, it says it doesn't have access to the destination folder. And, when I use "su" I can't use rsync. I get pretty much the same message as when I try to use it in TWRP... something like "rsync not found"
Does this mean that when Termux is using root, it can't use rsync? Does that make sense?
Any help?
Thanks!
Click to expand...
Click to collapse
This reply is probably a bit late for you, but...
If you install tsu (pkg install tsu) in TermUX and use tsu rather than su, it'll work.
Tsu sets up the runtime context for su properly.
Sent from my OnePlus3T using XDA Labs
BillGoss said:
This reply is probably a bit late for you, but...
If you install tsu (pkg install tsu) in TermUX and use tsu rather than su, it'll work.
Tsu sets up the runtime context for su properly.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Hey, it's never too late to refine your backup strategy. Thanks for letting me know.
I installed tsu in Termux, and when it finished, I tried to use rsync with su, and got the same "rsync: not found" error. Please see the following output, with my entries in Bold[/B].
Code:
$ [B]pkg install tsu[/B]
[COLOR="Gray"][I]~~
~~[LOTS OF LINES DETAILING THE INSTALLATION OF TSU]~~
~~[/I][/COLOR]
Setting up tsu (1.1)...
$ [B]su[/B]
elsa:/data/data/com.termux/files/home # [B]rsync[/B]
sh: rsync: not found
127|elsa:/data/data/com.termux/files/home #
*** Though I did enjoy watching the movie with my son, I did not pick the name Elsa for my device. That's just what LG called the carrier-free V20, Model US996.
Am I doing something wrong? To be clear.. I just did "rsync" without any commands/switches to see if it would produce the help info. I knew it wouldn't actually attempt to copy anything.
DrPhant0m said:
Hey, it's never too late to refine your backup strategy. Thanks for letting me know.
I installed tsu in Termux, and when it finished, I tried to use rsync with su, and got the same "rsync: not found" error. Please see the following output, with my entries in Bold[/B].
*** Though I did enjoy watching the movie with my son, I did not pick the name Elsa for my device. That's just what LG called the carrier-free V20, Model US996.
Am I doing something wrong? To be clear.. I just did "rsync" without any commands/switches to see if it would produce the help info. I knew it wouldn't actually attempt to copy anything.
Click to expand...
Click to collapse
Lol! You missed the key point: use tsu instead of su.
Instead of typing "su", type "tsu".
But don't take it too hard - I did the same thing when I first started.
Sent from my OnePlus3T using XDA Labs
Got it. Worked just fine. Thanks!
DrPhant0m said:
I installed tsu in Termux, and when it finished, I tried to use rsync with su, and got the same "rsync: not found" error. Please see the following output, with my entries in Bold[/B].
Click to expand...
Click to collapse
I mentioned to use 'tsu' instead of 'su' but probably you missed that.
mirfatif said:
When we do 'su' on Termux, it's environment is gone and PATH is set to /system/bin etc. So any binaries which Termux downloaded to /data/data/com.termux/files/usr/bin won't work. There are better options, but easiest is to use 'tsu' instead of 'su' on Termux. It will handle things for you to run Termux binaries in superuser mode. Do 'apt install tsu' when connected to internet. Once installed, simply execute 'tsu'. Now you can use Termux rsync binary.
Click to expand...
Click to collapse
/data/data/com.termux/files/bin/tsu is just a wrapper i.e. a shell script that sets environment variables for Termux and then executes 'su'.
mirfatif said:
I mentioned to use 'tsu' instead of 'su' but probably you missed that.
/data/data/com.termux/files/bin/tsu is just a wrapper i.e. a shell script that sets environment variables for Termux and then executes 'su'.
Click to expand...
Click to collapse
I see it now. I gave a thanks, though admittedly late. Sorry!
Is backup feasible when sd external card has been mounted extending the internal storage (Android 6.0), working as internal storage as well?
Can some expert comment on this, just not to go crazy for nothing. I don't want to upgrade with last rom by manufacturer and lose my data.
I have ADB , fastboot and usb drivers, but trying and use Helium backup I was unable to pair, even though the phone is connected (I can select onscreen for instance PTP or usb storage, tried both, nothing).
Not even sure about nandroid backup also.
HeyRicardo said:
Is backup feasible when sd external card has been mounted extending the internal storage (Android 6.0), working as internal storage as well?
Can some expert comment on this, just not to go crazy for nothing. I don't want to upgrade with last rom by manufacturer and lose my data.
I have ADB , fastboot and usb drivers, but trying and use Helium backup I was unable to pair, even though the phone is connected (I can select onscreen for instance PTP or usb storage, tried both, nothing).
Not even sure about nandroid backup also.
Click to expand...
Click to collapse
Yes it's feasible but depends on what, how and where you want to backup.
mirfatif said:
Yes it's feasible but depends on what, how and where you want to backup.
Click to expand...
Click to collapse
Any solution is fine to me, I just want to be able to restore apps and launcher (Nova launcher prime) with icons arranged as they are, without having to start all over from scratch.
Other data are on the cloud, so if I can possibly backup some folder (from phone or sd card, if the difference matter in my case) good, or I'll take care of it in advance.
Just having the phone upgraded but not reset from the beginning.
If necessary I can try rooting it. Thx for replying.
how to use a twrp data backup for oder rom?