[Q] How to Set Permissions for /customize/ - Moto X Q&A

I factory reset my locked Moto X running 4.4 before I rooted it and that erased my customized wallpaper I was able to get a copy of it from the threads on the other subforum but when I set it to wallpaper, it is not the same aspect ratio as it was originally. I know this because a friend has the same one and they did not factory reset theirs so I can compare them.
I looked at my friend's phone and they have a folder /customize/ and /customize/wallpaper. In the /customize folder there is a file called personalization.json and in the /customize/wallpaper there are 2 image files - 82PA00000051.jpg and 82PA00000051_small.jpg.
The contents of the json file are:
{"personalization":{"dp":{"wallpaper":[{"file":"wallpaper/82PA00000051.jpg","default":"true"},{"file":"wallpaper/82PA00000051.jpg"}]},"pp":{"frontClr":"#000000","backClr":"#300d04","accentClr":"#212121"}}}
Anyhow, since I am rooted and have write protection disabled, I can create the /customize and /customize/wallpaper folders and put the jpg's and the json file in them exactly as on my friend's Moto X. But his phone is not rooted so I can't see what permissions need to be set for the folders/files.
When I do recreated it on my phone and then reboot, the /customize/wallpaper subfolder and it's contents goes away as does the json file. I suspect I don't have the right permissions set.
If anyone could tell me what the permissions are for these folders, subfolders and files are, that would really help me! Or if you have any other thoughts on why this isn't working for me, that would help, too Thanks!

NightThyme said:
I factory reset my locked Moto X running 4.4 before I rooted it and that erased my customized wallpaper I was able to get a copy of it from the threads on the other subforum but when I set it to wallpaper, it is not the same aspect ratio as it was originally. I know this because a friend has the same one and they did not factory reset theirs so I can compare them.
I looked at my friend's phone and they have a folder /customize/ and /customize/wallpaper. In the /customize folder there is a file called personalization.json and in the /customize/wallpaper there are 2 image files - 82PA00000051.jpg and 82PA00000051_small.jpg.
The contents of the json file are:
{"personalization":{"dp":{"wallpaper":[{"file":"wallpaper/82PA00000051.jpg","default":"true"},{"file":"wallpaper/82PA00000051.jpg"}]},"pp":{"frontClr":"#000000","backClr":"#300d04","accentClr":"#212121"}}}
Anyhow, since I am rooted and have write protection disabled, I can create the /customize and /customize/wallpaper folders and put the jpg's and the json file in them exactly as on my friend's Moto X. But his phone is not rooted so I can't see what permissions need to be set for the folders/files.
When I do recreated it on my phone and then reboot, the /customize/wallpaper subfolder and it's contents goes away as does the json file. I suspect I don't have the right permissions set.
If anyone could tell me what the permissions are for these folders, subfolders and files are, that would really help me! Or if you have any other thoughts on why this isn't working for me, that would help, too Thanks!
Click to expand...
Click to collapse
placing it into the gallery or just the folder where the other wallpapers are located should work. don't see a need to do all the above. SD card is where apps like zedge place their wallpapers after you download them. hope that helps!

drago10029 said:
placing it into the gallery or just the folder where the other wallpapers are located should work. don't see a need to do all the above. SD card is where apps like zedge place their wallpapers after you download them. hope that helps!
Click to expand...
Click to collapse
That's what I did and it does not look the same. The aspect ratio is off.

Here is a picture to show you what I mean. On the left is the way it looks as it ships. On the right is the way it looks if you download it and set the file as wallpaper from the gallery.

Related

Cannot copy clg_in.gif, clg_miss.gif, clg_out.gif, spd_lst.gif; access denied.

