Related
Sorry about the first post. I was wondering where the png files are located in the rom so I can start theming
Sent from my HERO200 using XDA App
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
abadasstanker69 said:
If this has been addressed sorry. I searched but didn't find it. If it's been addressed please point me in the right direction. Thanks
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Papa Smurf151 said:
Ull find all the PNG in the individual apps in the system/app, system/framework, and data/app.
Click to expand...
Click to collapse
Thanks bro! All I see is apk files though. Where are the images?? Also, is there anything specific I have to do in order to export/import the files in Photoshop? I read something somewhere about a .9 PNG or something like that....what does this mean? BTW great work on your theme! It looks awesome! I love it!
Ok I'm a douche bad. lol I renamed the apk to .zip and extracted with winrar. Now I'm in to where I want to be! I'm looking for the little android guy when you make a phone call but, I can't seem to find him in the HTCdialer.apk. Am I looking in the wrong place? Thanks again for the help!
They are in the apk's.
http://developer.android.com/index.html
Good luck.
Ok found the little droid man! This is gonna be awesome!! Any more useful places I should mess around in? This is gonna be FUN!!!!!!!
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
I may be wrong but I have done the same thing, all I did when I was finished was push them via adb to their respective places and then reboot and it worked fine for me. Nandroid before you push so if it boot loops you can recover. Then the easiest thing at that point would be to save your work in the ROM you modded, push to sd root, wipe and flash it. I am creating a themed version of Darchoid 2.7 but taking my sweet time as I dont have a lot of it to begin with.
For my HTC Keyboard modifications, I just dropped my new images into the APK that was open in 7zip and pushed it to the /system/app/ dir and launched the keyboard, and BAM, my new keyboard.
abadasstanker69 said:
Ok so I have edited some files and rezipped them. Now do I flash the updated files through recovery or do I have to rename it to .apk and stick it in the rom and re-flash?
Click to expand...
Click to collapse
You have to sign it too. If you want to flash it. If you wanna just push it through adb then then put your edited .apk in AndroidSDK\tools and push it.
Go to command prompt:
Code:
cd C:\android-sdk-windows\tools
adb remount
adb push xxxxx.apk /system/app/
exit
C:\android-sdk-windows\tools is assuming thats where your sdk\tools folder is
xxxxx.apk is the name of the .apk
/system/app/ is assuming that's where you got the .apk from
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
abadasstanker69 said:
Thanks for all the help guys. I appreciate it but, I was attempting to make an update.zip so people could then flash them once I complete them. I like to make things idiot proof
So I did some looking and found an autosigner. Problem is, now it wants boot scripts? WTF? I know I could push them through adb and simply tell others to do the same. I was just wondering if there was an easy way of doing this? I'm currently using avabox. Thanks again guys!!
Click to expand...
Click to collapse
Just use a mod or update.zip any will do and add ur files and delete the originals in the zip. Keep the meta file and such. Then u can autosign with avabox. It gets tricky with scripts when making a rom. The update.zip script is very basic
Check This Out
You can just take one from a working zip if you want
Otherwise you will be making a file (i use notepad++) called "update-script" *notice-there is no file extension like .txt or anything*
In general they ususally just have:
Code:
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
(but may be different depending on where you want the zip's contents to be put in)
Which will be placed into a folder directory META-INF/com/google/android/update-script
You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template
[/QUOTE]You can also add things such as:
Code:
delete SYSTEM:app/contacts.apk
*or whatever you want deleted*
After you make the update-script, just sign it and flash
See my attachment for a template[/QUOTE]
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
abadasstanker69 said:
What would be the purpose in doing that? Would it actually delete people's contacts if they flashed my theme? That's kinda cool but, I'm not trying to be a **** like that! lol
Also, are you guys referring to an update.zip that's all ready out as in a theme file? Or as in a rom? I understand I can use the work that's all ready there and I actually tried that. I zipped the file back up.Then signed with avabox. Renamed it to .apk. Stuck it back in the rom. Attempted to flash and got the boot script error
Click to expand...
Click to collapse
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
kyouko said:
haha i just used contacts.apk as an example, it could be anything you wanted really. But its generally only used for when making an update.zip for boot screens.
And yes, you could take an already existing zip... but i was a little confused as to what you were doing sorry.
Correct me if I'm misunderstanding you again lol, but you're editing images within .apks and want to make a flashable-update.zip once you finish?
Easiest way, as stated before would be to use 7-zip.
Open the .apk Directly with 7-zip (no renaming the .apk to .zip or anything) and drag the replacement images into the .apk - overwriting the older images
Test it by pushing the apk to your phone, if it works without any problems great
If it doesn't then use something like Apk Manager to extract the apk/edit the files/and zip them back up < generally what I do
Put the .apk into the apps folder in my "template update.zip" file
Delete the framework folder and readme.txt file
Sign the .zip
Flash
Click to expand...
Click to collapse
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
abadasstanker69 said:
LOL I really appreciate the help! You guys kick ass!!!! BUT I tried this method MINUS the renaming part and it didn't work. Sooooo....I'm assuming the renaming caused the issue.
Also, I was using winrar. I read somewhere that 7zip should be used instead of winrar but I just don't think this should matter considering the compression method is no different. Am I wrong? Also, will my theme have to vary from rom to rom? If I create this theme for people will I have to specify what rom I'm on?
Thanks again SOOOOOOOOOO much for the help guys...I know working with noobs can be a headache. I did it in the WinMo world for YEARS till I came to the "Dark Side"
Click to expand...
Click to collapse
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Papa Smurf151 said:
Yes 7zip works better for theming and roming. I tried winrar and it was a pain in the ass.
Yes u will have to specify which roms it will work on. Files on darchdroid r different than our 2.1 roms and so forth. So they wont work right.
Download avabox and use the signing tool in there to sign ur zips.
Make sure in ur zip if ur editing an app it's in the right place...ie system/app or system/framework or data/app. Then make sure ur Meta file is in there. After that sign it and then u can change the name and flash it
Click to expand...
Click to collapse
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
abadasstanker69 said:
I'm such a freaking noob....what's the meta file for? This seems like alot to do for a theme :/
Click to expand...
Click to collapse
The Meta file is for the update script. It has other uses but for ur purpose its for the update script which is the instructions the recovery uses to flash the theme. Like I stated before just use an existing one from a different theme or mod. Creating ur own is possible but not needed. Hit me up on gtalk if u want to ask me questions.
[email protected]
I don't mind teaching if anyone wants to learn
Because some people asked me, I wrote this tutorial that explains how to port ICS transition animations on EVERY ROM & especially on EVERY PHONE!!!.
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".
12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".
13) Now you can create a flashable zip or you can simply push it to your system (but you have to sign the apk).
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
Now I'm satisfied and i can continue studying phylosophy for tomorrow test...
P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post and also give credit to me!!!
Video of this mod working:
http://www.youtube.com/watch?v=vf1U_30Ngfk
capez said:
Work in progress
Click to expand...
Click to collapse
WHAAOOON, that's great, that's the post I was looking for mate !
This is what we should expect on this forum : knowledge sharing ! Work sharing and ROM/THEME/APPS sharing is great but knowledge is even better.
If I can test something ...
capez said:
Work in progress
Click to expand...
Click to collapse
Will this work with every devices ?? Wow... Cant wait to do this!!!
Sent from my Nexus One using Tapatalk
Finally DONE!!!
cool animations, thanks!!!
(Replaced)
got bootloops on my desire hd.. running glanet ics..
Rotation animations??
I already installed the CM7 transition animation zip from your other thread.. So, thank you in case I haven't appreciated your work
Does this one have screen rotation animation too?
digkong said:
got bootloops on my desire hd.. running glanet ics..
Click to expand...
Click to collapse
Did you pushed the modded framework-res.apk directly into the phone?
Do you think [Android 4.0 ICS] should be in the title in this form? It's a little misleading.
Hmm...It started FC. Removing my links for now. Gonna see why.
Works great
Great guide. It worked for me.
Oddly though, I replaced my framework-res.apk through root explorer, set all the correct permissions, and when I rebooted, my google accounts were deleted, along with my contacts and google music library.
Not a problem though, Ill just have to relogin to them.
Great, it works very well. I maybe found a more simple way to do it :
1. Dowload ApkTools package I've done here :
http://www.multiupload.com/Q6YSAF2MH3
2. Unzip it to your harddrive and put your FrameWork-res.apk in it,
3. Click on "decomp.bat"
4. A new "unpack" directory has been created, with decompiled files in it,
5. Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
6. Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
7. Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
8. Patch the anim files in it, and edit the xml,
9. When finished, just click "recomp.bat" to get a new compiled file "framework-res2.apk",
10. Juste rename the file and put it in a update zip file, you can use this one and replace the framework file in it by yours :
http://www.multiupload.com/PPMFV9Y316
Should work !!!
PS : If your framework-res.apk contains .9.png files, decompilation will fails. No problem with standard CM7 framework-res.apk, but some custom themed ROM can have the problem. Don't know how to fix that, maybe the 1st solution with APK MANAGER work better !?
capez said:
Did you pushed the modded framework-res.apk directly into the phone?
Click to expand...
Click to collapse
i used root explorer..
hmmm.. it maybe beacause i did not set permissions right...
great it worked after i set the permissions.. thanks for ur work will post this guide in dhd forum too..
nmeuret said:
Great, it works very well. I maybe found a more simple way to do it :
1. Dowload ApkTools package I've done here :
http://www.multiupload.com/Q6YSAF2MH3
2. Unzip it to your harddrive and put your FrameWork-res.apk in it,
3. Click on "decomp.bat"
4. A new "unpack" directory has been created, with decompiled files in it,
5. Patch the anim files in it, and edit the xml,
6. When finished, just click "recomp.bat" to get a new compiled file "framework-res2.apk",
7. Juste rename the file and put it in a update zip file, you can use this one and replace the framework file in it by yours :
http://www.multiupload.com/PPMFV9Y316
Should work !!!
PS : If your framework-res.apk contains .9.png files, decompilation will fails. No problem with standard CM7 framework-res.apk, but some custom themed ROM can have the problem. Don't know how to fix that, maybe the 1st solution with APK MANAGER work better !?
Click to expand...
Click to collapse
Maybe this is the problem someone is having...Someone must compare your version and mine, to see which one works and which not. (Obviously with a non-cyanogenmod rom )
Update done for CM7 Nightly 176 (latest) :
http://www.multiupload.com/J88VTO2SU6
---------- Post added at 07:01 PM ---------- Previous post was at 06:59 PM ----------
capez said:
Maybe this is the problem someone is having...Someone must compare your version and mine, to see which one works and which not. (Obviously with a non-cyanogenmod rom )
Click to expand...
Click to collapse
Well, in the APK MANAGER post they say :
>Optimize pngs (ignores .9.pngs)
So it should work better !! (but as I'm lazy, I still use APKTOOL one click solution )
I got instant bootloops! How? Can u patch for me??
Sent from my Nexus One using Tapatalk
nmeuret said:
Update done for CM7 Nightly 176 (latest) :
Click to expand...
Click to collapse
Just a heads up. I downloaded your file and you renamed your framework-res wrong. There's a space between "framework-res" and ".apk" so it won't overwrite the original.
this does not have the rotation animation..
anyway to get that..
dawgpound6985 said:
Just a heads up. I downloaded your file and you renamed your framework-res wrong. There's a space between "framework-res" and ".apk" so it won't overwrite the original.
Click to expand...
Click to collapse
OOpppsss, thanks, fixed here :
http://www.multiupload.com/J88VTO2SU6
STEPS:
(1) Download & setup kitchen LINK.
(2) Grab a ".tar" file of stock ODEXED ROM, put it under
Code:
C:\cygwin\home\VAIO\kitchen\original_update\
(change the path according to your installation directory)
(3) Start "Cygwin" from desktop (if you are running kitchen under Windows).
(4) Type the following commands (Press Enter after each line of command)
Code:
cd kitchen
Code:
./menu
After pressing ENTER the following screen appears:
Enter Option : 1
(5)
Enter the options as shown above.
(6) following screen appears:
Follow the instructions carefully to extract files from .img file
(7)
After the files are extracted successfully, Enter the options as above.
Its upto you whether you want to extract cache.img or not, I prefer NO.
(8) your ROM's INFO:
Press Enter to continue:
(9)
Select option 0 (Advanced Options)
(10)
Enter option 11
(11)
Deodex both folders (b)
Kitchen will start deodexing both folders.
However, some apks failed to deodex, see the screenshot below:
(you can close the kitchen now if you do not want to add more MODs)
To resolve this, go to
Code:
C:\cygwin\home\VAIO\kitchen\WORKING_071212_094136\system\app\
and delete the odex apks (you can recognize them by their respective .odex files present in the same folder)
Make sure to delete both apk as well as its respective .odex file.
Now, download the attached deodexed apks & copy to the above folder.
THATS IT ! you have successfully deodexed both /system/app as well as /system/framework/.
Final step is to flash/copy/push these folders to your device.
I have attached "deodex.zip" file.
It is a CWM flashable zip.
just open it with 7zip (do not extract), copy all the /system/app/ files to "app" folder in the zip
similarly, copy all /system/framework/ files to "framework" folder in the zip.
DO A NAND BACKUP!!!!
Flash the zip via CWM.
If you have any queries/problems/errors, post here.
Thanks!
Thank you very much bro !
Woooaah....Thats it....this is top stuff man. Been waiting for this sooo long. Thanx a buch bro. Keep up the good work.:laugh:
---------- Post added at 12:53 PM ---------- Previous post was at 12:42 PM ----------
Just one question bro.....the kitchen supports compiling a rom from nand backup's system.img and boot.img.....do you think that would work for our device....and did you make any changes to the update-script before flashing the compiled deodexed rom?...cheers
saurabh.khare1000 said:
Woooaah....Thats it....this is top stuff man. Been waiting for this sooo long. Thanx a buch bro. Keep up the good work.:laugh:
---------- Post added at 12:53 PM ---------- Previous post was at 12:42 PM ----------
Just one question bro.....the kitchen supports compiling a rom from nand backup's system.img and boot.img.....do you think that would work for our device....and did you make any changes to the update-script before flashing the compiled deodexed rom?...cheers
Click to expand...
Click to collapse
yes, the kitchen supports CWM nand backups, it will work for our device.
also script needs to be modified, http://www.mediafire.com/?s1g2kwdb6s9rg1h
study this script. you will come to know yourself how it works.
pankaj88 said:
yes, the kitchen supports CWM nand backups, it will work for our device.
also script needs to be modified, http://www.mediafire.com/?s1g2kwdb6s9rg1h
study this script. you will come to know yourself how it works.
Click to expand...
Click to collapse
Could you also add a small guide on how to change the updater script & when it needs to be changed to the OP ?
'cooleagle' said:
Could you also add a small guide on how to change the updater script & when it needs to be changed to the OP ?
Click to expand...
Click to collapse
OK, I'll update the OP with the same.
reported this thread as tip, hope it will soon appear on xda portal.
Added this to my GUIDES list.. Hope you dont mind!
Excellent job !
Its good to have more and more tutorials & guides like this....
Modem.bin
Could you please tell me what is mean by modem.bin file? Once i deodexed the ROM, i can see a file called 'modem.bin'. Is this file necessary or can/should we remove it?
selva.simple said:
Could you please tell me what is mean by modem.bin file? Once i deodexed the ROM, i can see a file called 'modem.bin'. Is this file necessary or can/should we remove it?
Click to expand...
Click to collapse
dont know much abt it.
the file is not necessary. remove it.
Sent from my GT-I9103 using xda app-developers app
pankaj88 said:
dont know much abt it.
the file is not necessary. remove it.
Sent from my GT-I9103 using xda app-developers app
Click to expand...
Click to collapse
Thanks pankaj for the prompt response.
selva.simple said:
Could you please tell me what is mean by modem.bin file? Once i deodexed the ROM, i can see a file called 'modem.bin'. Is this file necessary or can/should we remove it?
Click to expand...
Click to collapse
Modem.bin is pretty much self-explanatory. It is a "modem," its responsible for data connection and things of that sort. It is related to the radio of your phone.
What is a Radio ROM?
* The Radio ROM is the software part of your device that is powering on/off and controlling your radio interfaces. This includes Bluetooth, 2G/3G Phone, WiFi, GPS..... And it also includes the OEMSBL (Radio BootLoader) and other device specific firmwares needed for using your radio interfaces and for interfacing them with the OS (Windows Mobile/Android).
So I guess it is an important file.
http://forum.xda-developers.com/showthread.php?t=611787
Question
Hello!
I have a problem with making deodexed rom. When i choose ext4 factoryfs.img there is no nothing. Help me with it please.
Thanks!
whitediablo_47 said:
Hello!
I have a problem with making deodexed rom. When i choose ext4 factoryfs.img there is no nothing. Help me with it please.
Thanks!
Click to expand...
Click to collapse
can you please elaborate more? what the problem actually is?
Sent from my GT-I9103 using xda app-developers app
When kitchen unpack rom i need open ext4 factoryfs.img in program Ext2explore. When i choose this img and wait for a few minutes nothing happens.
whitediablo_47 said:
When kitchen unpack rom i need open ext4 factoryfs.img in program Ext2explore. When i choose this img and wait for a few minutes nothing happens.
Click to expand...
Click to collapse
i think the problem is with the kitchen.
it didnt compile sig2img properly.
check the size of .img
use linuxreader.exe in tools folder of kitchen.
Sent from my GT-I9103 using xda app-developers app
The-Droidster said:
Modem.bin is pretty much self-explanatory. It is a "modem," its responsible for data connection and things of that sort. It is related to the radio of your phone.
What is a Radio ROM?
* The Radio ROM is the software part of your device that is powering on/off and controlling your radio interfaces. This includes Bluetooth, 2G/3G Phone, WiFi, GPS..... And it also includes the OEMSBL (Radio BootLoader) and other device specific firmwares needed for using your radio interfaces and for interfacing them with the OS (Windows Mobile/Android).
So I guess it is an important file.
http://forum.xda-developers.com/showthread.php?t=611787
Click to expand...
Click to collapse
the file is very much important but there is no need to include in custom ROM zip.
it automatically gets installed when we flash tar file via odin.
so there is no point in flashing it again.
therefore i advised to remove this from zip.
Sent from my GT-I9103 using xda app-developers app
Speaking about deodexing, Is it possible to deodex a single file for modding purposes keeping other files odexed? Will this work?
For eg: Can I only deodex SystemUI.apk for adding the 14 toggles mod or do I need to deodex the entire ROM for it to work?
EDIT: In dsixda's kitchen I saw an option to deodex a single file. So that probably answers the 'is it possible' part.
But will it work?
The-Droidster said:
EDIT: In dsixda's kitchen I saw an option to deodex a single file. So that probably answers the 'is it possible' part.
But will it work?
Click to expand...
Click to collapse
Yes, I've already done it more times.
Oops, I thanked your post. The buttons are too close to each other in the xda app. XD
Sent from my GT-I9103
Ok so i have seen that many people are having problems porting roms so here is a short tutorial on how you actually do it.
PORTING AOKP LATEST BUILD FROM MINI TO FIT
Here is what you must do
1.)Download the latest aokp for galaxy mini
2.)Extract it using winrar or any other similar program
3.)Replace the folder usr in system from your galaxy fit's rom to mini's rom(This will make the soft keys work for you)
4.)Now replace the camera libs in folder lib present in system in your mini's rom from fit(copy all 4 camera libs except libarccamera.so. This will make the camera work with 3rd party app. The stock camera will not be able to take pictures)[Thnx to sarvesh563 for this idea]
5.)Now replace the boot image from fit's rom to mini's rom
6.Now you have to replace the file sensors.beni.so in folder hw from fit's rom to mini's rom. This will make the auto-rotate work for you(But i am not Sure whether auto rotate will work or not)
7)Now the last step is to add the 3 folders system, boot.img and META-INF to archive. Choose .zip. Then you will get a zip file which you will have to flash in recovery mode.
That's it You have now successfully ported aokp from mini to fit
NOTE: If calculator is not working then copy the calculator.apk from fit's rom to mini's rom. Then install the apk. Make sure u add only the 3 files to archive and not a whole folder. Many people add the whole folder to archive and then u will get installation aborted error
PORTING CM10 FROM MINI TO FIT
1.)Download cm10 for galaxy mini
2.)Extract it
3)Now replace the META-INF folder of mini with the META-INF folder of fit
Rest of the steps are same as you did for porting the AOKP
Ok guys that's it for now i will update this thread as soon as i port more roms. Anyone who has ported some other rom is free to post the tutorial here
Before replying here regarding the problems you are facing dont forget to mention the rom you are trying to port
For camera fix see post #126
DONT FORGET TO PRESS THANKS BUTTON IF THIS TUTORIAL HELPED YOU
place holder
I had ported cm9.1.0
Guide- first you replace the meta folder.. i suggest u to use meta-inf folder of aokp ics of thewisp sir...about other roms meta-inf they will not work possibly
Then replace the user,hw folder in respective directory !!
Now the main problem comes with boot.img...
If you use default boot.img rom will not boot
you have to use cm10 gfit build's boot img by making some changes!!! If you don't make changes it will boot but you will not see any pics or video in gallary, your music player will not found any song on sd card, your browser will not download anuthing saying "no sdcard" even though browser is in sdcard
Because you had used cm10 boot image and for cm10 sdcard directory is /storage/sdcard0 whereas for cm9 it is /mnt/sdcard
Solution -
Extract both boot image of cm9 of mini and 10 of fit using cygwin then replace the cm10's init.goldfish.rc and init.gt-s5670.rc with cm9's respective files ...OFCOURSE u have to edit name of file from init.gt-5570.rc to init.gt-s5670.rc...
Now pack that boot image of cm10 ...
Dont replace camera libs beacuse it will cause bootloop..
Lastly edit build.prop with edit++ or notepad++ software as you wish !!!
Lastly pack all 3 "system,meta-inf and boot.img" in zip with normal compression...and flash it..
See you will be runnig amazingly fast,beautiful ics in your galaxy fit...
It is very fast as compared to previous build...
Faster..
Smooth..
Thats it...if your rom booted do tell here your feelings..
If u get stuck anywhere ask here for solution
I HAVE UPLOADED FLASHABLE ZIP of modified boot image http://www.4shared.com/zip/N4nPuXl0/bootimg_for_cm9_.html?
Dont say thanks CLICK it...
Can u upload the ported ics 9.1 to mediafire or dropbox ?
Sent from my GT-S5670 using xda premium
samo_gf said:
Can u upload the ported ics 9.1 to mediafire or dropbox ?
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
i think we should not do that before taking TheWhips's permission
samo_gf said:
Can u upload the ported ics 9.1 to mediafire or dropbox ?
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
We can't do it without permission
Sent from my GT-S5670 using XDA
Galaxy Fit is Beni. Galaxy Mini is ...?
ZmisiS said:
Galaxy Fit is Beni. Galaxy Mini is ...?
Click to expand...
Click to collapse
Gmini is Tass.
Sent from my Xperia Neo L using xda premium
I make all, but when try install, I get notification: install aborted. I can't make correct .zip. Help.
ZmisiS said:
I make all, but when try install, I get notification: install aborted. I can't make correct .zip. Help.
Click to expand...
Click to collapse
after all the editing you will be left with 3 folders. select all of them and then add them to archive. Do not keep the 3 files in a folder and then try to make a zip file. Then u will get installation aborted error. Hope that helps
In lib have 3 libcamera.
ZmisiS said:
In lib have 3 libcamera.
Click to expand...
Click to collapse
no no. I am talking abt the three folders Meta-inf system and boot.img. Add them directly to archive. Make sure u have not put these filesin some folder before adding to archive
I do not understand this.
7)Now the last step is to add the 3 folders system, boot.img and META-INF to archive. Choose .zip.
ZmisiS said:
I do not understand this.
7)Now the last step is to add the 3 folders system, boot.img and META-INF to archive. Choose .zip.
Click to expand...
Click to collapse
that means u have to select the 3 folders and then add them to archive
stranger97 said:
that means u have to select the 3 folders and then add them to archive
Click to expand...
Click to collapse
How?
---------- Post added at 08:18 PM ---------- Previous post was at 08:05 PM ----------
stranger97 said:
no no. I am talking abt the three folders Meta-inf system and boot.img. Add them directly to archive. Make sure u have not put these filesin some folder before adding to archive
Click to expand...
Click to collapse
---------- Post added at 08:23 PM ---------- Previous post was at 08:18 PM ----------
Installation aborted (Status 7).
---------- Post added at 08:38 PM ---------- Previous post was at 08:23 PM ----------
Now all working fine, but I have problem with: Unlocking SIM card ...
I removed SIM card and open ROM.
S2E, A2SD and Link2SD don't work for me.
When I try open S2E appears to request permission. I then let the issue of a license is always repeated and S2E not be opened.
Can you write the 4 cam libs name I should delete
ZmisiS said:
I removed SIM card and open ROM.
S2E, A2SD and Link2SD don't work for me.
When I try open S2E appears to request permission. I then let the issue of a license is always repeated and S2E not be opened.
Click to expand...
Click to collapse
i did not face any such problem. try to do a factory reset before flashing
ZmisiS said:
I removed SIM card and open ROM.
S2E, A2SD and Link2SD don't work for me.
When I try open S2E appears to request permission. I then let the issue of a license is always repeated and S2E not be opened.
Click to expand...
Click to collapse
open rom in kitchen then add superuser permission from menu of kitchen...may this help u
if there is su app in system app delete it
dont say thanks CLICK it
plasticos2011 said:
Can you write the 4 cam libs name I should delete
Click to expand...
Click to collapse
download this zip file http://www2.zippyshare.com/v/44055553/file.html
extract it. You will get 4 lib files. Copy the 4 files and replace them with the mini files
Dont forget to press thanks button if this helped you
Update: I found the bootanimation.zip file, and replaced it with a custom animation file. However, that resulted in a blank screen with the Android logo, not the new boot animation.
Then, I tried changing the "desc" text file, the number of frames in the new animation, and the file names to match the old boot animation file, but nothing's working. (Now its just a blank screen on boot, the Android logo is now gone.)
Does anyone have a solution to this?
_________________________________
(Please bear with the long post.)
I'm using the Honor 6x (BLN-L24) running Android 7.0.
So, I'm trying to replace the default bootanimation.zip file with a custom one so that I can have a custom animation on boot.
The problem is, I can't locate where the original bootanimation file is located.
I tried looking where the posts I read about told me to look: "/system/media" but it wasn't there. The only files present in that folder were audio files.
Obviously, moving the custom bootanimation.zip file there (in "/system/media") didn't work.
Then, I tried moving the custom animation file into "/data/local" but that didn't work either.
Finally, I just searched the entire system using root explorer and the only file I found was a "bootanimation" file in "/system/bin" that didn't have any label after it, (ie, ".zip, .png, etc.)
Replacing that file with the custom zip file caused my device to not have a boot animation at all, just a blank screen. It probably wasn't the right file. (I "replaced" that file by renaming it to "bootanimation.bak")
Btw, when I tried opening that file, all I got were a bunch of scrambled symbols and letters.
Does anyone have a solution on how I could possibly change my boot animation/ find the original boot animation file? I think I'm missing something here.
(My phone is rooted.)
It's inside /cust folder.
Sent from my Honor 8 using XDA Labs
adriansticoid said:
It's inside /cust folder.
Click to expand...
Click to collapse
It wasn't there either for some reason
Update: I found it in the cust_spec and the product/etc/media folder. Now it's just a matter of getting it to work. (Right now, only the text "Android" shows up on a black screen.)
snowdragyn said:
It wasn't there either for some reason
Update: I found it in the cust_spec and the product/etc/media folder. Now it's just a matter of getting it to work. (Right now, only the text "Android" shows up on a black screen.)
Click to expand...
Click to collapse
Sory man. I already forgot the location. I got the bootanimation to change before in my Honor 8 in EMUI 5. @gopinaidu77 do you remember?
adriansticoid said:
Sory man. I already forgot the location. I got the bootanimation to change before in my Honor 8 in EMUI 5. @gopinaidu77 do you remember?
Click to expand...
Click to collapse
I don't remember anymore.
snowdragyn said:
It wasn't there either for some reason
Update: I found it in the cust_spec and the product/etc/media folder. Now it's just a matter of getting it to work. (Right now, only the text "Android" shows up on a black screen.)
Click to expand...
Click to collapse
I guess it's due to incorrect permissions. You can change the permissions for the zip by long pressing and selecting permissions. Sorry i don't really remember the correct permissions but you can look it up on Google. If that doesn't work either you can use jrummy's bootanimation app from the playstore.
Anas Rahman said:
I guess it's due to incorrect permissions. You can change the permissions for the zip by long pressing and selecting permissions. Sorry i don't really remember the correct permissions but you can look it up on Google. If that doesn't work either you can use jrummy's bootanimation app from the playstore.
Click to expand...
Click to collapse
It's r-w-rr.
gopinaidu77 said:
It's r-w-rr.
Click to expand...
Click to collapse
Nevermind, I think I found the error: apparently, I had to delete the folder called "part 1" to get it to work.
Thank you everyone for your time!
snowdragyn said:
Nevermind, I think I found the error: apparently, I had to delete the folder called "part 1" to get it to work.
Thank you everyone for your time!
Click to expand...
Click to collapse
Enjoy.
gopinaidu77 said:
Enjoy.
Click to expand...
Click to collapse
I will, thx for your help
snowdragyn said:
I will, thx for your help
Click to expand...
Click to collapse
You are welcome.
snowdragyn said:
Update: I found the bootanimation.zip file, and replaced it with a custom animation file. However, that resulted in a blank screen with the Android logo, not the new boot animation.
Then, I tried changing the "desc" text file, the number of frames in the new animation, and the file names to match the old boot animation file, but nothing's working. (Now its just a blank screen on boot, the Android logo is now gone.)
Does anyone have a solution to this?
_________________________________
(Please bear with the long post.)
I'm using the Honor 6x (BLN-L24) running Android 7.0.
So, I'm trying to replace the default bootanimation.zip file with a custom one so that I can have a custom animation on boot.
The problem is, I can't locate where the original bootanimation file is located.
I tried looking where the posts I read about told me to look: "/system/media" but it wasn't there. The only files present in that folder were audio files.
Obviously, moving the custom bootanimation.zip file there (in "/system/media") didn't work.
Then, I tried moving the custom animation file into "/data/local" but that didn't work either.
Finally, I just searched the entire system using root explorer and the only file I found was a "bootanimation" file in "/system/bin" that didn't have any label after it, (ie, ".zip, .png, etc.)
Replacing that file with the custom zip file caused my device to not have a boot animation at all, just a blank screen. It probably wasn't the right file. (I "replaced" that file by renaming it to "bootanimation.bak")
Btw, when I tried opening that file, all I got were a bunch of scrambled symbols and letters.
Does anyone have a solution on how I could possibly change my boot animation/ find the original boot animation file? I think I'm missing something here.
(My phone is rooted.)
Click to expand...
Click to collapse
do u happen to still have the stock bootanimation file? I accidentally deleted it trying to change it... now I'd just be happy to have the original. I've tried the ones for other Huawei versions to no avail.
jflow36 said:
do u happen to still have the stock bootanimation file? I accidentally deleted it trying to change it... now I'd just be happy to have the original. I've tried the ones for other Huawei versions to no avail.
Click to expand...
Click to collapse
Yep, I still have it! Hope this is the file you're looking for.
(Just remember to change the name of the file in order for it to work)
snowdragyn said:
Yep, I still have it! Hope this is the file you're looking for.
(Just remember to change the name of the file in order for it to work)
Click to expand...
Click to collapse
thanks!
jflow36 said:
thanks!
Click to expand...
Click to collapse
you're welcome!
I'm not able to paste the custom boot animation in the folder. It says not enough storage! Root browser by jrummy pastes it halfway till 11MB and rest is not pasted there! And if i try to open that zip file, it just doesn't open up!
One more thing, if a boot animation is around 5 to 6 mb in size, it works without any problem!
Plz help me! I want to use watch dogs boot animation but its bigger in size!
Neeleshjindal said:
I'm not able to paste the custom boot animation in the folder. It says not enough storage! Root browser by jrummy pastes it halfway till 11MB and rest is not pasted there! And if i try to open that zip file, it just doesn't open up!
One more thing, if a boot animation is around 5 to 6 mb in size, it works without any problem!
Plz help me! I want to use watch dogs boot animation but its bigger in size!
Click to expand...
Click to collapse
Is there enough space in you root directory?
---------- Post added at 02:47 PM ---------- Previous post was at 02:36 PM ----------
Neeleshjindal said:
I'm not able to paste the custom boot animation in the folder. It says not enough storage! Root browser by jrummy pastes it halfway till 11MB and rest is not pasted there! And if i try to open that zip file, it just doesn't open up!
One more thing, if a boot animation is around 5 to 6 mb in size, it works without any problem!
Plz help me! I want to use watch dogs boot animation but its bigger in size!
Click to expand...
Click to collapse
Is there enough space in you root directory?
Anas Rahman said:
Is there enough space in you root directory?
---------- Post added at 02:47 PM ---------- Previous post was at 02:36 PM ----------
Is there enough space in you root directory?
Click to expand...
Click to collapse
That's strange!
I recently rooted my device, and haven't done much! Just installed Dolby Atmos port.. but still it says 0.2GB free out of 2.8GB!
But still the boot animation is just 30MB! And free space is around 200MB available...
I'm sorry man, I'm new for rooting stuff, so kindly plz help me! Thanks
Neeleshjindal said:
That's strange!
I recently rooted my device, and haven't done much! Just installed Dolby Atmos port.. but still it says 0.2GB free out of 2.8GB!
But still the boot animation is just 30MB! And free space is around 200MB available...
I'm sorry man, I'm new for rooting stuff, so kindly plz help me! Thanks
Click to expand...
Click to collapse
Idk what's exactly causing the error but try other root explorers like mixplorer
https://forum.xda-developers.com/showthread.php?t=1523691
[solved] new boot animation fix
If you encounter the error of having a blank bootscreen and Android logo then you must verify the file that you put in /system/media.
The file should contain different folder starting from part0,part,...
The boot animation file should also contain desc.txt file that contains proper display configuration of your device hardware and name of all part folders followed by c and 2 digit 0s and 1s
After all,
One and last thing every part folder should contain many jpg images of same name followed by sequential numbers.
At last change file permission to rw- r-- r-- using any kind of root explorer.
Permission should look like this
https://ibb.co/nj7gkFB
I use es file explorer