Hi all. i have a Galaxy nexus with 4.2 (i flashed it), unloced bootloader and rooted. i accidentaly deleted that emulated/sd card something. can someone tell me how to bring it back? i am very dumb when it comes to this, but i am very good at following instructions. Is it fixable? Please anyone!! :crying:
boot into fastboot and make sure you have the factory image downloaded
then
fastboot erase userdata
fastboot flash userdata userdata.img
R: [Q] !!! PLEASE HELP!!! Deleted that /emulated/sd
Zepius said:
boot into fastboot and make sure you have the factory image downloaded
then
fastboot erase userdata
fastboot flash userdata userdata.img
Click to expand...
Click to collapse
I think he want back the data in it..
Inviato dal mio Galaxy Nexus con Tapatalk 2
I dont care about the data. vhen you say
make sure you have the factory image downloaded
Click to expand...
Click to collapse
. Downloaded to where?
vukojevci said:
I dont care about the data. vhen you say . Downloaded to where?
Click to expand...
Click to collapse
the folder where your fastboot.exe is
Will this delete my apps?
vukojevci said:
Will this delete my apps?
Click to expand...
Click to collapse
you lose everything, but it should fix your problem
vukojevci said:
Will this delete my apps?
Click to expand...
Click to collapse
You already deleted most of the data on your phone to begin with. That will at least get it functioning again.
I am sorry for asking, but are you shure thet this is going to work? btw THANK you a lot for helping me
vukojevci said:
I am sorry for asking, but are you shure thet this is going to work? btw THANK you a lot for helping me
Click to expand...
Click to collapse
considering userdata.img rebuilds the file structure, yes it should.
I have just one more question. When you say:
make sure you have the factory image downloaded
Click to expand...
Click to collapse
Becuse i have downloaded the whole ROM, but i cant find userdata.img.
Can you please give me a link or is the userdata.img already there?
1. Read this - http://forum.xda-developers.com/showthread.php?t=1626895
2. Search next time
Somehow, internal storage came back to me (without the files, but they are not important). So, my problem is (hopefully) solved. I would like to thank everyone who helped me. I cant say how much i appreciate your help. And once again i apologise for stupid questions.
{
"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"
}
vukojevci said:
Somehow, internal storage came back to me
Click to expand...
Click to collapse
Considering that /mnt/shell/emulated is a fuse mount of /data/media (and later symlink'd to /storage/emulated), it should have been re-created upon reboot. Of course deleting it would have probably deleted all of the data within /data/media, meaning you should have lost all of your "SDCard" data. So long as the original /data/media structure still existed, the rest will always be recreated on boot within init.tuna.rc.
Source: init.tuna.rc
Code:
on init
# See storage config details at [URL]http://source.android.com/tech/storage[/URL]
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
# Support legacy paths
symlink /storage/emualted/legacy /sdcard
symlink /storage/emualted/legacy /mnt/sdcard
symlink /storage/emualted/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
[...]
# virtual sdcard daemon running as media_rw (1023)
service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
class late_start
[...]
Related
Well I am now finally going to create my first theme and I am getting myself pretty familiar with everything but I had a question...
I know the stuff that cannot be messed with and all seeing as how I am working with the cm builds but would anyone know where I could find the terminal stuff. I wanted to change up that icon if I could to something a little more theme filling?
Thanks in advance and as soon as I get something going I will posts images.
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
APEX.7 said:
brilliant - i for one look forward to seeing you work.
but sorry, can't help you with your Q.
Click to expand...
Click to collapse
Terminal stuff?
/apps/term.apk has the terminal app 'stuff'
All you can change images wise is the terminal icon basically.
Are you just wanting to change the terminal icon (such as in the drawer?)
If thats the case, open the apps folder in your ROM and find the term.apk and open that. navigate to the drawable folder and the icon is in there.
Thats cool. Thanks for the confidence boost on creating...
Yeah pretty much just the icon...And thanks all for the help
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
daveid said:
Yeah you need an update script, which will be found at /META-INF/com/google/android/update-script
and should look like this:
Code:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:system SYSTEM:
or something along those lines.
This script is assuming your zip file contains the following structure:
/framework
/system
/system/app
There is a simpler one that only needs to contain the second line and has the structure like this:
/system
/system/app
/system/framework
Click to expand...
Click to collapse
Ah ok...Any idea where I can get that file or folder by chance?
holmes901 said:
Ah ok...Any idea where I can get that file or folder by chance?
Click to expand...
Click to collapse
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
daveid said:
Here is a completely blank update.zip that has a proper update script in it, drop your files in re-sign, and go.
Click to expand...
Click to collapse
Thanks so much for the download and the help.I should be good to go now so no more worries.
So far what I have for my first
So the screen below shows what I have so far...I am still working on it and hoping I can get the blur transitions into the mix as well as maybe more or better icons...If anyone has a link where I could get the blur transitions from feel free to send my way.
{
"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"
}
holmes901 said:
Question...yet again...
I am using the auto signing program and am signing my little beta theme for testing and when I am loading it via the recovery mode I get E:Can't find update script. I am still new so if any help I would appreciate much.
Also should I include the fonts folder just as a precaution. I am not including that in my theme as I know there is the font chooser program out there as well so I figure let people have there own choice in font...again thanks
Click to expand...
Click to collapse
Same problem. Even with the update script in there from the template update folders, I still get this error. I seem to have the resigning working. Any idea how to fix this error?
I tried to compile this multiple times but there was no way to include the libs in the binary (like the config option for busybox). Now its here and I'm pumped.
Some of you who use linux might know what this is. The instructions say to place it on the data partition in androidterm's /data/data folder (settings/cache of installed apks are here). I went ahead and placed it in /system/xbin...
What can this do? Its like wget but you can use a cookies file to dl from places like hotfile.. resumable downloads.. and best of all.. multipart downloads.. it also handles torrents, but I have no plans to use that function.
http://sourceforge.net/projects/ari...a2-1.10.9-android-8-froyo-build1.zip/download
^ download
Project files:
http://sourceforge.net/projects/aria2/files/stable/aria2-1.10.9/
Btw.. sorry if double post.. I'm on tapatalk.. I doubt its a double post tho..
Need a gingy version. I'm enjoying CM7 too much.
HTC Vision; Rooted, Booted and Scooted.
Daughain said:
Need a gingy version. I'm enjoying CM7 too much.
HTC Vision; Rooted, Booted and Scooted.
Click to expand...
Click to collapse
I have no idea why froyo appears in the zip file.. but since it has nothing to do with android (java) and more to do with the underlying linux system its safe to say that this works with all versions of android that have term emu.
I also compiled unrar binary for arm and it works with no problems.. this aria2c build just so happened to say froyo in it.
Btw. I too am on CM7.
Sweet. Thanks again.
HTC Vision; Rooted, Booted and Scooted.
Daughain said:
Sweet. Thanks again.
HTC Vision; Rooted, Booted and Scooted.
Click to expand...
Click to collapse
No problem. Heres the unrar binary.. It seems to be faster than the gui version in the market.. It also has the added benefit of being able to extract from and write to anywhere you choose..
http://forum.xda-developers.com/showthread.php?t=1015814
This is fantastic, I was just thinking today that I wished aria2 were available for ARM
Thanks for posting this.
Ok for anyone hesitant or having trouble getting aria2c to start a multipart download. Here's an example.. downloading a 720p trailer of captain america.. and attached is a picture of the madness that is hspa+
aria2c --split=80 --min-split-size=1M --max-connection-per-server=16 --user-agent="QuickTime/7.6.2 (qtver=7.6.2)" http://trailers.apple.com/movies/paramount/captainamerica/captainamerica-tlr1_a720p.m4v
{
"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"
}
Btw.. I couldn't rotate the pic.. as I'm on my phone.. hence the pic itself.. not at a computer to rotate it right now.. I'm sure you'll all suffer a little from tilting your heads.. sorry
And now...p7zip for android.
http://home.comcast.net/~ibladesi/p7zip.tar.bz2
This is a bzip2 tar file.. uncompress in the system directory and it will extract files where they need to go.. otherwise you'll end up with two directories.. xbin and lib..
So. Mount system as rw
mount /dev/block/mmcblk0p25 /system/ -o remount
cd /system/
cat /path/to/file/on/sdcard/p7zip.tar.bz2 > p7zip.tar.bz2
#the above is used versus 'cp' to avoid retaining sdcard privs
tar xjvf p7zip.tar.bz2
Try it out! It extracts and compresses many file types.. more flexibility than the default busybox unzip too. Has a benchmarking mode so you can see just how terrible your phone is against your computer.. and.. Still can't get the rar module to load.. but I think its there.. rar as in compress!
gingerbread version would be good!
SiL3nTKiLL said:
gingerbread version would be good!
Click to expand...
Click to collapse
This works on gingerbread just fine! Theres no reason it wouldn't work on anything with a linux kernel and a terminal emulator
{
"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"
}
Hello guys. I see many of you struggling to find the new compatible version of TWRP that actually works with the new version of JellyBean 4.2.
The issue can be reviewed HERE
Elaborating the above issue in simpler words; it's all due to multi-account stuff in Android 4.2. There's a file called .layout_version in /data partition, when you factory resetted your device using the recovery, the .layout_version file was also wiped during factory reset process as the recovery is supposed to wipe /data (ofcourse excluding the /data/media/ partition as it is the sdcard) partition in this process. So when Android sees that there's no .layout_version file in /data partition it moves the existing data from /data/media/0/ to /data/media/0/0/ and thus forming an infinite loophole of data being moved to other locations at every reset.
So TWRP team came up with an easy solution, that is; not to wipe .layout_version when user executes factory reset command.
There are also many other bug fixes regarding backups and fixing permissions!
You can download here the latest (2.3.2.0) version of TWRP which fixes this bug:
DOWNLOAD
//Thanks to unforgivenmercy for pointing this out: you can also use Goo Manager app from Play Store and flash it by tapping the 3 dots at the top right and then tapping Install OpenRecoveryScript.
Credits:
TWRP Development Team (esp. Dees_Troy for explaining me stuff)
Google
Hope I helped you in any or the other way around.
5pace said:
Hello guys. I see many of you struggling to find the new compatible version of TWRP that actually works with the new version of JellyBean 4.2.
The issue can be reviewed HERE
Elaborating the above issue in simpler words; it's all due to multi-account stuff in Android 4.2. There's a file called .layout_version in /data partition, when you factory resetted your device using the recovery, the .layout_version file was also wiped during factory reset process as the recovery is supposed to wipe /data (ofcourse excluding the /data/media/ partition as it is the sdcard) partition in this process. So when Android sees that there's no .layout_version file in /data partition it moves the existing data from /data/media/0/ to /data/media/0/0/ and thus forming an infinite loophole of data being moved to other locations at every reset.
So TWRP team came up with an easy solution, that is; not to wipe .layout_version when user executes factory reset command.
You can download here the latest (2.3.2.0) version of TWRP which fixes this bug:
DOWNLOAD
Credits:
TWRP Development Team (esp. Dees_Troy for explaining me stuff)
Google
Hope I helped you in any or the other way around.
Click to expand...
Click to collapse
They can also download from goo manager and it will install automatically.
Sent from my Galaxy Nexus using Tapatalk 2
Why would you post this? He has his own thread.
Sent from my Galaxy Nexus using Tapatalk 2
Close this please
Sent from my Galaxy Nexus using xda premium
jriv said:
Close this please
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Why?
God bless...
Why did you make another thread since you are sharing the same thing?
drmxmyt said:
Why did you make another thread since you are sharing the same thing?
Click to expand...
Click to collapse
He is getting the word out there twice as much... twrp should be thankful and if you are for twrp you should be thankful as well...
God bless...
Rule of thumb here: If you did not create it, do not post it.
Hello
I installed an application that gives me the option to install its database on a path of my choice.
So I would like to install it on the external memory but I can not set the path to the external memory.
Knowing that the default path is / sdcard / My application. This makes the database to be installed in the internal memory.
I tried /storage/extSDCard/ but I get the message 'no such directory'.
My phone is S4 mini Duos i9192
thank you
Please help me
newbyman said:
Please help me
Click to expand...
Click to collapse
Try the App Root explorer to find it, on my device the path is /external_sd
Flatric said:
Try the App Root explorer to find it, on my device the path is /external_sd
Click to expand...
Click to collapse
Thanks for the reply
I tried but I get the message: No such directory
/storage/sdcard1
If you wanna dig deeper I wrote a quick reference about KK storage including paths, variables and permissions http://forum.xda-developers.com/showthread.php?p=53313081#post53313081
aguaz said:
/storage/sdcard1
If you wanna dig deeper I wrote a quick reference about KK storage including paths, variables and permissions http://forum.xda-developers.com/showthread.php?p=53313081#post53313081
Click to expand...
Click to collapse
thank you for the help but I did not understand what to do
.
Install a file explore such as Root Explorer or cyanogenmod file explorer. It will show you the path.
TNCS said:
Install a file explore such as Root Explorer or cyanogenmod file explorer. It will show you the path.
Click to expand...
Click to collapse
the path in root explorer is: /storage/extSDCard
but when I put this path in the application I get a message of error.
newbyman said:
the path in root explorer is: /storage/extSDCard
but when I put this path in the application I get a message of error.
Click to expand...
Click to collapse
Ok, how about create a folder and point to there? Example create a folder called "Myfile" than use /storage/extSDCard/Myfile/ <-- give it a shot. If it still not working, them it most likely the app itself or Kernel/rom related issue.
TNCS said:
Ok, how about create a folder and point to there? Example create a folder called "Myfile" than use /storage/extSDCard/Myfile/ <-- give it a shot. If it still not working, them it most likely the app itself or Kernel/rom related issue.
Click to expand...
Click to collapse
I did so but it didn't work
I need someone who has galaxy s4 mini and try himself on his phone.
https://play.google.com/store/apps/details?id=tool.offline.translation.dictionary&hl=fr
In fact the application is small and looks like 'google translate'. I can move the application to the sd card without difficulty.
the problem is that once the application is installed, I have to download language packages which are a bit big.
By default, the application installs these packages in the internal memory. But it gives me the option to change the path to another directory.
What I seek is to define a path that will allow the application to install these packages in the external sd card.
thanks
Are you on official kk ROM? You need root and sdfix
For me it's working (cm11) use the path
/storage/sdcard1/xxxxx
I think on jb 4.2.2 should be the same
{
"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"
}
fburgos said:
Are you on official kk ROM? You need root and sdfix
For me it's working (cm11) use the path
/storage/sdcard1/xxxxx
I think on jb 4.2.2 should be the same
Click to expand...
Click to collapse
Thanks a lot for testing the application
I'm on jb 4.2.2 I tried /storage/sdcard1/xxxxx but didn't work
newbyman said:
Thanks a lot for testing the application
I'm on jb 4.2.2 I tried /storage/sdcard1/xxxxx but didn't work
Click to expand...
Click to collapse
The workaround i could think would be to use folder mount and root and its very useful not only on this app
fburgos said:
The workaround i could think would be to use folder mount and root and its very useful not only on this app
Click to expand...
Click to collapse
Thanks a lot
problem solved
/mnt/extSdCard/MyApplication/
Thank you all
So basically I'm rooted and Busybox installed trying to use XBMCTORRENT and getting the unmounted shares error
So trying to mount my remote shares using this command while adb shell and su:
mount -o noperm,unc=\\\\192.168.0.21\\putsharenamehere,username=putusernamehere,password=putpasswordhere -t cifs none /mnt/obb/nas
I get this error ermission denied
Also tried a lot of apps like CifsManager and Mount Manager but none of those worked either.
Any help would be greatly appreciated.
username, not user name
/mnt/obb/nas exist? with which permission?
Kramar111 said:
username, not user name
/mnt/obb/nas exist? with which permission?
Click to expand...
Click to collapse
Oh yeah sorry about user_name that was just me posting the thread
/mnt/obb/nas was created previously for this purpose with 777
thanks for the quick reply btw
Just checked
Code:
adb shell su -c mount -o noperm,unc=\\\\192.168.1.1\\Media,username=123,password=12345 -t cifs none /mnt/obb/nas
All Ok
Kramar111 said:
Just checked
Code:
adb shell su -c mount -o noperm,unc=\\\\192.168.1.1\\Media,username=123,password=12345 -t cifs none /mnt/obb/nas
All Ok
Click to expand...
Click to collapse
OK so stupid question under username is my NAS user and password right???
THat username has access and rights for my nas folder so idk what's going on here really
I still get permission denied error
I double checked the folder inside the firetv for the permissions dont know what else to do damn
LastDeuS said:
OK so stupid question under username is my NAS user and password right???
Click to expand...
Click to collapse
Yes.
Can you make screenshot?
Kramar111 said:
Yes.
Can you make screenshot?
Click to expand...
Click to collapse
Suere here it goes
{
"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"
}
Can you change (for testing purposes) username and password to something like 123?
Kramar111 said:
Can you change (for testing purposes) username and password to something like 123?
Click to expand...
Click to collapse
Man I was away for vacations so I couldn't test anymore but thanks that did the trick
I must be honest I'm so lazy I was waiting for someone to tell me to test a simpler user and pass so I would go ahead and create another user on my NAS
I like to think all systems now are beyond those simple problems but hey it's working now thanks again man!!!
Kramar111 said:
Can you change (for testing purposes) username and password to something like 123?
Click to expand...
Click to collapse
Now that we got that working
How can I make this script run each time I reboot the device
LastDeuS said:
Now that we got that working
How can I make this script run each time I reboot the device
Click to expand...
Click to collapse
Don't know
For now my device is bricked (hope temporary) (bueller-51.1.4.1_514013920-rooted + reinstall Xposed framework)
Kramar111 said:
Don't know
For now my device is bricked (hope temporary) (bueller-51.1.4.1_514013920-rooted + reinstall Xposed framework)
Click to expand...
Click to collapse
Oh man sorry to hear that I'm thinking I can use some sort of script app to run this command each time I turn on the FireTV
LastDeuS said:
Oh man sorry to hear that I'm thinking I can use some sort of script app to run this command each time I turn on the FireTV
Click to expand...
Click to collapse
My Fire TV is restored now!
Thanks to rbox
But no time to try with script