AOSP lockscreen in sprint builds... ideas - Hero CDMA Themes and Apps

I dabble in some programming, taking it in college now, but have little experience with linux and the like, so I don't know where to go from here. I found the files, I think, to modify so that the AOSP lockscreen will work. Found keyguard xml files in \system\framework\framework-res.apk\res\layout. Pretty sure these are the right files, as the images for the sliders is in this apk as well. And I know from a logcat that keyguard is what it's opening for the lockscreen. Only problem is, can't seem to view or edit these xml's in a readable format... tried three different editors. About to reboot into linux and try it there, maybe I'll have better luck. But thought I would ask here where there are people FAR more knowledgeable than I.

danaff37 said:
I dabble in some programming, taking it in college now, but have little experience with linux and the like, so I don't know where to go from here. I found the files, I think, to modify so that the AOSP lockscreen will work. Found keyguard xml files in \system\framework\framework-res.apk\res\layout. Pretty sure these are the right files, as the images for the sliders is in this apk as well. And I know from a logcat that keyguard is what it's opening for the lockscreen. Only problem is, can't seem to view or edit these xml's in a readable format... tried three different editors. About to reboot into linux and try it there, maybe I'll have better luck. But thought I would ask here where there are people FAR more knowledgeable than I.
Click to expand...
Click to collapse
They are in a binary format. I opened them in dreamweaver, and it still wasn't fully readable/able to be edited. you can use this to decode them to readable format, but I have NO CLUE how to get them back.
http://forum.xda-developers.com/showthread.php?t=514412

regaw_leinad said:
They are in a binary format. I opened them in dreamweaver, and it still wasn't fully readable/able to be edited. you can use this to decode them to readable format, but I have NO CLUE how to get them back.
http://forum.xda-developers.com/showthread.php?t=514412
Click to expand...
Click to collapse
Use the AXMLPrinter2.jar to convert the XML files to a Text Readable format. Unfortunately, to modify the files, you need to use a Hex Editor to do any updates. I havn't seen any utilities that will read/write the binary XMLs, just read.
-Daryel

I haven't had the time to look into this yet, but... Since the lock screen works fine in Darch's AOSP build, could it just be a matter of switching out the xmls?
Just an idea.

thematrixkid17 said:
I haven't had the time to look into this yet, but... Since the lock screen works fine in Darch's AOSP build, could it just be a matter of switching out the xmls?
Just an idea.
Click to expand...
Click to collapse
WOW, if that's all it takes, someone should try it lol
I mean, it couldn't be thaat easy, could it?
Doesn't it work on the Eris leak?

let me see what's there under the eris builds

Well I'm headed to class now, and have to study for a big big test tomorrow later, but I might find time, if someone doesn't beat me to it. Now I'm not all that familiar with the framework, but its just a brainstorm. And if the one in the eris leak works, then that xml probably has an even better chance playing well with the sprint build, I assume.

hey... you can view and edit the xml on the phone with root explorer after you extract them. Then just copy to pc to rezip
also, when rezipping an apk, using 7zip, is there a particular setting? compression level, method, etc.

Related

Optimizing apks

Doing a bit of this lately specifically on rosie. My res folder is like 36 KB (952.5 total) less than the rosie found in the gutted Rom thread (988.3). However my total apk is 1.2 mb while the gutted is only 1. Sup with that?
Are you sure mine is 1 MB? I double checked and I was only able to get mine down to 1.2MB.
Pic! Http://twitter.com/theresthatguy/status/6906940286
Edit: not talking about yours but the one posted in the attachment of rosiesmall3.zip sorry for confusion. Hope you can still help me.
I got mine down to roughly 930-ish k if i remember correctly and I can pare it down even more I just got tired of changing all of the images around. It takes forever. Also make sure you use the highest compression setting for zip files in 7-zip
obelisk79 said:
I got mine down to roughly 930-ish k if i remember correctly and I can pare it down even more I just got tired of changing all of the images around. It takes forever. Also make sure you use the highest compression setting for zip files in 7-zip
Click to expand...
Click to collapse
what programs are are you using on the pngs and also jpegs? Thanks for the 7-zip tip.
A good app for pngs is optipng. Im on linux and that's what I use. For jpegs I usually change the quality to be pretty low because for the most part it is not noticeable. Also remember to find an app that will remove all of the exif data and so forth on jpgs.
gimp and pngout
I changed the jpgs to white
google the best commandline options for pngout I have them written down at home but I'm 300+ miles away from home right now, and I don't have a laptop.
I've considered trying to convert the jpgs to png and changing the xml files to recognize them, but I have too many projects on my plate already. I imagine it should be doable.
obelisk79 said:
gimp and pngout
I changed the jpgs to white
google the best commandline options for pngout I have them written down at home but I'm 300+ miles away from home right now, and I don't have a laptop.
I've considered trying to convert the jpgs to png and changing the xml files to recognize them, but I have too many projects on my plate already. I imagine it should be doable.
Click to expand...
Click to collapse
one last thing: I'm using ubuntu box with no internet. I downloaded the p7zip and I believe I installed it correctly. Cd into the extracted contents did sudo make install command but having trouble finding documentation on actually creating a zip file. I keep finding how make 7z archives.
use wine and 7-zip for win? I dual boot so I actually do that kind of work in windows. I use linux for most everything else.

