yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 General] 105abs:
[MENTION=3931450]dr.ketan[/MENTION]..

u are a legend, thanks :D:D:D:D alot. and for the other how found this..

for whom how is noob like me :angel: u could use terminal emulator from playstore after rooting(of course)..;)
[Galaxy Note 3 General] mastermixlee:
thank you

Just followed the method using terminal emulator, rebooted and now works perfectly so far!!! Was getting different faults on different ROMs. On lollipop the proximity sensor just wouldn't work at all. Then went back to 4.4.4 and would work but only once (soon as you put the phone to ear during a call then remove it , although the screen would come on, the key pad would be unresponsive.) Which meant I had many voice mails that had built up and was unable to delete them lol.

Thanks again for this method....though I'm not entirely sure what this has exactly done....its worked. :D
[Galaxy Note 3 General] zhoowa:
Omg thank you. This works for lollipop n9005 too ?
[Galaxy Note 3 General] 9teenth:
I've been having this issue since upgrading to Lollipop, I'll be sure to try this!
[Galaxy Note 3 General] vasilek777:
how?

thanks, but it didnt work for me. I installed terminal emulator from the play market, then started typing the above, but it said su is not found, and echo etc is not allowed.

ive never used the emulator before and googling the subject did not help. could you explain what am i doing wrong?
[Galaxy Note 3 General] dr.ketan:
You have device rooted?
[Java for Android App Development] StEVO_M:
I have found a Gallery App on GitHub (https://github.com/sevenler/Android_Gallery2D_Custom) that I have integrated into my own app.

Currently the gallery displays all images from my device. What I would like to have is that it ONLY display the images starting at the folder on my sdcard that I specify such as..

private static String targetPath = Environment.getExternalStorageDirectory().toString() + "/DCIM/_private/.nomedia";

I tried several different modifications but I am really struggling.

I was hoping someone could take a look at the source code for the Gallery App on GitHub and tell me how to change it so it does not scan my entire device.

Thanks in advance!!

-Steve
[Java for Android App Development] SimplicityApks:
I had a look at the source and from my understanding the important class here is that DataManager class here. Especially the getTopSetPath() with the static final Strings and maybe the mapMediaItems() methods seem to be where you need to look at. You might have to play around a bit, but this is where I would start.
[Java for Android App Development] StEVO_M:
I have tried adding/changing the following

Added...

//Setting Folder Path

public static final String targetPath = Environment.getExternalStorageDirectory().toString() + "/DCIM/_private/.nomedia";

Changed...

// This is the path for the media set seen by the user at top level.

private static final String TOP_SET_PATH = targetPath;

private static final String TOP_IMAGE_SET_PATH = "/combo/{/mtp,/local/image,/picasa/image}";

private static final String TOP_VIDEO_SET_PATH = "/combo/{/local/video,/picasa/video}";

private static final String TOP_LOCAL_SET_PATH = "/local/all";

private static final String TOP_LOCAL_IMAGE_SET_PATH = "/local/image";

private static final String TOP_LOCAL_VIDEO_SET_PATH = "/local/video";

I even tried setting all of the _PATH s to my targetPath

And I get a NullPointerException

12-13 11:07:47.881: E/AndroidRuntime(23029): Caused by: java.lang.NullPointerException

12-13 11:07:47.881: E/AndroidRuntime(23029):	at com.myprivgallery.common.Utils.checkNotNull(Utils.java:48)

Which leads me to this in Utils.java

line 46 // Throws NullPointerException if the input is null.

line 47 public static <T> T checkNotNull(T object) {

line 48 if (object == null) throw new NullPointerException();

line 49 return object;

line 50 }

So if I am reading correctly, it is saying the path is empty. But I know that path works in other apps and it is not empty.
[Java for Android App Development] SimplicityApks:
I don't think you can call an Environment method when static class variables are Initialised make sure that your String is the correct path with Logs, I would probably make that an instance variable instead...
[Java for Android App Development] StEVO_M:
It may kinda look like I know what I'm doing, but looks are deceiving.

I really have no clue what I am doing. I consider myself a hack. I can some what look at code and then make it do what I want, but to actually program something new... I will see if I can't figure that out. But I really do appreciate your help.
[Java for Android App Development] SimplicityApks:
Well then you should probably get started on a simpler app you've built yourself rather than trying to understand this very complex Gallery app (which in my view is poorly commented and documented)... :p

I had a closer look at the source and it seems that we are on the right track because the _PATH s are used in the getTopSetPath method of the DataManager, and a search reveals that it is called by various activities and pickers. If you're using one of those in your app we should be right.

Now let's get back to the basics, when the app is launched, the default launcher activity is Gallery.java. During it's creation, either startDefaultPage, startGetContent or startViewAction is called, but all of them have the following call:

data.putString(AlbumSetPage.KEY_MEDIA_PATH, getDataManager().getTopSetPath(DataManager.INCLUDE_ALL)); // or some other variable

So this is the path where the images are loaded. Honestly, I have no idea what the

"/combo/{/mtp,/local/all,/picasa/all}"

is doing in the path variable, it has to do something with the Combo classes in the data folder, since the app is loading images from different dirs. You can now call your Environment call there and somehow pass back Strings instead of Paths, but it would be nicer if we could somehow figure out the these Paths are used here. An important class is the LocalPhotoSource.java. That is also where getImage from the DataManager is called. You could have a look at that class as well. Which path do you want the gallery to scan actually? The best solution would be to further experiment with the _PATH String, without calling Environment as well as debugging the whole app from the start, so you can get an idea of how everything is working.
[Java for Android App Development] StEVO_M:
I tried Changing the following in LocalAlbumSet.java

public class LocalAlbumSet extends MediaSet {

public static final Path PATH_ALL = Path.fromString("/DCIM/_private/.nomedia/all");

public static final Path PATH_IMAGE = Path.fromString("/DCIM/_private/.nomedia/image");

public static final Path PATH_VIDEO = Path.fromString("/DCIM/_private/.nomedia/video");

and Changing all of the TOP_..._Path s to

// This is the path for the media set seen by the user at top level.

private static final String TOP_SET_PATH = "/local/all";

private static final String TOP_IMAGE_SET_PATH = "/local/image";

private static final String TOP_VIDEO_SET_PATH = "/local/video";

private static final String TOP_LOCAL_SET_PATH = "/local/all";

private static final String TOP_LOCAL_IMAGE_SET_PATH = "/local/image";

private static final String TOP_LOCAL_VIDEO_SET_PATH = "/local/video";

I now see Random Images from /DCIM/_private/.nomedia but not all of them, which is really confusing. But at least it's a start.
[Java for Android App Development] EatHeat:
Android gallery will not scan any folder having a .nomedia file in it.
[Java for Android App Development] StEVO_M:
So I am guessing there is no way to Force your own instance to scan it???? :(
[Java for Android App Development] EatHeat:
Delete the .nomedia file. ;)
[Java for Android App Development] StEVO_M:
Lol. Not an option if I want to hide my pic. :)
[Java for Android App Development] EatHeat:
Not sure what you are trying to achieve, if you want to scan it then why would you want to hide it?

If you want to add an option to allow it to scan or not, you could backup the .nomedia to another directory and delete it for the time being.

Just an idea, can't say for sure. Didn't try it ever.
[Java for Android App Development] StEVO_M:
I have created an app to hide pictures. Currently I have a very basic gallery. I was trying integrate this gallery because it has a lot more option such as editing and adding filters and such.
[Java for Android App Development] SimplicityApks:
Well why do you need to? Make your app fulfill only one purpose, so let it hide the pictures (I guess by moving a .nomedia file into the folder right?) and then just create a shortcut in your app to the gallery app so the user can still use their preferred one... Makes more sense to me and is way less work.
[Java for Android App Development] EatHeat:
A far more simple and logical way would be to create a hidden folder on the SD card with a .nomedia file in it. Images/videos that are to be hidden can be moved to that location. This would keep it hidden from the gallery and can only be accessed through your private gallery.

For unhiding media, just move them back to their original folders.
[Java for Android App Development] StEVO_M:
Let me try to explain further... As I said, I have created an app already that does the Basic things.

My Application looks like a standard App, a "To Do List", but if you press and hold an Icon on the main screen it prompts you for a Password (These passwords are setup on first use).

Now... Depending on which password you enter, it will either take you to the hidden Gallery OR if you enter a different password it will take you to a Hidden To Do List. This is so anyone that may stumble upon your app, you can show them that it's has a hidden area of the app. This way they have no clue you really have a Hidden Gallery.

If you enter the Hidden Gallery password then it would of course, take you to the hidden gallery.

The Current Features are...

Import from Main Gallery

Pinch to Zoom

Swipe

Share

Restore back to Main Gallery

Delete

Quick Escape ------ "Quick Escape" can be activate 2 ways. If you shake the phone while in the Hidden Gallery, the image will change to an image of your choosing or the default one that is set during install. OR..... A less obvious "Quick Escape" ... While in the Hidden Gallery, press the volume up or down and the image will switch. Either way, once it is in that mode, you can not press back. the only way out it to press the home button. This is designed so if someone grabs the phone out of your hand they will only see they Quick Escape" image and pressing back will not take them back to the gallery.

My app also appears in the standard Share menu, so if you are in your Main Gallery and want to hide a picture, you can share it to my app and it will then hide the picture.

I want to add More features to my Gallery, such as Filters, Editing (crop, rotate...), Frames... All the same things that you can do in the Main Gallery. The only thing I really don't want or need is a Camera function. I can't see someone taking the time to open my app and then get to the Hidden Gallery and then taking a picture, just so they can hide an image. Most would just take the picture as they always would and then "Share" it to my app.

I hope this explains Why I want to use the other Gallery rather than reinventing the wheel that already has all of these features built in. If I can not get that to work, maybe I can just pull the Features out and use those.

Anyone who wants to actually See the app in action, PM me and I will send you a DropBox link to install. FYI, It requires 4.0 or higher.
[Micromax A116] Lakshyaxd:
my phone shows the following stats:-

Total Space:-0.98 GB

APPS:-528 MB

Cached Data-1.44MB

Available:-44.02 MB

I am Not Able to figure out what to do.

I have moved my apps to external sd also but still nothings happening.
[Micromax A116] rgv1011:
Try this once.. ;)

