Need a good app that search and delete duplicate files - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

Well the topic basically sums it up. I tried a few in thr market none of seem to do a half way decent job.
Sent from my SPH-L720 using xda premium

You could probably write a shell script to gather all file names and md5sums. then have it delete the duplicates or maybe even prompt the user which to delete. If you decide to do something without user input check out $cripter for running the shell script.
mjwhitta - Galaxy S4

Related

Please delete

Found a better place to restart this project
To avoid confusion, all technical explanations have been moved to google-code:
http://code.google.com/p/cupcake-frosting/wiki/Ext2buntu_Technical
Resizing images and explanations of the various scripts that are used can be found there.
Screenshots:
https://picasaweb.google.com/110545...authkey=Gv1sRgCLDd48n2oMWzpAE&feat=directlink
Interested in trading in Ubuntu for BackTrack? I recommend looking here:
http://forum.xda-developers.com/showthread.php?t=1146255
References:
Personal insanity and the inability to accept whats already available
http://code.google.com/p/android-cruft/wiki/LucidWithAndroid
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/
http://forum.cyanogenmod.com/topic/15702-ubuntu-on-your-g2-anyone/
http://forum.xda-developers.com/showthread.php?t=633246
http://www.codesourcery.com/sgpp/lite/arm
http://forum.xda-developers.com/showthread.php?t=987740
http://androidclone.com/forums/showthread.php?tid=23
Sent from my ADR6400L using Tapatalk
That is bad ass... But my head just exploded.
Sent from my ADR6400L using XDA App
Oh man! Can't wait to get home to try this!
Sent from my ThunderBolt using XDA App
I left out installing the android sdk because that has to be done in ubuntu and has no special instructions. If i could host a 4gb file somewhere, i back up my image (since i have mistakenly cleared the partition trying to delete the symlink) and that would save two whole posts.
Sent from my ADR6400L using Tapatalk
Which Android SDK version should I install on Ubuntu? Linux version?
Wow... I have no idea what language the first two posts were in but I feel like I really want to look into this. Haha. You effectively blew my mind. I just can't get enough of this device and forum. The more I learn, the more excited I get. This one is a bit over my head though.
chocoyo00 said:
Which Android SDK version should I install on Ubuntu? Linux version?
Click to expand...
Click to collapse
Yes, i would sugget doing that from inside ubuntu, or you could cheat like i did and download the file then move it into the data/ubuntu folder using root explorer.
bking_soda said:
Wow... I have no idea what language the first two posts were in but I feel like I really want to look into this. Haha. You effectively blew my mind. I just can't get enough of this device and forum. The more I learn, the more excited I get. This one is a bit over my head though.
Click to expand...
Click to collapse
I will go back and add some screen shots and try to simplify a bit. I was writing that guide off the top of my head to get it done before anyone tried to use it. I have accidentally wiped the partition twice before realizing i needed to backup the ext2 so it has become a fairly quick process.
Sent from my ADR6400L using Tapatalk
Any particular reason you opted to make it an ext2 partition instead of 3 or 4? Was it personal choice or did you have issues with ext3/ext4?
I will go back and add some screen shots and try to simplify a bit. I was writing that guide off the top of my head to get it done before anyone tried to use it. I have accidentally wiped the partition twice before realizing i needed to backup the ext2 so it has become a fairly quick process.
Sent from my ADR6400L using Tapatalk[/QUOTE]
That would be helpful. I couldn't move my main partition to add a new one for ubuntu, it just got stuck idk why. So I had to create two partitions but that didn't work.
thanks for the tutorial, been looking for a way to get ubuntu on my thunderbolt, but when i type bootubuntu from my phone's terminal i get this output:
mount: Devices or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
chroot: not found
failed
failed
failed
any help?
tyarbro13 said:
thanks for the tutorial, been looking for a way to get ubuntu on my thunderbolt, but when i type bootubuntu from my phone's terminal i get this output:
mount: Devices or resource busy
mount: No such file or directory
mount: No such file or directory
mount: No such file or directory
net.ipv4.ip_forward = 1
chroot: not found
failed
failed
failed
any help?
Click to expand...
Click to collapse
You are using the loop device method. I debugged that for 3 hours before deciding this method was MUCH easier. There were too many contradictions in that method. Everyone said failed meant your kernel doesnt support loop but if you "ls -d /dev/loop*" it shows up. Not to mention ive seen the loop support enabled option selected in the kernel i was on. Its being created, but not mounted to the image. I may look into it one day, but i dont see a point. The ext is MUCH faster than a virtual drive image and doesnt require any kernel modification, so it is more universal.
Sent from my ADR6400L using Tapatalk
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
TheStick13 said:
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
Click to expand...
Click to collapse
From a user standpoint its more or less just bragging rights. I havent fogured out how to cheat the system and get it to think it had an adb connection back to the phone yet.
From a developer standpoint it is a good emergency environment. My computer (and server) have been down for three days which otherwise would have put me at a stand-still. Ive been doing all my boot.img mods right on the phone.
Sent from my ADR6400L using Tapatalk
All links are static, meaning they always download the newest version of the files. I added a time stamp to the post to show the latest revision. This update was to add backubuntu, instructions for installing it, and an updated ubuntu.sh that includes it.
Sent from my ADR6400L using Tapatalk
Does it recognize a data connection?
twistedumbrella said:
From a user standpoint its more or less just bragging rights. I havent fogured out how to cheat the system and get it to think it had an adb connection back to the phone yet.
From a developer standpoint it is a good emergency environment. My computer (and server) have been down for three days which otherwise would have put me at a stand-still. Ive been doing all my boot.img mods right on the phone.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
soo this is how to get girls? Hey baby look i got Ubuntu on my phone.... wana bang? lol
TheStick13 said:
Don't hurt me, but what would the benefit be of having ubuntu on your phone? I mean, I do think it's pretty kickass that you figured out how to do it, and I'm all about figuring out new things to do to our phones, but is this something that could potentially be useful? And if so, how?
- Linux Noob
Click to expand...
Click to collapse
It's more something useful to do with your phone after you get a new one. I plan on turning mine into a mini mobile server with debian on it. Stick ssh/ftp, and a webserver on it and you have a nice little device to carry around for presenting software/web projects to clients with instead of having to carry your laptop (and also more impressive if you're trying to persuade a new client). Also, you offload crap you would have on your laptop if you're on the go and need to code something and/or dont have to deal with the latency of a remote server on a less than great internet connection
Gimpeh said:
Does it recognize a data connection?
Click to expand...
Click to collapse
Recognizes data, wifi, touchscreen, working on bluetooth and mounting the sdcard inside it. It is an easy command, but i am trying to prevent ubuntu from having too much control of the sd. I am also trying to find the fastest mount method (currently using the one in imoseyons tweak) to mount everything.
yareally said:
It's more something useful to do with your phone after you get a new one. I plan on turning mine into a mini mobile server with debian on it. Stick ssh/ftp, and a webserver on it and you have a nice little device to carry around for presenting software/web projects to clients with instead of having to carry your laptop (and also more impressive if you're trying to persuade a new client). Also, you offload crap you would have on your laptop if you're on the go and need to code something and/or dont have to deal with the latency of a remote server on a less than great internet connection
Click to expand...
Click to collapse
There is also a dyndns app for the phone that is good for doing vnc viewing and access on the computer using a "friendly" url. That in combination with an ubuntu webserver and you could host a site on it, not that ive tried it
Sent from my R2-DROID2 using Tapatalk