Comprehensive theming links/guides?

I've just kind of gotten into theming a lil bit and I was hoping to find more information. I've checked out the "Ultimate Theming Guide" and many other links and I've got a fairly good idea until you get into the xml (I'm reading up on this now) I was wondering if some of you could save me some google time and post links etc. to useful information. I've already got something to extract, repack and sign apks. I'm mostly looking for the actually theming itself, identifying the portions of the ui to tweak, particular xmls to edit etc. I'm still relatively new to this but if any of you ever played WoW there used to be an addon that would identify the frame/scripts responsible for whatever item you moused over.
jvegastn said:
I've just kind of gotten into theming a lil bit and I was hoping to find more information. I've checked out the "Ultimate Theming Guide" and many other links and I've got a fairly good idea until you get into the xml (I'm reading up on this now) I was wondering if some of you could save me some google time and post links etc. to useful information. I've already got something to extract, repack and sign apks. I'm mostly looking for the actually theming itself, identifying the portions of the ui to tweak, particular xmls to edit etc. I'm still relatively new to this but if any of you ever played WoW there used to be an addon that would identify the frame/scripts responsible for whatever item you moused over.
Click to expand...
Click to collapse
If I werent on my phone I would point you at the link... Search xda for apkmanager. This will allow you to decompile and recompile apk's easily after modifying xml filea. It utilizes apktool (smali and baksmali) to format the xml files to a usable format in a text editor such as notepad or notepad++
One catch with apkmanager is that it doesnt interpret 9.png files correctly. You will need to read tge log to see which of those files catch it up. Then cut these and just dip them back into the finished apk using 7zip. When I get back to my desktop I can look up links and try to post the steps I take.
Sent from my DROIDX using XDA App
Apkmanager is very helpful, I'm looking for more info on what images correspond to what. Quick easy xml alteration with being a code guru. Hope that makes sense.

[Q] Edit Android .dat files

I wonder if anybody knows what program is needed to edit Android dat and idx files. Ideally I would prefer a Windows program but Android or Linux will also do.
Thanks.
I wish I knew too.
Trying to get older version of My Country when GameCiH wasn't prevented.
necromancy warning...
lug said:
I wonder if anybody knows what program is needed to edit Android dat and idx files. Ideally I would prefer a Windows program but Android or Linux will also do.
Thanks.
Click to expand...
Click to collapse
I was doing the same thing. I have found a rough solution. Hex Editor on Android will open and edit, with root. This is far from ideal. Hopefully someone will see these posts and provide a template or application for these specific file formats .dat and .idx.
I have seen individual apps for Windows that will hack apps, mostly games. I am not keen on downloading or using these. One- I don't do Windows, but can if absolutely necessary. Two- these may very well be virii...
I miss the good ole ResEdit days. I will check ResEdit & Resourcer when I get time and report back. This means getting the archives out. These apps used to have extensive file editing templates, mostly Mac.

[Q] XML Questions for my apk ... (X-post from DNA)