Format your external card

1. Connect card to pc

Move all data of card to pc in a folder(as per your convineant)

2.Format card using NTFS

Quick format

3.Copy your data back to card

4.Enjoy :P

Me:- Raghav Goyal

Press Thanks button Please! :):good: ​
[Micromax A116] adi928:
Facing the same issue

Hi,

I'm facing the same issue with almost similar details for storage as posted by OP. Now i don't know for OP, but these details are there in my canvas HD for Phone Storage. Hence, my question is, Will following your steps for formatting external memory fix this issue?
[Micromax A116] $hino:
Do you have xposed 2.6.1 installed.?
[Micromax A116] karpawar:
try patch

why dont you try the 2.6 gb patch

which merges internal sd and app storage
[AT&T Samsung Galaxy Note I717] magnumforce2006:
So, after screwing up the gps on my i717, I think it's finally time to lay it out to pasture.

The Note 3 seemed like an obvious choice, but it's lack of rom support makes me think otherwise. The Nexus 5 also seems like a good choice, but I don't like any choice that involves no external SD card or removable battery.

Anyone have better ideas? I'm ready to move on, but I don't see any promising candidates.
[AT&T Samsung Galaxy Note I717] Poriotis:
The Note II perhaps? Lots of custom ROMs for it and it also received an official 4.3 upgrade. As far as the hardware, it's still a very capable phone.
[AT&T Samsung Galaxy Note I717] Frank Westlake:
And the price is lower for the Note 2. AoSP is not possible for the Note 3 and if you continue to receive OTA updates you will [BOLD]probably[/BOLD] eventually lose the ability to root. Samdung (oops -- that was a typo but I'll keep it) is serious about plugging all the holes.

Frank

SGH-I717(AoCP6.4), SM-N900V/MI9(dlV), XDA Premium
[AT&T Samsung Galaxy Note I717] Really now:
That my friend is a tough question to answer. Google doesn't want us to have an ext sd, the manufacturers insist on building their phones with an embedded battery and the service providers are locking the bootloaders like they were Fort Knox! Best bet is to go shopping and see which phones you can live with and then go to the forums and see what's going on with them. Just my opinion I know, but it's what I did. Now I have a shiny new LG G2 rooted and running kitkat laying on my desk doing nothing because I love my Note and we have super dev support! :laugh: But I got the LG for a penny from Amazon over Thanksgiving so I'm not out anything and when the Note gives up the ghost I'm all set. Nice phone but my aging eyes like the Note's screen size much better. :good:
[AT&T Samsung Galaxy Note I717] ShaqB:
Note 3 without any hesitation . the specs are incredible and is a question of time for new roms and more devs
[Galaxy S 4 Q&A, Help & Troubleshooting] Sakubo:
I have been getting the error of the attached images Ive already made full wipe changed rom kernel etc and no success any help?
[Galaxy S 4 Q&A, Help & Troubleshooting] Joku1981:
- Odin Pro dont works coz ur phone no is supported. More info: HERE

- About the other app, I dunno. Try other torrent downloader (uTorrent ?)
[Galaxy S 4 Q&A, Help & Troubleshooting] Sakubo:
Thank you same happened with uTorrent and aTorrent. I already checked permissions everything is set Like in the screenshot

Edit: Already used this fix

Fixed following instructions found here: http://forums.androidcentral.com/sam...te-access.html

install root explorer app or some other file manager that can use root then

1. navigate to /system/etc/permissions and make sure you have mounted the file system r/w.

2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.

3. Add an additional group definition for this permission...<group gid="media_rw" />

4. Save the changes to the file.

5. Restart your device

at this point you should be able to write to the sd card from applications once again.

And also no success
[Verizon HTC One (M7)] irie27:
...but is firmware the same as hboot? I know that a new hboot was released but the thread http://xdaforums.com/showthread.php?t=2485319 mentions firmware. Would just like to update to the most recent if there are performance gains from doing it.
[Verizon HTC One (M7)] HypostaticOnion:
Yes and no. Hboot is part of the firmware. Basically the firmware consists of the new hboot, radio, and boot.img. Its a whole package if you will, whereas you can take just a portion of it and have the individual radio, hboot, or boot.img

If I've helped, please hit the thanks button
[Nexus 5 Themes and Apps] Ben36:
Found this and been trying it out. Works well with just a few noticeable niggles that need ironing out. Good for ART users tho!

Torch toggle is glitchy on actually turning the torch on

It uses a lot of ram, which doesn't really matter for our device

https://play.google.com/store/apps/details?id=com.studio.quicksettings
[8125, K-JAM, P4300, MDA Vario Software Upgrading] weasley:
I found this on some chinese forum and i want to share this rom dump with every member in the xd-developers forum but in exchange i want to know how to use this on my O2 Mini S

Thanks

ftp://xda:xda@ftp.xda-developers.com/Uploads/HTC_Wizard/Roms/Dopod/838CHT.rar
[8125, K-JAM, P4300, MDA Vario Software Upgrading] zhaoyi:
weasley

did you find the one on a chinese forum? i found a couple but they are both reported with problem. is this the one that need to be loaded from the mini-sd card?

thanks
[8125, K-JAM, P4300, MDA Vario Software Upgrading] weasley:
yes it need mini sd
[8125, K-JAM, P4300, MDA Vario Software Upgrading] gzDragon:
i had write the ROM to MiniSD Card, and upload to Qtek 9100. After format the IMGFS, Checksum error display.

So, backup your ROM befor test the ROM!!!
[8125, K-JAM, P4300, MDA Vario Software Upgrading] weasley:
How to format IMGFS?

I wouldnt get pass the bootloader screen

Thanks
[8125, K-JAM, P4300, MDA Vario Software Upgrading] yutingkuo:
Does it have Array30 input method?
[General Questions and Answers] tomusiek:
Hi

I have this model of china phone:

dual sim stanby

Hardware : MT6577

Model : I7100 (ALPS)

screen: 5,5" QHD 960*540 IPS

CPU: MTK 6577 Dual Core 1,0 GHz

GPU: PowerVR SGX 544MP

Android: 4.1.9

Baseband v: MAUI.11AMD.W12.22.SP.V15.P2 (as i remember)

I installed a different rom and totally bricked phone. I tried many different roms (ex: for china n7100, h7100) and i cant find one working.

No copy of original firmware was done :(

I need full copy of firmware or any help with finding original firmware...

pls help
[Nexus 7 (2013) Q&A] skn-xda:
I seem to have edited build.prop of KRT16S beyond recognition and hence the update is failing.:crying: Could someone please provide me with the build.prop of the KRT16S image?

Would appreciate if the file is attached to the reply instead of copy-paste of the content in order to preserve the integrity of the file.

Thanks!
[Nexus 7 (2013) Q&A] Bogdacutu:
Here it is
[T-Mobile Samsung Galaxy Note II] bones718:
has anyone requested help directly at a t-mobile center after being knox tripped? do they have the tools at a tmobile center to bring you back to 4.1 boot loader if you request it? i know that in store reps are able to diagnose and are able to flash if your phone is not running correctly.

all the posts ive been searching through regarding warranty i notice are more with the owner dealing with samsung directly rather than with support from the carrier.

i know through samsung you are void if you are knox tripped, but is that the same case with t-mobile? Even if you clean up binary count back to 0?

anyone have experience with any support in a store good or bad?
[Motorola Atrix HD] Rick1488:
Hi,

I just flashed cyanogenmod 11 and noticed there is no voicemail number set. Im not sure if there is a number by area your in so I'm from Schererville, In also where in settings do I change this?

Thanks!
[Motorola Atrix HD] chococomaxim:
Just use your phone number as voicemail number. That works for me.

And for the settings: phone app>call settings>voicemail>setup
[Motorola Atrix HD] Rick1488:
That did it. Thanks!
[Motorola Atrix HD] akaz1973:
Voicemail Set UP

[LEFT[/LEFT][/LEFT]

Hello

You might want to check on that phone number. I have At&t in the Chicagoland area and it is a total different number than my actual cell phone number. You want to go to the dialer and go to settings and navigate to voicemail. Its in there.
[Motorola Atrix HD] chococomaxim:
Yeah, there should be a default AT&T voicemail # but sometimes when you flash ROMs the number is deleted. Using your own # will have the same effect as if you have the default #
[Motorola Atrix HD] dalbig:
Go to the call forwarding section in the phone (dialer) settings and you'll find your true voice mail number...
[Galaxy Note GT-N7000 General] tsli3:
I have found a way to swap the sdcards of n7000.

In the file /init.smdk4210.rc, there are lines to control how to mount the sdcards:

service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0

class late_start

disabled

service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1

class late_start

disabled

service fuse_usbdisk /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/usbdisk /storage/usbdisk

class late_start

disabled

So Android will periodically try to mount the sdcards accordingly. Changing this file is useless as it will be replaced by the old file once you reboot your phone. My trick is to change the file /system/bin/sdcard which is used for mounting the sdcards. First rename /system/bin/sdcard to another name, say /system/bin/sdcard_backup. Of course, you need to remount the folder /system in the rw mode first:

mount -o rw,remount /system

execute this command in an adb shell.

Then, create a new file /system/bin/sdcard with the following contents:

#!/system/bin/sh

if test $7 = "/storage/sdcard0"

then

des="/storage/sdcard1"

LOG="/data/sdcard1.log"

else

if test $7 = "/storage/sdcard1"

then

des="/storage/sdcard0"

LOG="/data/sdcard0.log"

else

des=$7

LOG="/data/sdcardusb.log"

fi

fi

echo $7 1>$LOG 2>$LOG

echo $des 1>>$LOG 2>>$LOG

/system/bin/sdcard_backup -u 1023 -g 1023 -d $6 $des

One way to do this is to create it in windows using editor like notepad2 (Note that notepad cannot be used), and then use the adb push command to transfer it to the phone. You need to make adb log in as root.

You can see that the script first checkes the 7th parameter of the command which should be either /storage/sdcard0 or /storage/sdcard1, then the destination is changed to /storage/sdcard1 and /storage/sdcard0 respectively. Then, the parameters are passed to the command /system/bin/sdcard_backup which is the original sdcard file.

In this way, the sdcards are mounted in the way we want.

Then, chmod:

chmod 750 /system/bin/sdcard

After rebooting your phone, the sdcards should have been swapped.
[Galaxy Note GT-N7000 General] str3tch72:
It can be working with Ace 2? We have internal and external too.
[Galaxy Note GT-N7000 General] srnoth:
Modified slightly to work on devices with emulated internal SD (e.g. galaxy s3) where the sd is actually /data/media:

#!/system/bin/sh

if test $7 = "/mnt/shell/emulated"
then
des="/storage/sdcard1"
LOG="/data/sdcard1.log"

else
if test $7 = "/storage/sdcard1"
then
des="/mnt/shell/emulated"
LOG="/data/sdcard0.log"

else
des=$7
LOG="/data/sdcardusb.log"
fi
fi

echo $7 1>$LOG 2>$LOG
echo $des 1>>$LOG 2>>$LOG

/system/bin/sdcard_backup -u 1023 -g 1023 -d $6 $des

Doesn't show swapped under Settings --> Storage, but if you browse to /sdcard and /external_sd using something like Root Explorer, you can see that they are actually swapped (I now have 32GB space under /sdcard !).

Awesome discovery [MENTION=4445308]tsli3[/MENTION].