my phone was accidentally factory reset by a 3 year old holding two buttons, which shouldnt even be an option honestly. i did not have an sd card or a backup for literally the two things i care about most, my notes(samsung notes app) and my photos, and i have no idea why those two were specifically turned off.
i have tried recovering them through my computer with multiple services, minitool, drfone, photorec, fonelab and at least 2 others, all of them said my device had to be rooted, so i tried several things to root my phone as well,(i can only remember kingoroot off the top of my head) but im unable to get the OEM option, ive tried turning off auto updates, changing the date and restarting my phone several times, turning off mobile and wifi data, and im not sure but i think it wont work simply because the option to turn off software updates isnt available(at least, thats the only thing thats different with all the tutorials/videos i watched showing how to do it. i found a post that said its because android updated to make it harder to do and that now software updates happen through google services and to turn that off to do it, but that didnt work either.
my phone is a samsung galaxy a50 and the version(since it reset) is 10.
im begging, please please someone help, anything i can try at all, the last few years of my life are in those photos and notes, i cant lose them, ive been trying to fix this for 6 hours, i dont have much money but i am willing to pay to get back my photos and notes, i really need them. i apologize if this is the incorrect place to post, if it is, please let me know where i can post this to get help.
@Possumpal
A Factory Reset wipes phone's disk space ( what is a non-volatile flash memory ) filled up with user-data and rewrites that partition with the apps provided by OEM/Carrier. As long as the flash memory space ( blocks ) used before wiping and after rewriting doesn't get physically "overwritten" it's basically possible to recover deleted files.
It's not necessary phone is rooted to do so, because you aren't dealing with Android's system-data.
I'm so sorry for not replying sooner, our internet was out for days because someone fixing a leak apparently cut the line. Thank you so much for the reply, that's really exciting to hear! Can you tell me how to retrieve the files then? Or point me to a post or someone who can? Do I need to repost this is the galaxy a50 section? I searched for hours and the only things I found all said I had to root my phone, so I'm not sure how to find it
Possumpal said:
I'm so sorry for not replying sooner, our internet was out for days because someone fixing a leak apparently cut the line. Thank you so much for the reply, that's really exciting to hear! Can you tell me how to retrieve the files then? Or point me to a post or someone who can? Do I need to repost this is the galaxy a50 section? I searched for hours and the only things I found all said I had to root my phone, so I'm not sure how to find it
Click to expand...
Click to collapse
If ADB ( read: USB debugging ) is enabled on phone, then to clone ( read: create a raw image - on byte level - of ) Android's /data and/or /userdata partition to PC
At 1st establish connection running command
Code:
adb devices
Then obtain Android's /data partition's mount-point name by running command
Code:
adb shell mount
and query command's output for line that contains substring
1. if partition name is /data: on /data type ext4
2. if partition name is /userdata: on /userdata type ext4
Left of that substring is shown name of the mount-point, e.g. /dev/block/sda35. Note down that mount point, you need it in next step.
Then, using the mount-point you remembered, run this command
Code:
adb exec-out "dd if=[color=red]/dev/block/sda35[/color] 2>/dev/null" > C:\data.img
what will create the clone on PC's drive C:
Done
is it possible you could link me to the ' how to create a raw image byte level' one? I tried searching the forum for it and google, I'm sure I'm just not doing it right but I cant find it, ive never done this sort of stuff before, I'm sorry I'm being so difficult, I appreciate the help so much, seriously, it means the world to me to be able to retrieve my files
Unfortunately after a factory data reset it may not be possible to regain that data without a backup. You may be able to use custom tools to potentially gain data back that was there but haven't ever seen any success of that
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My 2 cents: A Factory Reset doesn't mean that user-data are irretrievably lost. The term Wipe Data used in recovery memu is errleading.
Wiping
means overwriting storage space with random data, e.g.
Code:
dd if=/dev/urandom of=/dev/sdX bs=1M
Hence original data in no way can get recovered.
Deleting
means resetting the entry in Android's file system to inform OS that the storage space used is free to write new data onto.
Until that happens the data can be easily recovered by software of which some is free to use.
Formatting
means clearing the entries in Android file system what allows to find/read files on the device, but leaves the files data intact.
You can still recover the data from a formatted storage space.
Personally don't think a Factory Reset wipes user-data in the sense described above, but only deletes them in the sense described above.
But this estimation can be wrong.
the first step isnt working, am i doing something wrong?
i tried it without the space, i tried just adb and just devices, and all of it just says the same thing and i tried doing what it said by putting a \ in front, it still says the same thing
jwoegerbauer said:
My 2 cents: A Factory Reset doesn't mean that user-data are irretrievably lost. The term Wipe Data used in recovery memu is errleading.
Deleting
means resetting the entry in Android's file system to inform OS that the storage space used is free to write new data onto.
Until that happens the data can be easily recovered by software of which some is free to use.
Formatting
means clearing the entries in Android file system what allows to find/read files on the device, but leaves the files data intact.
You can still recover the data from a formatted storage space.
Personally don't think a Factory Reset wipes user-data in the sense described above, but only deletes them in the sense described above.
But this estimation can be wrong.
Click to expand...
Click to collapse
Like I've said even formatting yes you can potentially recover said data, but I've never seen such a tool successfully extract data without it already existing into he device.
---------- Post added at 08:20 AM ---------- Previous post was at 08:16 AM ----------
Possumpal said:
the first step isnt working, am i doing something wrong?
i tried it without the space, i tried just adb and just devices, and all of it just says the same thing and i tried doing what it said by putting a \ in front, it still says the same thing
Click to expand...
Click to collapse
If you have the platform-tools and/or ADB folder use CMD (Command Prompt) to get the job done. Ensure its set to the same directory as the executables
Im.. not sure what that means. I really dont know anything about coding stuff, I can only google how to do everything ive been told, but it doesnt always pull up anything related..
Related
Is it possible to move an app and its files to that directory on rooted phones? Don't apps in that directory automatically stay installed after a factory reset?
I'd like to install PhoneLocator there in case I lose my phone and the person that finds it does a hard reset. Obviously you'd need to also move the file that holds the specific user's login/password info to be able to communicate back after a reset.
If not, is it possible to just unpack the rom I'm using and then stick the files in there?
ScottSNX said:
Is it possible to move an app and its files to that directory on rooted phones? Don't apps in that directory automatically stay installed after a factory reset?
I'd like to install PhoneLocator there in case I lose my phone and the person that finds it does a hard reset. Obviously you'd need to also move the file that holds the specific user's login/password info to be able to communicate back after a reset.
If not, is it possible to just unpack the rom I'm using and then stick the files in there?
Click to expand...
Click to collapse
Yes, if it is installed in /system it won't be deleted on a factory reset. However, the data in those apps gets wiped. Making the data NOT wipe from that app maybe challenging.
-viperboy- said:
Yes, if it is installed in /system it won't be deleted on a factory reset. However, the data in those apps gets wiped. Making the data NOT wipe from that app maybe challenging.
Click to expand...
Click to collapse
It would take a little bit of work but you could add a script w/ the needed data on the system partition to replace it in case of a wipe. Of course an RUU could still wipe it out but the odds of that being used are slim.
xHausx said:
It would take a little bit of work but you could add a script w/ the needed data on the system partition to replace it in case of a wipe. Of course an RUU could still wipe it out but the odds of that being used are slim.
Click to expand...
Click to collapse
everybody is spot on and it is an interesting question/challenge.
the simplest implementation i can think of would be to store your final version of the application's settings on the /system partition .. i'd hide it somewhere since we're doing this all covert stealth like .. and have a simple script on boot copy the application's data settings from the /system partition back to the /data partition on every boot.
the downside would be remembering, whenever you make a change to the application's data settings you would need to copy it back over the /system location, otherwise the /system version would overwrite it on boot.
if you are running a custom kernel, they often allow for scripts in a custom created /etc/init.d/ .. otherwise you can tag up something decent looking that is called from the stock /init.rc
a little more complicated of an implementation would be to write an android app (stored to /system/app) which uses root permission to copy the hidden application's data settings from the /system partition to the /data partition on every boot. the android app could hide itself from the application tray and be trigger via secret dialer code!
the app could also detect changes to the /data directory settings and copy it back over the /system directory ...
hope that helps contribute a bit to the logistics of implementing the idea!
/system/etc/init.post_boot.sh would be the perfect spot to hide the script if you went that route. It already gets called with the stock ROM and the odds of someone finding it there is slim to none. The data itself could be zipped up and placed anywhere. eg. "/system/lib/lib3dstuff.so"
If you use a custom ROM that you think may get switched you could even go so far as to modifying the recovery to reinstalling the files needed for it. That way if they switch to stock from CM or something like that it would still be there, you would just need to make sure that script gets called or that the recovery at least replaces the app's data.
Thanks for the great replies, a lot of great devs that I've actually heard of in here giving advice.
I'm not so worried about changing up the application's data after I set it up. I've got PhoneLocator and SeekDroid for paid apps that can do the basic relocating of my phone in case it's lost. My plan would be to only use Phone Locator for this since it's an app that's not relying on a data connection to send out GPS coordinates and can be triggered by a silent SMS message. I would set it up initially, not touch it afterwards, and then basically use other apps that do similar functions if I needed it.
And I'm not really so worried about someone "discovering" this buried in some system folder on the root. I'm guessing 95% of the people that would "find" my phone would just try and use it as a fun 4 inch wifi device or MP3 player without a cellular connection. And I have faith that if some XDAer found it they would be one of the few people I'd expect to go out of their way to return it.
Some of the solutions seem a bit over my head at this point, is this something I could post in the Dev section to request someone to write the script for? I know people get pissed if things that aren't really dev requests get posted in there.
Or is there a security app that already does something like this?
Back when I was on WinMo 3 years ago using my Mogul there was an app called NueGPS that the developer allowed chefs to cook into their roms, so I'm surprised this hasn't been developed already. Seems the first thing a dishonest person would do that wasn't planning on finding the owner on a lost phone would be to wipe it so they could either sell it or be able to customize it to just use as a wifi device.
I would donate for an app/script like this
That's genius
Sent from my HTC EVO 3d
Root: revolutionary
Recovery: Twrp cwm 4
ROM: Synergy rls318 (I want aosp)
I emailed the developer and he pretty much said this would work. I asked him the same question in the OP.
His reply:
Copy the com.rvo.plpro-1.apk from /data/app, to system/app with an app like Root Explorer. Uninstall the previous installation of ProLocator Pro. Restart your device. Done ! The user info will be stored in that file. Auto enable GPS is default, if it is off, it will be turned on, when a position is asked.
Click to expand...
Click to collapse
Had to "unlock" the app first from within its program to uninstall it from the /data/app directory, but it looks like it works. Before I flash another rom I'll try a standard wipe from the phone settings to see if it holds the settings I have the SMS GPS notifications go out to. He told me those scripts weren't really necessary and that all the user info gets stored in the .apk file. I'm wondering what all these other files do then. This is what came up under a search for plpro in Root Explorer.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ScottSNX said:
He told me those scripts weren't really necessary and that all the user info gets stored in the .apk file. I'm wondering what all these other files do then.
Click to expand...
Click to collapse
I'm not in the habit of telling an android developer what his own app does or does not do, but I have developer a few android apps and am semi familar with how the android system works so I'll share my opinion. I'm in agreement more with you than whoever wrote the reply in the email you quoted.
I would be very surprised if his application was somehow internally storing settings inside of its own apk file ...
Those files you found and listed in your screenshot which ,are stored in the application's /data/data directory, are the standard preference type files which most (prob all) android applications use to store their settings. Google provides a very nice and convenient API for storing and managing settings in the app's respective /data/data directory.
It would be worth a try to test out. I would expect the following results from a test:
Move the apk file to /system/app. Wipe /data partition. Reboot and the application should have 100% stock/default settings.
On another approach, a thought just crossed my mind. It could be possible to have the application store your specific settings on a remote server and when the application opens or runs, it could pull down your specific settings from the server. This would of course require internet access (might not have if somebody stole and wiped, at least right away). But thats reverting back to our previous discussion.
Hope that helps as a second opinion from another application developer!
Intro:
This thread is about a common & bothersome android OS error:
"System UIDs Inconsistent
UIDs on your system are inconsistent, you need to wipe your data partition or your device will be unstable"
popping at the system startup/boot/reboot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Detail:
There have already been nearly a hundred threads on this topic, partly because of the problem is so prevalent and ubiquitous...
It has been reported from a wide range of devices, running various ROM/any android version. Most people got fed up trying numerous unbecoming solutions & landed up formatting their devices, and often landed up losing all userdata!
Generally it appears after flashing new ROMs/Kernels and the issue is more common with people who tend to try out different ROMs, therefore have to backup and restore the NANdroid backups in brief intervals.
Wiping data partition is not always desirable, as it would cost you all the saved application data, including contacts and messages.
Unfortunately there was no definite cure till now, but fortunately enough, there's something now!
This error is not necessarily emerging from your system apps/core/kernel etc etc (though, the error message seems more like a system prompt!) , rather it might be originating from petty handful of user-apps (even from those you had uninstalled in the past!!! but their corpse have somehow remained as zombies!).
Acknowledgement:
Thanks to xcreatir for hinting at this excellent piece of idea on XDA, on a similar thread.
Many more people got close to the solution, but missed the target by a whisker, and got deflected towards weird and terrible 'solutions'!
But, the problem is easy to fix, and indeed self-explanatory (and also logged by android automatically)!
Pre-requisite:You'll need root-access.
So, get your phone rooted, before you proceed (if its not already).
Solution:STEP 1.
Use a file explorer with root access (e.g. ES File Explorer OR Root Explorer OR File Explorer with Root Addon and browse to /data/system/
and locate a file named "uiderrors.txt"
Here I have relied on ES File Explorer with root privileges.
TIP: Must check "Show hidden files" in the settings of your chosen file manager.
Screenshots:
STEP 2.
Open it via any text reader
Screenshot:
STEP 3.
Look at the last few lines, you'll find the culprit apps whose leftover files have been causing the problem:
05/07/15 11:44 pm: Package com.rovio.angrybirdsseasons has mismatched uid: 10520 on disk, 10125 in settings
05/07/15 11:45 pm: Package ma.wanam.xposed has mismatched uid: 10485 on disk, 10230 in settings
Click to expand...
Click to collapse
In this case, the programs were:
com.rovio.angrybirdsseasons (Angry Birds Seasons)
and
ma.wanam.xposed (Wanam Xposed)
Click to expand...
Click to collapse
This will be completely different in your case.
Disclaimer:
By no means, I'm pointing fingers to these two apps as the culprits (rather, they are some of the best apps available!), this can happen with any give app. Thus, will be completely different in your case.
TIP: Please look through your own "uiderrors.txt" file very carefully to find out which are the apps having UID mismatch in your case!
You need to find every app mentioned in your "uiderrors.txt" file which had UID mismatch. Its not a difficult job, trust me. The list wont be long!
STEP 4.
Now browse to /data/data/
and
/data/app/
you'll need root privileges, otherwise things will show blank.
Screenshots:
STEP 5.
Select the folders with the names mentioned in"uiderrors.txt". Be careful of selecting anything else! This can land you in troubles. Mark only the ones mentioned in your own,
In my case I have to mark/select
/data/data/com.rovio.angrybirdsseasons
and
/data/data/ma.wanam.xposed
+++
/data/app/com.rovio.angrybirdsseasons.apk
and
/data/app/ma.wanam.xposed.apk
OR
/data/app/com.rovio.angrybirdsseasons-1.apk
and
/data/app/ma.wanam.xposed-1.apk
Click to expand...
Click to collapse
Remember: the apk file can bear any number after its name: e,g, it could also be com.rovio.angrybirdsseasons-4.apk
So, don't worry you have to mark everything that matches the name, forget the suffixes!
Again, the culprit files would be completely different in your case than what I have listed here.
Please take a close look at your own "/data/system/uiderrors.txt"
Screenshots:
6. Carefully delete them by hitting Delete Button at the bottom. Be careful of deleting anything else!
7. Reboot & enjoy!
You're done! No more errors! No need to format your device, keep all your data intact.
Caution:
Programs like Link2SD/ App2SD etc tend to complicate the issue to some extent.
In such cases, you must also scrutinize following directories besides: /data/data/ to find any leftover files belonging to those that are mentioned in your uiderrors.txt
These can hide inside (I'm not asking you to delete all of the below directories, just delete specific subdirectories/files as mentioned in your uiderrors.txt:
\data\sdext2\
\data\sdext2\data\
\data\sdext2\app\
\data\sdext2\app-lib\
[Remember, these directories might slightly: instead of "sdext2", you may find "sdext3" OR "sdext4" OR something a little more different. This is basically the mounting point of your SD Card's 2nd partition, formatted into linux file systems: ext2/ext3/ext4]
Click to expand...
Click to collapse
Delete meticulously any such traces!
Good Luck!
UPDATE! i sorted my issue out i had to go to the SD card in recovery and delete the DATA/System files! and everything thats in it, cheers
i have an issue in that i cant get to desktop on my phone to reset the counter as the popups overwhelm me with " System UIDs Inconsistent" i simply cant do anything with it so what i have done is reset factory settings from Recovery rather than the ROM, ive used Odon to reinstal the ROM but i then realised its nothing to to the the OS/ROM i have pretty much tried everything and the one thing i cant do is get the phone to the desktop to install the Apps that will sort this out i dont suppose any of you have an alternative way please? id be really greatfull i just need to stop these popups telling me "System UIDs Inconsistent" and i believe the ONLY way to do this is via your phones operating system in your settings but i cant get the phone past the "Search Wifi" startup when you first install a new ROM?
DJwa163 said:
TIP: Please look through your own "uiderrors.txt" file very carefully to find out which are the apps having UID mismatch in your case!
You need to find every app mentioned in your "uiderrors.txt" file which had UID mismatch. Its not a difficult job, trust me. The list wont be long!
Click to expand...
Click to collapse
I'm not sure about your definition of long, but 46 errors in my case...
Anyway, 46 apps deleted and now the error is gone, many thanks
Still I wonder if there was no other way to get the UID's back in sync, without deleting affected apps.
All 46 apps were linked with Link2SD, so I'm guessing something went wrong there.
IMO S50
thanks. its work:good::good::good::good::good::good:
Hello,
New to this forum as is shows it is my first post, and i have a problem with my Blackphone that i hope you guys could help me with it.
I have a Blackphone first generation with PrivatOS with some files on it and locked screen ( forgot the password / pin actually ),i didnt use the phone for a while since i had some problem downloading and purchasing some apps considering the lack of options compatible with the phone when it was first released and prior to opening the Silent Store.
I've tried several methods i found online such as :
Disable your lock screen using custom recovery and “Pattern Password Disable” (SD card needed)
but no success i get the error ( invalid arg ) when i try to flash the zip file on the SD card.
also i wanted to try this method : http://forum.xda-developers.com/showthread.php?t=2244741
but i am using a Macbook Pro OSX El Capitan 10.11.2
So i ma not sure how to go from here ?
Issue with file manager
Saw i've been trying several method to tackle this problem since i didnt get any reply from the 56 views so far, but i hope someone could explain how to get over this issue i am having trying to apply Method 4 or Method 5 at this post http://forum.xda-developers.com/showthread.php?t=2620456
I was able to download and install all the required applications, from Android SDK and JDK also adb not to forget Android file manager. But i have a problem with the file manager, since i forgot the pin and i am trying to recover some files from the phone it is frustrating to not be able to apply any of these methods because the file manager wont connect the device while it is locked.
Every time i try to type in the command ad devices in Terminal or adb shell i get a return error of device not found, and i guess its because the file manager is not allowing me to do that since the phone is locked.
Any idea how to get over this problem ?
The whole point of that phone is to prevent just what you are trying to do.
Indeed
zelendel said:
The whole point of that phone is to prevent just what you are trying to do.
Click to expand...
Click to collapse
Yes indeed i understand which is the dilemma am in, but that is the point of all phonee pin locks and there are methods to bypass them for most of the phones as i could see all over the internet, this one should not be any different i guess.
I even tried to use the password pattern disable file, but i guess when i flash the file from an SD card i guess some kind of error in the header, am assuming the header in the code of the file should be modified to the OS of this particular phone .
From what i could see the only issue here is the different OS on this phone.
Any suggestions ?
janusjanus said:
Yes indeed i understand which is the dilemma am in, but that is the point of all phonee pin locks and there are methods to bypass them for most of the phones as i could see all over the internet, this one should not be any different i guess.
I even tried to use the password pattern disable file, but i guess when i flash the file from an SD card i guess some kind of error in the header, am assuming the header in the code of the file should be modified to the OS of this particular phone .
From what i could see the only issue here is the different OS on this phone.
Any suggestions ?
Click to expand...
Click to collapse
You would be amazed. This one and the black berry device. Both are meant to be uncrackable by default. I know one secure phone even prevents anything but charging over usb
zelendel said:
You would be amazed. This one and the black berry device. Both are meant to be uncrackable by default. I know one secure phone even prevents anything but charging over usb
Click to expand...
Click to collapse
I am so far, i really assumed that it is possible to so without the factory reset, but i guess that is the only option.
I still have couple of options that i could think of and maybe try,
1- Modify the Pattern Password Disable .zip in order for it to be compatible with Privat OS, easy to say hard to do, since i have no idea how to start tampering with these files and rewrite the coeds in it.
2- Trying to update the firmware on the phone with an SD card which will bypass the pinlock i guess, as i read in one of the posts on the blackphone support website, as a solution for faulty upgrade through the phone.
BTW i didnt try it, but i could see alot of posts for Blackberry to bypass this sort of problem, non for Black phone specifically
I appreciate your sweft reply and attention, hope you could come up with better ideas !?
Another attempt
zelendel said:
You would be amazed. This one and the black berry device. Both are meant to be uncrackable by default. I know one secure phone even prevents anything but charging over usb
Click to expand...
Click to collapse
So, i had to try using the pattern_password_disable.zip in order to see if it is good, and applying the same instruction here i was not able to unlock my Samsung Trend lite 2.
First i downloaded the file into an sdcard, the zip file and tried to flash the .zip from the recovery mood, but the phone did not find anyfiles on the SDcard, so i tried to apply updates from ADB, and when i wrote the comand as instructed on the phone
PHP:
" ad sideload +filename+ "
i got an error
E: footer is wrong
E: signature verification failed
then the phone tried to open it again and i got the same erorr
after that the phone rebooted into the home screen with the pattern lock, i've tried several random guesses but it didnt unlock. ( i know the right one for this phone ).
And since i realized that my mac got connected to the devices while it was in the recovery mood, and i confirmed that by typing adb devices in terminal and the device showed up, i thought of trying the same with the BlackPhone
but i also got the same error
as shown in the picture.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I wanted to apply the same commands mentioned in the post i've mentioned
PHP:
adb devices
adb shell
cd data/system
rm *.key
but when i type adb shell
i get the error, closed
so any idea on what is going on, i just want to understand my mistake here since these instructions should work on the Samsung !?
Screen shot of Blackphone
http://postimg.org/image/m0tsja4qn/
janusjanus said:
So, i had to try using the pattern_password_disable.zip in order to see if it is good, and applying the same instruction here i was not able to unlock my Samsung Trend lite 2.
First i downloaded the file into an sdcard, the zip file and tried to flash the .zip from the recovery mood, but the phone did not find anyfiles on the SDcard, so i tried to apply updates from ADB, and when i wrote the comand as instructed on the phone
PHP:
" ad sideload +filename+ "
i got an error
E: footer is wrong
E: signature verification failed
then the phone tried to open it again and i got the same erorr
after that the phone rebooted into the home screen with the pattern lock, i've tried several random guesses but it didnt unlock. ( i know the right one for this phone ).
And since i realized that my mac got connected to the devices while it was in the recovery mood, and i confirmed that by typing adb devices in terminal and the device showed up, i thought of trying the same with the BlackPhone
but i also got the same error
as shown in the picture.
I wanted to apply the same commands mentioned in the post i've mentioned
PHP:
adb devices
adb shell
cd data/system
rm *.key
but when i type adb shell
i get the error, closed
so any idea on what is going on, i just want to understand my mistake here since these instructions should work on the Samsung !?
Click to expand...
Click to collapse
Any suggestions
janusjanus said:
http://postimg.org/image/m0tsja4qn/
Click to expand...
Click to collapse
Still awaiting any suggestions ?
I used to perform a cache wipe in recovery mode for all my previous phones...it really helped to deal with performance issues especially after installing or removing appa and also was the easiest thing to do to restore performance before having to consider a time consuming nuclear full reset.
However it seems that for Oreo 8.0.0 LG have disabled the cache wipe in recovery mode.*
I am on a carrier locked unrooted phone and from some googling it seems like lg have removed this ability.* Can any other kg users with Oreo users confirm that the cache wipe in recovery mode has been disabled/removed? And if so what what otheer alternative method has LG put into place to replicate this useful function? Thanks
mwake4goten said:
And if so what what other alternative method has LG put into place to replicate this useful function? Thanks
Click to expand...
Click to collapse
Wiping cache in TWRP custom recovery...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LG gave us a nice OREO bootloader unlock exploit, so we can do that.
mwake4goten said:
I am on a carrier locked unrooted phone and from some googling it seems like lg have removed this ability.
Click to expand...
Click to collapse
Well, there's your problem. Until you root your phone the OEM or carrier still "owns" your phone. They are the "admin" of phone, not you. They can dictate what you can or can't do with your phone. You are basically leasing or renting the phone from them.
By bootloader unlocking, installing TWRP and rooting, you are taking ownership of the device you paid several hundred dollars for. With TWRP,
* you can not only wipe cache whenever you feel like it,
* you can make backups which you can restore to a previous time (like a magic time machine) and
* you can flash zips to add more functionality to the phone.
Thankyou for your reply...
I did stumble on this article about wiping the system cache it seems to suggest that you don't need to go into recovery mode to wipe it... I admit I have intermediate knowledge of this kind of stuff, can anyone confirm that that this method outlined in this website is basically does the same thing as wiping the system cache in recovery mode?? Thanks
https://cellphoneforums.net/lg/t441...artition;-reboot-safe-mode.html#axzz5Xe637Xix
mwake4goten said:
I did stumble on this article about wiping the system cache it seems to suggest that you don't need to go into recovery mode to wipe it... I admit I have intermediate knowledge of this kind of stuff, can anyone confirm that that this method outlined in this website is basically does the same thing as wiping the system cache in recovery mode?? Thanks
https://cellphoneforums.net/lg/t441...artition;-reboot-safe-mode.html#axzz5Xe637Xix
Click to expand...
Click to collapse
This is what you are talking about. It was written September 2017, with Nougat. It was never re-written for Oreo which came in 2018. Below, I've added the extra steps needed to still make it work.
Clear the Phone’s Cache Partition:
NOTE: in case your device freezes, crashes, runs out of storage inexplicably or otherwise doesn’t work as intended and you’re considering a factory reset, alternatively you can try fixing these issues by clearing the phone’s cache partition. This can lead to results similar to a factory reset without losing any personal data stored on the device.
Launch “Settings”
Go to the “General” tab
Tap “Storage” under “Phone Management”
Go to “Internal storage”
Wait for the device to finish calculating the data
Tap “Cached data” > “Clear” to confirm
Click to expand...
Click to collapse
That was Nougat, here's for Oreo:
Go to “Internal storage”
Wait for the device to finish calculating the data
Click on Free up space
Click on Temporary files and raw files
On the list, Checkmark ONLY Cached data. Uncheck the rest.
Click DELETE (bottom right of the screen)
Confirm DELETE command.
Is this the same as clearing cache in Recovery? I don't know. But you can try it.
Yes thank-you I just did it...yeah it would be nice to know if this is technique is a "all roads lead to Rome" type thing meaning we don't need to go to recovery mode anyways... Maybe LG disabled the clearing cache in recovery on purpose knowing that you can actually access the same thing from within android...
Thank-you for taking the time to update the proceedure [emoji4][emoji106]
@mwake4goten
To understand what’s going on, we’ll have to include the whole picture. With Android O, Google wants to change the whole policy of using, storing, and clearing cached data. Google encourages developers to be more ‘efficient’ in developing their apps.
Here’s what the Android O developer preview release notes say:
“Android O gives better guidance and behaviors around cached data. Each app is now given a disk space quota for cached data….
When the system needs to free up disk space, it will start by deleting cached files from apps that are the most over their allocated quota. Thus, if you [the developer of an app] keep your cached data under your allocated quota, your cached files will be some of the last on the system to be cleared when necessary. When the system is deciding what cached files to delete inside your app, it will consider the oldest files first (as determined by modified time).”
As per Google's release notes for Oreo so it is Google who is mostly behind the change (although I'm sure LG has done some changes as well)
I just noticed this issue on my V40. My G6 seems to be okay. From recovery mode, when selecting wipe cache, it shows the "LG V40 ThinQ" splash screen followed by the "sick robot" error screen, then starts the boot process. Has anyone confirmed if deleting cached data in "Smart Cleaning" does the same thing? Sorry so late to the party. I just recently got this phone.
Edit: By the way, stock, unrooted, 8.1.0 . Also, i called LG tech support earlier today about it, and bless her heart, she did mention going in via the settings route, but i don't think she really understood the question.
asshat76 said:
I just noticed this issue on my V40. Edit: By the way, stock, unrooted, 8.1.0 .
Click to expand...
Click to collapse
Of course your V40 is stock, unrooted.
There's currently no way to unlock the bootloader on any V40. LG right now isn't even giving out "official" unlock codes for the European model V40 or any V40. Last model listed on the official LG bootloader unlock website is the European LG G7.
Which is why the V30/V30+/V30S WTF exploit is so great -- we don't need LG's permission.
Hello,
I have a Nabi2-NV7A-US on Android version 4.4.2.
Kernel version 3.1.10-g812486-dirty
According to product version tapped multiple times:
Version 3.0.13; Bootload Ver 5.3; Device mt799
Recently, without changing anything or using the device for over a year, the Wi-Fi stopped functioning. I would momentarily pick up a SSID now and then but could never connect to it. I believed it was a hardware issue with the wifi chip but, after reading throughout the forums, I think it might be related to the firmware.
I tried to install 3013stock.zip by unzipping the contents and using NabiLab “return to stock” method and installed the stock recovery but this did not fix the Wi-Fi. Maybe I didn’t do it right? Next, I successfully installed TWRP 2.8.7 and rooted the Nabi. After reading literally thousands of posts, I started trying to troubleshoot via ADB shell and the TWRP command prompt to fix the Wi-Fi. I’m not Linux fluent at all but I gave it a go by what I was reading online. IP LINK SHOW tells me wlan0 is in “...state dormant mode dormant...” and I can’t get it to change. iwconfig is not an available command but ifconfig is. I tried installing Reverse Tethering 3.19 so I could access the internet through USB but that required at least one connection to Wi-Fi after each boot which I can’t do. That application installation could have screwed up a few things as well.
The built-in Wi-Fi tests (tapping product version multiple times) failed with “Read config file error. /storage/sdcard1/test_config.txt: open failed : ENOENT (no such file or directory). I wondered why it is looking in sdcard1 so, for grins, I put a copy of wpa_supplicant.conf into the directory and renamed it test_config.txt. This resulted in “Read config file error ./nValue update_config of type java.lang.String cannot be converted to JSONObject. After all the fiddling around, the Wi-Fi no longer finds SSIDs at all and the Bluetooth doesn’t work.
After three 8 hour days of toying with this thing, I am at my wits end. I know this device isn’t supported anymore and isn’t worth much, but I can’t stand to be defeated. Can anyone steer me in the right direction? The most confusing things I have read have to do with the TWPR/recovery versions I have to use when reverting to previous ROMS (ICS, JB, KK). Also, I can’t find the original fuhu_nabi2_back_to_stock_from_scratch.zip stock version 1.9.12 or the fuhu_nabi2_wifi_fix.zip that people have been using to fix their Wi-Fi. I guess I need a step-by-step route to get my Wi-Fi working again either with NabiLab, TWRP, ADB shell, or all three.
Thanks in advance
I guess it's probably best to do a factory reset. I recently had success in resetting mine using this method outlined here https://forum.xda-developers.com/showpost.php?p=63060270&postcount=2 . TWRP was not able to run any of the ROMs I used and resorted to this method as a last resort. I also used 3013stock.zip as the restore file for TWRP. It was able to go through factory reset, and I also have Wi-Fi working. Before doing a restore, I pretty much tried to use all of TWRP's methods of wiping to get it as clean as possible.
I initially factory reset via NabiLab. I then restored via TWRP by using the unzipped 3013stock.zip files in my recovery folder. However, that didn't involve any "wiping". Maybe I'll try it again and use TWRP to wipe/factory reset.
Thanks for trying to help me out.
I wish there were some wpa_supplicant or other linux wifi commands I could use to reset the wifi back to factory. My wlan0 disappeared and a "dummy0" took its place. Although, dummy0 doesn't have the same MAC address I see in my system status reports for the wifi module. I've been trying to teach myself rudimentary linux troubleshooting but with the limited commands available in this Nabi and my limited knowledge of linux, I'm running out of steam.
Yeah I don't think resetting WiFi is necessary. Maybe try to use the original ROM that came with the Nabi or another, but updated to the latest OTA (would have to find the file as the servers are down). I don't think you need to use NabiLab as it might be causing a problem. I would do TWRP -> Advanced Wipe -> Full Wipe. Then, restore with 3013 or maybe with the original ROM updated to the latest OTA. I would also suggest root and then debloat if possible to see if that helps. I chose to flash the .zip file found here https://supersuroot.org/download/ (v2.82), rather than using the root option usually found at the end of TWRP.
Also, the guys here were able to get their WiFi working again by deleting wpa_supplicant.conf . (https://forum.xda-developers.com/showthread.php?t=2202688)
wpa_supplicant deletion
BlueMarble said:
Also, the guys here were able to get their WiFi working again by deleting wpa_supplicant.conf . (https://forum.xda-developers.com/showthread.php?t=2202688)
Click to expand...
Click to collapse
I already tried deleting wpa_supplicant but the one I deleted was in /system/etc/wifi. I just deleted the one in /data/misc/wifi with no improvement. WiFi is on and it shows "Searching for Wi-Fi networks" but never finds any. No change.
The wpa_supplicant.conf file rebuilt itself but now has much less information. One change it made was from cntrl_interface=/data/misc/wifi/sockets (an empty folder) to cntrl_interface=wlan0 which is an interface that does not exist in my system. I have lo, dummy0, sit0, & ip5tn10 of which only dummy0 has a MAC address although it isn't the same as what is shown in the system status for my wifi card. ip5tn10 is a link/tunnel6 with a 16 digit MAC of all zeros.
It seems like I need to get wlan0 interface back with the MAC of the Marvel SD8787 card and get wpa_supplicant.conf configured to use that interface. Looks like the wipe path is next.
I just went into TWRP/wipe/advanced/wiped everything but SD card. Recover 3013 from SD card successful. Installed KK3013bootloader.zip. Rebooted system.
Still finds no wifi. Wi-Fi test (tapping product version multiple times) failed. However, I do have wlan0 now using "ip link show" and it has the proper wifi board MAC address but shows a state and mode of dormant. If I turn Off the wifi with the soft wifi switch, adb shell/"ip link show" shows wlan0 changing from Dormant & Dormant to Down & Default. Turning it back ON goes back to Dormant & Dormant. "netcfg" shows wlan0 as UP.
Question, why do I still have TWRP when I boot into recovery kernel? I thought wiping everything would put me back to the stock recovery. What does installing KK3013bootloader.zip do. I'm confused.
https://bbs.archlinux.org/viewtopic.php?id=117204 seams to address my wifi issue. However, the iwconfig command isn't available to me. "dhcpcd wlan0" gives me the same waiting for carrier and timed out as the poster in that thread
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
.
I still think there must be a magic linux bullet to reconfigure my WiFi. However, with the limited command set available on the Nabi and my limited linux knowledge, it is out of my reach. I wish some XDA gurus could chime in and show me the way.
Oh I meant to say format data. What was the original version of your Nabi (Disney, nickelodeon, original?) , do a restore with that Rom. The partitions may be different for different versions. Do not use Nabi Lab to restore, use TWRP method I linked. If format data was used and the restore was flashed, then your recovery kernel will be different. Instead it will show the broken Android logo and allow you to factory reset. Factory reset. That should return wifi. No need to reinstall bootloader, that was used to unlock your bootloader.
Edit: also have you made any changes to your router during the one year?