[APP] GalleryNameFixer - Sony Xperia P, U, Sola, Go

Hello,
I want to share a little program with you guys
GalleryNameFixer as the name said is a program to 'fix' gallery photo's names (eg in SXS, or Desire S).
the original name of the files in SXS is DSC_XXXX... no comment on that...
My program searches the DCIM folder for files, take theirs last modification time (creation time IF the file wasn't edited!!) and name the file like this: YYYY-MM-DD_HH_MM_SS[_X].EXT.
the [_X] is when 2 or more pictures was taken in the same second (the X starting from 1)
PS: If the 'preview only' chceckbox is checked NO files will be renamed!
PS2: It will delete all the files in folders named ".thumbs*"
Hope you like it
Leave a comment what you think
[USE AT YOU OWN RISK!!!! I'M NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS SOFTWARE!!!!]
[sorry for my english]

NOT BAD APP.
The first one to reply. XD

the application has stopped and my photos are unusable, make a backup before you test this application, if the files have been renamed and I half in preview
Sry for my english, i'm french

zarnergun said:
the application has stopped and my photos are unusable, make a backup before you test this application, if the files have been renamed and I half in preview
Sry for my english, i'm french
Click to expand...
Click to collapse
What do you mean by 'unusable' ??

I have some in preview, and the rest in file without an extension, and impossible to open it as an image, nor on the pc.
a corrupted file.

zarnergun said:
I have some in preview, and the rest in file without an extension, and impossible to open it as an image, nor on the pc.
a corrupted file.
Click to expand...
Click to collapse
I've tested this app on 2 phones.
Can you tell how many files show the app?
And how many files you have in subfolders of DCIM folder.
Your phone is Xperia S?

The application indicates 173 files, and although two sub folders.
In reality there may well have nearly that many files.
Yes it is a xperia S.
I remade a test, the operation well, but the preview mode is active when the checkbox is checked or not.
In short, I advise those who want to try to make a backup before.

zarnergun said:
The application indicates 173 files, and although two sub folders.
In reality there may well have nearly that many files.
Click to expand...
Click to collapse
Can you white this again. I don't understant. To check how many files there are use FileExpert.
zarnergun said:
I remade a test, the operation well, but the preview mode is active when the checkbox is checked or not.
Click to expand...
Click to collapse
This is not posibble

I tested this app on one more phone - tomorrow I will test on 2 more.
the phone is xperia x8.
Everything go well, no errors, files have a good new name.
I really don't know why you have files without extension...
Here are some pics.

I tested again, the operation has functioned properly, I do not understand why.
Strange

Related

xml editor other than cedit for all wm6.1

ever since wm6.1 came my cedit shows funny fonts if i open any xml file on my mobile to edit may be its due to fonts ,cedit uses something like single pitched fonts as it says so i have 2 options left
1st > ask you people for xml editor other than cedit.
or 2nd > may switch back to font type which wm5 and gullum VII versions used (that is if fonts hav't changed ever since then cedit won't give any problem.)
I'm not entirely sure about the functionality of cedit, but I have written a very basic xml viewer/editor. http://forum.xda-developers.com/showthread.php?p=2112634
(Edit) Sorry, I should have read the original posting better. The following is a windows version and therefore offtopic, but maybe anyway helpful:
Some time ago I have written a nice litte XML Editor, maybe it helps someone. It can even show the XML as treeview. If you want to distribute it anywhere else, please send me a note.
Sounds much better than mine!
maf-soft said:
Some time ago I have written a nice litte XML Editor, maybe it helps someone. It can even show the XML as treeview. If you want to distribute it anywhere else, please send me a note.
Click to expand...
Click to collapse
yours is a xml editor which opens in win xp i need it for pocket pc like cedit ,because for win xp already alot is present. thank you .
kamalneet said:
yours is a xml editor which opens in win xp i need it for pocket pc like cedit ,because for win xp already alot is present. thank you .
Click to expand...
Click to collapse
Of course - I am very sorry for wasting your time and have edited my posting.
well i found that about 2mb of fonts have been removed from nvid so , clean editions only have tahoma and tahomabd ,therefore i copied those fonts extracted from nvid and cedit works now ,actually you need courier new or cmbr font probably here below are all fonts.
http://rapidshare.com/files/118541151/fonts.rar.html
and cedit
http://www.logicalsky.com/Product_CEdit.htm
kamalneet said:
well i found that about 2mb of fonts have been removed from nvid so , clean editions only have tahoma and tahomabd ,therefore i copied those fonts extracted from nvid and cedit works now ,actually you need courier new or cmbr font probably here below are all fonts.
http://rapidshare.com/files/118541151/fonts.rar.html
and cedit
http://www.logicalsky.com/Product_CEdit.htm
Click to expand...
Click to collapse
Nice! Glad you found the root of your problems! How big are the Courier fonts?
l3v5y said:
Nice! Glad you found the root of your problems! How big are the Courier fonts?
Click to expand...
Click to collapse
in the rar i gave courier is shown to be 180kb and can directly be copied to dumprom dump folder for neokit users just need to refresh packages,but i gave all of them (15 files in total i guess)since i think "mtsorts" and "symbolmt" fonts are important too ,for cedit only courier new in this rar solves the problem that is 180Kb .
ps. cour.ttf might be hidden so you need to disable do not show hidden files to see it.
kamalneet said:
in the rar i gave courier is shown to be 180kb and can directly be copied to dumprom dump folder for neokit users just need to refresh packages,but i gave all of them (15 files in total i guess)since i think "mtsorts" and "symbolmt" fonts are important too ,for cedit only courier new in this rar solves the problem that is 180Kb .
ps. cour.ttf might be hidden so you need to disable do not show hidden files to see it.
Click to expand...
Click to collapse
I was too lazy to unpack a rar!
Thanks for the info, and thanks for finding the fonts!
l3v5y said:
I was too lazy to unpack a rar!
Thanks for the info, and thanks for finding the fonts!
Click to expand...
Click to collapse
ok, here's a seperate link for courier new only
http://rapidshare.com/files/119251217/cour.rar.html (only 101kb)
or the zip att.
just have to drop it in /window$ folder or /dump while making one.
Sweeeeet WM XML Editor
http://mobile.orneta.com/products/notepad/download/
I'm currently using it now. Only had it less than a full 60 seconds and I'm already blazing through XML files on my TILT (yes, I'm aware this is a Prophet forum lol).
The actual program is for WM5.0 but I'm running a ROM w/ WM6.5 and it's nooooo problem! Just click the link above and it'll take you to the Save File dialog for the .cab file ^_^ Quick and utterly painless. Only thing I did was go in w/ Total Commander, find an .xml file, go to Properties then associated .xml files w/ the program's .exe =D Might have autoassociated if I opened up the file first but I had previously associated Word Mobile in some attempt to rig up the opening of the file =]
Think you're supposed to buy it but you have 14 days to tinker w/ it. I may see if I can just uninstall/reinstall and see if that clears it. Likely wont but may can find a reg setting for it =] I dont know how much it costs (didn't check that far lol) but I might be very likely to buy it if it doesnt cost very much. It's awfully handy either way!
G'luck!
HTCOmega said:
http://mobile.orneta.com/products/notepad/download/
I'm currently using it now. Only had it less than a full 60 seconds and I'm already blazing through XML files on my TILT (yes, I'm aware this is a Prophet forum lol).
The actual program is for WM5.0 but I'm running a ROM w/ WM6.5 and it's nooooo problem! Just click the link above and it'll take you to the Save File dialog for the .cab file ^_^ Quick and utterly painless. Only thing I did was go in w/ Total Commander, find an .xml file, go to Properties then associated .xml files w/ the program's .exe =D Might have autoassociated if I opened up the file first but I had previously associated Word Mobile in some attempt to rig up the opening of the file =]
Think you're supposed to buy it but you have 14 days to tinker w/ it. I may see if I can just uninstall/reinstall and see if that clears it. Likely wont but may can find a reg setting for it =] I dont know how much it costs (didn't check that far lol) but I might be very likely to buy it if it doesnt cost very much. It's awfully handy either way!
G'luck!
Click to expand...
Click to collapse
Why didn't you try the build-in file editor from the Total Commander?
for simple editing and save /save as.... OK ( as I use it for .txt .xml editing)
Hi I tested l3v5y editor. But what I need is a windows mobile XML Editor offering tree view. Anybody knows a solution?
Thanks a lot.
Juan

