[Solved] Apktool problem - Galaxy S Advance I9070 Q&A, Help & Troubleshooting

Edit: Well, I found out what was wrong, had to copy META-INF from original file.
Hello guys, It's the first time I use this thing and I'm doing something really wrong.
I used adb tool + apktool to pull and edit 'android.policy.jar' and 'SecSettings.apk' in order to enable AOSP Locker.
I failed and ended with a bootloop.
First I thought I messed it up my SecSettings.apk (I'd get bootloop when making chmod 644 in it, android.policy.jar didn't give me errors), so after wasting a lot of time redoing all the job again and failling again, I did a test:
A decompiled SecSettings.apk and after it I recompiled (without editing any file inside it) and TaDa, got a Bootloop, also file size changed.
I think the problem is with this screen:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Would that be a problem because the rom is russian?
But that doesn't make any sense to me
Editing this god damn file I found it has the Weather widget hidden, I'm thinking in 'unhide' it to check if would work too!

Did you sign app?
If not do this:
Use WINRAR, open compiled app - get classes.dex and resources.arsc from it and put in old one (original, the one that you decompiled first time). Use STORE compression when you replace those files, otherwise you will probably get bootloop.
P.S. I was writing when you added that edit. That META-INF is sign.

Related

ClockWorkModding

Well simply (or not so simply), how does one create a flashable .cwm file
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I took a zip that was already flashable via cwm and used it as a template. Like a boot animation for instance. Inside you will find a meta info folder which I don't mess with. It tells your phone what to do with the file. You will also see a system folder which contains the proper folder structure for the file you are inserting. For a boot animation you should find system/media and inside the media folder is your boot animation. For a swype keyboard you would find a lib file in system/lib and the swype apk in system/app . I use 7 zip to move stuff from folder to folder.
Hope that helps.
sent using a phone.
tomween1 said:
Well simply (or not so simply), how does one create a flashable .cwm file
Click to expand...
Click to collapse
you should read this:
http://forum.xda-developers.com/showthread.php?t=928955
beyond that, just look at a cwm zip that you have on your computer with 7zip and understand the structure, then look at the update-script and try to make heads or tails of it. its really not that complicated once you understand what its actually doing.

Wallpaper Pack (FIXED)

Hey, I just felt like throwing together a Wallpaper pack. I found these images while browsing through some wallpaper sites (wallbase.net, and wall.alphacoders.com). I take no credit for these images.
They all have been resized, and renamed. They are 960x800.
DOWNLOAD HERE (LINK IS UPDATED, FILES ARE FIXED)
http://www.mediafire.com/?cd3yt9k9rkom5o9
Here's a preview of what you'll get
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Preview Images
Hi, Great idea.
Could you put a couple of preview images up to give an idea of whats available?.
edit:..
Also just opened the zip file and found that you've managed to strip the file type from the images so they wont open in the device, have had to open them with IfranView which converts them back to .jpg's.
Odinbear said:
Hi, Great idea.
Could you put a couple of preview images up to give an idea of whats available?.
edit:..
Also just opened the zip file and found that you've managed to strip the file type from the images so they wont open in the device, have had to open them with IfranView which converts them back to .jpg's.
Click to expand...
Click to collapse
Thanks for letting me know, it turns out the program I used to rename them removed the file extension... (I'm on a mac) -_-
But yeah, I appreciate it. New link is up

New Markets for Salsa

i've managed to find some Markets for the salsa which you can change once u have root access.
Non of these are made by me and were sourced from the XDA forums awhile ago. credits due to the owner!
To change these use Root Explorer available from the Market
Inside the folders are the market styles in zip form you can change to.
Instructions for replacing with a new style.
open zip file you want
in the folder will be 3 files
data /app/ com.android.vending-1.apk
META-INF
system /app/ Vending.apk
you need to copy from the data & system folder and paste them into /data/app and change the permission to this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
then also copy same files into /system/app and paste in there
again change permissions to above image.
Reboot your phone to engage the new market.
In the the link below is a small amount of different coloured markets as most have disappeared off-line now.
There is an original copy in this zip file if you wanted original back again.
Markets.zip
Yeah I did answer

[Q] [9001] Modding mbba67's Ext. Statusbar

So i tried modding the ics-themed statusbar postet in here: http://forum.xda-developers.com/showthread.php?t=1432062
I just wanted to get it a little more like the samsung stock theme (but darker). Strange thing is, that replacing the icons + appearence of the whole bar and slider destroyed the apk's somehow. My galaxy s+ can't get them working.
Even if i install the ics bar normal via cwm and overwrite the files later with the edited ones...
With the stock systemui and framework from broodrom i managed to do this easily. Just handling the apk as zip files, inserting my new icons.
Where did i go wrong?
I already edited all the images... all work done. Just getting it working is troubling
I edited the original broodrom apks are modified to look like this and just wanted to do the same with the extended statusbar:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No one with any conclusions?
Were there any .9.png files which you maybe modified incorrect?
You know what, I'll upload the modded file, so you can see for yourself
The only .9.png file I modified was ic_notification_overlay.9.png
And I only replaced images, didn't edit anything else...

My project is a mess after upgrade from 4.4 to 5.1

Hi.
I upgraded my current project from 4.4 to 5.1 and now everything is a mess.
Nothing works and dont know how to fix it. When I get one error to dissapear just a new pops up.
Here is a "good looking" image of my AndroidManifest.xml file thats a total war-zone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I thought that i just could change back the different parameters as they where before but that was not the case.
Greatful for help.
I believe this is not exactly your AndroidManifest.xml, but the one from build directory. Try to delete such folders manually, does it help?
stickin said:
I believe this is not exactly your AndroidManifest.xml, but the one from build directory. Try to delete such folders manually, does it help?
Click to expand...
Click to collapse
Ok. So I found one AndroidMainifest.xml file in the debug-folder and I deleted it but Android Studio is just keeping build me a new one.
The correct AndroidManifest.xml file is in main/AndroidMainfest.xml.
I posted a image here as well:
Why does it generate a manifest file that mess up my project?
UPDATE:
I have delete all the build folders in hope of getting rid of the problem. But nothing helps.

Categories

Resources