Android: dump/extract already deleted messages from FB messenger's cache - General Questions and Answers

Hello everyone!
Does anybody know please, if it's somehow possible to dump/extract messages from the Facebook messenger application which have been already deleted by the user (read correctly as a 'cheating girlfriend') and which maybe left stored somewhere on device within the internal messenger's CACHE memory?
I am pretty sure that they still must have be stored somewhere secretly in the phone, because within the Apps -> Messenger -> Storage -> It still shows that some space is used as following: Application - 100MB, Data -325 MB, Cache - 60.14 MB Total - 486 MB. -> That's a clear evidence that application is using some internal cache storage somewhere...
I've already read many articles found on internet about how to 'very simply' recover deleted messages from the phone saying that you just need to check for subfolder "fb_temp" within the "com.facebook.orca" and WOALA - That's it!
But in fact, it's not so easy at all, because that folder always displays as empty, no matter whether I check it with windows explorer (when the phone is plugged to PC via USB) or using ADB shell.....the subfolder "fb_temp" always appears as an empty folder. Maybe it's because the phone is not yet rooted? I don't know.
Code:
hero2lte:/storage/self/primary/[COLOR="Blue"]com.facebook.katana/fb_temp[/COLOR] $ ls -la
total 8
[COLOR="DarkOrange"]drwxrwx--x 2 root sdcard_rw 4096 2019-02-02 22:51 .
drwxrwx--x 3 root sdcard_rw 4096 2018-08-08 20:03 ..[/COLOR]
-rw-rw---- 1 root sdcard_rw 0 2018-08-08 20:03 .nomedia
hero2lte:/storage/self/primary/com.facebook.katana/fb_temp $
hero2lte:/storage/self/primary/com.facebook.katana/fb_temp $
hero2lte:/storage/self/primary/com.facebook.katana/fb_temp $ cd ../../com.facebook.orca/fb_temp/
hero2lte:/storage/self/primary/[COLOR="Blue"]com.facebook.orca/fb_temp[/COLOR] $ ls -la
total 8
[COLOR="DarkOrange"]drwxrwx--x 2 root sdcard_rw 4096 2019-07-18 23:14 .
drwxrwx--x 3 root sdcard_rw 4096 2017-11-27 00:29 ..[/COLOR]
-rw-rw---- 1 root sdcard_rw 0 2017-11-27 00:29 .nomedia
hero2lte:/storage/self/primary/com.facebook.orca/fb_temp $
hero2lte:/storage/self/primary/com.facebook.orca/fb_temp $
Does anybody have any experience with similar problem ? Maybe it's more for Interpol to ask instead of here ...but ... you never know :laugh:
I've also read several articles about how to correctly root the phone in different fashions, what are the pros and cons... but, if possible, I'd prefer rather to avoid of rooting the phone at all, because it always carries a a high risk of loosing the data / because during the rooting process (for example with combination of latest TWRP and Magisk) it is necessary to wipe all the data - Obviously really I cannot afford go ahead with that option. But anyway, the rooting method does not guarantee me the results which I need to achieve (extract the deleted messages).....OR? Please feel free to correct me if I was wrong.
Any ideas how to figure this issue out?
Some technical facts:
Is phone already rooted?: No.
Phone model: Samsung Galaxy S7 Edge (SM-935F)
Android version: 8.0.0
KNOX version: 3.1 , api level 25 , TIMA 3.3.0
FB messenger version: 224.1.0.18.117
has no SD card, only phone's internal memory is used
Your any feedbacks / hints or advices will be highly appreciated! :good:
PS: any advices like: "find a new girlfriend" are not accepted! :laugh: ...

f4nthomas said:
Hello everyone!
Does anybody know please, if it's somehow possible to dump/extract messages from the Facebook messenger application which have been already deleted by the user (read correctly as a 'cheating girlfriend') and which maybe left stored somewhere on device within the internal messenger's CACHE memory?
I am pretty sure that they still must have be stored somewhere secretly in the phone, because within the Apps -> Messenger -> Storage -> It still shows that some space is used as following: Application - 100MB, Data -325 MB, Cache - 60.14 MB Total - 486 MB. -> That's a clear evidence that application is using some internal cache storage somewhere...
I've already read many articles found on internet about how to 'very simply' recover deleted messages from the phone saying that you just need to check for subfolder "fb_temp" within the "com.facebook.orca" and WOALA - That's it!
But in fact, it's not so easy at all, because that folder always displays as empty, no matter whether I check it with windows explorer (when the phone is plugged to PC via USB) or using ADB shell.....the subfolder "fb_temp" always appears as an empty folder. Maybe it's because the phone is not yet rooted? I don't know.
Code:
hero2lte:/storage/self/primary/[COLOR="Blue"]com.facebook.katana/fb_temp[/COLOR] $ ls -la
total 8
[COLOR="DarkOrange"]drwxrwx--x 2 root sdcard_rw 4096 2019-02-02 22:51 .
drwxrwx--x 3 root sdcard_rw 4096 2018-08-08 20:03 ..[/COLOR]
-rw-rw---- 1 root sdcard_rw 0 2018-08-08 20:03 .nomedia
hero2lte:/storage/self/primary/com.facebook.katana/fb_temp $
hero2lte:/storage/self/primary/com.facebook.katana/fb_temp $
hero2lte:/storage/self/primary/com.facebook.katana/fb_temp $ cd ../../com.facebook.orca/fb_temp/
hero2lte:/storage/self/primary/[COLOR="Blue"]com.facebook.orca/fb_temp[/COLOR] $ ls -la
total 8
[COLOR="DarkOrange"]drwxrwx--x 2 root sdcard_rw 4096 2019-07-18 23:14 .
drwxrwx--x 3 root sdcard_rw 4096 2017-11-27 00:29 ..[/COLOR]
-rw-rw---- 1 root sdcard_rw 0 2017-11-27 00:29 .nomedia
hero2lte:/storage/self/primary/com.facebook.orca/fb_temp $
hero2lte:/storage/self/primary/com.facebook.orca/fb_temp $
Does anybody have any experience with similar problem ? Maybe it's more for Interpol to ask instead of here ...but ... you never know [emoji23]
I've also read several articles about how to correctly root the phone in different fashions, what are the pros and cons... but, if possible, I'd prefer rather to avoid of rooting the phone at all, because it always carries a a high risk of loosing the data / because during the rooting process (for example with combination of latest TWRP and Magisk) it is necessary to wipe all the data - Obviously really I cannot afford go ahead with that option. But anyway, the rooting method does not guarantee me the results which I need to achieve (extract the deleted messages).....OR? Please feel free to correct me if I was wrong.
Any ideas how to figure this issue out?
Some technical facts:
Is phone already rooted?: No.
Phone model: Samsung Galaxy S7 Edge (SM-935F)
Android version: 8.0.0
KNOX version: 3.1 , api level 25 , TIMA 3.3.0
FB messenger version: 224.1.0.18.117
has no SD card, only phone's internal memory is used
Your any feedbacks / hints or advices will be highly appreciated! :good:
PS: any advices like: "find a new girlfriend" are not accepted! [emoji23] ...
Click to expand...
Click to collapse
We will not help you invade someone's device/privacy, regardless of circumstances or how much it matters to you.
Besides, that kind of stuff is not stored on the device, that is stored by Facebook itself in their server network. Recovering deleted messages isn't possible, it is only possible to retrieve messages that have been archived using the archive feature in Facebook/messenger.
The answer that you didn't want is exactly the correct answer in this situation. Forget about it and find a new girlfriend or forget about it and keep her, either way, forget about it. Your choice.[emoji16]
Sent from my SM-S767VL using Tapatalk

