[Q] Offline Wikipedia (Leo's Wikipedia Reader) - General Questions and Answers

Where I should put converted files? The wikiconvert made one folder ''wiki_prefix_like_enwiki_idx'' with ''segments'' and 3 files ''wiki_prefix_like_enwiki_1.lwk'', ''wiki_prefix_like_enwiki_2.lwk'', ''wiki_prefix_like_enwiki_3.lwk'', when I put them on my sdcard the application give me terminate ,,No wikipedia detected. Please load a wikipedia offlina on sdcard. More info in [page adress]. Wikipedia english language is 8Gb''
My wikipedia dump is polish.
Thanks You!

I am still trying to get this to work as the screenshots suggests it should be a really nice reader.
Does anyone know more about this?
Here is a link btw. http://www.leobueno.net/PaginaProyectoSoft.php?id=WIKI_ANDROID

Sry, for double post but i just managed to get that thing to work!
Its easy, just copy all generated files including the idx folder and the "wiki.tag" file to the root of your sd card.
Works like a charm.

Thanks for figuring that out, I've been wondering where to put files for the Leo reader. Can I ask if you've found it's possible to put some or all of the lwk files somewhere other than on the sdcard? Alas I don't have 8GB free on my sdcard for the English files, but I could put most of them in /mnt/emmc on my nook color (CM7).

shorty66 said:
Sry, for double post but i just managed to get that thing to work!
Its easy, just copy all generated files including the idx folder and the "wiki.tag" file to the root of your sd card.
Works like a charm.
Click to expand...
Click to collapse
On my sd card I have:
1. pages-articles.xml
2. segments
3. wiki_prefix_like_enwiki_1.lwk
4. wiki_prefix_like_enwiki_2.lwk
5. wiki_prefix_like_enwiki_3.lwk
Still does not works...
How can I get the "wiki.tag" file?

I just put all files the converter generated on the sd card. Try converting the dump again and keep track of all the files and directories it generates. Those belong on the sd card.
I have found a better solution yesterday, though:
The Aard Dictionary Reader can be used to read the wikipedia as well. Formatting is a lot better than with the leobueno reader - in fact it looks exactly like the original wikipedia. It also includes tables, math formulas and a few images wich show rendered content like the periodic table - all in the exact way it looks on your desktop.
Its also possible to load multiple dictionarys (e.g. more than one wikipedia language, wikiquotre and wiktionary) and search through all of them at the same time.
Converting xml-dumps is only possible with linux at the moment, but you can download converted versions in many languages directly from thir site.
You can get the free and open source .apk here.

LeszeKao said:
Where I should put converted files? The wikiconvert made one folder ''wiki_prefix_like_enwiki_idx'' with ''segments'' and 3 files ''wiki_prefix_like_enwiki_1.lwk'', ''wiki_prefix_like_enwiki_2.lwk'', ''wiki_prefix_like_enwiki_3.lwk'', when I put them on my sdcard the application give me terminate ,,No wikipedia detected. Please load a wikipedia offlina on sdcard. More info in [page adress]. Wikipedia english language is 8Gb''
My wikipedia dump is polish.
Thanks You!
Click to expand...
Click to collapse
i have no idea where to type: "wikiconvert "your downloaded and extracted xml file" -owiki_prefix_like_enwiki -n" to generate .lwk files, im on WinXP, do i put it in run or in command prompt?
Download pages-articles.xml.bz2 from "url" and extract the xml file using a compressor tool like 7zip.
Wikiconvert tool
uncompress this file in the same folder as the xml and type:
wikiconvert "your downloaded and extracted xml file" -owiki_prefix_like_enwiki -n
In some minutes you get some wiki_prefix_like_enwiki*.* files. Copy to the sdcard of your phone and run the wikipedia reader.
There is no problem having several wikipedias in your sdcard.
Edit: I got it to work! i downloaded a different wikiconvert zip which didn't contain the .exe file no wonder i cant execute to generate the lwks, all is good now

LeszeKao said:
On my sd card I have:
1. pages-articles.xml
2. segments
3. wiki_prefix_like_enwiki_1.lwk
4. wiki_prefix_like_enwiki_2.lwk
5. wiki_prefix_like_enwiki_3.lwk
Still does not works...
How can I get the "wiki.tag" file?
Click to expand...
Click to collapse
you get the wiki.tag file automatically after conversion using wikiconvert. Its better to run the batch file provided in the zip(only after editing the batch file so that the file names of the wikidump is consistent). I think u will get the wiki.tag file only if you use -n as given in the example:
wikiconvert "your downloaded and extracted xml file" -owiki_prefix_like_enwiki -n

Just tested this on the recent wikipedia dump. The wikiconvert executable crashes at 96.57% every time.

if you are using external sd card for storing the wikipedia then follow it here:
some Chinese Android phones have small internal storage, below than 2 gb mostly, if you want to store apps in External sd cards like this one. with English Wikipedia almost greater than 9GB you must store those files on external device & due to the android limitaion you can't install apps to external drives. you must install it to the internal phone memory or internal phone storage. to save it in external drive plz follow the steps.
1. install GL to SD app from the play store.
2. open it & click options then select move data to sd & select an app you want to move to sd.
3. now back, move the folder in which the converted wikipedia files are & copy it to your external sd card folder data/ & that apps folder which you have moved to sd via GL to SD app.
4 now open GL to SD click mount. & open the leo's wikipedia reader.
Make sure you have rooted phone & the wiki.tag file is copied to the root of external drive.
i have successfully done it with my Qmobile Noir A6 {Rooted}. {MediaTek Chipset} {Running Android 4.0 ICS}
i love fastwiki but that app mostly crashes all the time when you are searching articles. fast wiki has night mode & more options too. both are good try it & make a choice of your own. By the way its my 1st post in XDA forum. sorry for my bad English.

Related

Apps on storage card

Hi,
since I'm running REALLY LOW at internal storage I tinker with the idea of putting some apps to storage card. Thus I'm wondering what if I reflashed my Herald someday. Will I have to reinstall those apps as well or will I be able start them right from SD? What about the app's [email protected] Windows folder?!
Cheers
Hello
If you decide to do a hard reset, then you must reinstall all the programs in SD ..
Whenever you change ROM or you make a hard reset, you'll need to reinstall all CAB
It depends on whether the CAB installs files to different locations, and whether the CAB contains registry entries. Check your CAB file using MSCEINF to see if it copies files to the windows folder and if it has registry entries. Also check the [DefaultInstall] section of the .inf file for the entry 'SelfRegisterDll'. If your CAB file contains any of these things then you'll have to reinstall it after a hard reset.
A large percentage of CABs only contain a single file with no registry entrys and would not have to be reinstalled after a hard reset.
joemanb said:
Check your CAB file using MSCEINF to see if it copies files to the windows folder and if it has registry entries.
Click to expand...
Click to collapse
Hi J03M4N,
With your help (Thanks) there is a new version for MSCEInf (version 2.6) :
Contributions of version 2.6
• Backslash added in rebuilt Inf file, at item [SourceDisksNames], if specified folder has not one at the beginning.
• Due to a bug in new version of mshtml.dll in Internet Explorer 8 Beta for drawing a background image in ListView, I have taken away the background image in the Open Cab Dialog Box.
• There is now a new column in the tab "Folders", with real values written in the CAB without transformation of %CExx%.
Download links in my signature.
not all apps have to be reinstalled. even apps which require registry keys might write them when you run the app from the SD card without installing it.
but remember that not all apps can be installed on the SD card..
Which can't? Any specific ones?
Cheers
i can't name you all the apps which can't
some can, some can't.
for instance, you can't install iGO8 on your storage card...
just install the app on your device and choose Storage Card... (which doesn't always appear as an option)... you can check after installing if it installed on your card or not.
max, uninstall.
if you have installed to your storage card you can just put links to them in the windows\startmenu\ folder
theres an app for that
zeheres said:
Hi,
since I'm running REALLY LOW at internal storage I tinker with the idea of putting some apps to storage card. Thus I'm wondering what if I reflashed my Herald someday. Will I have to reinstall those apps as well or will I be able start them right from SD? What about the app's [email protected] Windows folder?!
Cheers
Click to expand...
Click to collapse
either google force2SD.apk or search for it in blackmart alpha
move to ext4
i have moved all to ext4

Cannot Resort Backups From d/l'd via ROM Manager After CM 10.1

So I was on CleanROM 5.6 and wanted to give 10.1 a shot. I made a backup and downloaded it to my computer via the ROMManager tool. I ran into 2 issues with 10.1 and decided I'd try again later, so I wanted to flash back to my CleanROM backup that I'd just made. Whether via ROMManager or going straight into recovery the process says it can't open the path to the file. I say the path, as this has occurred with the zip image on internal memory and when I've tried on the SD card.
Soooo, now I'm pretty stuck. Thoughts? I felt like it must have related to the new 4.2 file structure but again, this was an issue whether my zip was on internal memory or the card.
Thanks,
BH
The exact process is:
installing [path]
finding update package.
opending update package.
e: cant open [path] (bad)
installation aborted
CWM says it's leaving a log file but I am not seeing it.
Sounds like your filesystem is like this: "/sdcard/0" and if it is, then do the following:
use Root Explorer or a similar program and navigate to /sdcard/0/ press Menu should give you an option for Multi-Select, select all the folders/files in the /0/ directory, hit menu or down on the bottom choose Move (again depends on the browser) back up one level to the main /sdcard/ directory, and hit Paste. It will tell you there is files with the same information (because the ROM rebuilt the file structure) choose Merge, and let it do its thing. Depending on how many files you have, it may take a little while, just be patient.
Click to expand...
Click to collapse
taken verbatim from here:
http://rootzwiki.com/topic/37316-protip-42-and-recoveries/
I'm going to give it a shot now. I wouldn't have thought this would be an issue restoring since the zip was accessible and I even tried flashing from internal mem, but perhaps it's not as much as issue of reading the file as knowing where to extract the data? We'll see.
All in all, if I could just get 10.1 to stop giving me market errors (920) I'd probably just stick with that at the moment. Alas, have tried all of the interweb's solutions for that too.
Will update, thanks.
So I don't have a /0/ dir on the card, but I do have a /1/. Tried moving the contents of /1/ but it failed. May try another file explorer app (this was via CMs). Interestingly, I was able to flash a ClearnROM install zip, which is 4.1.1 based. Why would that work but the constructed backups wouldn't?
update: I can flash anything else regardless of location, and I am using the latest recovery. def seems like something specific to zip backups made/downloaded via the newest means in ROM Manager
monorailmedic said:
So I don't have a /0/ dir on the card, but I do have a /1/. Tried moving the contents of /1/ but it failed. May try another file explorer app (this was via CMs). Interestingly, I was able to flash a ClearnROM install zip, which is 4.1.1 based. Why would that work but the constructed backups wouldn't?
update: I can flash anything else regardless of location, and I am using the latest recovery. def seems like something specific to zip backups made/downloaded via the newest means in ROM Manager
Click to expand...
Click to collapse
Well if the rom zip is on /sdcard or /extsdcard then it will flash fine. If your backups are on /sdcard/1/ then that's literally the same as /0/. Recovery is looking for your Nandroid backup on /sdcard but it's not there, it's actually been unnecessarily moved to /sdcard/1/ if I'm understanding you correctly. You will not be able to restore a nandroid until you get those files moved back to the proper file path.
Sent from my SCH-I535 using xda app-developers app
SlimSnoopOS said:
Well if the rom zip is on /sdcard or /extsdcard then it will flash fine. If your backups are on /sdcard/1/ then that's literally the same as /0/. Recovery is looking for your Nandroid backup on /sdcard but it's not there, it's actually been unnecessarily moved to /sdcard/1/ if I'm understanding you correctly. You will not be able to restore a nandroid until you get those files moved back to the proper file path.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
I have a similar problem with my file system after flashing from 4.2 back to 4.1 that has me confused.
I flashed to a TW rom after being on CM10.1, and I was using the most recent TWRP when I originally flashed CM10.1. I had the usual problem that everybody seems to have being that the "0" folder was located on my card. I copied the fold over to my normal sdcard folder (unfortunately I used root browser instead of root explorer, which made this much more painful as it does not have the "merge" ability. Root Explorer - accept no substitutes)
After doing the merge though, I have 2 problems.
#1 - My external SDcard is now listed under "storage."
#2 - There is an Sdcard there called "sdcard0 as well as a "extSdCard" in this storage folder with all the same information as the original "0" folder that was on the internal sdcard. Also a bunch of folders named UsbDriveA, UsbDriveB, etc.
Why did this happen? And how should I set up my folders so that it behaves properly? In other words, what does a normal file system look like?
SlimSnoopOS said:
...Recovery is looking for your Nandroid backup on /sdcard but it's not there, it's actually been unnecessarily moved to /sdcard/1/ if I'm understanding you correctly. You will not be able to restore a nandroid until you get those files moved back to the proper file path...
Click to expand...
Click to collapse
So this is where I am confused, does the zip not contain all of the appropriate backup data within itself, and it is looking elsewhere (in the wrong path) for backup data? This seems odd based on the whole idea as well as the size of the file. If this is not the case, when why is whatever scripting is included in the backup looking for an absolute and not a relative path to the data? It should always be relative to the location of the zip file itself.
I really want to try and understand this.
PeterGunz said:
I have a similar problem with my file system after flashing from 4.2 back to 4.1 that has me confused.
I flashed to a TW rom after being on CM10.1, and I was using the most recent TWRP when I originally flashed CM10.1. I had the usual problem that everybody seems to have being that the "0" folder was located on my card. I copied the fold over to my normal sdcard folder (unfortunately I used root browser instead of root explorer, which made this much more painful as it does not have the "merge" ability. Root Explorer - accept no substitutes)
After doing the merge though, I have 2 problems.
#1 - My external SDcard is now listed under "storage."
#2 - There is an Sdcard there called "sdcard0 as well as a "extSdCard" in this storage folder with all the same information as the original "0" folder that was on the internal sdcard. Also a bunch of folders named UsbDriveA, UsbDriveB, etc.
Why did this happen? And how should I set up my folders so that it behaves properly? In other words, what does a normal file system look like?
Click to expand...
Click to collapse
See my attached photo for what your file system should look like. I'm using ES File Explorer and that's my file system.
What do you mean your external SDcard is listed under Settings/Storage? Both of mine are listed, internal storage is first then my external sd card is second. Care to screenshot what you mean?
monorailmedic said:
So this is where I am confused, does the zip not contain all of the appropriate backup data within itself, and it is looking elsewhere (in the wrong path) for backup data? This seems odd based on the whole idea as well as the size of the file. If this is not the case, when why is whatever scripting is included in the backup looking for an absolute and not a relative path to the data? It should always be relative to the location of the zip file itself.
I really want to try and understand this.
Click to expand...
Click to collapse
If you're using CWM, it saves your backups for internal sd card in: /sdcard/CWM/backup and blobs. For your external sd card, it's saved /extsdcard/CWM/backups and blobs. If you flashed any AOSP 4.2 rom, it moves EVERYTHING from your /sdcard/ path to /sdcard/0. See the difference? Example, your music should be in this path /sdcard/Music but instead it's been moved to /sdcard/0/Music on AOSP 4.2. I get what you're saying how it should be looking for where the zip is BUT the multi-user support completely disrupts our entire thinking of how our file system should be because one user could be "rooted" whereas the other user would be completely stock depending on who signed in. It's too early to expect this to just work since Google introduced this in 4.2. It's a take it or leave it thing.
Sent from my SCH-I535 using xda app-developers app
For a standard backup that makes total sense. My confusion is how this happens with a zip, when all of the backup data is confined to that one archive file (or at least should be).
monorailmedic said:
For a standard backup that makes total sense. My confusion is how this happens with a zip, when all of the backup data is confined to that one archive file (or at least should be).
Click to expand...
Click to collapse
When you made a backup with Rom Manager, it saved to /sdcard, since flashing 4.2, everything on /sdcard moved to /sdcard/1/... Rom Manager and any app honestly would have issues when the file location has changed suddenly and without its express permission. It's not the fault of Rom Manager that it can't find the file to restore your backup. Having an updated TWRP or CWM is supposed to help prevent the /sdcard contents from being merged to /sdcard/0, its not supposed to continue looking for the "new" file destination.
SlimSnoopOS said:
See my attached photo for what your file system should look like. I'm using ES File Explorer and that's my file system.
What do you mean your external SDcard is listed under Settings/Storage? Both of mine are listed, internal storage is first then my external sd card is second. Care to screenshot what you mean?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Sorry, I can see what I said was confusing.
On the root of my device, among the usual folders, there is one named "sdcard" and another named "storage."
In the "sdcard" folder, all of the folders were empty; however, there is a folder named "0" which contained all of my sdcard contents from my internal sdcard.
In the "storage" folder from the root of my file system, it resembles what you have in your screenshot, except there are no asec and obb folders. In the sdcard folder is a replica of the 0 folder. It contains everything that was in my original internal sdcard. The extsdcard contains everything normally found on my external sd card.
When download something with the stock browser, it defaults to the sdcard folder on the root of file system.
I've attached some screenshots. Let me know what you think and thank you for the help.
PeterGunz said:
Sorry, I can see what I said was confusing.
On the root of my device, among the usual folders, there is one named "sdcard" and another named "storage."
In the "sdcard" folder, all of the folders were empty; however, there is a folder named "0" which contained all of my sdcard contents from my internal sdcard.
In the "storage" folder from the root of my file system, it resembles what you have in your screenshot, except there are no asec and obb folders. In the sdcard folder is a replica of the 0 folder. It contains everything that was in my original internal sdcard. The extsdcard contains everything normally found on my external sd card.
When download something with the stock browser, it defaults to the sdcard folder on the root of file system.
I've attached some screenshots. Let me know what you think and thank you for the help.
Click to expand...
Click to collapse
Oh! This is actually funny, we've been looking at the same thing from two different viewpoints. I see what you mean, /Storage and /sdcard are perfectly normal when you see them on the absolute root file system: "/". I always go to /mnt, that's where I have my file explorer default to open when I launch the app. Sdcard0 = sdcard, and various apps will use the names interchangeably. I have exactly the same paths /sdcard and /Storage, and I do see /Storage/sdcard0 and /Storage/extsdcard along with the same empty USB Drive folders. This is just how the "/" directory is split up. There isn't a duplication of files taking up more space than necessary, it's just showing you another path to get to those files. To reiterate, on "/" you can get to your sdcard contents in at least three paths: /mnt, /sdcard, and also /Storage/sdcard0
All that matters is the /sdcard/0 aka /Storage/sdcard0/0 is GONE. Which, in your original post you said no longer exists correct?
Sent from my SCH-I535 using xda app-developers app
I am still not understanding how there is a problem with executing a zip file that contains all the backup data. It doesn't matter where I move this zip file, as it seems it should be all inclusive of the backup data. Why does it matter the path of this file? What is the script looking for during restoration? Shouldn't it be looking within the archive?
I'm sorry, I feel like a tool, but again, I'm obviously missing some very basic part of what is happening when the file is accessed. As it is all inclusive, why is recovery looking for content anywhere outside of the archive?
monorailmedic said:
I am still not understanding how there is a problem with executing a zip file that contains all the backup data. It doesn't matter where I move this zip file, as it seems it should be all inclusive of the backup data. Why does it matter the path of this file? What is the script looking for during restoration? Shouldn't it be looking within the archive?
I'm sorry, I feel like a tool, but again, I'm obviously missing some very basic part of what is happening when the file is accessed. As it is all inclusive, why is recovery looking for content anywhere outside of the archive?
Click to expand...
Click to collapse
Backups cannot be flashed like other ZIP files. They need to be restored using the restore function of your recovery. The problem is that the CWM restore function is looking for its backups where it puts them (not surprisingly). Android 4.2 moved them to another location and you need to move them back.
SlimSnoopOS said:
Oh! This is actually funny, we've been looking at the same thing from two different viewpoints. I see what you mean, /Storage and /sdcard are perfectly normal when you see them on the absolute root file system: "/". I always go to /mnt, that's where I have my file explorer default to open when I launch the app. Sdcard0 = sdcard, and various apps will use the names interchangeably. I have exactly the same paths /sdcard and /Storage, and I do see /Storage/sdcard0 and /Storage/extsdcard along with the same empty USB Drive folders. This is just how the "/" directory is split up. There isn't a duplication of files taking up more space than necessary, it's just showing you another path to get to those files. To reiterate, on "/" you can get to your sdcard contents in at least three paths: /mnt, /sdcard, and also /Storage/sdcard0
All that matters is the /sdcard/0 aka /Storage/sdcard0/0 is GONE. Which, in your original post you said no longer exists correct?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Correct!
You helped me solve my problem. I was so confused for awhile there.
What should I rename my sdcard after copying everything over from "0"?
I just flashed back to 4.2.1 (AOLP) and I cannot find the contents of my internal sdcard anywhere. In fact, when I check storage on the system settings it only shows that I have a little over 12gbs total space on the internal sdcard. The 8gb I have on TW on the internal sdcard are not recognized by the rom. Any thoughts?

[Q] need help to make apk read data from external sdcard

i installed uptodate.apk but it reads data only from internal memory...the data is quite large so i want it to read data from external sd card where i have kept its data..i tried to edit apk by zip archive, by editing content_0.html...but after the edit the apk doest install.... please help me to edit the apk so that it reads data from external sd card. please i have attached the apk file....this is my first post, hope frens in xda show their kindness
rujjwal said:
i installed uptodate.apk but it reads data only from internal memory...the data is quite large so i want it to read data from external sd card where i have kept its data..i tried to edit apk by zip archive, by editing content_0.html...but after the edit the apk doest install.... please help me to edit the apk so that it reads data from external sd card. please i have attached the apk file....this is my first post, hope frens in xda show their kindness
Click to expand...
Click to collapse
I modify two versions of UPTODATE.apk for "internal storage" & "sd card" usage. 100% tested & OK in "HTC one SV"
rujjwal said:
i installed uptodate.apk but it reads data only from internal memory...the data is quite large so i want it to read data from external sd card where i have kept its data..i tried to edit apk by zip archive, by editing content_0.html...but after the edit the apk doest install.... please help me to edit the apk so that it reads data from external sd card. please i have attached the apk file....this is my first post, hope frens in xda show their kindness
Click to expand...
Click to collapse
If you have rooted device... Use folder mount ..
Or lucky latcher
Sent from my GT-S7582 using XDA Premium 4 mobile app
series 2 my modification "Uptodate" APKs
You can also try series 2 my modification "Uptodate" APKs
in these series omitted adress "/mnt/" at the sources for reading by some phone
not working
my cellphone is a Moto G (2014) and none of these apks work with me.
I tried to edit myself the loading path to "file:///storage/sdcard1/UpToDate/UpToDate.html" (assuming that this was the way to make it function properly) but i can't install the new apk (I get some error).
Since it's my first time editing any apk, I suppose I've made some mistake along the way... can someone with more experience do this job for me? Thanks a lot
I couldn't get it to work on my Galaxy Note 3 - it just showed "net::ERR_FILE_NOT_FOUND". I've copied my UpToDate folder into internal storage. However I've found the solution, and I hope it helps others here who is facing a similar issue.
The key to fix this is by adding permission to access external storage (regardless if it is internal or external memory):
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Just replace the wallpaper permission with it.
It worked finally on my Note 3 and Note 5.
I've attached a file that points to the location "file:///sdcard/UpToDate/UpToDate.html". You will have to edit the APK if your location is different from mine.
Hope it helps.
i need to replace sdcard by sdcard1. can i edit that in the apk from my phone with some app?
UPTODATE
none of the apk worked
error message while opening the app was
"the webpage at file:///mnt/sdcard/ext_sd/UpToDate/UpToDate.html couldnt be loaded because:
net::ERR_FILE_NOT_FOUND

[Q] Lollipop: SD Card Write for Legacy Apps

Hey Guys -
Amongst other devices, I have a rooted Nvidia Shield Tablet which I primarily use for gaming (of course) and love. Recently, I upgraded to Lollipop and soon after even completely reset the tablet by reapplying the recovery image, then upgrading to Lollipop via OTA (since recovery files still haven't yet been updated.)
There's just one main issue I cannot find a solution for: I have many legacy apps / games and for some of them need to have SD Card write access. Take for instance "Star Wars - Jedi Academy." It's a paid app and when downloaded installs a small APK as well as a folder with the Demo version of the PC game's files. The app says if you copy the retail version files to a folder and point it to them, it will play the full game and does - however - these files are 3.5gb therefore I copied to a folder on my SD. When I open the app/game and point it to the SD Card folder (which it sees), it says the target isn't writable.
When Lollipop first came out, I know many apps needed to be upgrade to be able to write to the SD card - due to Storage Access Framework I believe. They must know that some legacy apps probably may never get updated. How are we to use these? I'd think the fix would come in one of the following forms:
- Xposed Add-on (Installer/Framework still not compatible with Lollipop, though )
- Play Store App - Non-official workaround like ones offered for KitKat
- Lucky Patcher modification?
- Some other method which may require root
- A base Android setting I've overlooked
So... does anyone know a method which is currently out and working? Thanks!
I recently wrote a post about this. Tl;dr you need to reformat your card as ntfs to get it to work, and then do some craziness with the Google Storage Access Framework on command.
Wait a second. Can't you write a simple app like SD fix to repair the way the SD card is accessed?
bzowk said:
Hey Guys -
Amongst other devices, I have a rooted Nvidia Shield Tablet which I primarily use for gaming (of course) and love. Recently, I upgraded to Lollipop and soon after even completely reset the tablet by reapplying the recovery image, then upgrading to Lollipop via OTA (since recovery files still haven't yet been updated.)
There's just one main issue I cannot find a solution for: I have many legacy apps / games and for some of them need to have SD Card write access. Take for instance "Star Wars - Jedi Academy." It's a paid app and when downloaded installs a small APK as well as a folder with the Demo version of the PC game's files. The app says if you copy the retail version files to a folder and point it to them, it will play the full game and does - however - these files are 3.5gb therefore I copied to a folder on my SD. When I open the app/game and point it to the SD Card folder (which it sees), it says the target isn't writable.
So... does anyone know a method which is currently out and working? Thanks!
Click to expand...
Click to collapse
Not sure it will solve your problem, but when I first upgraded to Lollipop I could not write anything to my sd card. Someone else mentioned that if you install Folder Mount, https://play.google.com/store/apps/details?id=com.devasque.fmount, upon first launch it would recognize the issue and offer to fix it. I tried it (used Folder Mount on my old Hisense Sero Pro 7 for a long time so I trust it), and sure enough it works great. Then just uninstall it once you've rebooted. End of problem for me...
Easy fix. If you have root use SD Card Fix by NextApp
https://play.google.com/store/apps/details?id=nextapp.sdfix
Gives you read write back to your ex SD.
Sent from my SM-N910T using XDA Free mobile app
this fix did it for me without installing any app:
http://forum.xda-developers.com/showthread.php?p=44370296#post44370296
Wow - Thanks for all the replies guys! I got it to work!
After reading each, I decided to first try w.0.o.t's suggestion which is a direct but simple edit of a system file instead of installing an app for which I don't know what it does exactly. The example in the link he sent was a bit different as it was for 4.3, so here's what I ended up doing to make it work for 5.0:
1. Opened Root Explorer Pro on my tablet
2. Browsed to the file "/etc/permissions/platform.xml"
3. Copied it to the root of my internal storage (sdcard0) for backup
4. Held down touch on it and choose to Edit in Text Editor. It asked if I wanted to mount volume as RW to which I replied yes
5. Located the section "WRITE_EXTERNAL_STORAGE" and made the edits listed in the "EDITS" section below these steps
6. Saved file, held touch on filename again, went to permissions, and verified that it was set to "644" - it was
7. Restarted tablet
EDITS
Original Data in permissions.xml
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
Edited Data in permissions.xml What I changed the above values to...
Code:
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
Notes when editing:
- Make sure that you change "r" to "rw" on the first listed group - may easily be missed when coming above two
- When typing extra line, my tablet auto-corrected the word "gid" and changed it to "god" without me noticing. After rebooting and it not working, I went back and saw the error, fixed it, rebooted, then it worked
To test, I opened FX File Editor and browsed to a file on my SDCard which I previously could not delete. This time, I was able to delete it without issue
Thanks again guys!
glad you sorted it out.
primetechv2 said:
I recently wrote a post about this. Tl;dr you need to reformat your card as ntfs to get it to work, and then do some craziness with the Google Storage Access Framework on command.
Click to expand...
Click to collapse
Do you have a link to some instructions for that method? And does it require root?
KingDestruct said:
Do you have a link to some instructions for that method? And does it require root?
Click to expand...
Click to collapse
No root is needed.
It requires a computer, and probably for you to eject your SD card from your shield and insert it into the computer in a different way, so it's recognized by Windows Explorer.
So you plug in the SD card as mentioned.
Open it up in Windows Explorer. (This usually comes up when you insert the card, but if it doesn't you can usually open the Start Menu or Start Screen and type Explorer to find it.)
Copy everything you want to save out of the card.
Right click in an empty space, then choose Format...
Format the thing as NTFS. Turning off Quick Format probably won't hurt. Don't bother with any other options.
Cross fingers. Try the card again.
primetechv2 said:
No root is needed.
It requires a computer, and probably for you to eject your SD card from your shield and insert it into the computer in a different way, so it's recognized by Windows Explorer.
So you plug in the SD card as mentioned.
Open it up in Windows Explorer. (This usually comes up when you insert the card, but if it doesn't you can usually open the Start Menu or Start Screen and type Explorer to find it.)
Copy everything you want to save out of the card.
Right click in an empty space, then choose Format...
Format the thing as NTFS. Turning off Quick Format probably won't hurt. Don't bother with any other options.
Cross fingers. Try the card again.
Click to expand...
Click to collapse
I'm sorry I should have clarified, I know how to and have formatted the SD card, I was referring to the fiddling around with the Google Storage Access Framework on command. Sorry for the confusion.
KingDestruct said:
I'm sorry I should have clarified, I know how to and have formatted the SD card, I was referring to the fiddling around with the Google Storage Access Framework on command. Sorry for the confusion.
Click to expand...
Click to collapse
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
primetechv2 said:
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
Click to expand...
Click to collapse
No luck whatsoever. I'm getting the same issue as the original poster. I've tried with both ES File Explorer and FX and Documents crashes as soon as I select the SD Card. The SD card is in NTFS format, would exFAT format make a difference?
---------- Post added at 06:47 AM ---------- Previous post was at 06:19 AM ----------
primetechv2 said:
The GSAF will only pop up on apps that have been wired to support it. Among others I know ES and FX file explorers are now capable. Any luck with those?
Click to expand...
Click to collapse
I have tried using ES File Explorer on my LG G3 running Android 5.0.1 and I was able to write to the SD card. So at this point its an issue with the tablet, which is immensely infuriating since I can't install games to the SD car properly, which is the main thing this tablet is for isn't it?! I really want to play some Hearthstone on it!
You know, at this point, any change in format might make a difference. I'm scratching my head as to why you need to explicitly provided Storage access to ES File Explorer, maybe it just no longer assumes it has the permissions (stock Samsung apps are okay with writing anywhere and preliminary documentation about OEM installed apps said the same thing).
The good news is that I've never destroyed an SD card by formatting formatting it. Go nuts. Try things other than what I suggested... At this point there's a good chance I'm missing something. And I'm sorry for botching my suggestions.
Here's an idea. Between switching formats and maybe allocation sizes (I'm leaning towards trying the smallest one), try formatting your SD card in the system's Storage settings.
Here's another: try the SD Formatter application available here. Raspberry Pi SD cards are sometimes as cranky as Shield ones.
http://www.raspberrypi.org/help/noobs-setup/
I got it to work! I used the SD Formatter you suggested, although it only let me format it to FAT32. I did see some other threads though that said something about renaming the SD card too, so I decided to rename the volume label to "Shield_SD", and I'm guessing that this is the problem, as I never named the SD card. I noticed also that on my LG G3 that the external SD card had a name that was a bunch of random characters, but I could write to it.
dgjenkins said:
Not sure it will solve your problem, but when I first upgraded to Lollipop I could not write anything to my sd card. Someone else mentioned that if you install Folder Mount, https://play.google.com/store/apps/details?id=com.devasque.fmount, upon first launch it would recognize the issue and offer to fix it. I tried it (used Folder Mount on my old Hisense Sero Pro 7 for a long time so I trust it), and sure enough it works great. Then just uninstall it once you've rebooted. End of problem for me...
Click to expand...
Click to collapse
After upgrade to lollipop, then downgrade to KK 4.4.4, had a sd card write pb.
This one solved my problem.
Thanks for that, you made my day.
Best regards
Franck

[Completed] Help Convert TNTpipo.img into and ext sd installable file/zip

Hello, i need a bit of help, ive got my original .img file from TNT.
i had windows when i installed it first time, i have Linux mint 17 now .
i tried with neighbors win 7 machine but i can tget the tablet recoged by any means, i think the usb port is buggered up
nothing works.
any way i can install from external sd card, is there any way to mod the img to install from sd card similar to the Decontaminatv3.1.zip
iv installed tnt software and can mount the system folder have a copy of it converted to ext4(was a real pain)
decontam just gets renamed to install.zip and goes right in, just wish there was a linux based converter that didnt require an enlarged brain to operate
put img file in folder
start app
press button to convert .img to install.zip
copy install.zip into sd card
done and happy!!
any body have any ideas?
IMG is a completely different Packing of Source files. Those typically can not be converted into Zip files as their signature is integrated.
Please post Device details so we can help further.

Categories

Resources