[How To] Remove Gmail Account Without Reset - Android Software/Hacking General [Developers Only]

I have had a lot of people ask me how to remove a gmail account from android without doing a reset on it, so i decided to post up the instructions here:
Needed:
Root
Root Explorer
(according to my theory it may work without root but i came up with a root method so this is how im doing it)(if someone is successful w/o root please post if it worked)
Instructions:
Make sure your phone is rooted (don't ask me how there are plenty of guides for all phones)
Download Root Explorer (or another explorer that can delete file system files)(adao is my personal choice it may work for this if does not require root)
Navigate to /data/system (seems this directory is already r/w because it write your gmail to here, hence why i think root may not be required)
Erase the file named accounts.db (This may also erase e-mail accounts, etc.)
Reboot device
Now there should be no gmail account (verify in settings->accounts&sync)
Add/Create your new gmail and done!
Please thank if you found this useful!
This guide is pretty simple i came up with it because i flash phones to Cricket and erasing the gmail on an optimus s is easier than dealing with f*****g Sprint ID.
Side Note: I'm not sure if i am allowed to post up root explorer apk if i am allowed would a moderator let me know so i can post it here. thanks.

Reserved
reserved to update info if root not required or additional methods found.

http://forum.cyanogenmod.com/topic/8032-change-associated-account-with-android-market/
*Not saying you kanged it as you may not have known, just showing it's out there elsewhere

Jiggity Janx said:
http://forum.cyanogenmod.com/topic/8032-change-associated-account-with-android-market/
*Not saying you kanged it as you may not have known, just showing it's out there elsewhere
Click to expand...
Click to collapse
haha i did not know i wish i had known though i wasted a good 5 hours figuring this one out.

o did try dis..it works..
but unfortunately also my vpn was disabled by this process..
luckily i had backup mu account.db so i paste it again..
and den my setup of vpn was restored..
as i result i had back to my orig prob..
doesnt change my google acc..
is there any way other tha this?

jejogo said:
Now there should be no gmail account
Click to expand...
Click to collapse
Thanks for this!!
Quick question. Do you think there is a similar method to make Google Market re-generate its device signature. I cloned two nooks from mine (Nandroid backup and restore) one for my wife and one for my father. On the Market website, I only see one nook device. I have spoken at length to Google Market support. The general consensus is that cloning is the root (sorry!) of the problem. Google seem to be using a device signature, which is only generated at first startup.
Any thoughts Thanks.

Thanks for that
Really helpful.
Had to be root to proceed using terminal though.
Cheers

Related

[Q] new sensation user, few concerns/questions.

hi i've upgraded my hd 2 to the sensation( i had windows on it). and it's a god send!
i've got a few concerns/ questions
1. biggest concern - backups.. i have a stock tmobile usa sensation.. what is the best app/ way to do a COMPLETE image (all settings/info, programs, pics, messages etc..)is there away? i use acronis for all my pc's which is just awesome. anything happens i plug in external drive, and everything is back to date.
2. rooting, i hear people talking about it... what are the benefits? if one roots there sensation do they have to start over? meaning a image would not work?
3. apps. i 've bought a bunch of apps, and installed a bunch of free ones from the phone. how do i back all these up? and save them?
4. EMAIL notifications, i have 2 email accounts, personal, and business, anyone know of way to set customized ringtones/sounds for each INDIVIDUAL email account?
5. how do i access the phone files so i can add my own notification sounds, instead of the factory ones? i'm not finding an option to look on SDcard and use my own for notifications.
Thanks for any help with these concerns.
your apps are bundled to your google account. There's a list of what you bought/downloaded already. If you wipe your phone, you can simply put them back through web.
good to know, ty!
Out of curiosity, is there away for me to get the installers as well? so i can back them all up on my server?
Anyone else have info on other questions please?
1. You can Temp. root right now( which means you will lose root if you reboot), perm root is not available yet (Hopefully soon), so temp root and use the application from the market call titanium back-up , you can back up all system, apps and personal settings to your SD card. As far as backing up pics they are already on your SD card so if you want to back those up back them up to you personal computer.
Link to Temp-root
2. Rooting benefits are removing bloatware apps installed by your service provider that you don't want, use custom Roms and root apps, increase speed and performance and battery life etc.....
Cons of rooting- you could seriously Eff up your phone if you don't know what your doing, void warranty etc....
3. See answer #1 also you can back them all up on your Google account.
4. As far as i know there is no way to set up different notification sounds for two separate email account, only one choice for notification sounds.
5.Install a file manager from the market like "Astro" to explore your sdcard, with temp root or perm root you can use "Root Explorer" and browse and change system files as well as the SD card files.
If you want to add notification sounds you can also select the personalize button on the far right side of the Rosie launcher and then select "Sound Set" and download new notification sounds.
Add ringtones check out this link....http://maketecheasier.com/add-custom-alarm-ringtone-in-android/2010/01/08
Hope this helps you with some of your questions.....
Thanks joemm
thanks for detailed info... one question on rooting if i may. Can i root without loosing everything i've done? meaning root it, download, use titanium. and know i'll be good to go.
Thanks
Yes, temp rooting will not touch any of your settings or apps. So temp root then back up with titanium backup, it will even back up each apps settings too, like a certain level your on in a game or saved search results etc...
thanks alot.. will attempt this tonight!
How do you back up your apps to your google account?
xladeeda said:
How do you back up your apps to your google account?
Click to expand...
Click to collapse
It's automatic.
joemm im going to tackle this tomm. will ES file explorer work? or will i need to use root explorer to accomplish my goals? i love ES file explorer because it gives me access to my network files.
thanks in advance!
xtacybyme said:
joemm im going to tackle this tomm. will ES file explorer work? or will i need to use root explorer to accomplish my goals? i love ES file explorer because it gives me access to my network files.
thanks in advance!
Click to expand...
Click to collapse
ES will work just the same....
No need to temp root now....perm root is out.
Sent from my HTC Sensation Z710e using XDA Premium App
i think this may beyond me. i tried the temp. i think it's the temp.. steps i took
downloaded rw sensation from post #1 on link you provided.
unzipped
installed htc sense on win 7 machine double clicked Run_ME_Fr3vo_ROOT
ran a bunch of commands. once done it said hit any key to continue
then i went to phone transferred superuser file to storage card /installs, installed that. then went to superuser and it says no apps.
so not sure how to uninstall the default apps.
in Es file explorer i did notice i can see the system files now.
questions. may i ask how i permanently root this thing? (all i want to do is remove stock apps, and do backups. i 'm to old for the custom rom stuff. and to be honest don't have the time to be testing/doing custom roms anymore.)
after i accomplish the permanent root, what steps are needed to remove stock apps? (special programs, commands?)
and then what steps are needed to just do a backup, and finally enjoy this phone with out worries of lockups, crashes, etc...
and thirdly what are the steps to get all apps off my htc sensation onto my main machine so i have them backed up.
Sorry for not understanding fully. ive spent 4 days setting this up to my liking, buying what i need. and just want to be able to backup everything, and not worry bout it. like i can with all my pc's via Acronis image.
thanks for any clarification.
still yet to get my sensation permanently rooted... is this the most recent guide that will work with my Tmobile USA sensation?
post 1 - http://forum.xda-developers.com/showthread.php?t=1192300
I don't brick my phone.
thanks
xtacybyme said:
still yet to get my sensation permanently rooted... is this the most recent guide that will work with my Tmobile USA sensation?
post 1 - http://forum.xda-developers.com/showthread.php?t=1192300
I don't brick my phone.
thanks
Click to expand...
Click to collapse
Ah, yep. That's the one.
Just read each point completely before you start.
It's really much easier than it appears.
Good luck.
well i decided to try it. and i think i screwed up
http://forum.xda-developers.com/showthread.php?t=1192300
Grrrr. im getting to old for this stuff, (not on pc's as much anymore) when i was younger this stuff came easy to me.
i downloaded first file (revolutionary) did the steps. OF COURSE IT HANGS ON MINE)
so i went to post 2. it wasnt detailed for lamens.. so i uninstalled htc sync on phone and windows 7 32 bit. then i went to this post unrar'd files. http://forum.xda-developers.com/showthread.php?t=1161769&highlight=htc+driver and have no clue what to do next...
so now i sit, with those files on my windows 7 machine, no htc sync on phone or windows 7 machine. ideas please?
yes i read this post... http://forum.xda-developers.com/showpost.php?p=16143324&postcount=11
but they dont tell me where i should make temp folder (on phone or pc?)
who wants to make a quick $20.00?
If not enough let me know amount. i'm done with this. i just want to backup my phone in it's entirety, i want to backup my apps to HDD location of my choice on my pc. I want to do an image (just like an acronis, or norton ghost) of my sensation to HDD location of my choice on my pc. Like i use to be able to do with my SPV's, HD2's.
Pm Me. and let's get this done!
Thank you!

workaround for crashing links (build.prop)

Hello,
as many may have noticed with the new stock ICS ROM there are some issues regarding links, e.g. WhatsApp crashes if you click on a link etc. and there is a quick fix/workaround for it (you need write access to /system however).
Investigating the crash report it became clear that the issue is related to the Htc Linkify Dispatcher which was (as I understand it) implemented by HTC to comply with some apple patent-related stuff and to strip the device of Android's original abilities regarding the handling of links (more info e.g. on [1] )
So normally the device will have a running Htclinkifydispatcher.apk and in addition a build.prop setting indicating this "feature". With the ICS ROM however the build.prop says that the feature is enabled but a quick check in /system shows that the Htclinkifydispatcher.apk is not installed, so consequently this means that apps relying on build.prop will fail when handling links (as the dispatcher is not active).
The logical solution seems to be to adapt the build.prop accordingly. After a quick search I found the necessary steps to be the following (Source: [2]):
In the /system/build.prop file search for ro.da1.enable=true and set it to ro.da1.enable=false
Add ro.da1.method=false directly under it
Reboot
I performed these steps and now am able to click on links in WhatsApp again without crashes. Maybe this will help someone else as well.
Cheers
[1] commonsware.com / blog / 2012 / 07 / 23 / linkify-problem-patent-behavior . html
[2] androidcentral.com / how-restore-functionality-apple-v-htc-war-has-taken-away-root
Sorry for the awkwardly typed web URLs but I do not yet have the privilege to post outside links, so maybe some mod can fix it
some moderator should make this sticky.
yes this is the exact problem i encountered, in every apps except internet.. -.-
thanks!
nice guide everything ok now! :victory:
Thanks for this workaround. However I noticed that I no longer have an option called something like "Aplications associations" under Settings menu. It was just below "Applications"... Do you think is related to the modification?
I think yes...
From what I have understood reading
[1] commonsware.com / blog / 2012 / 07 / 23 / linkify-problem-patent-behavior . html
the Apple patent is that when you click on a link (or something recognised usefull data...) a popup menu appear letting you choose what to do.
HTC removes that ability and using Htclinkifydispatcher.apk with "Application Association" gives you the choice (but only one...) of what to do on a specific type of link.
Since the workaround we are talking here needs rootted phones, could be also another solution to put in /system/app the Htclinkifydispatcher.apk and leaves build.prop as it is (to stop crash on link) ?
fblasot said:
I think yes...
From what I have understood reading
[1] commonsware.com / blog / 2012 / 07 / 23 / linkify-problem-patent-behavior . html
the Apple patent is that when you click on a link (or something recognised usefull data...) a popup menu appear letting you choose what to do.
HTC removes that ability and using Htclinkifydispatcher.apk with "Application Association" gives you the choice (but only one...) of what to do on a specific type of link.
Since the workaround we are talking here needs rootted phones, could be also another solution to put in /system/app the Htclinkifydispatcher.apk and leaves build.prop as it is (to stop crash on link) ?
Click to expand...
Click to collapse
thanks for this, it works
where can we get the correct htclinkifydisptcher.apk that will work on the stock desire s ics rom?
can you post a link please
I don't have a link but you could try to extract the apk from any HTC ICS sense 4 original rom.
Anyway, I read in an other discussion that also with this apk there are some limits and then the mod of build.prop it is the better solution.
Who's awesome? You are
Worked for me! Thanks dude!
hahnbanach said:
Hello,
as many may have noticed with the new stock ICS ROM there are some issues regarding links, e.g. WhatsApp crashes if you click on a link etc. and there is a quick fix/workaround for it (you need write access to /system however).
Investigating the crash report it became clear that the issue is related to the Htc Linkify Dispatcher which was (as I understand it) implemented by HTC to comply with some apple patent-related stuff and to strip the device of Android's original abilities regarding the handling of links (more info e.g. on [1] )
So normally the device will have a running Htclinkifydispatcher.apk and in addition a build.prop setting indicating this "feature". With the ICS ROM however the build.prop says that the feature is enabled but a quick check in /system shows that the Htclinkifydispatcher.apk is not installed, so consequently this means that apps relying on build.prop will fail when handling links (as the dispatcher is not active).
The logical solution seems to be to adapt the build.prop accordingly. After a quick search I found the necessary steps to be the following (Source: [2]):
In the /system/build.prop file search for ro.da1.enable=true and set it to ro.da1.enable=false
Add ro.da1.method=false directly under it
Reboot
I performed these steps and now am able to click on links in WhatsApp again without crashes. Maybe this will help someone else as well.
Cheers
[1] commonsware.com / blog / 2012 / 07 / 23 / linkify-problem-patent-behavior . html
[2] androidcentral.com / how-restore-functionality-apple-v-htc-war-has-taken-away-root
Sorry for the awkwardly typed web URLs but I do not yet have the privilege to post outside links, so maybe some mod can fix it
Click to expand...
Click to collapse
I specifically rooted and unlocked my phone to do this as it was annoying as hell!
Thanks! :good:
You have unlocked the bootloader via HTC? If yes, after that what Guide for rooting have you used? I'm in the same situation as you are, I'm doing this only for the links. Stupid Apple patent! Also, if I un-root / re-lock the bootloader, the change remains? If I re-lock, would it show "Locked" or "Re-locked"?
Yes, unlocked via HTC-Dev. Can't remember the guide I used as I looked at a few for it to make sense to me.
In short, Unlocked boot loader, flashed ClockWorkMod recovery, then flashed super user. - You will have to find the guide that works best for you.
I have left it unlocked, but if you do re-lock it will say - Re-Locked, SECURITY WARNING. Nothing to worry about, just that HTC will know you have unlocked your device if you ever send it in for repair, not a problem for me as my phone is over a year old now.
I did notice though that if you DO re-lock the bootloader and try to edit the Build-Prop, it will always revert back to what it was before.
I had to leave it unlocked to edit it, and I haven't re-locked it.
MalekoUK said:
In short, Unlocked boot loader, flashed ClockWorkMod recovery, then flashed super user. - You will have to find the guide that works best for you.
.
Click to expand...
Click to collapse
... this is my big problem! 4ext / clockworkmod / superoneclick ... mount SDcard... don't mount SDcard... install HTCsync, uninstall HTCSync... Help?
Spiry0r said:
... this is my big problem! 4ext / clockworkmod / superoneclick ... mount SDcard... don't mount SDcard... install HTCsync, uninstall HTCSync... Help?
Click to expand...
Click to collapse
All I did was put superuser on the SD card, then installed the superuser zip via clockworkmod recovery, worked a charm. Anything else you will have to search the forum as I just jumped through a few threads to get the best method for me.
All the answers are in the forums
Thanks man.
For them, who doesn't know what is this all about.
After this fix>
o-> links in facebook work again - automatically open webrowser by clicking on link
o-> you can click on number in SMS message and this number automatically get transfered to dialer, so you can call it, or store to your contacts
o-> moar and moar, i have tried these two, because it was quite serious bug for me
thank you. Htc evo 3d with coolsense rom here had same problem that fixed it
Thx! this solved my problem!
this should be stickied or put in the INDEX thread.. thanks a lot for this, OP!
Spiry0r said:
... this is my big problem! 4ext / clockworkmod / superoneclick ... mount SDcard... don't mount SDcard... install HTCsync, uninstall HTCSync... Help?
Click to expand...
Click to collapse
before you do anything, back up everything that can be backed up, such as contact, smses, APN settings and apps if possible.
after that, change the sd card with a blank one (this isn't necessary, but just to ensure that you will not erase your current sd card and the files inside it)
1. unlock the bootloader (follow the steps closely and also install all necessary files as mentioned in the instructions)
2. download necessary custom recovery (4EXT is what i recommend) and SU zip files, put in the root of the blank SD card (that is, not inside any folder, for the sake of convenience)
3. boot into recovery (can be done in several ways, easiest one is power+vol down and get to recovery from bootloader screen, but remember to turn off fastboot in settings)
4. flash the custom recovery first. Once finished, my suggestion is turn off the phone
5. boot into recovery again, it should now be the custom one
6. flash the SU zip..
7. done, you are now rooted with stock ROM
experts please feel free to add on or correct any mistakes..
sorry if I got off track a little, just want to offer some help because I'm in a good mood today..
hahnbanach said:
(you need write access to /system however).
Click to expand...
Click to collapse
I tried frm es note editor in es file explorer but got error saving the file how do I get write access to /system ?
urmish101 said:
I tried frm es note editor in es file explorer but got error saving the file how do I get write access to /system ?
Click to expand...
Click to collapse
In es file Explorer options. And remember you'll need to enable "browse as root" or something similar as well.

[Completed] is this right place to post new thread?i m really not getting idea where to post.help

hi guys,
first, i m all time thankful to these developer guys, you make mobile world so genius, yeah it was never genius,
second, something i learn and something i want to learn more is about android always, but here is my question below that is really important. i don't know if it really make sense or not but i would like to know your opinion.
question :- i see there is a way to push files into device without rooting it. is it secure? it is safe? i guess yes. than how can i push titanium backup(data only) of particular app into my device?
example : - i myself after learning lot about apk tool and all that, modded "whatsapp" successfully and which is out of this world according to me, lately i cam to know there is already one called whatsapp GB, but mine is mine. (right now i don't have rooted device so couldn't send screenshot), but what i am trying to figure out is, i can install my modded apk on my non-rooted device and can run it either, problem comes when it is about registering number, what i really thought that if i can push titanium backup of my modded whatsapp.apk (data only - taken perviously when i had rooted device) to this non rooted device via ADB, than i didn't need to root my device ever, and so for any other app that is modded by me or any developers can be executed on non rooted device.
pros - if this is possible than i guess People won't need to root device, will not loose warranties, will not loose device by bricking it, will get out of a procedure of root methods, no one will ask more about root method, soft brick, hard brick, boot loader issues and many more questions like that i guess.
there will left only one tutorial than if this is possible and it will be like this - how to use adb?(step by step : beginner to black hat).
if this is possible than what we need? proper method of how to use adb, most of people easily can learn how to use adb but most of tutorial misses some points like how to push file by changing r/w permission, and where to put new data backup or files in device like some tutorial i have seen gives only command line but people actually don't know where to put the file like /data/data and than what?
Developers and Rooted device owner will become God in fact in this case because they can lead the rest in right path.
is this possible? or am i ridiculously making no sense?
This is not the right place.
You were already advised to post in the Ask any Query Newbie Friendly thread last month.
Please post there with all relevant details.
Thanks and thread closed

I've deleted some important files by mistake and I would really like to recover them.

Hello,
I hope that this is the right side of the forum to describe my problem. I desperately need help. It's a long story:
I had on my Samsung phone the app of "Chrome", which I always use to surf the internet. Using the google browser IN THAT APP, I have downloaded lots of things (I'm a scholar, so I like to read and I use to download everything that I found interesting). I have updated the app and I was frustrated, because I couldn't take anymore screenshots while surfing in "incognito mode". So, I decided to delete the update: i went into "settings", then "apps", and then I have brought back the app of "Chrome" as it was when i bought my phone. Sadly, I then noticed that I had lost every file in my download folder; I had lost every file downloaded with that app.
I had not synchronized my Google account, I can do no backup. I'm so angry and sad because I've always thought that the files downloaded would have stayed in my phone until I and only I would have decide to delete them.
I have done a lot of research on the internet and I have found out that there are some apps that can recover a very large part of lost files. But, in order to do this, I have to root my phone.
My phone is a Samsung Galaxy J2 SM-J250Y/DS, and the Android version is 7.1.1. I have seen that rooting a phone could be very dangerous; also, to me is very complicated. But there is a program called Kingoroot, which, once installed on my computer, could (it's a possibility, I know!) rooting my phone easily.
What should I do? Should I try the rooting method? It seems to me the only way...
I ask you any suggestions... Please help me. I am a depressed student that, in this life, can only enjoy reading and books...
(I am Italian, and I hope my English is understandable. If I did any mistake, please forgive me.)
Sorry can't help you get what you lost back... I feel your pain.
After losing thousands of bookmarks over the decades I started using Colornotes to save my important bookmarks.
You can save the hyperlink with a title, color, and whatever text you want to add. If you punch the hyperlink it opens in the default browser.
The app allows you to save it's data to your sd card which you can backup on your PC.
Use ApkExport to make a loadable copy of the app to future proof it.
ColorNote Notepad Notes - Apps on Google Play
ColorNote® - Easy to use notepad for notes, shopping list, to-do list, calendar
play.google.com
Thank you very much for your reply.
But... If I root my phone, and if the rooting is done without any damage, is there a possibility to get most of my files back? Or, even if I root my device, I will never be able to recover them?
It sounds like it deleted the data when you rolled the apk back (to factory load?).
If so it's going to be very sketchy at best to recover them.
I guess history's been deleted as well?
There are many coders here that have far greater knowledge than myself with Chrome.
My understanding of rooting is very basic as with Chrome which I rarely use.
If no one else replies in a day or two, bump it back to the top. Hope you find a work around solution.
AlexiusFrigerius said:
But... If I root my phone, and if the rooting is done without any damage, is there a possibility to get most of my files back? Or, even if I root my device, I will never be able to recover them?
Click to expand...
Click to collapse
Rooting Android by means of TWRP and/or Magisk ( keyword: SuperSU ) affects its /data partition where phone's data typically are housed. Therefore it cannot be excluded that data stored there is overwritten and can therefore no longer be restored.
jwoegerbauer said:
Rooting Android by means of TWRP and/or Magisk ( keyword: SuperSU ) affects its /data partition where phone's data typically are housed. Therefore it cannot be excluded that data stored there is overwritten and can therefore no longer be restored.
Click to expand...
Click to collapse
Is there the possibility if deleted that it's still on the system cache and is there a way to recover it if so on a none rooted phone?
Maybe using ABD?
Don't some on the "one touch" root solutions claim to preserve the data?
Android doesn't have a recycle bin thus nothing gets cached. Deleting a file means nothing else than marking the space it occupies - whereever this disk space is located - as usable so that it can be overwritten by the system.
Have never used a "One-Click-Root" utility ...
blackhawk said:
It sounds like it deleted the data when you rolled the apk back (to factory load?).
If so it's going to be very sketchy at best to recover them.
I guess history's been deleted as well?
There are many coders here that have far greater knowledge than myself with Chrome.
My understanding of rooting is very basic as with Chrome which I rarely use.
If no one else replies in a day or two, bump it back to the top. Hope you find a work around solution.
Click to expand...
Click to collapse
Yes, it's just like I told. And yes, even history has been deleted.
Thank you for your help! I will wait until someone may give me a solution, or a possibility for a solution.
jwoegerbauer said:
Rooting Android by means of TWRP and/or Magisk ( keyword: SuperSU ) affects its /data partition where phone's data typically are housed. Therefore it cannot be excluded that data stored there is overwritten and can therefore no longer be restored.
Click to expand...
Click to collapse
Ok, I understand...
jwoegerbauer said:
Android doesn't have a recycle bin thus nothing gets cached. Deleting a file means nothing else than marking the space it occupies - whereever this disk space is located - as usable so that it can be overwritten by the system.
Have never used a "One-Click-Root" utility ...
Click to expand...
Click to collapse
Thank you for your explanation.
jwoegerbauer said:
Android doesn't have a recycle bin thus nothing gets cached. Deleting a file means nothing else than marking the space it occupies - whereever this disk space is located - as usable so that it can be overwritten by the system.
Have never used a "One-Click-Root" utility ...
Click to expand...
Click to collapse
Yeah I was aware of the overwrite issue but on an unrooted device I don't think you can access the system cache. Even if you could the data could be so juxtaposed from lose of file structure as to be unusable.
One-Click-Root worked on older versions of Kitkat allegedly.
So... I understand. But I want to try. I want to root my phone. But I have to know how and I must prevent my phone from all the risks.
blackhawk: you said that the "One-Click-Root" method worked only for Kitkat Android. But I have read here that with Kingoroot i could have a chance:
How to Root Android Nougat (7.0/7.1) | KingoRoot Apk
Root any Android Nougat 7.0 7.1 device with KingoRoot.
www.kingoapp.com
(It's important: I AM NOT SPAMMING Kingoroot, I just want to understand If I can trust what it's written in their site. Also, in the link, at the end of the page, there is written that I can root my phone with my PC, which, to me, seems a safer way. It's the main idea I had when I decided to write in this forum, because I wanted to know the opinions of people that are very able to use these methods and these kind of programs.)
AlexiusFrigerius said:
So... I understand. But I want to try. I want to root my phone. But I have to know how and I must prevent my phone from all the risks.
blackhawk: you said that the "One-Click-Root" method worked only for Kitkat Android. But I have read here that with Kingoroot i could have a chance:
How to Root Android Nougat (7.0/7.1) | KingoRoot Apk
Root any Android Nougat 7.0 7.1 device with KingoRoot.
www.kingoapp.com
(It's important: I AM NOT SPAMMING Kingoroot, I just want to understand If I can trust what it's written in their site. Also, in the link, at the end of the page, there is written that I can root my phone with my PC, which, to me, seems a safer way. It's the main idea I had when I decided to write in this forum, because I wanted to know the opinions of people that are very able to use these methods and these kind of programs.)
Click to expand...
Click to collapse
You can try it; it will either work or nothing will happen. Even if it works it's likely those files are gone. Maybe better to chalk it up to another lesson from the University of Hard Knocks.
You could try contacting Google tech support to see if they have any ideas.
The last AT&T firmware update was specifically to block easy rooting by Kingroot; the rats learn quick.
blackhawk said:
You can try it; it will either work or nothing will happen. Even if it works it's likely those files are gone. Maybe better to chalk it up to another lesson from the University of Hard Knocks.
You could try contacting Google tech support to see if they have any ideas.
The last AT&T firmware update was specifically to block easy rooting by Kingroot; the rats learn quick.
Click to expand...
Click to collapse
Thank you very much for your help. I understand: I must give up. But the most important thing is to learn something about anything we do. Anything could help for future situations.
"It's a shame to stumble twice on the same stone" (Polybius, 31,11, 5).
Thank you again. Goodbye!
AlexiusFrigerius said:
Hello,
I hope that this is the right side of the forum to describe my problem. I desperately need help. It's a long story:
I had on my Samsung phone the app of "Chrome", which I always use to surf the internet. Using the google browser IN THAT APP, I have downloaded lots of things (I'm a scholar, so I like to read and I use to download everything that I found interesting). I have updated the app and I was frustrated, because I couldn't take anymore screenshots while surfing in "incognito mode". So, I decided to delete the update: i went into "settings", then "apps", and then I have brought back the app of "Chrome" as it was when i bought my phone. Sadly, I then noticed that I had lost every file in my download folder; I had lost every file downloaded with that app.
I had not synchronized my Google account, I can do no backup. I'm so angry and sad because I've always thought that the files downloaded would have stayed in my phone until I and only I would have decide to delete them.
I have done a lot of research on the internet and I have found out that there are some apps that can recover a very large part of lost files. But, in order to do this, I have to root my phone.
My phone is a Samsung Galaxy J2 SM-J250Y/DS, and the Android version is 7.1.1. I have seen that rooting a phone could be very dangerous; also, to me is very complicated. But there is a program called Kingoroot, which, once installed on my computer, could (it's a possibility, I know!) rooting my phone easily.
What should I do? Should I try the rooting method? It seems to me the only way...
I ask you any suggestions... Please help me. I am a depressed student that, in this life, can only enjoy reading and books...
(I am Italian, and I hope my English is understandable. If I did any mistake, please forgive me.)
Click to expand...
Click to collapse
Hi, I would suggest you can try free tool for Android Phone such as Stellar Data Recovery for Android which easily recover deleted files like, photos, audio files, videos files from your Android phone internal memory storage.
Source: https://www.stellarinfo.com/media-tools/android-data-recovery.php
{Mod edit: Quoted post has been deleted}
That drfone again. Scamware.
Do Not Use.
Drfone if used will encrypt "recovered" data and ask you to pay for it. After which the original data is gone leaving only the encrypted copy.
It is not free... not to be trusted!
Ran into this scam many years ago.

Backup problems and questions

Hi, first of all, thank you for reading me.
I think i messed up big time.
I had Havoc OS 4.1 installed since more than a year and it was kinda messy e.g. the sim card card wasnt recognized anymore so wasnt able to make calls because i played to much in the settings.
Having some stupid but incredibly addictive games on this smartphone i decided to keep it like this and since i'm a complete n00bs and being afraid of security risk of rooting my device i never rooted it.
Big mistake.
So, recently, one games needed an update (like they all do at least once a week) and since i'm anti-google/f***book (no comment please) i nvever saved my progress in the cloud and "that" game required absolutely an update.
I installed the update from an alternative apk source and , (applause if you want and laugh), it screwed up the game.
Now the nightmare begin.
Since the device isnt rooted i made a backup of /data partition. Gone crazy and before i might explode in an uncontrollable fury and madness i used LMSA to rescue the phone. And myself, lol.
Now i have stock android and i am googled to the bone. My butt hurts. My head too.
THE (first) simple question is : how can i restore this backup because i have the error 255?
Notes and observations; logically i would say because the device is back with stock rom and doesnt have the same os/rom installed and/or the partition and whatever is not the same wich may explain the error 255.
SECOND QUESTION: can i extract/uncompress this backup and take the precious data wich is my games progresses and restore it somehow?
I know i have to give as much information possible but i dont what else to give. If you need logs, or everything else just say it nicely and i will give it to you with immense pleasure.
Oh yeah, model : XT2113-2 5g Kiev RETCA 128gb a/b type and maybe was crypted before because twrp asked me the password to make backup or else.
Thank you in advance and i really hope somebody would help, if not i just loosed 1.5 years of stupid gaming because i messed up like an idiot. (A lesson well learned, the hard way...)
Thank you so much for not answering this simple question.
Kerplunk83 said:
Thank you so much for not answering this simple question.
Click to expand...
Click to collapse
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
Finally a sign of life from someone here.
Thank you sd_shadow
sd_shadow said:
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
Click to expand...
Click to collapse
These precious brief and concise 2 lines of a simple answer is immensely welcomed.
Wich point me to reply that to my knowledge i interpret it as a security chip with big chances that its in relation to the knox technology.
It also point me to ask WHY, if i cant back up because of that, why/how is it possible to install a custom rom or gsi (sorry i still dont make the difference because i dont understand it) on this very protected smartphone?
That must explain why i had problems trying to root it and fail each time.
Finally i think that i should use another device for android gaming since i dont want to depend on f***book and google.
Thanks again sd_shadow. Even if it was a very simple answer it enlightens me alot.
Note: sorry for my bad english.
Kerplunk83 said:
how can i restore this backup because i have the error 255?
Click to expand...
Click to collapse
This error code means that at some point your backup of /data could not be extracted further. But for more detailed infos you must provide a recovery.log which will be generated when doing a backup of e.g. /boot.
>>> Please DO NOT copy+paste it here!! <<<​Rename it (recovery.log > recovery.log.txt) to be able to upload it within "Attach files".
Kerplunk83 said:
can i extract/uncompress this backup and take the precious data wich is my games progresses and restore it somehow?
Click to expand...
Click to collapse
Yes, use Titanium Backup (TB). Although it's very outdated it still features a restore of single apps out of a TWRP backup. Here's how you do it:
1. IMPORTANT: TB will only search for TWRP backup files on internal storage!! Use the default path created by TWRP, e.g.: /sdcard/TWRP/BACKUPS/ZY322V8K28/2023-04-08--06-53-20/
2. Install and open Titanium Backup.
3. In the upper right corner tap
MENU > scroll down to "Extract from Nandroid backup" > choose your backup folder
##############
Notes:
- Usually a TWRP backup of /data consists of several parts (data.ext4.win000, ~win001, ~win002 etc). TB requires all of them (or at least those ones with the /data/data/ path inside).
- If you are facing this error message:
Could not find any data in this TWRP backup
then your TWRP backup is compressed with gzip. To decompress it you must rename the file
data.ext4.win001 > data.ext4.win001.gz
and extract it with any archiver tool, e.g.:
- ZArchiver (Android)
- 7zip (Windows)
- Problems finding any TWRP backup data with Titanium Backup? Then please check your path!! (see above section)
Good luck!!
Thank you very much WoKoschekk i'll do it as soon i'll have the time for since i'm working today.
Thank you so much again, i'll keep you posted with logs and such.
I'm sorry i didnt gave news since, i'm not doing very well.
there's those 2 question i still have in my head;
1-With all the instructions you gave me is it worthy to continue because when i did the backup i wasnt rooted?
2- i'm sure i read many time to use Titanium Backup (wich is a paid app?) i have to be rooted or have root access.
Ultimately, how can i be rooted if there's a chip preventing me to do so?
I'll keep you posted when i'll be of better health, thank you.
Kerplunk83 said:
-With all the instructions you gave me is it worthy to continue because when i did the backup i wasnt rooted?
Click to expand...
Click to collapse
TWRP backup = *.tar archive
TB unpacks the needed app's data and nothing else. You must be rooted to have access on /data for restoring your apps. But for the backup process it doesn't matter if you were rooted. Root is part of your boot.img.
Kerplunk83 said:
2- i'm sure i read many time to use Titanium Backup (wich is a paid app?) i have to be rooted or have root access.
Click to expand...
Click to collapse
TB is for free. But a paid version unlocks additional features (not related to the TWRP restoring feature).
And yes... root is mandatory for TB. As I said before you must have r/w access on /data/*.
Kerplunk83 said:
if there's a chip preventing me to do so?
Click to expand...
Click to collapse
Which chip?? You already have root access via TWRP. Magisk is only needed in system and just a patched boot.img (custom kernel).
Get well soon!
WoKoschekk thank you for this insanely fast reply.
All those answers and infos have now a gigantic value for me, if only i knew that before.
To describe a bit more my situation i slept only few hours since 5 days, vomiting, heavy coughs and fever.
I'm sure i'm not supposed to but i will anyway, i engage myself and promise to reward you (in particular) and others for the help you're bringing me. It wont be much but very important to me.
I'll go try to get (again) some rest. Just before i go, why was there a mention about my device;
"
The problem is it's a Motorola with a Qualcomm chip.
If you find a solution I would love to see it.
"
I dont ask you (WoKoschekk) or other to explain in the most explicit and endless details of what is exactly this "chip" and all the history that goes with it cause i dont want to be a pain but just why it was mentionned. Only, why?, it has ben mentionned.
I cant wait to get better since i finally see possibilities to get back those files.
Have a nice week-end and thanks again.
@Kerplunk83 To reveal the mystery behind "the chip": Motorola released two variants (Snapdragon/Mediatek CPU) of this model. Since the CPU largely determines the system structure, building a functional TWRP for both of them is very challenging. It seems that TWRP for the SD's variant got some bugs while the MT's variant runs more smooth. Due to this fact the error 255 is caused by something that you weren't be able to fix.
Regarding your problem: To restore an app and its specific app data you need the proper permissions to write in /data/data and /data/app. For this permissions you either need TWRP or Magisk installed. TWRP seems to be unable to write in that specific directory. On the other hand you don't want to install Magisk. I'm sorry but with this setup your problem can't be fixed.
Just out of curiosity, could you provide me a recovery.log showing error 255 during the restore process?
Please DO NOT copy/paste the whole log and post it here!! Instead of this you should rename the file (recovery.log => recovery.txt) because a file called *.log isn't allowed for upload. But a *.txt file is.
Options to create a recovery.log:
1. adb pull /tmp/recovery.log
=> copies a recovery.log into your ADB/fastboot folder
2. Do a backup of sth. like "boot" because the backup process will create a recovery.log by default
3. TWRP mainscreen > advanced > create log (kernel log isn't needed here)
=> log is stored on the default storage (internal or external) that you have choosen for backups etc.

Categories

Resources