I used a registry tweak to disable the default AT&T dialer and now I want to change out the images. I am having a problem copying clg_in.gif, clg_miss.gif, clg_out, and spd_lst.gif into the \windows directory. I keep getting an access denied error message. I have turned off the phone and did a soft reset, but that didn't make any difference.
I have attempted to replace the files using my desktop computer and File Explorer.
Does anyone have a solution so I can copy over the four new files?
Thank you.
resco explorer allows you to force the copy.
Thank you.
ekw said:
resco explorer allows you to force the copy.
Click to expand...
Click to collapse
I will give it a try. Thank you.
Update...
I downloaded Resco File Explorer and installed it. I copied the four images to \windows and after confirming the files copied. I can see the correct images in \windows. I did a soft reset but the old images are still showing. I verified that the new images are in \windows. Why are the old images (AT&T crap) still showing?
Thank you.
Bumping = Bad
Sorry to bump my own thread, but I'm fairly confident that someone knows how to correct this problem.
I downloaded Resco File Explorer and installed it. I copied the four images to \windows and after confirming the files copied. I can see the correct images in \windows. I did a soft reset but the old images are still showing. I verified that the new images are in \windows. Why are the old images (AT&T crap) still showing?
Thank you.
its probably a cache issue, such as if u put a picture on a contact, then delete the picture, the picture is still on the contact.
but, i dont know how to do what you are asking.
You can just flash the rom im sure there are more customizable friendly roms out there.

[Tutorial] Custom Boot Animation

This tutorial will explain how to make a custom boot animation for your droid eris by replacing the stock verizon wireless animation.
Notes:
- We will be working with .png files so be prepared to convert a video-animation to a series of pngs.
- There are other stock animations such as the HTC one and it may be possible to add another animation onto the end of the verizon wireless one.
1) Create a video animation of 320x480 resolution in Adobe After Effects, another video animating software, or create a series of images for your animation.
2) Convert that video into a series of .png files with the names: 00.png 01.png ... etc ... to 25.png (I have not attempted to use more or less than 25 png files, it may or may not work)
3) Extract the stock bootanimation.zip (provided below) into a working directory, with the following file structure...
- /bootanimation
---- /android -> should contain (00.png -> 03.png) "HTC"
---- /last -> should contain (01.png -> 02.png)
---- /vzw -> should contain (00.png -> 25.png)
---- desc.txt
4) Copy and replace the png files in the vzw folder with the pngs you just created.
5) Choose 2 .png files to be shown after your animation has completed and copy them into your /last directory replacing 01.png and 02.png.
5) Create a new zip file with the folders and desc.txt at root. Make sure to use the Store as the compression method when creating a new zip file. See picture attached to this post.
6) Use adb to send your file to /system/media/bootanimation.zip on your phone.
7) Reboot, and enjoy your fresh boot animation.
I have included my bootanimation.zip as an example. Heres a video of mine:
{Need to be approved by moderator to post youtube link}
youtube -> /watch?v=geghwnIfKS4
This works on the non-rooted eris also
DarthMowzy said:
This works on the non-rooted eris also
Click to expand...
Click to collapse
Really?...
I thought you needed it to mount the system to RW and you can't do this until you have Root?
Also anyone willing to convert this animation from the G1 over to the eris? I really don't know anything about Photoshop or anything like that so I would really appreciate if you would convert these two animations for the eris if its possible.
http://www.4shared.com/file/209835047/9ae956d/bootanimation_boing.html
and this one
http://www.megaupload.com/?d=CY4DK79B
DarthMowzy said:
This works on the non-rooted eris also
Click to expand...
Click to collapse
How? Don't you need ROOT Acess to gain those folders
You need root to copy the zip here: /system/media/bootanimation.zip
but you dont need root to copy it here: /data/local/bootanimation.zip
Do the same steps but change the zip location and it will work.
What if the boot is WAAAAAAAAAAAAAAAAAAAAY longer than 25?? What do I do
Like this one: http://www.mediafire.com/?25notzfztgz
Plus, DarthMowzy in data there is no local folder do I make one
iloveandroid said:
What if the boot is WAAAAAAAAAAAAAAAAAAAAY longer than 25?? What do I do
Like this one: http://www.mediafire.com/?25notzfztgz
Plus, DarthMowzy in data there is no local folder do I make one
Click to expand...
Click to collapse
try it out, i heard a couple of people getting files with over 200 frames working
i3urn said:
try it out, i heard a couple of people getting files with over 200 frames working
Click to expand...
Click to collapse
Yea I can vouch that it works I have one that is 250+ and it works fine.
just a tip to help avoid hours of pulling your hair out..not that i did this or anything
zip up the folders within bootanimation folder, not the bootanimation folder and the folders. If you do, you end up with another directory and it won't load.
Please elp me with desc.txt
t2noob said:
Yea I can vouch that it works I have one that is 250+ and it works fine.
Click to expand...
Click to collapse
I see you guys are having good luck loading boot animations and I imagine your are not running as choppy as mine. all I did was replace the .png files from the example_bootanimation, and mine looks like crap. Can someone tell me what you used in your desc.txt file?
THanks
iloveandroid said:
What if the boot is WAAAAAAAAAAAAAAAAAAAAY longer than 25?? What do I do
Like this one: http://www.mediafire.com/?25notzfztgz
Plus, DarthMowzy in data there is no local folder do I make one
Click to expand...
Click to collapse
When using "adb shell" I can see the local dir. I didnt create it. It was already there.
What cool animations have you guys made
can you guys post some ani,mations you have made that you would not mind sharing. Mine is not that great but I would like to learn. In the mean time I would really like to find something cool to use.