Related

need help with partitioning (SDK ADB TOOLS) trying to get internal to 5GB

ok so ive been messing with the partitions of the phone for a little while messing things up quite a bit (supprized i havent bricked yet lol)
so the screen shot is the default way the partitions are set.
{
"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've tried deleting partition 2 & 3 using
Code:
rm 2
rm 3
then i try to make the partitions like
Code:
mkpartfs primary ext4 538 5638 userdata
mkpartfs primary fat32 5638 15.9GB media
i get errors and then my storage isnt accessable so i re root with one click and try agian.
what im trying to do is make internal storage around 5GBs
can anyone help me out with this?
it has to be possible i've read that the whole 16gbs of the phone is all the same chip so it has to be possible to partition it differentlly and i think #1 is the like were CWM is so i dont want to risk deleting that partition without knowing exactally what im doing.
any help would be appreciated
links tips anything
thanks
I don't know if it's possible but it would be really interesting if it would.
I'm having issues replicating your situation which makes it hard to help you profoundly, which errors are you getting?
And, wouldn't it be better to use mkpart instead of mkpartfs?
Greetz
well im new to SDK and tools like this is the first thing ive tried with it im not familliar with all the commands and stuff. but im about to mess with some more stuff and ill try your suggestion
i may be new to android but im not new to computers, i learn quickly and this is the first thing i need to get going before i move forward
were can i get commands and stuff for trying this
facts i know -
the whole 16 gb's of the phones memory is 1 chip, partitioned (by default into 3 partitions)
though not specifically specified -
1. system (i assume recovery and stuff thats not safe to mess with)
2. internal memory (app contacts ect..)
3. external memory (sd card)
since its all one 16gb chip it is possible to re-partition it IE
without messing with option 1
say combine 2 & 3 or make 2 (internal) bigger and 3 (sdcard) smaller
i just need to learn the proper commands and once i have figured this out i will share
the reason i want this -
being able to have say 5 gbs of internal storage, will ensure i will never run out of space for apps games and what not that leave aprox. 10 gbs left for sd card
wich is MORE then enough for my music pictures docs and whatnot
and thus doing this i wouldnt have to move apps to sd with say apps 2 sd or anything and it would leave my external storage cleaner not putting a bunch of misc folders on it
this is getting pretty long so ill wrap it up for now
these are the only 2 things remotely close to what im trying to do
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
&
http://www.simplehelp.net/2009/09/28/how-to-partition-your-androids-sd-card-to-install-apps-on-it/
in simple easy to understand terms what im trying to accomplish is
(refer to pic in 1st post)
1. delete 2 and 3
2. remake 2 so its along the lines of
Code:
2 538MB 5868MB ????MB ext4 userdata
3. and 3 like...
Code:
3 5868MB 15.9GB 10??GB fat32 media
so i need to delete ext4 userdata and fat32 media and re create them with my own defined storage
abd messed up with the sdk update so im done for the night hurting my head trying to get this working so ill be back on it tomorrow, please any help or refrence would be appreciated
Alright so after a few hours of trying I managed to resize all the partitions using Parted. However, it seems that either Android is recreating the partitions or that the internal memory values aren't being read correctly in Android itself.
Know that the first partition contains your system files (ROM, kernel). The second partitions is the /data folder which is basically what is removed when you do a factory reset.
The parted output (after several commando's) is the following (PS: I would've resized my pictures if it wasn't 5AM, sorry):
Unfortunately my Android shows this:
And after a reboot, parted does this:
So now basically I'm not sure if my internal memory has been altered to 2GB and that the Android readings are wrong, or that Android has a safe mechanism and reverts these changes after reboot. Someone with more insight needs to answer that question. I'm leaning towards the latter, unfortunately. Maybe there's a flag somewhere that has be changed (if it were that simple).
Tips to you; make sure you are in your recovery mode when using parted, otherwise you won't be able to access the partitions.
Use (in parted)
resize 3 2612MB 15.9GB - to resize your third partition and shrink it with 1GB
rm 2 - to remove secondary partition (parted can't access ext4)
mkpartfs 2 primary ext2 538 2612 - to make the secondary partition (= internal memory?) 2GB.
Then quit parted and upgrade your ext2 to ext3 and then ext4.
ext2 - ext3:
Code:
tune2fs -j /dev/block/mmcblk0p2
ext3 - ext4
Code:
tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk0p2
e2fsck -fpDC0 /dev/block/mmcblk0p2
Check parted again and you'll see your updated info... until the next reboot.
Anyone else willing to share some knowledge?
Greetz
maybe this will help you figure it out.. http://androidcommunity.com/forums/...egarding-cupcake-21347/index9.html#post223974
its a post i made on androidcommunity.com 2years and 3 months ago for partitioning an sd card, in the G1, through the recovery(there was a terminal included in the recovery then) of the phone. maybe itll help you put this puzzle together with some hints. good luck!
well its progress, atleast were getting somewere. i have a few things to do firste then i have to get my adb working agian and ill get right back on this,
so you were able to resize it but theres a safty precaution prenting it from applying upon reset? hmm ok ill check that out ill do your method above just give me a little while to get around to it.
oh and should i boot into ubuntu doing this? or is windows ok?
You can continue using Windows. If you run "adb shell", adb 'connects' to the shell of your device anyway (which is Linux-based).
If your adb isn't working, make sure you're not in the bootloader menu because that's fastboot. Being in the recovery is the ideal environment to mess around with your phone.
Maybe the fat32 partition (sdcard) has to be removed as well, I just resized it because I figured that since it exists already, it shouldn't be deleted.
Good luck and keep me/us updated
Greetz
Alright a small addition;
Unfortunately I need my phone tonight and tomorrow so I can't mess around with it, so I'll leave you some things to look at and maybe they can help us further.
I've been digging through the filesystem and found partition specification files in /sys/block/mmcblk0/ and sys/devices/mmcblk0. It are directories that contain the classification of devices.
I pulled them to take a closer look and what I found was rather interesting.
It contains 3 folders, one for each partition. Inside those folders are the specifications for the partition. Let me tell you that I'm not sure how Android treats these files (ergo; are they static and loaded on reboot, causing the revert of the partitions - or dynamic and created somehow else).
Here's a quick rundown of the files, I'll use mmcblk0p2 because that's the internal memory, same logic applies to mmcblk0p1 and 3:
Code:
-r--r--r-- 1 root root 4096 Oct 22 18:52 alignment_offset
-r--r--r-- 1 root root 4096 Oct 22 18:52 dev
-r--r--r-- 1 root root 4096 Oct 22 18:52 discard_alignment
drwxr-xr-x 2 root root 0 Oct 22 18:52 holders
-r--r--r-- 1 root root 4096 Oct 22 18:52 inflight
-r--r--r-- 1 root root 4096 Oct 22 18:52 partition
-r--r--r-- 1 root root 4096 Oct 22 18:52 partition_name
drwxr-xr-x 2 root root 0 Oct 22 18:52 power
-r--r--r-- 1 root root 4096 Oct 22 18:52 size
-r--r--r-- 1 root root 4096 Oct 22 18:52 start
-r--r--r-- 1 root root 4096 Oct 22 18:52 stat
lrwxrwxrwx 1 root root 0 Oct 22 18:52 subsystem -> ../../../../../../../../../class/block
-rw-r--r-- 1 root root 4096 Oct 22 18:52 uevent
There's a start and size file. The size file contents are:
2097152
2097152 is equal to 1GB, it is the sector size. Multiplying this value by 2 would set the size to 2GB.
If that is done, I would assume that the value mmcblk0p3/start has to be shifted by 2097152 and the size reduced by 2097152, if that makes sense to you.
There's also a weird symlink to a subsystem, /class/block, of which I can list and cat its contents but I have no idea how to access it properly, can't cp it either. Looks like Android protects this area somehow. Basically it contains copies (or originals?!!) of the files in /sys/block.
I know that in the Linux kernel all three classification directories (sys/block, sys/class, sys/bus) are merged into one place at /sys/subsystem, following the layout of the bus directories. All buses and classes, including the converted block subsystem, will show up there. But unfortunately my knowledge of the Android kernel is far too limited to know what exactly is going on.
So maybe changing the contents of all these files and then using parted to partition the partitions, making them exactly the same as the values that these files imply, could make the changes the the internal memory stick.
Once again, if anyone has another idea, please let us know.
Greetz
well ive done alot of messing around to no avail anyone have any useful info on this matter?
On the Hero we would use firerat mod. It required a change to recovery for it to work as well as a change to the boot partition. I'm not sure what phone it was developed under but there should be a thread/link in the hero cdma section. Not sure if it will help, but it's purpose was to allocate cache to system for the same purpose on phones without much internal storage.
Sent from my Nexus S 4G
dpeeps74 said:
On the Hero we would use firerat mod. It required a change to recovery for it to work as well as a change to the boot partition. I'm not sure what phone it was developed under but there should be a thread/link in the hero cdma section. Not sure if it will help, but it's purpose was to allocate cache to system for the same purpose on phones without much internal storage.
Sent from my Nexus S 4G
Click to expand...
Click to collapse
https://github.com/Firerat/CustomMTD
I found that too, will that work for the Nexus S internal NAND memory though?
If yes, it'll be awfully simple to implement what we're trying to achieve.
Greetz
You just have to go through the source and make it all nexus-s-specific. It should work once all the specs are changed to our partitions and such
I'll look into that next week, should be possible.
Thanks,
Greetz
so this might be possible with that old method?
you guys figure anything out?
bump - any progress?

[How to] Transfer Angry Birds progress from a jailbroken iPhone to a rooted Android

Some steps may be unnecessary and some could be performed using different tools.
The general idea is that there are two files that need to be copied from your iPhone to your Android phone matching the owner and permission.
The tools you use are up to you and depend on your skills.
If you find ways of achieving this without jailbreaking or rooting your phone please post them. Probably a combination of iTunes backups and Titanium may work.
To follow this guide you will need:
- A jailbroken iPhone.
- A rooted Android phone
- Some knowledge of Unix-like system, access using ssh your phone, permissions, gid:uid owner, etc. It's not rocket science but I'm not going to explain these concepts here.
1. Getting highscores.lua and settings.lua
1.1 Jailbreak your iPhone if you haven't done it yet.
1.2 Download i-Funbox in your computer. If you don't use Windows, you can install Openssh on Cydia and follow this guide accessing your iPhone with a ssh/scp client to copy these files. Files are in /private/var/mobile/Applications/(very long string)/Documents
1.3 Connect your iPhone, open i-Funbox and click User Applications.
1.4 Find Angry Birds folder, go to Documents folder and copy highscores.lua and settings.lua to your computer.
We are done with the iPhone. I'm assuming that in your Android phone you have installed Angry Birds, successfully completed one level at least and closed the app completely.
2. Copying highscores.lua and settings.lua
2.1 Root your Android phone if you haven't done it yet and install SSHDroid from the Android Market.
2.2 Open SSHDroid and wait until it generates the keys.
2.3 Access your phone using a ssh client.
2.4 On Android, highscores.lua and settings.lua are in /data/data/com.rovio.angrybirds/files/
Code:
cd /data/data/com.rovio.angrybirds/files/
2.5 Backup highscores.lua and settings.lua renaming them to highscores.bak and settings.bak
Code:
mv highscores.lua highscores.bak
mv settings.lua settings.bak
2.6 Copy iPhone's highscores.lua and settings.lua to /data/data/com.rovio.angrybirds/files/ (any scp client you know how to use)
2.7 Check the gid:uid owner and permissions of highscores.bak and settings.bak
Code:
ls -l
total 48
-rw-rw---- 1 10069 10069 52 Nov 19 13:24 ServerIPsList
-rw-rw---- 1 10069 10069 18 Nov 19 13:24 ab9ee6142b1cbf238e7b5f3fde8977d5dd9dfc53
-rw-rw-rw- 1 10069 10069 96 Nov 19 13:24 highscores.bak
-rw------- 1 0 0 15920 Nov 19 13:31 highscores.lua
-rw-rw---- 1 10069 10069 7692 Nov 19 13:24 last_response_for_Burstly_Banner_Ad
-rw-rw---- 1 10069 10069 2659 Nov 19 13:24 last_response_for_Burstly_Interstitial_Ad
-rw-rw-rw- 1 10069 10069 816 Nov 19 13:24 settings.bak
-rw------- 1 0 0 1888 Nov 19 13:31 settings.lua
2.8 Change owner and permissions accordingly
Code:
chown 10069:10069 highscores.lua settings.lua
chmod =rw,=rw,=rw highscores.lua settings.lua
2.9 Change timestamps
Code:
touch -r highscores.bak highscores.lua
touch -r settings.bak settings.lua
2.10 Verify .bak and .lua files now have same permissions, uid:gid and timestamps
Code:
ls -l
total 48
-rw-rw---- 1 10069 10069 52 Nov 19 13:24 ServerIPsList
-rw-rw---- 1 10069 10069 18 Nov 19 13:24 ab9ee6142b1cbf238e7b5f3fde8977d5dd9dfc53
-rw-rw-rw- 1 10069 10069 96 Nov 19 13:24 highscores.bak
-rw-rw-rw- 1 10069 10069 15920 Nov 19 13:24 highscores.lua
-rw-rw---- 1 10069 10069 7692 Nov 19 13:24 last_response_for_Burstly_Banner_Ad
-rw-rw---- 1 10069 10069 2659 Nov 19 13:24 last_response_for_Burstly_Interstitial_Ad
-rw-rw-rw- 1 10069 10069 816 Nov 19 13:24 settings.bak
-rw-rw-rw- 1 10069 10069 1888 Nov 19 13:24 settings.lua
14. Open Angry Birds and enjoy.
I'm so busy at the moment and I can't create a step by step guide including jailbreak, rooting or applications to access both iPhone and Android. If anybody is interested in doing it, please feel free to do so. Not given credit is necessary.
I hope this usefu!
fombuena said:
If you find ways of achieving this without jailbreaking or rooting your phone please post them. Probably a combination of iTunes backups and Titanium may work.
Click to expand...
Click to collapse
It's not possible without a root, because application data is private to it. Titanium also requires root to do backups.
YOU ARE A GOD! Thank you so much for this! I've put a ridiculous amount of time into all 3 games on my iPod touch. Since getting an Android tablet a number of months ago, I've quit playing the games because I like it so much better on the tablet screen, but I really didn't want to play through all of them 3 starring everything again. I suppose I'm a bit OCD about it. Rovio has been hinting at some sort of cross platform sync for the games since last spring, but the feature still hasn't shown up yet. My guess is that whatever the cause of the delay is, they will probably just introduce it with the inevitable Angry Birds 2 instead.
Anyway, I've been looking around for months trying to find a way to edit the Android score files or something to get the scores matching those on my iPod. I know there's tons of unlocking apps, but I didn't want to just unlock the levels. I wanted a way to move my stuff from the iPod to my tablet, and retire my Apple device!
As of last night, I found this thread. Instructions were simple enough and it worked like a charm! Thank you again so much for this information! My 3 year old loves playing it on the tablet as well, but he gets frustrated because I hadn't unlocked many levels. Thanks again!!
---------- Post added at 08:21 AM ---------- Previous post was at 08:13 AM ----------
Brut.all said:
It's not possible without a root, because application data is private to it. Titanium also requires root to do backups.
Click to expand...
Click to collapse
Root is definitely necessary for the Android side, but for the IOS side, there are a number of apps that can extract and browse files from an iTunes backup. My iPod was already jailbroken so I used the SSH procedure, but I don't think there's any reason why you couldn't use one of those apps to pull the LUA files out of the iTunes backup. Assuming that works, that would mitigate the need to jailbreak your IOS device.
You might be able to get around the Android root by using one of the Angry Birds backup utilities on the market, if there's a way to replace the LUA files in a backup from one of those apps. Some of those Angry Birds backup apps don't require root. The only problem is that you would need some way of viewing the time stamp and owner permissions of the current LUA files for the game. I'm not sure if there's any way to view that information without root. Can you view the entire file system (not edit) without root access?
Hardest part is getting the files of the iphone.
Getting them on the android device is easy if you have a dropbox account. Rooted phone or tablet is not necessary, works with both.
There is a utility on the android market which allows backup to the device or to your dropbox account. Play all three games once on your android device, backup to dropbox and let it sync back to your pc.
Rename the files you got from the iphone to match those from your android device or in my case the ipod touch and overwrite the files in your dropbox. Let dropbox sync back with the cloud and then run the utility on the android device and this time restore.
Your in game scores, settings etc will be exactly as your apple device.
Simples
backlund said:
As of last night, I found this thread. Instructions were simple enough and it worked like a charm! Thank you again so much for this information! My 3 year old loves playing it on the tablet as well, but he gets frustrated because I hadn't unlocked many levels. Thanks again!!
Click to expand...
Click to collapse
I'm so glad it was helpful and it worked for you. I wasn't sure if it was going to be of any use but decided it was worth to put it on writing.
I see there are more ways of doing this as I suspected. I hope people add info here or in any other posts so someone dealing with it can find more options.
transfer angry birds progress
I like this post. It meets my need.
Brut.all said:
It's not possible without a root, because application data is private to it. Titanium also requires root to do backups.
Click to expand...
Click to collapse
jailbreak is not needed.
jerrywhite928 said:
I like this post. It meets my need.
Click to expand...
Click to collapse
I like it thanks
Wow, brilliant solution. Only work for jailbroken iPhone? i usually use this app to transfer data from iPhone to Android. Although it costs a few bucks, it's more efficient to do with an automated solution instead of hands.

[Q] Rsync for Android with Synology NAS

Hello,
I am trying (and already did last year w/o success) to sync a folder of my Android with my Synology NAS.
I got several errors, and really cant understand why its not working.
I downloaded the app, got binaries, generated key, sent the .pub to my NAS through Dropbox, and renamed it to authorized_keys.
DiskStation> pwd
/volume1/homes/Marco/.ssh
DiskStation> ls -las
4 drwx------ 3 Marco users 4096 Feb 22 00:07 .
4 drwxr-xr-x 5 Marco users 4096 Feb 21 20:54 ..
4 -rwxrwxrwx 1 Marco users 602 Feb 21 20:52 autorized_keys
DiskStation> cat /etc/passwd | grep Marco
Marco:x:1027:100::/var/services/homes/Marco:/bin/sh
Then, the app on my Galaxy Nexus 4.2.2 stock:
/sdcard/Music
Marco
192.168.1.107 22
/sdcard/dss_key
/volume1/homes/Marco/MP3
-a --progress
It just say connection error. If I do this for 5 times, my NAS block newer connections due to autoblock policy. So its reaching the NAS.
If I change port to 873, I got this on my NAS
2013/02/21 22:17:50 [6382] rsyncd version 3.0.8 starting, listening on port 873
2013/02/21 22:21:09 [20405] connect from GNexus (192.168.1.19)
And this on Android:
Connection unexpected closed (code 12)
Got no checkboxes selected.
And I can ssh to diskstation using Marco and my password.
By the way, I had to manually put android folder. Oi Filemanager only picks up files.
And when trying to backspace portnumber, when deleting the first number, got a force-close.
Hope someone can clarify it for me.
Best,
Marco
Hi Marco,
I have the same problem with rsync for android and my synology.
Do you have any new informations on this?

How to replace vroot superuser with supersu

If you was one of those who root their devices by using VRoot method and would like to remove chinese superuser and related files ...
You can now replace it easily with SuperSU by following these instructions :
1. Download and unzip "Replace_VRoot_With_SuperSU.zip" file
2. Copy the folder "mrw" to phone storage
3. In terminal type
Code:
su
4.
Code:
sh /sdcard/mrw/root.sh
That's all
This is not a method of rooting, it's just for replace vroot chinese superuser with supersu not more
You don't need to disable knox because my script will disable it
If you are going to use it, Please post which device does/dosen't work
File : http://www.mediafire.com/?ky9845gisnn3824
Video : http://www.youtube.com/watch?v=crLvs8ec0FE
Confirmed working on :
GT-I9505
SCH-I545
SGH-I337
...
Credit goes to chainfire for his rooting files
I can confirm GT-I9505 is working flawlessly on MJ7
Sent from my GT-I9505 using Tapatalk
MJ9 +
Does this block the software from connecting to the servers in China and sending data?
Boing7898 said:
Does this block the software from connecting to the servers in China and sending data?
Click to expand...
Click to collapse
It will remove it completely, no Chinese superuser, no connecting to the servers, no sending data.
Lost root
Funny, I lost root after following your guide. LOL
My device is Xperia Z1.
not working for lenovo s939
It is vital that I don't break knox. When you say your script disables it do you mean it changes it to 1?
Not Working on My Qmobile
Internal Storage?
Tried it and no luck. What exactly do you mean by 'Storage?' You mean place it at the root of the sdcard, yes?
Anxiously awaiting a reply.
Everyone who is complaining that this doesn't work do realise that this is the Galaxy S4 thread?
There is nothing vague here. Download the file. Unzip it. Place the folder called mrw that is in that zip into the root of your phone (internal) storage. Then use Terminal to run the commands given. It's really very easy.
There are a couple of things you should note. This was released nearly 5 months ago for JB 4.3 and the OP hasn't been back to confirm it works on KK 4.4.2. Also, this is specifically for changing the SuperSU when you have rooted using Vroot not for any other rooting process.
Sent from my GT-I9505 using Tapatalk
golagha11 said:
Funny, I lost root after following your guide. LOL
My device is Xperia Z1.
Click to expand...
Click to collapse
mee too on Lenovo s660
uninstall Vroot
Works on my Elephone P9, Android 4.4.2, but with lost su. Now I will find better tool for rootig this tool
Works on Elephone P8 mtk6592 - clone (myefox)
Confirmed working on :
GT-I9505
SCH-I545
SGH-I337
P8 mtk6592 5.7".
Credit goes to chainfire for his rooting files[/QUOTE]
it works perfectly with my lenovo A10 , thanks
Bad experience with KitKat 4.4.2 on MTK6582. It didn't install the SuperSU and also caused loss of existing ROOT privilege. Had to use iRoot again to ROOT it (as iRoot seems to be the only ROOTing solution for this device, even vRoot fails).
Thanks to @Mr.W0lf for the script
I know this thread is about Galaxy S4, but I think general info about "chinese superuser app" (superuser installed with vRoot, RomasterSu, iRoot, Kingroot... all of them install same kinguser app) could be useful for anyone who wants to replace this app.
I tried to post in his forum some doubts How to Remove/Replace Chinese VRoot superuser with SuperSu, where I think there is an updated version 28-Jun-14 : upload new version to fix issue for non Samsung devices and delete more VRoot folders and files (not tested yet, waiting feedback ...). ... Replace_VRoot_With_SuperSU_V2.zip
but I finally managed to solve it and managed to replace kinguser with superuser (opensource, com.koushikdutta.superuser), so I have a clean system.
I share here some info, I hope it helps someone or maybe helps to make a generic script.
I found similar script in another XDA thread VRoot to SuperSU Installer
- First attempt: trying to install whatever new superuser app (superSU, superuser from Chainfire, superuser from Koush) over kinguser did not work: app installs ok, but it fails when trying to update su binary, and kinguser keeps controling superuser requests.
For example with superuser from Koush app message was "There was an error installing Superuser. Please send a log of the error to the developer"
- Second attempt: After googling I found this script, and I tried to change it for my phone (M-HORSE N9000W, android 4.2.2)
(First original, as comments with #, second replacement)
Code:
#/system/bin/rm /system/app/Superuser.apk
/system/bin/rm /system/app/Kinguser.apk
#/system/bin/rm /data/app/com.mgyun.shun.apk
#/system/bin/rm /data/app/com.mgyapp.android.apk
/system/bin/rm /data/app/com.kingroot.kinguser-1.apk
#/system/bin/rm -r /dev/com.mgyun.shua.su.daemon
#/system/bin/rm -r /dev/com.mgyun.shua.su
#/system/bin/rm -r /data/data/com.mgyunapp.android
/system/bin/rm -r /data/data/com.kingroot.kinguser/
#/system/bin/rm -r /data/data/com.mgyun.shua.su
#/system/bin/rm -r /sdcard/android/data/com.mgyun.shua.su
#/system/bin/rm -r /sdcard/mgyun
#/system/bin/rm -r /sdcard/mgyapp
#/system/bin/rm /data/dalvik-cache/[email protected]@com.mgyun.shua.su.apk.classes.dex
/system/bin/rm /[email protected]@[email protected]
More things checked
Code:
[email protected]:/ #ls -l /system/etc/inst*
lrwxrwxrwx root root 2015-01-21 01:37 install-recovery.sh -> /system/bin/install-recovery.sh
-rw-r----- root root 85328 2014-12-23 16:30 install-recovery.sh-ku.bak
lrwxrwxrwx root root 2015-01-21 01:37 install_recovery.sh -> /system/bin/install-recovery.sh
[email protected]:/ #more /system/etc/install-recovery.sh
#!/system/bin/sh
/system/xbin/ku.sud -d &
/system/etc/install-recovery-ku.sh
/system/etc/install-recovery-kr.sh
Is the same content for /system/bin/install-recovery.sh
I also found /system/xbin/kugote, and I tested with strings these files are binaries related with kingroot
So I think I should add:
Code:
/system/bin/rm /system/xbin/ku.sud
/system/bin/rm /system/xbin/kugote
/system/bin/rm /system/etc/install-recovery-ku.sh*
I am not sure if it is mandatory to install busybox (some lines of the script do that), as I have it already installed
I tried that... but it did not work
Somehow kinguser allows to do anything as root ... except remove himself!
For example I was able to remove and write in /system after rw mount, but trying to remove or replace su binary fails ! so this script was not working.
And yes, I do have root access: I was tired to find post saying that if you can't delete a file in /system is beacuse you are not root or you have not rw mounted it ...
Code:
[email protected]:/ # id
uid=0(root) gid=0(root)
[email protected]:/ # uname -a
Linux localhost 3.4.5 #1 SMP PREEMPT Tue Sep 30 16:51:10 CST 2014 armv7l GNU/Linux
- Third attempt: I have an idea. I started a root adb shell, and being root, I unistalled kinguser (it has the option to return phone to "unrooted" state), ... I should have a root shell where I could be able to install a package through "pm" android utility ... no luck
- Fourth attempt and sucess: I have a new idea. As I realized I was able to replace kinguser with superuser in some phones, I thought that maybe some old kinguser app where easier to replace, so I tried to install old romastersu versions
I found that old versions did not work if wifi is disabled!? and with RomasterSu_1.1.4_140611_1000.apk I was able to use a simple Google Play com.koushikdutta.superuser was installed without error and replaced ok kinguser. New superuser requests were managed with new app.
I uninstalled kinguser with titatinum backup, and I made some cleanup
Code:
/data/data/com.kingroot.kinguser/
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 app_crash
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 app_tomb
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 applib
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 cache
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 databases
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 files
lrwxrwxrwx install install 2015-01-26 22:58 lib -> /data/app-lib/com.kingroot.kinguser-1
drwxrwx--x u0_a114 u0_a114 2015-01-26 23:02 shared_prefs
A helpfull advice
my mobile is xolo q2500
its my advice to backup the chinese superuser (kinguser) with es file explorer before trying this method.
when i tried this method it seems to like working on my phone but when i check the root-checker it said "u have no root access" then i got upset
then i restore the kinguser then i get root access again
in short before replacing the chinese superuser, please backup the previous one because it will uninstall the previous one
but now the same problem - HOW TO REPLACE CHINESE SUPERUSER?
because this superuser is not giving permission to every app. it dose give permission to "GameCIH" and when i start "gamekiller" app it gives root access after 10 to 15 minutes.:crying:
Elephone P3000s
Works with Elephone P3000s.
BUT I now have a flash of red border when exiting settings and some other screens. Not visible with all menu screens.
Wonder if anyone knows a fix for this?
Working on MT6589 - SM-G900H
Thank You!

[Q] I think Internal Flash memory of my Android Device has some allocations dead

Greetings dears XDA members!
I read out many many many of posts before postings, and also used "search" feature in order to find a topic like mine, but with no success.
Well, I start to explain my problem..
====
A few days ago, my Samsung Galaxy Tab 2 (10'1)'s tablet caused some reboots without really beings really very common, but now .. reboot frequency has greatly increased since yesterday day.
A quick check using the "Reboot Checker" (you can find it through the Google Playstore: https://play.google.com/store/apps/details?id=jp.chau2chaun2.rebootchecker), and I can see that reboots are really common now as showed by the log reports showed in "RebootCheckerLogReports.png"'s file attachment to my post.
So.. What I do of specials before reboots are produced??
Hmm.. Really nothing, really:
I always deactivate the "AutoUpdate" for Apps from Google Play
Before reboots are encountered, I not installed any applications
I never install applications and Games out of Google Play official market
I just play to few games (like usually I do): Fantasica, Rage of Bahamut, Legends of Cryptids, Arcana Magic, DarkLords, Bingo Blitz, Chaos Drive, and that's all..
All applications I install from Google Play are recommanded/unlocked by AppGratis (and other websites like this)..
I never rooted my system (And I see now, I'll have to do on Day 1 of the purchase of the tablet ... since no-rooted an Android System doesn't permit recovery things at an advanced state..)
So, due to that reboot, I firstly thought that was a memory storage issue like, not enough diskspace. (with all that AppGratis applications, I have less disk storage memory indeed xD).. Then, I uninstalled some apps which I installed some months ago and I less used..
Bad Tought: Reboots hasn't been discontinued... ** sigh **
I think then it was update of Google Apps (like Google+, Google Talkback, Google Mail, Google Youtube etc..), so I updated them from Google Play..
Again, Bad Toughts: Reboots still here.. ** big sigh **
Well.. my hope was then at this state ported to Internet...
So I read many topics on "Unattended Reboots"..
And I finally found something of VERY useful.
On here: http://android.stackexchange.com/qu...-determine-the-cause-of-random-device-reboots
Glad I find that StackExchange question, I now that the "su" (Linux SuperUser if I well understand my Linux course), is not possible under a non-rooted Android (that a stupid behavior for an Operating System that.. But.. Well.. I continue)..
So, I started to think how I will be able to catch this file... and save in a readable folder..
Hopefully, 1 year ago I installed an app named: "ES Explorateur de fichiers" (find out this here: https://play.google.com/store/apps/details?id=com.estrongs.android.pop)
And this great apps was letting me accessing to the wanted file: /proc/last_kmsg
(I shared it to my DropBox linked account, and then I was able to open it on my Windows 7 Computer).
I then provide the log here: https://www.dropbox.com/s/u9ble2ui30io5x8/last_kmsg
So.. In the meantime, I started to analyze the log, and visiblely, my main (and sad) problem is that my Internat Flash Drive is dead.. Since I/O errors are the only main reason to Kernel Panic and reboots..
Well.. My warranty is void since months now.. (well well.. well..)
I then can't RMA the product (the tablet if I understand well).
I don't want wipe datas/cache and anything before try some new XDA tricks.. (I don't expect do much like that, but hey.. Hope is Hope.. my datas aren't important, it's true, it's mainly Game Saves and Unlock keys for AppGratis recommanded applications, but then, if I wipe datas, I will lose ALL of theses free unlocked apps.. This is a thing I doesn't really want, if you mean what I want mean..)
... so... I started to think what we can do for fix bad sectors on Linux (since Android is based on Linux and Dalvik if I (again) understanded well).
I hink that fixing bad sectors allocations it will fix the problem, since if I analyze my Internal storage (called sdcard0) there is sometimes the scan is finished without reboots!
So I was directed on XDA-Developers (which I know that you are famous for your system hacks and morever) here by Google : http://forum.xda-developers.com/google-nexus-5/help/reboot-due-to-kernel-panic-t2553949
I saw this post: http://forum.xda-developers.com/showpost.php?p=48250638&postcount=3
And then a quick search on Google again on the words "Android + fsck the filesystems through adb shell" redirected me to that excellent post: http://forum.xda-developers.com/showthread.php?t=2165870
This is a great information, but... I don't know how to go in recovery mode from my Galaxy Tab 2. So.. I searched on the web for it, and found that: http://forums.androidcentral.com/sa...ing-into-recovery-mode-galaxy-s2-s3-tab2.html
So.. I started blink my eyes, and go for hard work, and since I already in the past installed the Android SDK (for develop personal mobile apps with Titanium Studio, Adobe Cordova, PhoneGap), and do all update especially installed adb..):
Once plugged to my PC and booted in recovery mode, I was able to access to the famous recovery mode
(This was so exciting due to the fact I like the way of it look: especially the Android bot unfixed in the background ^_^).
So, on my PC I started to open a command line in the folder: C:\SpecialAppDevelopper\Google Android SDK\platform-tools
(this is where I installed the Android SDK)
and typed this:
Code:
C:\SpecialAppDevelopper\Google Android SDK\platform-tools>adb devices
This showed me that:
List of devices attached
c16073dc82dc68f recovery
Click to expand...
Click to collapse
So it worked! My device was successfuly attached to ADB !! What an excitation !
I then continued typing other commands:
Code:
C:\SpecialAppDevelopper\Google Android SDK\platform-tools>adb shell
This output that:
[email protected]:/ $
Click to expand...
Click to collapse
Good. Now In this shell access I typed :
Code:
mount /system
Not good here since all I get is a USAGE warning with options recommanded. (like a return of a MAN command..)
[email protected]:/ $ mount /system mount /system Usage: mount [-r] [-w] [-o options] [-t type] device directory
Click to expand...
Click to collapse
Well.. tryied the next command in order to listing report file system disk space usage:
Code:
df
all I got as output was occuped space, not the path of the mounted images...
Well...
Now, I started to reanalyze my last_kmsg log in order to find which path they are..
I found it!
[ 94.965454] C1 [jbd2/mmcblk0p10]
So... I started to return to my ADB commandline window and typing:
Code:
ls -l /dev/block/mmcblk0p10/
This outputed that:
/dev/block/mmcblk0p10/: Not a directory
Click to expand...
Click to collapse
So as it looks a good path, I started typing this:
Code:
e2fsck -n /dev/block/mmcblk0p10
And even if it is the right path (one of the right path, I don't tryied with others...), I got this output:
e2fsck -n /dev/block/mmcblk0p10
e2fsck 1.41.11 (14-Mar-2010)
e2fsck: Permission denied while trying to open /dev/block/mmcblk0p10
You must have r/o access to the filesystem or be root
Click to expand...
Click to collapse
Yeah... I'm not root, cool, even in a Recovery Mode on a non-rooted Android Operating System (Logic in a way, but very difficult to fix problems then occuring then )..
Ok.. So, My mind blinked in an idea when looking at this: You must have r/o access to the filesystem or be root
So.. This is not needed to be root for executing a e2fsck command in Recovery Mode, but in that case I need having access to the filesystem in a READABLE mode. OK.
So, Hope started to bringed back, and I made new Google research, on "mount an android filesystem in recovery mode"
I was then directed here:
- http://forum.xda-developers.com/showthread.php?t=1396864 - Very complex for me, I don't want brick my system.. So I skipped.
- http://androidforums.com/droid-all-...tem-when-trying-adb-push-app.html#post6347416 -
So.. For being root in recovery mode, I can also type the simple command: adb root
Ok... What I do..
And, as expected it doesn't worked for me:
C:\SpecialAppDevelopper\Google Android SDK\platform-tools>adb root
adbd cannot run as root in production builds
Click to expand...
Click to collapse
Ahaha.. Well starting to be hopeless now.. I'm finally just an user of my OWN tablet.. How it's ridiculous.
This is a bit tedious, because all my future Google research in order to find how to simply "mount" a filesystem as readable (and then replace it as it was after the process..) aren't really efficient, I founded nothing of useful..
Nothing usefull but that: http://android.stackexchange.com/a/69307
So, it seems I will be able to mount as readable a filesystem through Production Recovery Mode (the one I'm forced to use then..)..
BUT..
Well.. Now, since I don't know what I can type for mounting my filesystem... as readable just for make a e2fsck... Seriously..
Help me dear gurus, i'm completely lost because my Linux knowledge stop here !
New informations..
I tryied an another method in order to list devices symlinks names:
Another way to check is to use adb to view the devices file system.
Related to this thread: http://forum.xda-developers.com/showthread.php?t=1463756
Thanks to it (even if it isn't how mounting in RW)
So, when plugged in Recovery Mode I typed:
Code:
adb devices
adb shell "ls -R /dev/block"
The -R is because I want have the realpath of each items listed
Well, this was the output:
/dev/block:
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p10
mmcblk0p11
mmcblk0p2
mmcblk0p3
mmcblk0p4
mmcblk0p5
mmcblk0p6
mmcblk0p7
mmcblk0p8
mmcblk0p9
platform
ram0
ram1
ram10
ram11
ram12
ram13
ram14
ram15
ram2
ram3
ram4
ram5
ram6
ram7
ram8
ram9
/dev/block/platform:
omap
/dev/block/platform/omap:
omap_hsmmc.1
/dev/block/platform/omap/omap_hsmmc.1:
by-name
by-num
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p10
mmcblk0p11
mmcblk0p2
mmcblk0p3
mmcblk0p4
mmcblk0p5
mmcblk0p6
mmcblk0p7
mmcblk0p8
mmcblk0p9
/dev/block/platform/omap/omap_hsmmc.1/by-name:
CACHE
DATAFS
EFS
FACTORYFS
HIDDEN
KERNEL
MODEM
PARAM
RECOVERY
SBL1
SBL2
/dev/block/platform/omap/omap_hsmmc.1/by-num:
p1
p10
p11
p2
p3
p4
p5
p6
p7
p8
p9
Click to expand...
Click to collapse
Also, I read from here: http://forum.xda-developers.com/showpost.php?p=44328873&postcount=10
That E2FSCK will better be secure when executed on a named partition, can you confirm me it or no?
Now, I think..
Since, I know on my Windows when a sectors in corrupted or broken state, I can simply tell to the OS (Windows so) that I want it IGNORE it !
How I can do the same things to my Galaxy Tab 2?
It certainly fix my problem like that no?
Well well..
It is not better than it was, I really need advices and moreover help to know what I can do with the "mount" command and plus..
I was at 4'th page of the forum, so I think my thread just goes skip from your eyes, this is why I want up it..
Anyway, I read somewhere there is a lot of commands available.. due to the fact I'm not aware suffisely with Linux, and due to the fact Android recovery commands (and moreover the System) is based on Linux.. I prefer ask here..
So please, please.. answer me

Categories

Resources