Related
I have a problem when trying to change the lock screen sound in MIUI XJ 1.2.25.
I can copy the new lock sound to /system/media/audio/ui allright, everything seems fine.. But when i reboot, the sound (and all the files) go back to before i copied the new sound(s)..
I'm thinking it might be a "signing" problem, but i'm completely lost in how to do this... So a step by step guide would be nice, as i'm rather new to this whole rooting business
Been using root explorer and/or adb to push the files.
(Btw, when i try to change permissions for the new sound file, nothing happens after i click "ok" in roote explorer.. Any ideas?)
Oh, my device is a HTC Desire
Thanks!
Of you are S-ON, that's your problem. You must push the files via ADB, while in recovery to make them stay there after reboot.
Sent from my customized HTC Desire using TTP
Ok, I know i'm S-On.. I tried pushing the files via adb, which worked fine, but after reboot things were back to normal.. I tried to install a soundpack from a zip (via recovery), that worked well, the sounds didn't revert back to the original. But when i tried to do it manually, things get screwed up
Perhaps the zip file change some settings somewhere that i don't know of?
Guess i'll go S-off then, then i can also change the splash screen
-------
After some more research, i now understand that the soundpack zip-file i installed must have been signed, to pass the HTC security feature...thing.. Thus being able to install new system sounds without the phone reverting back to the original.. Isn't that right?
As I said, files remain there if you flash via ADB while in the custom RECOVERY! Not while the phone is booted & running. At least for me it's working.
Yeah i tried that, but with same result..
Actually, the reason i used adb in pushed the files while in recovery mode, was because i had some issues when using root explorer on the phone.
Sometimes (but not everytime!!?) i couldn't copy/paste the files from my SD card and into the system, it gave me a message about not having enough free space. Which was complpetely wrong, as i generally had about 90-100mb free space. And nothing would happen when i tried changing permissions on the files either.. I read some where that updating busybox could fix the problem with the free space issue, so i did.. Then i could copy the files, but then they wouldn't show up in the destination folder.. Really weird.. So i thought adb was the way to go..
As said, everything went fine until reboot. the files i pushed would still be there, but the originals would have come back too. Meaning i'd have 2 files with the same name, but different sizes, dates and permissions..
It makes much sense with the security feature, as you say..
I'm seriously considering to try an S-off procedure, to get full root and full control
Well then IDK, if I remove a file then push the version I want -it always stay there (via ADB in Recovery).
That's why I never tried S-Off, since I don't need resizing the NAND partitions, and copying to system via ADB always works.
Got tired of experimenting with this, so i made my phone S-off using Virtualbox method. Now everything works perfect!
I can change files and permissions in the system partition and everythings stays as i leave it when rebooting
Somehow the phone boots way faster now ?? But certainly welcome!
Thankyou for your replies
Hi guys, I was wondering if you could help me out something a little weird. My phone's LCD is broken but the digitizer works, so I can still sorta use it, but I can't see anything I'm doing. A new incredible is on the way from eBay, so I was hoping to just flash my recoveries from the old phone to the new one and be done with it (is that possible, btw?).
However, since I can't see the screen at all, I was hoping one of you guys would post the exact steps (number of clicks or whatever) to get to the nandroid option and navigation of the menus in the latest clockwork recovery version.
Thanks in advance
sd card
The nandroids are in the sd card you can just take the sd card out and place it in your new incredible or put your sd card in your pc/laptop and put the nandroid backups there and then move them to your new phones sd card.
Thanks for the clarification, but what I guess I meant was that I'd like to do a nandroid backup of the phone right now because I've received texts/calls etc. and still want to see them, so I was hoping you could just post the exact steps to nandroid backup (after getting into HBOOT) so that I can do it "blind."
If you're going the route of restoring nandroids from your old phone onto the new one, be sure to destroy your old phone. Do not sell it or give it away, as both phones will share the same android_ID.
Yeah, since I can't see the screen, there's no real way for me to wipe it; I'm probably just gonna hang on to it for parts; thanks for the heads up
This is for CWM 2.5.1.2
I am not responsible if you mess up your phone. Directions may be different for another version of CWM
Once in recovery press Volume Down 5 times - this will put you over "-backup and restore" menu. Press joystick button to enter it.
Now "Backup" is already selected as a current menu item. Press Joystick button again and backup will start. Took about 6 minutes. I don't have a lot of app/data to backup
Let us know if it worked. Just a thought: if you don't know what version of CWM you have you may still be able to run a remote shell using Android SDK. From there you can try browsing files or smth like that - not sure how to actually find the CWM version this way or if it is even possible.
Ok, trying out the steps now, kinda hard to do it blind
But I appreciate it, and I'll check the SD card to see if the backup is made, thanks!
Also, about remote shell to browse files, I think I'm a bit too inexperienced with the SDK itself to try, but I may look it up if nandroid doesn't work.
Meemat said:
Ok, trying out the steps now, kinda hard to do it blind
But I appreciate it, and I'll check the SD card to see if the backup is made, thanks!
Also, about remote shell to browse files, I think I'm a bit too inexperienced with the SDK itself to try, but I may look it up if nandroid doesn't work.
Click to expand...
Click to collapse
If you get to remote shell I don't know how useful it can be for backup/restore purposes unless CWM has some kind of command line interface to run backup (I wouldn't be surprised if it does).
OK, so I tried it a bunch of times, but I suspect that I'm maybe moving the selector before getting to nandroid/backup in the recovery screen, or perhaps it's because I know I'm on at least clockwork recovery 3, and maybe stuff has moved around :/
Also, I looked around for ADB nandroid methods, and it only seems to show ways to restore backups, but not ways to create them :/ Oh well...
EDIT: I later got it to work using the steps mentioned, but I had forgotten that it goes into HBOOT then CWM recovery...editing so people read that it works.
Meemat said:
OK, so I tried it a bunch of times, but I suspect that I'm maybe moving the selector before getting to nandroid/backup in the recovery screen, or perhaps it's because I know I'm on at least clockwork recovery 3, and maybe stuff has moved around :/
Also, I looked around for ADB nandroid methods, and it only seems to show ways to restore backups, but not ways to create them :/ Oh well...
Click to expand...
Click to collapse
Well maybe someone else can give instructions for later versions?
About adb: if you have some really important information on your phone it may help you get it off the phone, not necessarily to restore on the new phone but at least to view it. In a nutshell you can retrieve any file from your phone but you may need to mount /system and /data folders manually to access files there. From what I understand a lot of Android applications use standard Android storage which is some kind of database (I think some lite version of SQL). Once you get them off your phone you may be able to open them in other application. You just need to figure out what files you need.
Another option is get this phone fixed (screen replaced) but I am sure you thought about this already.
ClockworkMod. 3.0.0.8 Instructions
Not responsible if you mess your phone more than it already is...
Once in CMR press Volum - 5 times and you will be in Backup and Restore option
Then press the Optical Joystick
That would take you to backup Option
Finally press the Optical Joystick one more time and that will start the backup...
Hope it helps.. after just check your sd card and see if it was created...
Okay you guys, so it actually worked, thanks so much! The trick was that it boots into HBOOT first and not recovery, so I was just missing that. Once I got my replacement, I just did the steps (the same actually, for both versions) and it worked finally.
Again, I really appreciate it you guys!
I have been trying for the life of me to figure out the way, or if it's possible to keep progress from the game when updating or switching roms. As of now, Titanium Backup doesn't work, or does saving the data/game files and transferring them. Once you try to do either, it says that your unauthorized. Then you have to start fresh and re-download the 2 million gig game and files. I contacted firemonkey and they said rooted devices aren't supported. Don't remember seeing that on play, and it should be. Regardless, I paid for the game.....why am I not authorized to continue progress, and forced to start over from scratch when the newest version of pie is out? There has to be a way to keep progress....?:fingers-crossed:
I'm not sure how much this will help you but maybe it will be what you are looking for:
I recently had a problem where NFS:WM would crash on startup, and apparently the only thing to do (according to firemonkey) is just clear data and lose all progress. Having almost completed everything, I wasn't having any of that.
I'm not rooted but do have my bootloader unlocked so that I can fastboot TWRP to do backups, which also happens to give me root access when booted into TWRP. I made a backup and looked through it to try and and a problem. No luck there, but I did figure out that the game progress is stored in a single file. No config data or anything as far as I can tell, just the progress. So I cleared the data, ran the game through the first level, then copied that old progress file over the new one and I had it back up and going with all progress intact. It's basically a clean install, and since all of the config data is still part of the new install, it didn't cause me any problems.
I did download all of the game data again ultimately, however. But an earlier test of saving "/sdcard/Android/data/com.ea.games.nfs13_na/" and putting it back to avoid the download did work, although it could have been a fluke.
Anyway the file in question is "/data/data/com.ea.games.nfs13_na/files/var/nfstr_save.sb". Just save that one file, install the game from scratch otherwise, run it the first time, then copy that saved progress file over the new one. Assuming that there isn't anything else going on that I didn't find, that should solve your problem.
mtrs said:
I'm not sure how much this will help you but maybe it will be what you are looking for:
I recently had a problem where NFS:WM would crash on startup, and apparently the only thing to do (according to firemonkey) is just clear data and lose all progress. Having almost completed everything, I wasn't having any of that.
I'm not rooted but do have my bootloader unlocked so that I can fastboot TWRP to do backups, which also happens to give me root access when booted into TWRP. I made a backup and looked through it to try and and a problem. No luck there, but I did figure out that the game progress is stored in a single file. No config data or anything as far as I can tell, just the progress. So I cleared the data, ran the game through the first level, then copied that old progress file over the new one and I had it back up and going with all progress intact. It's basically a clean install, and since all of the config data is still part of the new install, it didn't cause me any problems.
I did download all of the game data again ultimately, however. But an earlier test of saving "/sdcard/Android/data/com.ea.games.nfs13_na/" and putting it back to avoid the download did work, although it could have been a fluke.
Anyway the file in question is "/data/data/com.ea.games.nfs13_na/files/var/nfstr_save.sb". Just save that one file, install the game from scratch otherwise, run it the first time, then copy that saved progress file over the new one. Assuming that there isn't anything else going on that I didn't find, that should solve your problem.
Click to expand...
Click to collapse
Awesome. I'll give this a try. :good:
I use MyBackup Pro. I backed up the data and apk from my Nexus and transfered it to me Evo LTE. I restored the apk and data. It does prompt me to reinstall the other game data, which is fine with me. I found if I tried to copy it from one device to the other it would cause the game to crash randomly
Sent from my Nexus 7 using Tapatalk 2
most likely because of the device id (which is the id you see when you type "adb devices" in a command prompt). it's supposed to stay constant in the lifetime of the device (except for factory reset)
This is what happened:
My device was rooted with Framaroot. I had SManager installed and using apps2sd to swap my internal memory with the SD card.
I ran Fable Kingdom (a game) but still had power saving activated.
The game loaded, but when in-game I was presented with a black screen. I could still hear the game sounds, but the home, menu, and back buttons were unresponsive.
So I held down the power button untill the device restarted.
But within 10 - 20 seconds after the home screen appearing the device would freeze, becoming completely unresponsive for a couple of minutes and then it would reboot.
At first I thought this happened because of SManager, because it froze just as SManager was loaded.
I managed to boot into safe mode (which disables all 3rd party apps) and uninstalled SManager.
Didn't help.
I ran check disk on the SD card on my desktop computer. It found errors and fixed them. Still didn't help.
I then uninstalled all the apps I thought could be running at the time I forced my device to reset: Fable Kingdom, Whatsapp, Taskbar 7, Snap Pad, all to no avail.
I then had a look and manually deleted the data folders for those apps on the SD card because uninstalling them wasn't deleting them (because apps2sd was no longer being loaded?)
Still didn't help.
I'm now thinking a factory reset and formatting of the SD card (i.e. starting from scratch) is my only option. I only wish I could backup the apps I've installed in the last two months since my last Titanium Backup... But as safe mode disables all 3rd party apps, I don't know how to do that?
Any help or advice on what I can do would be greatly appreciated.
You could boot into stock recovery and see if it tells you whether your data partition is corrupt/unable to be mounted. If so, you probably have only the factory reset option (from stock recovery) to fix it.
If the system partition is corrupt, it would need an odin flash to fix, but unless you have an original (old) stock rom for your device, you may lose the ability to use framaroot, as newer roms fixed the exploit.
Having had similar scenarios to what you describe on various devices is why I abandoned incremental or application backups, and only use nandroid (cwm or twrp) backups, so that the backup is of almost the whole device at a point in time.
Sorry for the slow reply, i'm actually trying to move house in and amongst all this.
Ok so I booted into stock recovery. Where will it tell me if my data partition is corrupt?
It looks like this:
Android system recovery <3e>
Volume up/down to move highlight:
power button to select.
reboot system now
apply update from ADB
apply update from external storage
wipe data/factory reset
wipe cache partition
apply update from cache
______________________________________
# MANUAL MODE #
-- Applying Multi-CSC...
Applied the CSC-code : XFA
Successfully applied multi-CSC
Click to expand...
Click to collapse
Where do I go from here?
According to civato in this thread http://forum.xda-developers.com/showthread.php?p=42802094, it told him as he entered stock recovery, so I guess your data partition is not corrupt.
You could try factory reset and see if it clears the problem,
Your next step would be to search for your appropriate stock firmware and odin and flash back to stock (and you may need to do the factory reset after that as well if you still can't boot). Sammobile has most of the available firmwares, tools, and instructions, also some of threads here at xda note8. Search, read and understand if you have not used odin before.
Another option is to return back to factory using Kies, but I have never tried this, again you would need to do some research (or wait for other suggestions here).
Good luck!
I have no doubt a factory reset will solve the problem, after all... I can still boot into safe mode, which is pretty much exactly what my device would be like after a factory reset.
I'm not ready to do that though. I still have hope I can identify what is causing my device to freeze 20 seconds after my device has booted into the os, and has started loading apps.
Does anyone know if there is a file that stores which apps are loaded and in what order every time the device is restarted?
If I could read that, I could either modify the file not to load certain apps, or uninstall them one by one.
My main issue is that since my last Titanium Backup, I have installed Horn, Max Payne, and Dark Meadow.
All huge downloads that cost me a fair amount of money (i use cell data. I don't have broadband or free WiFi).
If I were to copy the contents of my SD card, format it, then factory reset my device... Then would I be able to recopy back the data folders to avoid repeating those huge downloads? Or is it hopeless unless I manage to back them up with Titanium?
I am very out of practice on my -ix stuff. But if you are rooted can't you open or install if needed a shell so you can just manually check what processes are running? Hope that is not too simplistic a suggestion but my last exposure that that sort of thing was my old Nokia N800 internet tablet.
Sans that what about once in safe more heading into the APPS list and clearing the cache on your installed apps. If that fails then take a swipe at the built-in stuff. Or does a cold-boot basically do this very thing?
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
How will I be able to download and install a shell and then run it in under 20 seconds?
All that booting into safe mode does is disable all 3rd party apps, so I know for a fact there is no problem with any of the built in stuff.
I'll try clearing the cache if I can find that option when I get a chance - probably this evening.
Thanks for the suggestions.
FaeMinx said:
How will I be able to download and install a shell and then run it in under 20 seconds?
All that booting into safe mode does is disable all 3rd party apps, so I know for a fact there is no problem with any of the built in stuff.
I'll try clearing the cache if I can find that option when I get a chance - probably this evening.
Thanks for the suggestions.
Click to expand...
Click to collapse
oh geeze you're right, didn't think that through. I was thinking you were stable with safe mode boot.
My tf700t went into a spontaneous bootloop mode a couple weeks ago. The only fix I had was a factory reset.
good luck, looking forward to your solution.
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
We're probably misunderstanding each other somehow.
I *am* stable with a safe mode boot...
Are you saying I can install apps (i.e. a shell) in safe mode?
FaeMinx said:
We're probably misunderstanding each other somehow.
I *am* stable with a safe mode boot...
Are you saying I can install apps (i.e. a shell) in safe mode?
Click to expand...
Click to collapse
Naw I'm just being dense of late. Sorry for that...been a long past week at and maybe I'm not tracking cleanly tonight.
You are correct you can't add apps in safe mode. I would have sworn you could but I just tried it with my tablet and nope no chance. Sure would be helpful for sure.
What about connecting to your PC as a storage device so you can snoop around the file system a bit to see what you can screw with even more? hehehe...I know you didn't cause this I'm just being a bit goofy.
If you can connect to your PC via USB is it possible to reup the kernal? Maybe that could refresh the system...then again don't want you to brick your tab so consider it only if you are sure it's safe enough.
I'm just throwing out ideas to see if it shakes something loose for you.
Oh, there was something we can try with our Transformers to try to stop the boot loops...it had something to do with booting while cabled to the PC via USB or something like that. Was not an option for me as I had no PC handy when my started looping. But worth a try maybe? Only works here and there but it supposedly did for a few folks.
Sent from my ASUS Transformer Pad TF700T using Tapatalk HD
Hello,
I have had my HTC One M8 for a while now but I wasn't really happy with the soundquality while playing through my headphones, so I looked for ways to improve it. I found a few methods and finally decided to give it a try. These methods require a root so yesterday I have rooted my phone for the first time. Unfortunately I am experiencing some problems now.
The rooting process went without too much trouble. I used hasoon2000's toolkit and have TWRP version 2.7.0.2 installed as recovery and used it to install the provided SuperSU, which didn't work at first. On the forums I found a newer version and installed that one, updated it and got it to work.
Now this is where I think I messed up: I read somewhere that when rooted, you are able to delete pre-installed apps from the phone. I downloaded SD maid and deleted Kid Mode, Zoe and 7digital. When I deleted Kid Mode I got an error saying it has crashed. I tapped away the error but from this point I couldn't go back to my homescreen anymore because my launcher kept crashing (com.htc.launcher crashed). I rebooted the phone and the launcher worked again, but the phone still seemed to be buggy.
After this I tried to install the snapdragon audio+ (this was my first choice for an equalizer). I downloaded the apk and moved it to the system folder using ES file manager. I installed but when I tried to use it (through settings in google play music app) my phone would crash. I uninstalled it and tried again, but when I tried to move the apk to the system map like before, my phone would crash everytime. I then found out the file I used doesn't work for lollipop so I figured that's what caused the crashes.
My next move was to try and install viper4android. I downloaded it from the Play Store and opened it. It told me it needed an installation of BusyBox so I downloaded that too. But when I opened the BusyBox app and clicked install my phone would crash again. After some searching I found that the HTC One M8 requires BusyBox to be flashed manually so I downloaded the file but when I tried to load it onto my phone I noticed this wasn't possible anymore.
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
I have tried to reset the phone through settings, wipe with TWRP and fix permissions with TWRP. I also tried reinstalling Sync Manager and the drivers on my PC. What I'm thinking now is I maybe have done something wrong in the ES file explorer that would make the folders unaccessible.
My phone is running stock android 5.0.1 and my PC Windows 7 64-bit.
I hope someone can help me, Thanks.
P.S: Sorry for the long post, I figured I'd give as much info as possible.
@Steef076 First update recovery to the latest one (2.8.6.0)
Second if you go and delete vital or integrated parts of the stock rom you will get a lot of bugs. Third, viper4android requires to write system and you can't write system with the stock kernel, you need an unsecured kernel or unsecure it yourself.
10GB is right since 6 is eaten by android. At this point I would just revert to a backup or install any custom rom around here. Most are close to stock and with no bloatware and come with root. You can even clean them further using a tool called ROM Cleaner. It will most likely solve all your problems
Did the deleted system apps reappear after reboot, or do they remain "uninstalled"? If the system is write protected like TempestZ states, any deleted system apps should reappear after a reboot.
Revert your nandroid to restore the system apps. And you didn't make a nandroid, you really should before making any system modifications for the very reason that it allows you to revert if you run into problems.
Another good practice, is if you don't know what effect deleting a system app will have (such as "safe to delete" lists that can sometimes be found on XDA) you should first freeze the app with Titanium Backup. If freezing doesn't cause any issues, then go ahead and delete. If you do have issues, just unfreeze the app.
Steef076 said:
Now when I connect my phone to my PC the PC recognizes it, but when I open the map in Windows Explorer it only shows three maps; .showme, _nero_sync and Ringtones. I know there should be more as they were there before. It also shows my phone's capacity as a total of 10GB (shouldn't this be 16GB?). Also when I try to connect it with Sync Manager it gives me an error everytime I reconnect the phone; Device unavailable. Please reconnect your device [4].
Click to expand...
Click to collapse
No, Windows will never show 16 GB. It only shows "internal storage" partition, or the user accessible portion of the storage. A good chunk is reserved for the OS.
Does what is shown in Windows differ from what is shown in ES if you browse to internal storage?
Thanks for the replies. @TempestZ @redpoint73
First of all I managed to update twrp to 2.8.6.0 using adb/fastboot.
To answer your question @redpoint73 the system apps I had deleted indeed reappeared after reboot. Also I didn't make a nandroid before I deleted the files, as I did not even know this was possible. Now I have made a nandroid of my stock ROM that is working decently, except for the TV app keeps crashing (I'm not opening it) and the connection to the PC is not working properly (not sure if this is ROM based?). I have noticed when the phone is in recovery I CAN see the folders through windows explorer. HTC sync manager still doesn't find it though. I am working on finding a proper stock ROM or maybe flash a custom one to see if that will fix it.
I understand now that the OS is taking up the storage space. The space windows is showing is the same as ES file manager so I guess this is fine.
HTC Sync is a hot mess. It often causes more troubles than it solves.
One thing you can try (to see if it fixes the USB connectivity) is uninstall HTC Sync and all HTC drivers. Than connect the phone. Don't let it install HTC Sync. Go to Windows Device Manager, find the device. Then pick the option to manually select the drivers, and pick the generic "Android MTP device" (or something to that effect) drivers.
This doesn't work for everyone. But it worked for me to be able to "see" the internal storage of my M8 on my home PC (Win 7). Annoyingly, it seems to vary from one PC to another. My work laptop (also Win 7) works fine with HTC Sync.
Steef076 said:
So if I understand correctly, 'version-main' is the same as 'firmware' and 'software number' (found in settings)? If so, my current firmware seems to be 4.19.114.2.
Now, what you're saying is I should do an OTA but this isn't possible because I have a custom recovery right?
Also, when I want to flash stock rom and stock recovery or do a nand don't I need the files that fit my cidnum? How would your file work for me?
Click to expand...
Click to collapse
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
ckpv5 said:
If yours already on 4.19.114.2 then no need to do OTA as that the latest.
and my backup will bring back your device back to stock as you first bought it when restore with a full wipe.
Try to solve your problem first, only when you really need the backup then only I will upload ... let me know
Click to expand...
Click to collapse
Hello, sorry for the late reply.
I have decided to give a custom ROM a try. I now have ARHD 41.0 installed and it seems this took care of my problems. All the maps are showing in windows explorer and HTC sync manager is connecting properly with my phone again. Also no more crashing apps. Your backup would still be of much use for me as I am not sure I want to stick with a custom ROM and therefore would like to have a stock ROM backup.
Thanks in advance.