oem wallpaper directory for the DS7 and editing

was looking around and was not able to find the OEM directory for walpapers/live wallpapers for the DS7, is it in a special directory or a designated android OS directory? I presume it is in one of the directories which would require rooting to access (already done) like the system folder. I was also trying to add/remove various audio (.ogg) files which I found in the /system/media/audio folders. I was able to copy them but it seems I cant edit/add/replace the files. Which I believe is because I need to change the directory from (R) read only to (RW) read/write in order to make changes to it, which I presume means I need to unmount/mount the directory or drive first - can someone point me in the right direction please. I am still kinda a noob for things like ADB and terminal emulator but I am learning.
Thanks in advance for any help in this modification.
sent from my DS7
crockashat said:
was looking around and was not able to find the OEM directory for walpapers/live wallpapers for the DS7, is it in a special directory or a designated android OS directory? I presume it is in one of the directories which would require rooting to access (already done) like the system folder. I was also trying to add/remove various audio (.ogg) files which I found in the /system/media/audio folders. I was able to copy them but it seems I cant edit/add/replace the files. Which I believe is because I need to change the directory from (R) read only to (RW) read/write in order to make changes to it, which I presume means I need to unmount/mount the directory or drive first - can someone point me in the right direction please. I am still kinda a noob for things like ADB and terminal emulator but I am learning.
Thanks in advance for any help in this modification.
sent from my DS7
Click to expand...
Click to collapse
Give ES File Explorer a shot:
https://market.android.com/details?id=com.estrongs.android.pop&feature=search_result
It's free and will do root exploration (requires that you set the home directory to "/" and enable rw, which are all easy to find in the menu). You can then edit, delete, and rename your files with aplomb.
Thanks for the info on ES file explorer. I was able to revise files in the media/audio folder. works rather well.
I am still having trouble locating the wallpaper and live wallpaper files. (wife wants live wall paper from her SGs4g on the tablet as well).
crockashat said:
Thanks for the info on ES file explorer. I was able to revise files in the media/audio folder. works rather well.
I am still having trouble locating the wallpaper and live wallpaper files. (wife wants live wall paper from her SGs4g on the tablet as well).
Click to expand...
Click to collapse
Which one is it? I'm sure it can be found on the ol' interwebz.
I found live wallpaper installers in system / app
the specific one she is looking for looks like a water puddle (rocky background) with autum leaves (red, yellow, orange) floating around with raindrops.
There are a few other cool ones I like as well, but they are more for the tech geek types (which the wife is not). The main thing I am having trouble with is finding the specific directory in which the wallpapers and live wallpapers are located. from some of the previous posts in various forums it is probably located inside a .apk file, but the actual directory where the images (or .apk file) are located seems to vary with each device which is making it harder to locate. I would actually like to aggregate a collection together and be able to install it on all my devices (LG G2x, DS7 and TF101)
QUOTE:
I found live wallpaper installers in system / app
RESPONSE:
Thanks I will take a look and see what I can find out, if they are images it should be pretty straight forward if inside an .apk file I will have to figure out how to edit and re-assemble so it will work
crockashat said:
the specific one she is looking for looks like a water puddle (rocky background) with autum leaves (red, yellow, orange) floating around with raindrops.
There are a few other cool ones I like as well, but they are more for the tech geek types (which the wife is not). The main thing I am having trouble with is finding the specific directory in which the wallpapers and live wallpapers are located. from some of the previous posts in various forums it is probably located inside a .apk file, but the actual directory where the images (or .apk file) are located seems to vary with each device which is making it harder to locate. I would actually like to aggregate a collection together and be able to install it on all my devices (LG G2x, DS7 and TF101)
QUOTE:
I found live wallpaper installers in system / app
RESPONSE:
Thanks I will take a look and see what I can find out, if they are images it should be pretty straight forward if inside an .apk file I will have to figure out how to edit and re-assemble so it will work
Click to expand...
Click to collapse
Glad I could help. If you browse the directory, you can't miss them.
Ps
Just looked... its livewallpaper.apk.
If you rename the .apk to a .zip, you can open it using any file unarchiver ( including on your android phone / tablet). I tested using the free androzip on the market
Here's the whole apk. See if it works as is ( dropbox linked)
http://db.tt/EVWBacd
Livewallpaper apk
pyraxiate said:
Glad I could help. If you browse the directory, you can't miss them.
Ps
Just looked... its livewallpaper.apk.
If you rename the .apk to a .zip, you can open it using any file unarchiver ( including on your android phone / tablet). I tested using the free androzip on the market
Here's the whole apk. See if it works as is ( dropbox linked)
http://db.tt/EVWBacd
Click to expand...
Click to collapse
Thanks again, I knew I could copy the .apk and rename the extension to .zip to unpack the file to examine it's contents, do you know if I can just zip it back up and rename the extension to get it installed and working again, or do I need to re-compile the file first befor installing? (gona have to do some searching, I'm not sure about this)