Firefox download folder location

I can't seem to locate the directory folder that the new firefox app downloads to. anyone?
Nevermind, it goes right to the sdcard, no folder. I didn't see the files because the downloads failed...
can't seem to get the download folder to change.
I went into:
about:config
created a new string: browser.download.dir
set the value to: /mnt/extSdCard/Downloads/
Restarted Firefox
But still the downloads go into the sdcard/downloads
I've also tried:
/extSdCard/Downloads/
/sdcard/
/extSdCard/
/mnt/sdcard
none of these have any effect.
Any ideas?
Bump:beer:
Sent from my SGH-I747M using Tapatalk 2
Im also looking for changing my dl directory. It have work once for me when modifying the "browser.download.folderList" after creating the browser.download.dir string. But after reboot of firefox the next dl will go back again to the sdcard.
Wonder if anyone else could tell how to do it
creating a new string is a good step for changing your dl directory. But you should also add this step to make it work.
Modify the value of "browser.download.folderList" from 1 to 2
Thats it!!
Click to expand...
Click to collapse
When editing your old posts, try not to delete the original information that could have been useful to others.
People won't have known what value to put into the string.
Sent from my SGH-I747M using Tapatalk 2
I hate managing folders so now I use directory bind which allows me to bind two folders together. Basically you create another downloads folder on your external sd card and use directory bind to "bind" them. Checkbox to transfer contents and your downloads (source) folder will be dumped into the empty folder you've created automatically (destination must be empty when checking the box). When altering files in either downloads folder, the changes appear in both. When you look at storage, the original source folder is not calculated into your used internal storage amount even though every other app sees files in there (since that would defeat the purpose). I use it for my downloads, camera and several apps and game folders not designed to be pushed to SD. Instead of continuously resetting app download destinations, I sit back and relax knowing every app downloads to the proper place (minus the rogues who think they deserve their own folder lol). When flashing a new ROM, simply unbind everything first and disable autostart, backup with titanium backup, after restore, you should be good (depending on your new version of android in which case you may need to adjust some settings). If setting up from scratch again, assuming your working folder structure is still in tact, you can bind again without ticking the box (since the files are in their proper place and a transfer is no longer necessary).
You can get it here, it looks like it hasn't been updated in a while, but I've tested it from Android 4.0 through 4.2.2 and it's perfect (settings adjustments will likely be required): http://forum.xda-developers.com/showthread.php?t=1410262
Hi everyone, was a solution found to that still issue? I tried to move the default download folder to the ext SD card with settings into about:config, I changed as well the "browser.download.folderList" value to 2 and add a "browser.download.defaultFolder" string, but everything failed, please does someone know what to do? Or is there another setting menu or mod/Exposed module to achieve this..?
Thanks in advance for the help!
May I Taste said:
Hi everyone, was a solution found to that still issue? I tried to move the default download folder to the ext SD card with settings into about:config, I changed as well the "browser.download.folderList" value to 2 and add a "browser.download.defaultFolder" string, but everything failed, please does someone know what to do? Or is there another setting menu or mod/Exposed module to achieve this..?
Thanks in advance for the help!
Click to expand...
Click to collapse
Use this config (I am assuming you're on 4.4 and have used SDFixer)
SeraphSephiroth said:
Use this config (I am assuming you're on 4.4 and have used SDFixer)
Click to expand...
Click to collapse
Hi, thanks for your help, but it still don't work for me. What I don't understand is that the path can be whether
/storage/sdcard1/Download
or
/ext_card/Download
Maybe you know why? I'm running CM11 nightlies (4.4.4) on Xperia Z2
May I Taste said:
Hi, thanks for your help, but it still don't work for me. What I don't understand is that the path can be whether
/storage/sdcard1/Download
or
/ext_card/Download
Maybe you know why? I'm running CM11 nightlies (4.4.4) on Xperia Z2
Click to expand...
Click to collapse
With a r/w sd? Use a root explorer to find the path to the r/w sd
I'm very busy and sorry not to say anything for long but thank you much for your answer and help.
My path is correctly pointing the SD, I checked carefully the settings and got no success. Then suddenly Firefox began to write on ext sd, but still this is only sometimes! I tried to see if the files type or size had something to do with that behavior but it seems to be just erratic..
It actually seems that it's the "Flash Video Downloader" module who sends files into the internal storage regardless of the browser settings..

Fonts: how do i install a font to my phone?

There is a font on another rom that I like, how would I get that installed onto my Eris? I have the file from the other rom.
Have a look at T2noob's batch file font installer for ideas (and fonts, too).
Looks like he takes a pair of True Type (.ttf) files - one regular face, one bold face - and copies them to
/system/fonts/
renaming the (respective) .ttf files to "DroidSans.ttf" and "DroidSans-Bold.ttf"
Then, just reboot.
That was done for rooted 2.1 ROMs; I'm not sure if it the same for AOSP or CM6 Froyo ROMs
good luck
bftb0
bftb0 said:
Have a look at T2noob's batch file font installer for ideas (and fonts, too).
Looks like he takes a pair of True Type (.ttf) files - one regular face, one bold face - and copies them to
/system/fonts/
renaming the (respective) .ttf files to "DroidSans.ttf" and "DroidSans-Bold.ttf"
Then, just reboot.
That was done for rooted 2.1 ROMs; I'm not sure if it the same for AOSP or CM6 Froyo ROMs
good luck
bftb0
Click to expand...
Click to collapse
Thank you so much, this helps. I posted a question to his thread on the other site, but is it possible, since the fonts are in "true type" format that I can use some of mine?
johnny quest said:
Thank you so much, this helps. I posted a question to his thread on the other site, but is it possible, since the fonts are in "true type" format that I can use some of mine?
Click to expand...
Click to collapse
The best way to find out is to try.
Just make a Nandroid backup before you start, and then there is zero risk involved in trying.
bftb0
bftb0 said:
The best way to find out is to try.
Just make a Nandroid backup before you start, and then there is zero risk involved in trying.
bftb0
Click to expand...
Click to collapse
Ok, thanks I will give it a try.
johnny quest said:
Ok, thanks I will give it a try.
Click to expand...
Click to collapse
I used the T2Noobat but it says Device not found but when I go to the folder where my font is, its not there. So I don't know if I have to reboot my phone in order for my font to take effect. Or, the way you said about system/fonts..... I don't know where in my sd would I find the fonts in order to change it.
johnny quest said:
I used the T2Noobat but it says Device not found but when I go to the folder where my font is, its not there. So I don't know if I have to reboot my phone in order for my font to take effect. Or, the way you said about system/fonts..... I don't know where in my sd would I find the fonts in order to change it.
Click to expand...
Click to collapse
If you get errors, it is not reasonable to conclude that the install worked despite the errors. That's what error messages are for - to tell you that something went wrong.
T2noobs .bat file (script) presumes that you have:
1) ADB working on your PC (generally by installing the Android SDK or HTC Sync + adb)
2) That your phone is connected via USB cable
3) That your phone has USB Debugging turned on
4) That your phone is running a rooted ROM.
You don't have to use his script. I mentioned it as an example. You can just use a root-aware file manager (RootExplorer or Estrongs File Manager), and re-mount /system in RW mode, and then drop your two True Type fonts into
/system/fonts/
with the file names "DroidSans.ttf" and "DroidSans-Bold.ttf"
and then reboot. Obviously, there will already be files in there with those names to begin with, so you need to either (a) rename them to something else, (b) move them to some other folder, or (c) delete them.
I don't know how to make this any clearer.
You probably should spend some time learning how to perform Nandroid backups and restores before you do any of this (if you have not already mastered those skills). Having good backups will save your butt.
bftb0
PS. I just did this on my (CELB 3.2) ROM, so I know it works - assuming you are not using some screwy fonts.
bftb0 said:
If you get errors, it is not reasonable to conclude that the install worked despite the errors. That's what error messages are for - to tell you that something went wrong.
T2noobs .bat file (script) presumes that you have:
1) ADB working on your PC (generally by installing the Android SDK or HTC Sync + adb)
2) That your phone is connected via USB cable
3) That your phone has USB Debugging turned on
4) That your phone is running a rooted ROM.
You don't have to use his script. I mentioned it as an example. You can just use a root-aware file manager (RootExplorer or Estrongs File Manager), and re-mount /system in RW mode, and then drop your two True Type fonts into
/system/fonts/
with the file names "DroidSans.ttf" and "DroidSans-Bold.ttf"
and then reboot. Obviously, there will already be files in there with those names to begin with, so you need to either (a) rename them to something else, (b) move them to some other folder, or (c) delete them.
I don't know how to make this any clearer.
You probably should spend some time learning how to perform Nandroid backups and restores before you do any of this (if you have not already mastered those skills). Having good backups will save your butt.
bftb0
PS. I just did this on my (CELB 3.2) ROM, so I know it works - assuming you are not using some screwy fonts.
Click to expand...
Click to collapse
Thank you so much, I've been living on backups and restores. believe me I've learned my lesson. I will give this a try.
Your method worked great with the Root Manager. I bought it on the market. Ok, my biggest problem now is that my font is microscopic small. I don't know why. But I can't see the letters of which folder I'm in to take that font out.
I need a favor: can you post up screenshots or the number of folders to scroll down to get to the system/fonts/droidsans.tff
I can't see it, really its that small its the universal acc font.
Never mind I got it. Took a lot of squinting but I got it. Thanks.