Automate functions...

hi.. I recently found a solution to a problem I was having with my wifi calling app.
And while the solution is great, it requires that I change several settings manually when going into an area wherein I want to use wifi, and again when I leave that area and want to use the general cell network.
I figured it would be a good exercise to figure this out. But I thought I would ask first, just to sane me time.
if I want to automate several consecutive settings, would it be best I write a script with gscript? Or better to write a shell script in bash. I know bash shell scripting a little but I don't know gscript at all. But how hard can it be?
So what would you guys recommend to say if I wanted to create a little widget or shortcut to a script? I do not know Java unfortunately.
Thanks!
Sent from my HTC Glacier using xda premium

getting data off of broken G1/Dream [rooted]

I have a broken G1, the screen is shot, and something else is screwed up, because it won't process anything. Once it boots it shows the background for a moment, then the lock screen comes on, but without a background. Then it looses all functionality. I can't get it to do anything. However, what's interesting, is that if I get an incoming call, I can answer using the button (not screen), and talk normally. Anyway, I want to know if there is a way, probably using ADB to get all my contacts minimally (since they're not all sync'd w/ Google), but ideally I would like to make a system image from it and run it in one of the emulators (Eclipse, Spring Source or Android SDK is what I have installed now). Any help would be awesome. There are also a few nandroid backups that I could use somehow, but they are a little old.
As far as I know, contacts data is stored in a sqlite-database which is located on /data. As long as you can connect with adb to your phone, you can copy that database to your pc and analyze it using sqlite3.
In this article you can find some additional information. It's a bit old, but still valid and at least it can give you a hint.
If you cannot access to your phone using adb, you can also extract the contacts.db from your latest nandroid backup. You can use unyaffs or mount your image on a linux system as yaffs file system and extract the file(s) you want. Then you can use again sqlite3 to extract the contacts data.
The same way, you can extract other data. It's enough to concentrate on the /data partition of the G1. As long as adb is running, you can copy them to your local PC, if not, you need to extract them from your latest nandroid backup in the same way I described above.
there is an awesome application called droid explorer (i forget the developers name) that you can download free to your pc (probably mac too) if you have usb debugging turned on then all you have to do is plug your phone into pc via usb.
when your phone comes up you have all the options you need here plus more!
seriously i recommend it to everyone. i use it at work sometimes to access my phone without getting caught, it has a great screen-cast function (a bit laggy)
if you dont have usb debugging turned on then look in the forum how to do it via adb. if you cant find droid explorer let me know and i can put it in my dropbox.
another option is get a used g1 from ebay and swap motherboards. or just fix your screen or whatever the problem is
Ok... So I did a little snooping via adb, and fortunately I did leave usb debugging on, so that's a plus. Now there were 2 things that I've tried pulling:
/data/data/com.android.contacts
and
/data/data/com.android.providers.contacts
Unfortunately, these both just gave me .xml files that only had a few lines of code, none of which included contacts or any kind of useful info.
@AndDiSa: I'm going to read the linked article now, but currently I don't have anything useful from /data. Any tips on how I would go about extracting the contacts.db? Articles or links are always great!
@demkantor: I will check that out. Since I don't really know how messed up the phone is, I don't know how useful droid explorer will be, but it sounds like a good utility anyway.
I don't really feel like getting parts for my phone. It's already waaaay behind the curve, and while it's a super fun phone to mess around with, I think it's time to move to something new (like the Droid 1 that I got as a toy phone/media player since I don't have verizon).
Anyway, further help appreciated!
(Oh, and I have to replace the digitizer for my Droid. LOL)
I am not on my PC at the moment, but try to look for
/data/com.android.providers.contacts/databases/contacts2.db
at least in GB this should be the right file or do a
find /data -name "cont*db" -print
in adb shell to look for it.
Sent from my Gingerbread on Dream using XDA App
I'll check it out tomorrow and let you know how it goes. Thanks!
OK! Good news. I found the contacts2.db and was able to pull it. I got SQLite3.exe and started messing around with it. Now what I tried from the link didn't work, as I couldn't get the .db file imported, and don't really know how to declare that as the target of commands. Using the .tables or .databases commands didn't get any results either. .databases just said something like 0-Main and 9-local or something. Do you know how to pull this part off? Hope to hear back soon.
Thanks,
kyle_engineer
Didn't try to use sqlite3 on windows yet, on the phone, you need to do
sqlite3 contacts2.db
> .dump
and you will get all content of the database dumped as sql statements.
Sent from my Gingerbread on Dream using XDA App
Awesome man!!! the .dump worked and I was able to actually get a table output on the screen. Now I just need ot know how to make that something printable (ideally), and I need to try it with my actual G1, not my Droid1... I'll thank you tomorrow when it's done.
Ugh!
So I've been able to correctly import a .db from my droid 1 and get it properly printed on the screen using sqlite3. That worked fine. Now I've pulled the .db from my G1 (which has the needed contacts), and I can't get it to print correctly. Here is what I'm dealing with...
Code:
SQLite3 version 3.7.20
Enter ".help? for instructions
Enter SQL statements terminated with a ";"
sqlite> .tables
_sync_state settings
_sync_state_metadata status_updates
accounts v1_settings
activities view_contacts
agg_exceptions view_contacts_restricted
android_metadata view_data
calls view_data_restricted
contact_entities_view view_groups
contact_entities_view_restricted view_raw_contacts
contacts view_raw_contacts_restricted
data view_v1_contact_methods
groups view_v1_extensions
mimetypes view_v1_group_membership
name_lookup view_v1_groups
nickname_lookup view_v1_organizations
packages view_v1_people
phone_lookup view_v1_phones
properties view_v1_photos
raw_contacts
sqlite>
From here, no matter what I try to use the .schema and "select * from XXXX" on, I don't get any user friendly table like I did with the other .db file... could something be messed up with this .db?
Please let me know when you get a chance.
Thanks in advance!
-kyle_engineer

[Q] permissions for sideloaded apps

When you go into an app's details--specifically here a sideloaded non Play store app--under 'manage' and there aren't any permissions listed, does that mean that that app does not ask for any permissions (and, I would assume, is therefore safe), or does that mean that its creator has not had to list permissions because he/she didn't place it on the Play store?
If the latter is the case, is there any way to check whether or not the app is safe?
I'm asking because I just downloaded a copy of the Asus Mywater lwp (actually, several different edited copies) from another xda thread and there aren't any permissions listed.
It means it doesnt have any.
All apps will show their permissions in settings/manage apps/'specific app'
Live wallpapers usually only ask for internet access for ads ect. They dont need any specific one to work properly. Thats probably why yours shows up with no permissions
Just to me sure: if it doesn't require any permissions, that means that it won't have access to anything and is therefore safe, correct?
TheHoot said:
Just to me sure: if it doesn't require any permissions, that means that it won't have access to anything and is therefore safe, correct?
Click to expand...
Click to collapse
More or less. unless it is using some exploit to access things that it shouldn't be it should be fine.
If your downloading it from an xda member just check their posts &, thanks. Long members with plenty of thanks is usually a good sign that they are credible.
Sent from my Nexus 7
Would something like Avast pick up on an app using (exploiting?) an exploit like that?
(Y'all have been really helpful; thank you! At this point I'm mainly just curious and hoping to learn something new.)

(Req) S PLANNER app from note 2

This is a second request so that if some great mind here can help me install the s planner from note 2 to my rooted note 3
Please consider me a noob and give step by step instructions.
Please . This new s planner is such a waste.
Sent from my SM-N900 using Tapatalk
as far as I can tell, GNIII S Planner is the same as GNII's, but only with different color theme. they replaced the 3D brown theme with a simpler white/green flat theme.
Only difference I realized is in the Month view, it now shows dots (one per event) instead of showing the even title itself, which was not even practical as it showed only first word or so, and only 2 events. all you have to do is to click the day and show details below.
it is not a waste. but just themed differently, however I can understand if some people like the old shape, I certainly do. but functionality wise, almost the same.
There is huge amouny of difference between the s planner of note 2 and note 3. The most important beibg
1. When adding event or task in the older s planner there were options to add a S NOTE or an image . It was productive and practical for daily use.
2. Hovering the s pen over a date in month view, an option to add a handwritten note appeared which again was so productive and practical.
Both the above options are missing in the newer s planner.
Hence the request.
Sent from my SM-N900 using Tapatalk
I can not believe Samsung removed the Task widget on de Note 3 (along with other functionalities on the whole S-Planner) .... It was the most useful tool to me and I assumed for granted It would be on the Note 3 ... I can hardly imagine the reasoning sequence that led the programmers to think that S-Planner was too good and complete so it needed to be shrunk
I, too, would like to know how to do this. See also this thread for more information.
Here are the steps I did:
1) Rooted GN3 using Root de la Vega method
2) Mounted /system as R/W (using ES File Explorer - Root Explorer)
3) Renamed GN3 Splanner to SPlanner_gn3.apk
4) Copied Note 2 S Planner apk to Note 3 /system/app directory
5) Changed its permission to 644 (rw-r--r--)
6) Rebooted
Despite this, I still don't see the GN2 version of SPlanner anywhere (not in the list of apps, drawer, etc.). When I click on the SPlanner shortcut, it still brings up the GN3 version. What steps am I missing?
hockeyfan said:
3) Renamed GN3 Splanner to SPlanner_gn3.apk
Click to expand...
Click to collapse
I think you need to move the original apk out of /system/app - the app id is defined in the manifest and is independent of the file name. In this case the package name is com.android.calendar. If you add the S Planner apk from Note 2 and keep the original apk (althougth renamed) it will still be a duplicate package name.
piit79 said:
I think you need to move the original apk out of /system/app - the app id is defined in the manifest and is independent of the file name. In this case the package name is com.android.calendar. If you add the S Planner apk from Note 2 and keep the original apk (althougth renamed) it will still be a duplicate package name.
Click to expand...
Click to collapse
I don't even see an "S Planner" in my app drawer. What are you guys talking about?
piit79 said:
I think you need to move the original apk out of /system/app - the app id is defined in the manifest and is independent of the file name. In this case the package name is com.android.calendar. If you add the S Planner apk from Note 2 and keep the original apk (althougth renamed) it will still be a duplicate package name.
Click to expand...
Click to collapse
Thanks for the advice. I moved the original GN3 apk out of /system/app and then rebooted again. However, I still cannot open the GN2 SPlanner on the GN3. It simply doesn't show up anywhere. Would wiping the dalvik cache help?
Anyone with any solution?
Sent from my SM-N900 using Tapatalk
nannlp said:
Anyone with any solution?
Sent from my SM-N900 using Tapatalk
Click to expand...
Click to collapse
Unfortunately, I don't think the GN2 SPlanner will run on the GN3. It could be an issue of a Samsung software signature not matching. As I wrote, I tried basically everything I could think of to try and get it to work, with no luck. Hopefully, someone else out there has a solution.
There's three things about the GN3 version that I don't like:
1) Full-screen mode. Ugh...how am I supposed to see what time it is and the battery level? Yes, I know can temporarily touch the top of the screen to have it display the status bar, but this is only temporary.
2) Inability to set default reminder time. Now everything defaults to 15 minutes, which results in me having to set the reminder for each new task manually. Total pain.
3) I don't like how they changed the month view. I preferred the GN2 version where I saw both a listing of the day's tasks inside each day box, as well as listed below.
Time to go look at an alternative 3rd-party solution, I guess...
same issue- slightly different question?-noob
GS3 w/ OS 4.4 safestrap - touchwhiz rom- somehow all my system apps like splanner/ clock and gone- they are in several backups on my internal and external (SD) and i can see them in root explorer - how can i get them to load- I am a total noob- patience and language for a 5 year old is needed,thanks !
piit79 said:
I think you need to move the original apk out of /system/app - the app id is defined in the manifest and is independent of the file name. In this case the package name is com.android.calendar. If you add the S Planner apk from Note 2 and keep the original apk (althougth renamed) it will still be a duplicate package name.
Click to expand...
Click to collapse

Categories

Resources