[Q] How to access photos in JB, Android >4?

I believe I have a similar problem as this guy ( http://forums.androidcentral.com/verizon-galaxy-s-iii/195932-cant-transfer-pictures-my-s3.html ).
The pictures should be in the DCIM/Camera folder but aren't. I looked up the file path of the pics. Only one old picture is shown.
All pictures shot by me are missing. Could have something to do with permissions?
Edit: Come to think of it. The most likely explanation is that "DCIM/Camera" exists somewhere and is accessed via MTP or PTP in the PC's explorer. The cache file folder has a bunch of .tec and .arc files e.g. 20125440784004.tec
thumbnails is missing.
When accessing the DCIM/Camera folder via the Android file explorer, all pictures are there in storage/sdcard0 along with cache and thumbnail folders. There are no other DCIM/Camera folders or anything other than sdcard0.
What is going on?
Any help is much appreciated.
Well, right after I posted the "Edit", the most reasonable next step would have been to rename the folder and see what happens. Indeed DCIM -> DCIMx did the trick.
Ultimately the renaming brakes down to a bunch of Linux file system commands, probably even resetting permissions. So I figure another renaming step of DCIMx -> DCIM should solve the problem.
Update: It worked, but not after a reboot. I simply renamed the folder again, and let Android create a new DCIM folder. Everything is accessible within this one.
Report if you have similar problems.

HTC Notes App

Hi, I’m having a problem with the HTC Notes App on my Rogers HTC One. I have backed up a copy of the folder ".data\HtcNotes" on the SD card, thinking that this folder contains all my notes files. I then wiped my phone and started setup as a new phone. I tried restoring my backed up notes by replacing the folder ".data\HtcNotes" with the one I had backed up earlier but the Notes App does not recognize the restored files. the Notes App works fine, i.e I can create new notes without any problems.
Also, when I try to open the "contentE.html" stored for each note inside subfolders of ".data\HtcNotes", I get unreadable characters. This happens for my new and properly functioning notes as well. Does the Notes App store content in a non-standard html format?. It used to be that the Notes app stored the content in a file called "content.html" which was a normally readable html format, but now it stores in the non-readable " "contentE.html" file.
Please advise how to recover the content of my notes...is there a way I can open the "contentE.html" files in a readable format?. My notes are not synched to the clouds and are stored only locally on the phone.
Thanks
any suggestions?
dabasdabas said:
any suggestions?
Click to expand...
Click to collapse
you may have to reset the permissions of the files
you do this with ES File Explorer and highlight a file go to properties and set the permissions ... usually to rw-r-r but notes files may be different check one you just created and make the old ones the same
thanks for the suggestion, I am able to open the "contentE.html" of my old notes using an html editor or browser, but the file contains unreadable characters, as if I'm opening a binary file inside a text editor. The same thing happens for any new notes I create.
I remember in earlier versions of Android, the Notes app used to store the content in a file called "content.html" which was a normally readable html format, but now it stores it in a "contentE.html" file which is not readable by html editors...
attached is an example of the "contentE.html" file from a new note I've just created, it's supposed to be titled "w1" and contain only the word hello...if you try to open it you'll understand what I'm trying to describe...can you guys please check the "contentE.html" on your phone and let me know if you're able to open the file properly outside the Notes app...thanks...
guys need your help...can anyone please check the "contentE.html" located in numeric subfolders under ".data\HtcNotes" on the SD card and let me know if you're able to open the file properly outside the Notes app...thanks...
bump
i use colornote app, its free in playstore, you can sync with gmail,.. if you use another android phone just install same app, and your note will there to
BUMP!!
Having the same problem, did a factory reset of my phone and the files arer physically still intact, but I can't open them with Evernote app or HTC Notes app. Alle notes are stored in a folder with a .PNG and a .HTML file, the HTML file contains unreadable text. There's very important info in for me, which I need within a week. Can someone please help? I'm willing to do almost anything to be able to read my files...
Still unsolved (bump)
mpc007 said:
Still unsolved (bump)
Click to expand...
Click to collapse
^^
mpc007 said:
^^
Click to expand...
Click to collapse
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
mpc007 said:
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
Click to expand...
Click to collapse
Try this, create a new note in the HTC Notes app and save it (If it doesn't save, just write random words and exit, it should save then), then go to your .data/HtcNotes folder, find the folder that contains the note you just created. There should be an existing "ContentE.html" file. Delete it and replace it with the file you want to restore.
mpc007 said:
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
Click to expand...
Click to collapse
I think you're wasting your time, just having the ContentIE.hml file won't be enough, the actual database is stored in /data/data/com.htc.notes (i think), and without that, the app can't link to the contents of the sdcard.
nkk71 said:
I think you're wasting your time, just having the ContentIE.hml file won't be enough, the actual database is stored in /data/data/com.htc.notes (i think), and without that, the app can't link to the contents of the sdcard.
Click to expand...
Click to collapse
My data folder is indeed empty. However, can't it just be enough to have the raw files from the .data/htcnotes/ folder? I have those, every note exists of a folder with a PNG and a HTML file. They're just not recognised by the Notes App.
mpc007 said:
My data folder is indeed empty. However, can't it just be enough to have the raw files from the .data/htcnotes/ folder? I have those, every note exists of a folder with a PNG and a HTML file. They're just not recognised by the Notes App.
Click to expand...
Click to collapse
Yes, but unless i'm mistaken, the Notes app will rely on the database file, which in turn would link to the contents on the sdcard... so even if the contents weren't on the sdcard they would still show up in the notes app, but not vice versa.
And I don't know of any way to reconstruct the database file.... maybe try searching for that.
nkk71 said:
Yes, but unless i'm mistaken, the Notes app will rely on the database file, which in turn would link to the contents on the sdcard... so even if the contents weren't on the sdcard they would still show up in the notes app, but not vice versa.
And I don't know of any way to reconstruct the database file.... maybe try searching for that.
Click to expand...
Click to collapse
Nobody found a way yet? right?
If you have a backup of your data (or data partition), you need to restore the contents of /data/data/com.htc.provider.notes (as well as com.htc.notes, i think) and set the file permissions by ES file explorer or sth. This is tested and works (I got this answer off google somewhere else, but since this xda thread is the first result that comes up for searches like "recover htc notes", I (necro-)posted the solution here).
Now comes the hard part: If you don't have backup of com.htc.provider.notes, here's how I suggest you hack it BUT I haven't tested: try adding a new note in an empty instance of the notes app. The file /data/data/com.htc.provider.notes/databases/notes.db will be an SQLite file. Open it with any SQLite editor on your computer and you see IDs and file names in its tables match with the created note in your /sdcard/.data/HtcNotes folder. See if you can modify the notes.db database by adding new rows in all related tables to make the app recognize your old HtcNotes files. Don't forget to change file permissions of notes.db after restoring it to your device (I gave rwx-rwx-rwx to everything I copied). If you're lucky and knowledgeable enough you might be able to fix it.
Lesson to learn: Sync, or use plain-text file next time for writing notes.
Chromatix said:
Now comes the hard part: If you don't have backup of com.htc.provider.notes, here's how I suggest you hack it BUT I haven't tested: try adding a new note in an empty instance of the notes app. The file /data/data/com.htc.provider.notes/databases/notes.db will be an SQLite file. Open it with any SQLite editor on your computer and you see IDs and file names in its tables match with the created note in your /sdcard/.data/HtcNotes folder. See if you can modify the notes.db database by adding new rows in all related tables to make the app recognize your old HtcNotes files. Don't forget to change file permissions of notes.db after restoring it to your device (I gave rwx-rwx-rwx to everything I copied). If you're lucky and knowledgeable enough you might be able to fix it.
Click to expand...
Click to collapse
I have a HTC Sensation and I used the HTC Notes app often and so does my girlfriend on her Sensation. I recently changed ROMS on both our phones and have been trying to figure out how the hell to restore our notes. You indeed need to edit that notes.db as you mentioned. I know you didn't test it, but I just tried your suggestion and it did work on my first try. :victory: Here's what I did:
1) I opened the HTC Notes app and created a new note and named it Blah and saved it.
2) I used ES File Explorer to navigate to /data/data/com.htc.provider.notes. Then I copied the notes.db file to my microsd card.
3) I used DB Browser for SQLite to open the notes.db files that I copied to the card. Then clicked on the tab that says Browse Data, then in the drop down menu where it lets you pick a table, I choose notes. There you can see what notes the HTC Notes app will recognize.
4) The note I created earlier called Blah was on row 2, so I clicked on New Record and carefully made a new entry in row 3 with the same format as row 2. Just VERY carefully edit the columns that say: notebook_id, name, data, saved_time, last_modified_time, saving_time, ap_extra_info, thumdnail_path, widget_screenshot_path, and HTC_CREATED.
5) Verify the info you entered is correct fore ach column, then write changes to the database (File menu, Write Changes.)
6) I copied my now modified notes.db from my sdcard back to /data/data/com.htc.provider.notes ES File Explorer, changed the permissions of the file to match notes.db-journal,
7) And finally, I restarted the HTC Notes app, and the new note I added to the database was recognized.
I can think of a shorter way of doing this, but I''ll have to test it first. :fingers-crossed: Why did HTC have to complicate this? Why can't the app just read the files that are in the same folder or provide a refresh option to read any new files that may have been added to .data\HtcNotes at the very least?

Categories

Resources