Fix a TMAX/APEX TM9S775 replace factory files - Android Q&A, Help & Troubleshooting

I have this TM9S775 tablet. In fact I have two. I figured out how to root it and I think I have access to its base files. It seems that its factory files might be corrupted (before I started tinkering). It starts crashing, apps stop working. Factory reset seems to have issues. Can I copy factory files from one to the other and then reinstall? Which files in which folders? Its a 4.1.1
thanks

lost cause
Well, now the factory reset appears to no longer functioning and at boot up it gets stuck in the startup screen, so I think it is a brick unless I can replace the files from the SD card.

Related

[Q] Multiple issues booting - Strange issues - NEED HELP

VEGAn RC1 Ginger Edition was loaded and working fine for almost two weeks.
Then I powered up and it would get stuck on the G-TABDEVs splash screen.....
Here is what I can do:
I can power up and the tab will go past the viewsonic birds screen to the next splash screen (G-TABDEVS) and will stay there indefinately.
I can power up into Clockworkmod 2.5.1.1. 0.8 (all soft buttons work and I can scroll through the choices with the vol switch just fine)
I can wipe cache partition
I can apply sd card:update.zip (only because I still have VEGAn RC1 GE .zip on my device)
I can mount the USB drive (drive is recognised on my computer running win XP)
I can apply NVflash to the device (did this to get access to CWM by changing part #9)
What I can't do:
I can not transfer large files files from my computer to the tablet (I can make a directory and transfer small files only maybe 100 kb or less) Any time I try to transfer a larger file (a ROM or other) I get an I/O error.
I can not partition the SD card (internal storage),
Wide data/factory reset,
Wipe Delvik cache,
it just hangs indefinately with each of the above.
I have spent counless hours searching through all the great information on XDA and can not find any instance like mine.
I don't think it has been bricked because of what I still can access, although there still seems to be something "limiting" my actions.
Has anyone experienced this? and more importantly.... Can anyone HELP????
you can boot into clockwork but cant use the factory reset option there? if its hanging how long did you let it wait? id try a reset and let it sit for 5-10 mins to see if its really doing something or just mucking around.
you make a restore file (backup of your previously installed rom on your tablet)?
if the rom is still on your tablet try reinstalling it. then after installing try factory reset before rebooting. if you cant reset try reboot then reset.
the G-Tabdevs screen staying there indefinitely is because it needs to be reset. so you just have to figure out how to reset it.
Great! I totally did not realize that it took that long to reset. I will try that later tonight and post my results.
OK, I tried using "wipe data/factory reset" and it just hung. I let it sit for 20 minutes (just in case).
Then tried "partition SD card (2048,0) and let it run, again for 20 minutes and it just hung.
Still very frustrated.
What are my options at this point?
I need to follow this thread b/c I have the same problem. Last night shut down fine and this morning went to power back on and I get the birds and then it gets stuck in the next load screen. I reinstalled update.zip but no dice. Any ideas?
Make sure all the partition are active, wipe dalvik, try reflashing the same rom over and fix permission
For such strange issue you can alway use the nvflash format utility but not before having performed an nvflash backup then use bekit images to bring back the tablet to life. You can also make a clockwork backup
Backup http://forum.xda-developers.com/showthread.php?t=1010659 (if something goes really wrong it can help, the .bct is what you want to keep at least)
Be warned that backup may have issue if you got flash bad block, this is not a critical issue
Format http://forum.xda-developers.com/showthread.php?t=974422
Restore http://forum.xda-developers.com/showthread.php?t=861950
make sure you follow instruction
This thread has link to everything!
http://forum.xda-developers.com/showthread.php?t=1026660
Keep in mind that NVFLASH only restore or erase about 300MB of the 2GB out of the 16GB you can write to.
This is in no way a FULL tablet reset. It is however a dangerous tool above application are tested and proven, some older thread may have nvflash command that can be dangerous.
That is great information.
I have used the format flash, then Nvflash.
flashes work fine, but same issue. Stuck at G-tablet splash screen.
I still can not load update.zip because I can not transfer any large files to the tab when it is mounted.
Any time I try and transfer a file greater than about 100k I get an error that states "can not copy file due to an I/O error"
Really disheartening........

Non-booting SII with CM 7.1

As of yesterday, my CM7.1 phone won't boot - it gets stuck at the "rotating arrow" blue Android for ever. It's a Samsung Galaxy S II GT-9100.
I have been running CM 7.1.0 for several happy months now, and haven't tried to install or upgrade my ROM. The last action I took before this happened is that I made a full system backup (using CWM 5.0.2.6).
That backup is present on the internal memory. I can boot into recovery, mount drives and access devices using adb shell. So I do have an opportunity to fix what's broken, if I can work out what it is.
Given that the last thing I did was a backup, I checked to see if any of the partitions were full, but none are. (None is more than 42% full according to df; although strangely, df does not show any partition mounted on /.) I tried making another backup, watching carefully - that worked fine. I tried restoring the first backup - no improvement.
I've also tried wiping everything Recovery allows me to that's non data-destructive - cache, Dalvik cache etc. It hasn't helped.
How do I work out what's wrong? Is there a boot log file anywhere which might give me a clue as to what is wrong? I've searched for "*.log" but can't find anything obvious.
I don't want to do a factory wipe if I can avoid it, because obviously that will lose all my data. If I do a factory wipe and restore just the data partition, does that put me pretty much back where I was? If so, how do I restore just the data partition? The Restore option in CWM Recovery seems to do full backups only, and only from a particular directory.
The original CM and Google Apps zips are still on the internal SD (same versions as are currently not working). Would it be worth trying to reinstall those, without wiping? Or would that be data-destructive?
Any other ideas?
Thanks!
Gerv
SOLVED - remove 0-byte data/system/profiles.xml
I tried doing a full factory reset from Recovery. This got the phone booting again, but without any of my data . Fortunately, ClockWorkMod has a "partial backup restore" function. I restored the data partition... and the phone stopped booting again.
So this is progress. I now had some idea where the problem lay. I finally found it using a laborious 5-minutes-per-cycle manual bisection technique. Delete half the stuff on the data partition, reboot, if it still fails, delete more, reboot... once you get it to boot, restore the data partition, narrow it down further. Once you find a top-level directory, repeat the process inside it.
The result: the existence of a single 0-byte file stopped my phone from booting entirely. The file was: data/system/profiles.xml.
I have no idea what that file does (there are only a few references online), how a 0-byte version of it got created, or why having it existent but empty breaks things but if it's not present everything works fine. I have no idea if anyone else will ever see this problem, or if they will ever find this forum post. But still, here's my Wisdom of the Ancients (google the phrase for the relevant XKCD comic).

[Q] Corrupt gibberish files refuse to be deleted

Hi, I'm in desperate need of help, please.
I'm using SGS2. Several months ago my device suddenly started acting weird, thumbnails in gallery didn't load, apps didn't refresh (instagram, facebook etc.)... Rebooting would help but only for a certain amount of time, until it suddenly started to happen again. I realised the internal SD card simply becomes read-only randomly, but I didn't know why. I made peace with it since I'm not a big smartphone user.
Anyhow, today I went through my phone files and saw that several cache folders were oddly big, so I deleted a ****load of files, and then(!!) that one folder would not delete... So I clicked it and saw a bunch of gibberish files that do not want to get deleted.
I tried SD Maid app, but the thing is, once I browse to that specific corrupt folder the SD card goes crazy and becomes read-only, so basically at that moment I realised that folder is what's making the phone act like this.
Connecting it to PC and deleting doesn't work either. Renaming the files doesn't work. Copy/paste does work but is useless. Factory reset/installing new ROM/kernel/whatever doesn't work either. The files will still be there, I've tried.
Anything, please?
yellowjellow said:
Hi, I'm in desperate need of help, please.
I'm using SGS2. Several months ago my device suddenly started acting weird, thumbnails in gallery didn't load, apps didn't refresh (instagram, facebook etc.)... Rebooting would help but only for a certain amount of time, until it suddenly started to happen again. I realised the internal SD card simply becomes read-only randomly, but I didn't know why. I made peace with it since I'm not a big smartphone user.
Anyhow, today I went through my phone files and saw that several cache folders were oddly big, so I deleted a ****load of files, and then(!!) that one folder would not delete... So I clicked it and saw a bunch of gibberish files that do not want to get deleted.
I tried SD Maid app, but the thing is, once I browse to that specific corrupt folder the SD card goes crazy and becomes read-only, so basically at that moment I realised that folder is what's making the phone act like this.
Connecting it to PC and deleting doesn't work either. Renaming the files doesn't work. Copy/paste does work but is useless. Factory reset/installing new ROM/kernel/whatever doesn't work either. The files will still be there, I've tried.
Anything, please?
Click to expand...
Click to collapse
What rom were you using when the errors started happening?
What have you tried as far as flashing roms/kernels/custom recoveries?
I'm using Omega v24 XWLSW (4.1.2). What I did was factory reset and every single format option in that CWM recovery screen. I then flashed that same ROM again but fresh.
I don't think this has anything to do with ROM/kernels etc. This is simply a bunch of corrupt files in Device\sdcard\Android. I've tried googling with no success. I need a way to forcibly delete that folder with all those files inside. Any directions on how format?
yellowjellow said:
I'm using Omega v24 XWLSW (4.1.2). What I did was factory reset and every single format option in that CWM recovery screen. I then flashed that same ROM again but fresh.
I don't think this has anything to do with ROM/kernels etc. This is simply a bunch of corrupt files in Device\sdcard\Android. I've tried googling with no success. I need a way to forcibly delete that folder with all those files inside. Any directions on how format?
Click to expand...
Click to collapse
The first thing I would try is to reinstall a stock samsung rom. This sometimes is the only way to fully reset your phone back to original condition. Sammobile.com is the website I have used. You would have to root again but....
Also check out this thread -
http://forum.xda-developers.com/galaxy-s2/help/qa-friendly-qa-thread-t1648351
There are some similarities with possible corrupt partitions another guy has(the last few pages of thread), that they are trouble-shooting. You might find some answers there.
yellowjellow said:
I'm using Omega v24 XWLSW (4.1.2). What I did was factory reset and every single format option in that CWM recovery screen. I then flashed that same ROM again but fresh.
I don't think this has anything to do with ROM/kernels etc. This is simply a bunch of corrupt files in Device\sdcard\Android. I've tried googling with no success. I need a way to forcibly delete that folder with all those files inside. Any directions on how format?
Click to expand...
Click to collapse
Hey mate.
If you haven't fixed the problem i recommend performing a checkdisk.
To perform a checkdisk you need to:
1. Connect your phone through USB via mass storage mode.
2. The computer should prompt you to perform a checkdisk automatically, in that case just accept and let the computer perform it. If it doesn't prompt automatically you need to do it manully by right-clicking the correct partition on the computer, click properties and then on the 'Tools' bar. Now mine is in Swedish, i don't know how it is in english but press the button on the first alternative. (i.e the button with 'Control' and the administrator logo).
After pressing, just let it be (it will take quite a while) and when finished.. tell me if it worked or not.
Good luck!
Hey, I tried chkdsk and defrag just in case, the files are still there, although some of them are now gone. My phone doesn't go crazy anymore though, which is nice. Maybe I'll just let the corrupt files be there in peace, they won the war XD And as long as my phone works properly I don't really care about them.
Thanks everyone!

Tablet stuck on restart loop; can't backup because it's restarting in Recovery Mode

Hello, my Samsung Galaxy Tab 2 10.1 Wifi tablet is stuck on a restart loop. While I've encountered restart loops in the past, and found that resetting to factory settings usually fixes it, this issue in particular has left me speechless.
Firstly, the tablet boots up to the lock screen. I can get through the lockscreen and either sit around on the homescreen or fiddle around with apps - but only for a minute or so, or longer (it's quite unpredictable) because after some arbitrary period of time, the tablet will automatically restart itself. Basically, it automatically restarts itself after booting up to the lock/homescreen.
What I've noticed, as a result of these restarts, is that the tablet doesn't save any settings I've modified prior to the automatic restart. Like, say if I were to remove a widget off my homescreen; after the restart, the widget is still there, having reverted itself back onto my screen. Additionally, things like Wifi and Bluetooth revert themselves back to their original on/off positions after every restart.
Secondly, I can enter recovery mode just fine. HOWEVER ... attempting to backup my device with CWM Recovery causes the tablet to restart itself, cancelling the backup and just flat out screwing me over. The tablet manages to do the following, telling me this: backing up boot image, back up recovery image, back up system, free space, done freeing space. Then after that, it starts backing up other things, but after that, it restarts unpredictably while it's doing so. I haven't tried 'backup to Micro SD ' yet (mostly because I don't have any empty Micro SD Cards) but I'll try that later today - though I doubt that'll work.
Lastly, I've tried just plugging in my tablet to my computer, and dragging and dropping my files onto my desktop, but the tablet doesn't seem to respond to anything. Attempting to copy and paste anything results in an 'Unspecified Error' message on my PC, and the copying process aborts itself.
So with all this said: how the hell do I backup my tablet? I think a factory reset can fix this, but I can't even BACK UP my files because Recovery Mode is seemingly susceptible to this omnipotent restart loop.
Are there any fixes to this, other than a factory reset? I'm on the verge of just saying 'f it' and wipe my tablet anyways, but if my files ... which includes my notes for my classes (-.-) can be saved, I'll try it.
Okay, so I managed to get CWM Recovery to backup my stuff on my external Micro SD Card ....
... but when I try to Wipe Data/Factory Reset it doesn't work ... it doesn't wipe anything. When I reboot, Cyanogenmod is still there, my lockscreen settings are still active, my homescreens are still there - the reset didn't do anything.
How do I wipe my device, now if CWM won't do it? Arrrghhh .... somebody help ;_;
Since I can't move my documents, pictures, music, etc from my internal memory to my PC, I would rather not wipe the device fully.
I think the only way would be to reflash using ODIN. But this will likely lose all data.
Also, I think you need to be in this forum: http://forum.xda-developers.com/galaxy-tab-2/help

i need help please, i f**ked my phone up...

I have a oneplus 5 with android 7.1.1
i deleted the files ''gatekeeper.password.db'' and ''lock.settings.db'' if i remember well. funny thing is that i didn't want to delete those files, it was an accident. but anyways... The problem is that not i only deleted these files that were located in the system folder, i also deleted ''gatekeeper.password.db'' files from my user folder, named ''0''.
and i f**ked it up doing this. now whenever i unlock my phone, (which btw does not have any pin or pass after deleting those files), it goes completely black. i can't setup a new password, i can't see any apps. nothing. i tried to, at least, recover the data, but even allowing android on windows and using fonedog, it does not work at all.
last thing i tried is making a cache wipe through TWRP. this only worsened the situation as now when i unlock, not only goes black, it also makes the upper tab dissapear, leaving me without more options than rebooting or shutting off.
i really, really need to extract all my data from the internal storage. i don't mind doing a factory reset after it.

Categories

Resources