Hi,
I've been trying to make this app mostly for personal use.
I actually am just changing/designing the images to just skin it really.
Feel free to check it out ( http://db.tt/qfFVq7uz ) (see attached as well), but I have a question or two about the xml stuff.
In the settings, I want to change the links that are inside there that go to other site to basically reroute them to our website.
I have tried looking at the xml files, I'm assuming that's where the link gets it's info, but not 100% sure.
Can anyone point me in the right direction on how to change these links. Changing the images and signing the apk is no problem for me so far.
Just a little help needed with the xml stuff. I can see it with an xml reader/editor, but it all looks foreign when I open it. I know html and what should do what, so I'm not completely useless when looking at it!
Thanks so much!

help with locker app files

Ok, so my buddy had an app downloaded from the google play store. back when the S4 Mini was newish. He had some kind of photo/file locker app which all i can tell you is it made a folder on the internal storage simply called "Locker" and all the encrypted files that were locked with that app were in there but of course un-readable because that are apparently actually encrypted to some extent. the phone went overboard in the salt water, couldnt be repaired but i managed to get it running enough to pull the "locker" folder with all the locked data off the storage. He doesnt remember the name of the app used and no longer has the google account to look at his download history to find it. but the icon was blue-ish and it created a folder called "locker" on the storage. he entered his passcode on a dialpad looking menu and boom, his locked files showed up. but thats all i know about it. hes trying to get that data readable again, and changing the extension to jpeg or jpg or png didnt work. just wondering if anyone here may have some sugguestions of apps to try to get these files readable again, if i could find the exact program used my plan was to install it on his new phone. set a password and lock a random picture so this way the program would created all the directories or whatever it needed, and i can copy the recovered files from the old phone and copy them into the new phone in the appropriate directory, and hopefully unlock those files. sorry if im jumping around alot. so im trying to find a way to make these files readable again is the end goal. ive tried for days to get them unlocked. and if anyone can help me they are on these forums. Any help ideas would be greatly appreciated.
jaxfljustin said:
Ok, so my buddy had an app downloaded from the google play store. back when the S4 Mini was newish. He had some kind of photo/file locker app which all i can tell you is it made a folder on the internal storage simply called "Locker" and all the encrypted files that were locked with that app were in there but of course un-readable because that are apparently actually encrypted to some extent. the phone went overboard in the salt water, couldnt be repaired but i managed to get it running enough to pull the "locker" folder with all the locked data off the storage. He doesnt remember the name of the app used and no longer has the google account to look at his download history to find it. but the icon was blue-ish and it created a folder called "locker" on the storage. he entered his passcode on a dialpad looking menu and boom, his locked files showed up. but thats all i know about it. hes trying to get that data readable again, and changing the extension to jpeg or jpg or png didnt work. just wondering if anyone here may have some sugguestions of apps to try to get these files readable again, if i could find the exact program used my plan was to install it on his new phone. set a password and lock a random picture so this way the program would created all the directories or whatever it needed, and i can copy the recovered files from the old phone and copy them into the new phone in the appropriate directory, and hopefully unlock those files. sorry if im jumping around alot. so im trying to find a way to make these files readable again is the end goal. ive tried for days to get them unlocked. and if anyone can help me they are on these forums. Any help ideas would be greatly appreciated.
Click to expand...
Click to collapse
Have you tried to open that images on Adobe Photoshop ?
saarav242 said:
Have you tried to open that images on Adobe Photoshop ?
Click to expand...
Click to collapse
I did not. I will definitely try that. ill have to guess which ones are pictures. i know there are videos in there too. Thank you for the suggestion.
jaxfljustin said:
I did not. I will definitely try that. ill have to guess which ones are pictures. i know there are videos in there too. Thank you for the suggestion.
Click to expand...
Click to collapse
Anytime with pleasure mate !! And for video file, You should try Xilisoft Video Editing software and convert video file to another format.
It should be also working fine.
saarav242 said:
Anytime with pleasure mate !! And for video file, You should try Xilisoft Video Editing software and convert video file to another format.
It should be also working fine.
Click to expand...
Click to collapse
I'm not sure which one is the video because there is no file extension or anything. But I will try Photoshop here shortly and see if I can at least open the pictures. I'll post s snapshot of the files
Download
Es file explorer
And press on the picture and choose open as image
And it will work
This screen shot may help you
I have tried both photoshop and es file explorer. no luck with either. i tried every single file as image and even tried video on each. neither worked. any other ideas? i appreciate all the help so far :fingers-crossed:
jaxfljustin said:
I have tried both photoshop and es file explorer. no luck with either. i tried every single file as image and even tried video on each. neither worked. any other ideas? i appreciate all the help so far :fingers-crossed:
Click to expand...
Click to collapse
Okay, try to upload image and video on your Google Account and open. Let see what will you see.
saarav242 said:
Okay, try to upload image and video on your Google Account and open. Let see what will you see.
Click to expand...
Click to collapse
I uploaded one of the smaller files which should be the image and one of the larger ones which should be the video. both just say there are no previews available when i try and open either of them.
If the files were encrypted then no matter which app you use, you won't be able to open them. You need to decrypt them first. To decrypt them you need the password they were encrypted with and the encrypting/decrypting algorithm (provided by the locker app). I would try to find the app (and copy the files to its folder), or try to decrypt it using various decrypting algorithms, provided the app uses a standard well-known one.
jaxfljustin said:
I uploaded one of the smaller files which should be the image and one of the larger ones which should be the video. both just say there are no previews available when i try and open either of them.
Click to expand...
Click to collapse
We will not defeat
Try to fix image and video from below link :
https://online.officerecovery.com/pixrecovery/ and for video : https://online.officerecovery.com/

Categories

Resources