[Q] 2.1 Bootanimation

Has anyone figured out how to change the boot animation?
It seems it's stored in /system/media/bootanimation.zip
I tried replacing the .PNG images inside the archive and that didn't work, although I might have messed up something. I'm just glad to be rid of that dreadful SE color splash until someone else finds a solution.
finished playing with this a little while ago... when you replace the files you must use no compression, ie store. i've attached one with the android robot waving (cropped from nexus) simple, but at least the splash is gone
toreador514 said:
finished playing with this a little while ago... when you replace the files you must use no compression, ie store. i've attached one with the android robot waving (cropped from nexus) simple, but at least the splash is gone
Click to expand...
Click to collapse
Thanks for this! Looks so sweet!!
strange... I replaced one frame to see if it changed and saw nothing ( i put a big red X across one image ). I did use no compression ( kept the zip open in winrar and saved )
will try again!
morning_wood said:
strange... I replaced one frame to see if it changed and saw nothing ( i put a big red X across one image ). I did use no compression ( kept the zip open in winrar and saved )
will try again!
Click to expand...
Click to collapse
i finally found it for sure...from the zip above extract them all put your images in an then add in a zip file all of them again but you have to rename it as bootanimation.zip and you have to choose at winrar compression method store...its final and you can put anything you want...
Thank you for helping me sort this out.
Here's GLa’DOS "Android Scribble" animation for the x10 mini.
Apparently anim2 lasts a couple of seconds, and anim3 last the longest.
I lost my first x10 mini, so I added a name and telephone number for my animation after posting (and a lock screen for the phone).
if anyone want me to make any anime feel free...
here is my first one and of course greek...
http://i47.photobucket.com/albums/f172/enormous101/Untitled.gif
http://i47.photobucket.com/albums/f172/enormous101/Untitled1.gif
http://www.mediafire.com/?abm54nd13pocn1d
Noice one peeps.
Simplified it a bit down to one folder now though.
Got mine working now (needs 24bit png)
Sent from my E10i using XDA App
Hi Guys.
I've been trying to change the bootanimation, but as
I'm a little slow to understand, I have no doubt
to decompress it and stuff.
Who can explain me the luxuries of details please?
It would be a great help ...
FreddyStark said:
Hi Guys.
I've been trying to change the bootanimation, but as
I'm a little slow to understand, I have no doubt
to decompress it and stuff.
Who can explain me the luxuries of details please?
It would be a great help ...
Click to expand...
Click to collapse
1 root your phone
2 download rootexplorer(<---and install it) & any bootanimation.zip you want
3 open rootexplorer and go to your sdcard hold down your finger and choose copy
4 then go to system/media
5 at the upper of your root explorer its a button that says mount r/w make it says by pushing it mount r/o
6 push the button paste and then when it says ovewrite push yes
7 reboot and you r ready!!!!
if i make it a single file you will not have the option when the first animation is over the second to be anime it will be a still picture if you want that just leave one image in the second folder..because it have 2 phases of animation..!!!!(if you remember first when the colours where mixing and then the still image with sony ericsson logo and letters)
I've been trying to edit the desc.txt file so I can have a little more flexibility but even if I save it without making any changes it stops working.
After a look around the interwebs someone mentioned saving in the UNIX format, so I used Notepad ++ in UNIX and tried editing/saving in that but there's still problems, sometimes it doesn't work at all and sometimes it only shows the first folder.
Also, are there any limitations as to framerate and how many files can go in the part0/part1 folders (revision of enormous101's bootanimation.zip).
Finally, is it ok to add a part2?
do not use compression - use Winrar and select "store"
Mitchio said:
I've been trying to edit the desc.txt file so I can have a little more flexibility but even if I save it without making any changes it stops working.
After a look around the interwebs someone mentioned saving in the UNIX format, so I used Notepad ++ in UNIX and tried editing/saving in that but there's still problems, sometimes it doesn't work at all and sometimes it only shows the first folder.
Also, are there any limitations as to framerate and how many files can go in the part0/part1 folders (revision of enormous101's bootanimation.zip).
Finally, is it ok to add a part2?
Click to expand...
Click to collapse
as i mentioned part 2 is when the bootanimation of sony ericsson stays frozen you can add anything you want and its safe to play with part two.. no limitation except your internal storage!!!!what exactly are you trying to do with desc?may i help you?if you find my preview posts at the first page you will find to download the bootanimation.zip with two parts so unzip it and when you add your images zip it with winrar at store compression mode...
morning_wood said:
do not use compression - use Winrar and select "store"
Click to expand...
Click to collapse
Already doing that.
Maybe a stupid idea, but... has anyone tried to use transparent images?
I want to watch the kernel booting
edit: Forget this.
Nice thread!
I was wondering about the desc.txt file. I am using the Rogers 2.1 firmware and I want to remove the Rogers screen that shows up just before desktop loads. The PNG file for the Rogers screen is located in Anim5 and I was wondering if I just removed the entry for anim5 in the desc file, would that do the trick? I've already moved the original bootanimation.zip file onto my computer so it is backed up but I was just wondering if this would work. I am using a X10 but it seems like the file system is the same which is why I'm asking here. Any help would be appreciated!
hope helped
JDwan said:
Nice thread!
I was wondering about the desc.txt file. I am using the Rogers 2.1 firmware and I want to remove the Rogers screen that shows up just before desktop loads. The PNG file for the Rogers screen is located in Anim5 and I was wondering if I just removed the entry for anim5 in the desc file, would that do the trick? I've already moved the original bootanimation.zip file onto my computer so it is backed up but I was just wondering if this would work. I am using a X10 but it seems like the file system is the same which is why I'm asking here. Any help would be appreciated!
Click to expand...
Click to collapse
if you dont know how to change desc.txt then dont...unzip the bootanimation.zip change the images inside anim5 folder and then zip it but at compression mode use ''store'' instead of everything else and just put it in your phone...i cant change your desc.txt and make it into two folders because i dont own x10...
enormous101 said:
if you dont know how to change desc.txt then dont...unzip the bootanimation.zip change the images inside anim5 folder and then zip it but at compression mode use ''store'' instead of everything else and just put it in your phone...i cant change your desc.txt and make it into two folders because i dont own x10...
Click to expand...
Click to collapse
Thanks for your response! From what I've been reading, it seems that if I remove the entry for anim5 in the desc.txt, that it won't load that animation. It just seems easier to do this than to replace the image in that folder. Though the problem would then be making changes to a UNIX based txt file using a Windows OS and then the phone not recognizing the desc.txt file based on it being in the wrong format.
Anyway, I suppose I could just copy over the last image in anim4 and replace the one in anim5 with that and that would be the easier solution (as per your suggestion).
Here is the thread I was reading where it describes the desc.txt file and how to modify your boot animation.
http://www.droidforums.net/forum/droid-hacks/33932-bootanimation-zip-file-explained.html

Flashing ZIP Folder Containing APK's via TWRP Recovery

Hi
I've started around three other threads here on XDA but I never seem*to get anyone answering my questions for something that should be so simple.
Anyway I've been trying to flash a ZIP folder containing third party APK files via TWRP to go alongside my fresh install of Lineage OS. All of the user apps install perfectly fine to the '/data/app' directory, however, system apps that are installing to the '/system/app' directory are only getting half installed. Basically when I boot into the ROM I can see all of the system apps in the app launcher, and even navigating through the phone with a root explorer I can see that I can see the correctly copied folder and file from inside the ZIP folder. For example the Google Snapseed app is stored as the following:-
/system/app/com.niksoftware.snapseed
>niksoftware.snapseed.apk
What's weird is that if I open the apk file and install it with the Package Installer*successfully*installs it but with a '1' suffixed to the end and two folders and a re-named apk file
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
For a little test I moved the 'niksoftware.snapseed-1' folder from '/data/app' to '/system/app', deleted the original 'niksoftware.snapseed'*folder and rebooted my phone. As expected the app continued to work perfectly fine with no force crashes.
If you're wondering why I'm installing the apps under a system app, it's because the user(s) I'll be passing the phone onto will be non-technical Android users. When the user needs to do a factory reset, the apps I pre-installed will survive if they're installed as system apps compared user apps that will get wiped.
There is literally nothing on any forums anywhere explaining how to flash system apps via recovery taking the more recent Android the OS' that have been released in the last few years. Could someone please help me out here?
Many thanks
Will
willowen100 said:
Hi
...
Will
Click to expand...
Click to collapse
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
RaiZProduction said:
Personally I never tried to install third party apps like that , but it could be interesting to test this out .
But I think you've made a mistake while trying to create the system folder :
You created this :
/system/app/com/niksoftware.snapseed
But the /com is not needed , I mean it maybe the reason of you issue .
So try to remove the /com :
/system/app/niksoftware.snapseed
Let me know if it worked
Click to expand...
Click to collapse
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
willowen100 said:
Hi
Thank you for your reply. I've only just realised there is a typo in the directory. The 'com/' should be 'com.' However, I will give removing 'com' altogether to see if that makes any difference.
Click to expand...
Click to collapse
Let me know if it worked , happy to see I helped :highfive:
RaiZProduction said:
Let me know if it worked , happy to see I helped :highfive:
Click to expand...
Click to collapse
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I renamed all of the folders inside the zip folder so there is no '.' (dots) in the folder and file names and unfortunately the apps still crash. It's a shame there is no command that extracts the .APK files into their correct directories. I'd love to know how the OpenGApps package works because that basically does the same thing as my ZIP folder.
Click to expand...
Click to collapse
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
RaiZProduction said:
GApps does the same thing .
Basically it's a zip file with a script that copy all the file and the directories to the root directory of your phone.
I think the problem is the signature used bybthe third party apps. But that's just an hypothesis , I could be wrong I'll let you search more deep on that subject with Google , hope this helped a bit
:highfive:
Click to expand...
Click to collapse
I've found a couple of APK/ZIP folder signing utilities but unfortunately they've made no difference.
The part that's going wrong somewhere is the folders that should be created alongside the APK files are not being created.
Sent from my LG-H930 using Tapatalk
I made some videos explaining the situation.
The first video shows the app crashing on launch. The APK file is installed at
Code:
/system/app/Snapseed
I then proceed to install it which is successful and installs itself as a user app found at
Code:
/data/app/com.niksoftware.snapseed-1
Next I rename it and move it to system directory and delete the original directory so there isn't a clash of identical apps. Finally I reboot the phone.
https://youtu.be/mL6ePOMnDQw
The second video I show that it opens up perfectly fine. To show that the two folders inside the
Code:
/system/app/com.niksoftware.snapseed
directory are important, I move them to the internal storage Downloads folder and then relaunch the app. It now crashes. I restore the folders and then app once again works again.
https://youtu.be/hL60APHTV7Q
Will
willowen100 said:
I made some videos explaining the situation.
...
Will
Click to expand...
Click to collapse
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
RaiZProduction said:
Hi , the videos you made made me understand better your issue , but I've a question , when you moved the oat and lib folders to the system , you opened the Snapseed app successfully without any bugs isn't it ?
And because the installation folders are in the system , the factory reset won't affect them .
So is your problem solved ?
Click to expand...
Click to collapse
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Sent from my LG-H930 using Tapatalk
willowen100 said:
Yes you could say I have solved the problem but it's not the solution I'm looking for. I want to be able to install the apps in bulk during the flashing stage using a custom recovery like TWRP I'm using. The order I would flash would be:-
1) Flash Lineage OS
2) Flash OpenGApps
3) Flash additional apps (essentially third party apps from the Google Play Store)
Click to expand...
Click to collapse
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
RaiZProduction said:
Ok , now flashable zips are field so I can help you
If you want me to do it for you , just upload those files to Google drive and send me the link , I'll make your flashable zip and upload it to Dropbox so you can download it :good:.
The files you should upload :
• Libs folder of every third party apps you want to install
• Oat Folder of every third party apps you want to install
• Base.apk file of every third party apps you want to install
If you want to do it yourself , I'll make you a guide on how to do it ( you require a PC to do it with RAR and Notepad++ or another text editor installed on it )
Click to expand...
Click to collapse
I'd rather do it myself please if that's okay with you creating a guide, as I would like to learn how to do it for future reference? I use Notepad++ quite frequently and I use 7-zip to archive everything so I'm all setup there.
This is going to sound stupid but where do I get the Libs and Oat folders from except for copying them from Android? I am aware you can open the APK files themselves but I've never seen the Oat folders inside.
Many thanks again for your help so far.
Will
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'd rather do it myself
...
Will
Click to expand...
Click to collapse
I meant I need the Content of this folder for each apps you want to install as system apps:
/data/app/com.niksoftware.snapseed-1
> lib
> oat
> base.apk
Click to expand...
Click to collapse
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
willowen100 said:
I'd rather do it myself please if that's okay with you creating a guide
...
Sent from my LG-H930 using Tapatalk
Click to expand...
Click to collapse
So , let's start with what you need :
- The folder /data/app/com.niksoftware.snapseed-1 and its content on your desktop
Now what you should do :
1) Extract the 2 folders in the template I made you
2) Open the system folder and create a folder called "app" into it
3) Copy the com.niksoftware.snapseed-1 folder (with the content inside it) and paste it into the app folder newly created
4) Repeate the step above for each and every app you want to install as system app
5) Exit the folders
6) Select the META-INF folder and the system folder and compress them with 7-Zip
7) You are ready to flash the zip to your phone !
My Advice is to do this in your Desktop in first place, because it's more easy to see what you're doing.
When you get used to this, you may do it everywhere (even on your phone).
Don't forget to disable signature verification in TWRP ( if there is the option , I don't remember well)
And make a backup of your phone before every modification , we never know what can happen (but in this case, it'll be okay since we're modifying nothing)
Hope this helped you , don't forget to press the thank button
RaiZProduction said:
I meant I need the Content of this folder for each apps you want to install as system apps:
You will need this to make the flashable zip.
Copy and paste those files to your download folder ( Internal storage ) , then transfer those folders (and the APK file to your PC in order to use it .
I'm preparing the guide and I'll post it in around 10 min , don't forget to press the thank button on the posts
Click to expand...
Click to collapse
I'm just trying to find out if there a more time saving tool that will extract the the lib, oat and base.apk from the containing .apk file so I can do it in bulk on a PC.
The problem I have is that I have about 20+ APK's that will be flashed additionally on top of the Lineage OS ROM and OpenGApps. Thinking how long it took to do one installing it as a user app, renaming it, moving it to the system partition, I would have to do that for everyone. Even if I was to do this method the contents I extracted for one Android architecture (CPU chipset type) used on one device may be completely incompatible on another.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm just trying to find out if there a more time saving tool that will extract the the
...
on one device may be completely incompatible on another.
Click to expand...
Click to collapse
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
RaiZProduction said:
Unfortunately I don't know any tool able to do that.
And for the architecture , that's not really a problem
Because there are only 4 architecture :
x86 (rare)
x86_64 (very rare , mostly used on emulators)
arm (most common)
arm64 (common)
And the arm APKs work for arm64 devices , so you just have to do this for arm APKs and it'll be okay for almost every Android device . (Edit 1 : Not really sure of this info, should be good but I can't certify it 100%)
And I know myself that doing that takes time , but if you really want to do that , that's the only way I can suggest.
Do as you feel it , I hope my answers were clear and useful for you.
Let me know what's your decision,
Have a nice day
Click to expand...
Click to collapse
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Sent from my LG-H930 using Tapatalk
willowen100 said:
I'm going to go ahead with it. Like you said ARM will work for ARM64. Even if the apps become slightly outdated if I were to flash my ZIP onto future devices, as soon as the Play Store is installed it will hopefully update anyway.
Click to expand...
Click to collapse
Good luck my friend

Categories

Resources