Related
laymil has posted a much better script for this. As such I will be discontinuing my work on this for now. Not for any hard feelings, but because it is now beyond me to help any further.
As always I am glad to have helped the community in some small way. Thank you all
CHEERS
Geniusdog254 Posted the exact lines in the build prop that needed to be changed. This is a pretty common fix for problems like this between versions of Android. There was some concern however that you may miss some of the newer apps released only for Froyo. I wrote some simple scripts that will fix this for us.
Simply: One puts the Froyo build.prop on your phone. The other puts the modded build.prop on your phone.
Prerequisites
YOU MUST HAVE GSCRIPT INSTALLED
YOU MUST HAVE BUSYBOX INSTALLED
(IF YOU ARE USING PAULS FROYO ROM FROM HERE
http://forum.xda-developers.com/showthread.php?t=686631
IT DOES NOT HAVE BUSYBOX INSTALLED
Also--
There are now 2 downloads.
One will reboot your phone automatically
One will not!
(I recommend this one for anyone that has problems, or doesn't know ADB well.)
Installation
Code:
Download the attached .zip file
Place the "buildprop" folder in the root of your sdcard
Place both "Normal_Froyo.sh" and "Modded_Froyo" files in the gscript folder on your sdcard
Code:
Open Gscript
Press menu and select Add Script
Press Load File button
Select Normal_Froyo file
Press Save button at bottom
Repeat for Modded_Froyo file
After that all you have to do is open gscript and select which one to run.
Normal_Froyo will give you stock froyo build.prop and let you see froyo only apps
Modded_Froyo will give you the market fix build.prop
You can also create shortcuts directly on your homescreen for each script if you wish
-----------------------------------------------
I've decided to skip the update.zip, I've found no way to copy the scripts to the gscript folder on the sdcard this way.
I'm going for an app instead.
P.S. I've never written an app before, java looks like russian to me lol. So if anyone has any tips, or knows any good tut's let PM me and let me know.
------------------------------------------------
fixed no buildprop folder
added NON-autoreboot download.
buildprop switcher v0.3.zip ORIGINAL
buildprop_switcher_no_rebootv0.3.zip NO REBOOT
buildprop swticher v0.3.1.zip DOWNLOAD THIS ONE
When the file is unzipped, there are 4 files - No Buildprop folder. Now I get the part about putting the two .sh files into Gscript folder.
Do I make another folder called buildprop and put build.2.1 and build.2.2 inside?
OR
Do I put build.2.1 and build.2.2 onto the root of the SDCARD?
Dayz xx
Dayzee said:
When the file is unzipped, there are 4 files - No Buildprop folder. Now I get the part about putting the two .sh files into Gscript folder.
Do I make another folder called buildprop and put build.2.1 and build.2.2 inside?
OR
Do I put build.2.1 and build.2.2 onto the root of the SDCARD?
Dayz xx
Click to expand...
Click to collapse
So sorry lol Didn't notice until I was making the update.zip that I didn't put the other files in a folder IN the zip. Just make a folder on your sdcard called buildprop. and put them in there.
BTW testing the flashable update.zip method right now
thx, seems to work
so no more *#*#etc.. afterwards?
watercool said:
thx, seems to work
so no more *#*#etc.. afterwards?
Click to expand...
Click to collapse
Right.. the checkin service runs on each reboot. So it is not needed.
Worked just fine, but I did have to do the checkin thing. Possibly had poor signal but checkin hadn't done on reboot. Worked fine after that...
Dayz xx
followinginsanity said:
Right.. the checkin service runs on each reboot. So it is not needed.
Click to expand...
Click to collapse
Can the checkin method be used, instead of rebooting? I'd much rather switch back and forth via checkin rather than having to reboot.
Thanks.
Namuna said:
Can the checkin method be used, instead of rebooting? I'd much rather switch back and forth via checkin rather than having to reboot.
Thanks.
Click to expand...
Click to collapse
The reboot is built into the script. On my phone, if I checkin, the apps still don't show till I reboot. But show if I only reboot. If checkin alone works for you though, you can remove the reboot command from the script.
I'm not sure what happened, but after following the instructions exactly, my phone crapped. It got as far as the first nexus logo (non-animated), then the buttons lit up and I got a black screen. And that's how it stayed.
Any ideas?
This worked great for me I also solved my (unrelated) prob with SlideIt by forcing the dictionary to save in the settings, so I'm no longer bothered about losing shortcuts stuff on a reboot.
Dandy!!
tested again with a second n1. works perfect! automated checkin works perfect.
Can you please post what changed in the .prop file.
Also you didn't add the video codecs in the "new" prop file
InGeNeTiCs said:
I'm not sure what happened, but after following the instructions exactly, my phone crapped. It got as far as the first nexus logo (non-animated), then the buttons lit up and I got a black screen. And that's how it stayed.
Any ideas?
Click to expand...
Click to collapse
Mine did this as well, though I am unsure why just yet. Been busy all day.
Mikey1022 said:
Can you please post what changed in the .prop file.
Also you didn't add the video codecs in the "new" prop file
Click to expand...
Click to collapse
The only thing I changed from the stock to the "modded" build.prop were these 2 lines
from this
ro.build.description=passion-user 2.2 FRF50 38042 release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.2/FRF50/38042:user/release-keys
to this
ro.build.description=passion-user 2.1-update1 ERE27 24178 release-keys
ro.build.fingerprint=google/passion/passion/mahimahi:2.1-update1/ERE27/24178:user/release-keys
I didn't add anything else to these. If you would like other things added to the build.prop files. You are welcome to edit them yourselves, or let me know what things you want changed, and I can include them.
I can make it user friendly. With descriptions for each modded line, then you can simply un-comment the options that you want.
PS: I thought I had the flashable update ready, but the update-script is giving me problems. ANYONE that wants to help please let me know. I'd really like to get this out to everyone.
InGeNeTiCs said:
I'm not sure what happened, but after following the instructions exactly, my phone crapped. It got as far as the first nexus logo (non-animated), then the buttons lit up and I got a black screen. And that's how it stayed.
Any ideas?
Click to expand...
Click to collapse
same thing here....ANY IDEAS????????????
This is a great find, inductions were perfect and easy to follow. Not one issue getting all my paid apps back! Thank again!
JDMSirEK4 said:
same thing here....ANY IDEAS????????????
Click to expand...
Click to collapse
To anyone that can't get thier phone to boot all the way after doing this
Its not a big deal. Your phone booted. But the build.prop didn't get copied before the reboot.
If you did a nandroid before you tried it. Restore that!
If you didn't, OR you know how to use adb. Do this
Code:
adb remount
adb push [COLOR="red"]/path/to/build.2.1(or)build.2.2[/COLOR] /system/build.prop
adb reboot
I hope to have this fixed quickly.
ANYONE WHO'S PHONE WILL NOT BOOT AFTERWARDS!
Check and make sure you put the files in the right place.
build.2.2
&
build.2.1
go in
build.prop FOLDER ON YOUR SDCARD
that was the only reason I got the error, i deleted the files off my card when i was testing the flashable update.
If you still get an error. open both files in the gscript folder, and remove or comment out the reboot line. Then tell me what error you get in gscript.
So I did this and am able to see the new apps. When I reboot the phone I cannot see a bunch of old apps in my launcher. I revert to the normal script and reboot again and still cannot see a bunch of my apps. Appbrain says theyre installed and I can open them from there but no widgets or shortcuts for them Any Ideas?
r0adki111 said:
So I did this and am able to see the new apps. When I reboot the phone I cannot see a bunch of old apps in my launcher. I revert to the normal script and reboot again and still cannot see a bunch of my apps. Appbrain says theyre installed and I can open them from there but no widgets or shortcuts for them Any Ideas?
Click to expand...
Click to collapse
Are those apps moved to the SD by any chance? If so, best bet is to go to Settings>Applications>Manage Applications>Find your launcher, and force stop it. Should work after that.
dictionary said:
Are those apps moved to the SD by any chance? If so, best bet is to go to Settings>Applications>Manage Applications>Find your launcher, and force stop it. Should work after that.
Click to expand...
Click to collapse
Nope they're not on SD. I'll try the fc of launcher.
Ok it worked thank you! but my xiia widget still is not back and I'm assuming others. Anything I can do for the widgets?
Ok installed and reinstated the app. Works great thx again.
Update:
Ok after another reboot, apps don't show again. FC the launcher they come back but not the widgets.. Grrrrrr...
I put this in the Q&A but it is really a dev question so....
No bashing please, Im just asking for help
-download dsixda's Kitchen
http://forum.xda-developers.com/showthread.php?t=633246
-install/setup the kitchen
-cd to kitchen directory and type ./menu
-type 1 'setup working folder from ROM' and enter, choose the rom you want to port
-when you get back to the menu type 0 for advanced options and choose '19-porting tools', type a for 'port from another device, then move a rom made for the eris and the rom you want to port to the /kitchen/original_update/ directory, and follow the kitchen's prompts.
-once you completed the previous step, open up build.prop located at /kitchen/WORKING_XXXXXX_XXXXXX/system/build.prop and change the name of the device to desirec or eris (Ex. ro.product.device=desirec), and the carrier to Verizon (unless its a rom from a gsm phone, then you have more things to do). After that do the same thing for the update-script at /Kitchen/WORKING_XXXXXX_XXXXXX/META-INF/com/google/android/update-script.
-after that is done go back to the kitchen, hit 0 for advanced settings, type 20 for unpack or repack a boot.img, type w to extract ramdisk, then go to /kitchen/BOOT-EXTRACTED/boot.img-ramdisk/ and change init.heroc.rc (or whatever the devices name is) to init.desirec.rc
-finally get desirec-keypad.kcm.bin, desirec-keypad.kl, and sensors.desirec.so from an eris rom at /system/usr/keychars, /system/usr/keylayout/ and /system/lib/hw respectively, and copy them to the same location in your working folder.
-now go back to the kitchen, type 99, it will build an update.zip that you can flash of your ported rom
homewmt said:
-download dsixda's Kitchen
http://forum.xda-developers.com/showthread.php?t=633246
-install/setup the kitchen
-cd to kitchen directory and type ./menu
-type 1 'setup working folder from ROM' and enter, choose the rom you want to port
-when you get back to the menu type 0 for advanced options and choose '19-porting tools', type a for 'port from another device, then move a rom made for the eris and the rom you want to port to the /kitchen/original_update/ directory, and follow the kitchen's prompts.
-once you completed the previous step, open up build.prop located at /kitchen/WORKING_XXXXXX_XXXXXX/system/build.prop and change the name of the device to desirec or eris (Ex. ro.product.device=desirec), and the carrier to Verizon (unless its a rom from a gsm phone, then you have more things to do). After that do the same thing for the update-script at /Kitchen/WORKING_XXXXXX_XXXXXX/META-INF/com/google/android/update-script.
-after that is done go back to the kitchen, hit 0 for advanced settings, type 20 for unpack or repack a boot.img, type w to extract ramdisk, then go to /kitchen/BOOT-EXTRACTED/boot.img-ramdisk/ and change init.heroc.rc (or whatever the devices name is) to init.desirec.rc
-finally get desirec-keypad.kcm.bin, desirec-keypad.kl, and sensors.desirec.so from an eris rom at /system/usr/keychars, /system/usr/keylayout/ and /system/lib/hw respectively, and copy them to the same location in your working folder.
-now go back to the kitchen, type 99, it will build an update.zip that you can flash of your ported rom
Click to expand...
Click to collapse
Wow thank you! I have messed with the kitchen before but it all seemed kinda confusing when it came to porting
Completely off-topic but, wow, another Nikolai in this forum
NikolaiT said:
Completely off-topic but, wow, another Nikolai in this forum
Click to expand...
Click to collapse
ten char
Look at Froyolicious and SgShultz. I laid out the steps that I took to get them to where they are. The links are in my sig.
And this one -
http://forum.xda-developers.com/showthread.php?t=723319
gnarlyc said:
Look at Froyolicious and SgShultz. I laid out the steps that I took to get them to where they are. The links are in my sig.
And this one -
http://forum.xda-developers.com/showthread.php?t=723319
Click to expand...
Click to collapse
What happens if i port a rom and the wifi doesnt work?
Nikolai2.1 said:
What happens if i port a rom and the wifi doesnt work?
Click to expand...
Click to collapse
The most common issue is that you have the wrong wlan.ko. You need to have the wlan.ko that is compiled against the kernel that you are using. You can also look in build.prop and make sure you are assigning the correct interface. There are also some wpa_* and dhcp* setting in the init.desirec.rc (in the ramdisk part of the boot.img) that might mess you up. I have had one instance where I could never get it working. Apparently, more than one of us is having the same issue right now. Hopefully, someone will figure that out.
I always use WinMerge to compare build.prop, init.devicenamehere.rc, and init.rc to stock Eris versions to try and catch settings that I would miss otherwise. And then rename init.devicenamehere.rc to init.desirec.rc.
gnarlyc said:
The most common issue is that you have the wrong wlan.ko. You need to have the wlan.ko that is compiled against the kernel that you are using. You can also look in build.prop and make sure you are assigning the correct interface. There are also some wpa_* and dhcp* setting in the init.desirec.rc (in the ramdisk part of the boot.img) that might mess you up. I have had one instance where I could never get it working. Apparently, more than one of us is having the same issue right now. Hopefully, someone will figure that out.
I always use WinMerge to compare build.prop, init.devicenamehere.rc, and init.rc to stock Eris versions to try and catch settings that I would miss otherwise. And then rename init.devicenamehere.rc to init.desirec.rc.
Click to expand...
Click to collapse
Wow thanks alot! I will use all this if I ever decide to port something. Lol I was gonna try porting that 2.2 Sense Rom, but it looks like 2 people with experience beat me to it
Nikolai2.1 said:
Wow thanks alot! I will use all this if I ever decide to port something. Lol I was gonna try porting that 2.2 Sense Rom, but it looks like 2 people with experience beat me to it
Click to expand...
Click to collapse
You should still try, even if you don't release it to the public. I have several ROMs that no one has ever seen but me. It's a good way to learn, and I find that it is easier to please me than me + other people. That's not necessarily a good thing, because I wind up not fixing things that I should.
I would like to add something that I have recently learned about the wifi issues. Apparently, in the past, some devs have had success with hex editing any references to the wifi driver that are in libhardware_legacy.so to make them point to wlan.ko instead of whatever driver the ROM has. So far, this hasn't worked with the 2.2 Sense as far as I know, but it's something else to add to the list.
Well I tried porting an Aria Rom, but when i flashed it, it failed..
I dont mean to resurrect a dead thread that i created, but i cant port anything to save my life. GSM or CDMA (in fact, how do you port a GSM rom?)
Help?
Want to keep the phone as close to stock and do my own mods n work.. So can anyone point me in this direction? I haven't found anything on it..
shelooga said:
Want to keep the phone as close to stock and do my own mods n work.. So can anyone point me in this direction? I haven't found anything on it..
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=633246
dont let all the text scare you away easily, it is quite simple to use and easy to get a hang of.
magneticzero said:
http://forum.xda-developers.com/showthread.php?t=633246
dont let all the text scare you away easily, it is quite simple to use and easy to get a hang of.
Click to expand...
Click to collapse
Was hoping I could do it at work right over the phone.. Oh well, new project for tonight. Thanks!!
i cannot get this to work. my cygwin will not open. it flashes a command prompot box for a split second each time i try to open the shortcut.
any other ways to deodex the tb without using android kitchen? i just cant get it to go smoothly. i remember using (incorrectly) a program similar to this when playing around with my droidx.
Apktool and something else...much more involved. I will let you know when i find the info
Smali/baksmali. But i think the kitchen is the easiest and quickest way to deodex your own rom....such a useful tool imo
magneticzero said:
Apktool and something else...much more involved. I will let you know when i find the info
Smali/baksmali. But i think the kitchen is the easiest and quickest way to deodex your own rom....such a useful tool imo
Click to expand...
Click to collapse
Think it was apktool. Ill keep plugging away when I get home
My cygwin won't open for more than a split second when I double click the shortcut. Any ideas?
i have no idea about VM's, I have a linux box
shelooga said:
Think it was apktool. Ill keep plugging away when I get home
My cygwin won't open for more than a split second when I double click the shortcut. Any ideas?
Click to expand...
Click to collapse
You didn't install it correctly.
The install defaults to the unzipped folder. You need the folder inside the unzipped folder.
Run the install again, and this time when it wants the path to the packages, browse to the folder inside the folder you unzipped to.
The folder inside the unzipped folder has the same name..... cygwin_packages
well i finally have the command prompt open. but im totally lost form here. ive extracted the kitchen files to my home, ive ran 'cd nameofmyfolder', ive ran ./menu. i get nothing. no such file or directory. im getting really pissed
shelooga said:
well i finally have the command prompt open. but im totally lost form here. ive extracted the kitchen files to my home, ive ran 'cd nameofmyfolder', ive ran ./menu. i get nothing. no such file or directory. im getting really pissed
Click to expand...
Click to collapse
you may have to chmod +x the menu so your linux os can execute it
magneticzero said:
you may have to chmod +x the menu so your linux os can execute it
Click to expand...
Click to collapse
typed 'chmod +x' and got chmod: missing operand after '+x'
im totally new to linux. or this emulator; whatever the kitchen is.
ive tried placing a 399mb pg05img file i used to root the phone through adb. nothing
tried putting up the system.img and boot.img from a backup i made of my rooted bloated phone to the original update folder too.
c:\cygwin\home\kitchen\original_update is where i put it, like the post says.
so if the kitchen starts and seemingly works, why cant it pick up on these files
shelooga said:
so if the kitchen starts and seemingly works, why cant it pick up on these files
Click to expand...
Click to collapse
having the android files doesnt matter if the kitchen works or not. you will have to import the android files while in the kitchen.
not really sure how else to go about this, never done it this way, maybe someone else can chime in.
**just thinking in my head atm... you are root(command: su , then input your password(you will know when the command prompt changes) just wondering
yea i appreciate the help anyway. im going to try with the leaked stock package and see how that goes
Is your Home folder in the Cygwin folder?
In your Home folder is there another folder with your name on it?
That's where Kitchen goes.
Start Cygwin from the batch file in the Cygwin folder, cd to Kitchen, then enter the ./menu command
I put my system.img and boot.img from a nandroid backup i made in the original update_folder and it worked perfectly.
dave8311 said:
Is your Home folder in the Cygwin folder?
In your Home folder is there another folder with your name on it?
Thats where Kitchen goes.
Start Cygwin from the batch file in the Cygwin folder, cd to Kitchen, then enter the ./menu command
Click to expand...
Click to collapse
that would make sense.
i tried extracting the kitchen file to home, i tried extracting it to home/erich. it is not going. i just keep getting no such file or extension
shelooga said:
i tried extracting the kitchen file to home, i tried extracting it to home/erich. it is not going. i just keep getting no such file or extension
Click to expand...
Click to collapse
Put the kitchen zip file in the "erich" folder, right click on it and choose "extract here"
.. then open cygwin and after the $ type 'cd erich' right? It's not working still for me
shelooga said:
.. then open cygwin and after the $ type 'cd erich' right? It's not working still for me
Click to expand...
Click to collapse
Nope.
cd kitchen
then....
./menu
bash: cd: kitchen: no such file or directory
man i am so sick of seeing that message. i cant tell you how many times ive deleted it all and redownloaded the files. or bash: cd: erich
ive tried so many combos of unzipping the kitchen and putting my rom in it and rezipping and unzipping back into cygwin home its crazy. so much wasted time
Is there a way to get this without rooting/custom rom? Much appreciated if someone could give me step-by-step instructions as I'm still a noob.
BestInGalaxy said:
Is there a way to get this without rooting/custom rom? Much appreciated if someone could give me step-by-step instructions as I'm still a noob.
Click to expand...
Click to collapse
You need to be rooted and deodexed at a minimum. Stock roms out there that just deodex and root with no other changes. Reason is you need CWM to flash the modified framework-res which would be easiest since your not used to all of this. Also deodexed is a must in order to theme roms.
Here is rough instructions if your on stock rom with root and is deodexed:
First download APK Multi Tool and extract it to a folder on your desktop
Download APK Multi Tool
Download Notepad++ google for the download
Download this update.zip from my ICS theme.
Open the Multi Tool folder and open folder Place-apk-for-modding-here.
Next open the ZIP for the rooted/deodexed ROM your running. Browse to System > Framework and drag framework-res.apk from the ZIP to the Place-apk-for-modding-here folder.
Now in go one folder to the main folder of Multi-tool and click script.bat at the bottom of the folder. It will open a cmd prompt click continue to bring up the menu.
Type in option 25 and hit enter.
Type in 1 hit enter(you've selected framework-res)
Now type in 9 and hit enter to decompile. Give it a few minutes when your back at main menu and its waiting for input minimize the cmd prompt(do not close it).
Open projects folder then browse in this order framework-res.apk > res > values. In values folder open bools.xml with notepad++.
With bools.xml opened in Notepad++ browse to Line 16: it should look like this:
<bool name="config_animateScreenLights">true</bool>
Click to expand...
Click to collapse
Change from true to false and save XML.
Now open Multi apk cmd prompt type in 11 and hit enter. Give it a few you will be asked if its a system apk input Y then hit enter. Next screen input Y and hit enter. Let it do its thing and you will see a small paragraph stating pretty much delete what you've changed and delete resources.arsc if you've edited an XML.
Anyhow dont hit any keys leave that paragraph up for the moment. Minimize cmd prompt then get to main folder of Apk multi tool you will see a keep folder. Inside the folder delete only Resources.arsc then pull back up CMD prompt. Hit any key let it finish up.
Now minimize cmd prompt and go back into Place-apk-for-modding-here folder you will see unsignedframework-res.apk.
Delete original framework-res.apk and rename the unsignedframework-res.apk to framework-res.apk.
Open the ZIP package you downloaded from my theme browse to System > framework.
You will see only framework-res.apk in there drag the modded one you just did into there and then drag this zip to your SDCARD and flash from CWM.
What in the world... my head hurts LOL. Um what does deodexed mean and how do I know I'm "deodexed"?
BestInGalaxy said:
What in the world... my head hurts LOL. Um what does deodexed mean and how do I know I'm "deodexed"?
Click to expand...
Click to collapse
Google sir. That is a step by step I typed up. I recommend ignoring it until you learn more about the phone though.
Sent from my SAMSUNG-SGH-I777 using xda premium
K, I'm willing to learn. Uh, let's start with baby steps, lol. If I root my device, will I be able to update to ICS 4.0 when it becomes available?
In short, yes. There are other threads that answer that fully.
You will always be able to take your phone 'back' to stock like it was when you first got it, to be able to install ICS from At&t.
Though you will be able to install ICS before it is released from At&t by installing a custom rom. It's not a possibility, it's a fact. Just be patient.
Sent from my SAMSUNG-SGH-I777 using XDA App
jivy26 said:
You need to be rooted and deodexed at a minimum. Stock roms out there that just deodex and root with no other changes. Reason is you need CWM to flash the modified framework-res which would be easiest since your not used to all of this. Also deodexed is a must in order to theme roms.
Here is rough instructions if your on stock rom with root and is deodexed:
First download APK Multi Tool and extract it to a folder on your desktop
Download APK Multi Tool
Download Notepad++ google for the download
Download this update.zip from my ICS theme.
Open the Multi Tool folder and open folder Place-apk-for-modding-here.
Next open the ZIP for the rooted/deodexed ROM your running. Browse to System > Framework and drag framework-res.apk from the ZIP to the Place-apk-for-modding-here folder.
Now in go one folder to the main folder of Multi-tool and click script.bat at the bottom of the folder. It will open a cmd prompt click continue to bring up the menu.
Type in option 25 and hit enter.
Type in 1 hit enter(you've selected framework-res)
Now type in 9 and hit enter to decompile. Give it a few minutes when your back at main menu and its waiting for input minimize the cmd prompt(do not close it).
Open projects folder then browse in this order framework-res.apk > res > values. In values folder open bools.xml with notepad++.
With bools.xml opened in Notepad++ browse to Line 16: it should look like this:
Change from true to false and save XML.
Now open Multi apk cmd prompt type in 11 and hit enter. Give it a few you will be asked if its a system apk input Y then hit enter. Next screen input Y and hit enter. Let it do its thing and you will see a small paragraph stating pretty much delete what you've changed and delete resources.arsc if you've edited an XML.
Anyhow dont hit any keys leave that paragraph up for the moment. Minimize cmd prompt then get to main folder of Apk multi tool you will see a keep folder. Inside the folder delete only Resources.arsc then pull back up CMD prompt. Hit any key let it finish up.
Now minimize cmd prompt and go back into Place-apk-for-modding-here folder you will see unsignedframework-res.apk.
Delete original framework-res.apk and rename the unsignedframework-res.apk to framework-res.apk.
Open the ZIP package you downloaded from my theme browse to System > framework.
You will see only framework-res.apk in there drag the modded one you just did into there and then drag this zip to your SDCARD and flash from CWM.
Click to expand...
Click to collapse
Wow that's one hell of a step by step, and here I was Modding apks in 7zip
sent from the Dark Obelisk.
You're good Jivy26
hey there Jivy.. i'm a Sensation noob, but all was going too well with your step by step process parameter, untill i got the following error
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
'java' is not recognized as an internal or external command,
operable program or batch file.
am i missing something?????
d.durrani said:
hey there Jivy.. i'm a Sensation noob, but all was going too well with your step by step process parameter, untill i got the following error
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\SUMICO\Downloads\Apk_Multi-Tool_Alpha_02\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
'java' is not recognized as an internal or external command,
operable program or batch file.
am i missing something?????
Click to expand...
Click to collapse
Do you have java installed on your computer?
Sent from my GT-I9100 using Tapatalk
How to modify your framework-res.apk
There are plenty of "How-to's" out there that I've seen for modifying the framework-res.apk. I've tried probably 20 of them...all resulted in getting stuck in a bootloop. Finally figured out a method that works.
Here goes:
THIS IS FOR LINUX BASED USERS
Go to www.jokersax.com and grab my tool.zip under Th3Bill Mods
Extract it in your HOME folder
Inside it you will find 2 versions of apktool. There is a good reason for that, which you will see later.
You also need a good xml editor like Editra (available in most distros packages)
Need an archive manager as well (I recommend File Roller)
[COLOR="green"[B][U]]Initial Setup:[/U][/B][/COLOR][/SIZE]
[SIZE="3"]1) Open your Home folder and select to show hidden files
2) Open your .bashrc file
3) Add the following lines to the bottom of the file
export PATH=${PATH}:~/bin
export PATH=${PATH}:~/tool/reg
export PATH=${PATH}:~/tool/ics
Then save the file
4) Open your .profile file
5) Add the following line to the bottom of the file
PATH="$HOME/tool/ics:$HOME/tool/reg:$PATH"
Then save the file.
Now, on to editing
1) Navigate to the framework folder that your framework-res.apk is in.
2) Open a terminal
3) Type in "reg if framework-res.apk" no quotations and press Enter
4) Type in "reg d framework-res.apk" no quotations and press Enter Now minimize terminal (you'll use it later)
5) You should see in your file manager the folder called framework-res. This is your decompiled framework-res.apk
6) Make your edits. be careful....this file controls a TON of things in your system, and you can make some major problems for yourself if you edit things incorrectly.
7) Once your edits are done, go back to your terminal session
8) Type in the following "ics b framework-res" no quotations (where *username* is your account username) and press Enter.
9) It should recompile correctly. You'll have a framework-res.apk in the /framework-res/dist folder. DO NOT USE THIS ONE WILL CAUSE BOOTLOOPS!!
10) Open it with an archive manager and extract the resources.arsc as well as any files you edited in the xml folder.
11) Go back to your ORIGINAL framework-res.apk and open (not extract) it in your archive program
12) Add in the files you extracted from the edited framework-res.apk, placing them in the appropriate folders
13) You're done!
Cheers!
P.S. If you get a recompile error that mentions plurals, you have some work to do. Go to the values folders one at a time and look for the plurals.xml files. You will see a bunch of entries....scroll all the way down till you see a section that looks like this:
<plurals name="matches_found">
<item quantity="other">%d of %d</item>
<item quantity="one">1 match</item>
you need to edit this section to look like this:
<plurals name="matches_found">
<item quantity="other">%1$d of %2$d</item>
<item quantity="one">1 match</item>
This must be done for EACH plural.xml file...placing 1$ behind the first % and 2$ behind the second one. Save each as you go. Then recompile, and you should be good to go.
HOW TO LOGCAT PROPERLY
Here's how to logcat so that a dev can actually help fix your issue
SETUP
1) Download Android SDK from HERE
2) Place it directly in your HOME folder
3) Extract the file there and rename the folder android-sdk
4) Go to the platform-tools folder and double-click android
5) Download at least the tools and platform-tools. You can download other stuff, but that's unnecessary for this exercise.
6) Close SDK when it's done
Now to LOGCAT
1) Navigate to the /platform-tools folder.
2) Open a terminal
3) Type in either A or B depending on your system
A) (works on Ubuntu derivatives)
sudo ./adb kill-server
sudo ./adb start-server
B) (Suse, Fedora, etc)
su
(enter your password)
./adb kill-server
./adb-start-server
Now, the server should be running....leave it open!
4) Plug your phone into the PC (making sure that if it's ON, that you have android debugging enabled...or the proper edit in build.prop listed below)
5) If your phone is OFF(meaning you can't get it to boot from a rom/mod you did), follow A). If your phone is ON (meanint working but has a FC somewhere), follow B)
A) Type into the terminal the following
./adb logcat -C
and press enter. Should say waiting for device. Turn on your phone. When it gets to a section where you see a large amount of red pass by on the screen (like 8-10 lines), go to step 6
B) Be sure to turn off ALL apps that are NOT related to your FC (this makes it nice and neat for us to read the logcat)
Open terminal and type in the following
./adb logcat -C
and press enter. You should see it start to log stuff...it'll be going by really fast...don't worry about that right now.
NOW, do whatever it is that fcs (open the app, process, etc) and wait for it to FC. When it does, go to step 6
6) With the Terminal being your primary window in the PC, Press Ctrl +Z. This will stop the logcat output
7) Search through the logcat for the section with all the red (you'll see a bunch of E's). Don't cut this up on us...we may need some of the other info
8) Select about 30-40 lines ABOVE the red error section through about 10-20 lines AFTER the error section
9) Paste this into Pastebin. Please don't send us this in an e-mail...it just looks a hot mess that way.
10) Link to the Dev.
CHEERS!
Blank flashable zip
For all of you out there wanting to flash an app or framework file, here is a flashable zip that is blank. It contains instructions inside it, so PLEASE
READ THE FILE LABELED "READ ME FIRST!!!!"
This will make a simple process of flashing the items you want to flash.
CHECK POST 8 FOR CORRECTED INFORMATION
Any questions...ask me
Could we use this to turn our phones into a space/time bending machine??
Lol jk. Thanks for the information and flash able zip!!!
Sent from my MB855 using XDA
tsdeaton said:
Could we use this to turn our phones into a space/time bending machine??
Lol jk. Thanks for the information and flash able zip!!!
Sent from my MB855 using XDA
Click to expand...
Click to collapse
Don't I wish...or an intelligence enhancer...LOL
Glad to share
th3bill said:
don't i wish...or an intelligence enhancer...lol
glad to share
Click to expand...
Click to collapse
lmao! +1476930593
Bad ass thread buddy thanks for the how to's and blank flash zips these will surely come in handy....
MIUI/ICS for the Photon
http://forum.xda-developers.com/showthread.php?t=1536161
For deodexed I'm guessing.
Th3Bill said:
For all of you out there wanting to flash an app or framework file, here is a flashable zip that is blank. It contains instructions inside it, so PLEASE
READ THE FILE LABELED "READ ME FIRST!!!!"
This will make a simple process of flashing the items you want to flash.
If you wish to flash other items, you simply need to make sure that the item you want is in the folder it would be in within your phone, so if you want something to go into /system/lib, make sure that you create a folder /lib inside the /system folder in the zip and put the file inside that folder.
Any questions...ask me
Click to expand...
Click to collapse
Also, I should add that I forgot something in the explanation for this file. Wherever you are putting the file you're flashing (app, framework), you will need to adjust the permissions portion of the updater-script to show that file. Otherwise, you will set your entire /system to those permissions and you will get wonderful boot-loops
So, for app Music.apk, that line would look like:
set_perm(0, 0, 0755, 0644, "/system/app/music.apk");
Here is the updated file with the corrected instructions inside it Sorry for any issues fellas!
Blank CWM2.zip
Go to the site to download the file
Cheers!
TOOLS
Who doesn't love tools?
I've seen a lot of confusion over which versions to use for decompiling. Magic values being off with the current version of Android being pushed to 4.0.4.
Here's a helpful little tool kit. Disclaimer: It's for Linux based systems(save for the Androidsuite). I will try to find all these for Windows at some point, but with MIUI for Photon and Atrix, CNA for Photon, and Kitchen Sinks for both Photon and Atrix, I'm spread a little thin for some of these how-tos. I will post more soon once Kitchen Sink is Beta.
Tool.zip
Go to the site and download the file.
There's a small file inside with an explanation of each tool. NOTE: I put that Android suite works in Wine. It does not. It will OPEN and look like it might work, but does not recompile or decompile anything. It's a windows only wonder...LOL
Is there any way you'd be able to write up a How-To on how to use Diff/Patch in the laments terms, with Android specific type files directions cuz I'm trying to figure it out but since all the info I find is for applying it to everything other than Android. I'm on a mac and have it all setup correctly but I fk shyt up cuz I lose a step or something.
By the way, thanks for this How to also. Awesome.
MoPhoACTV Initiative
moonzbabysh said:
Is there any way you'd be able to write up a How-To on how to use Diff/Patch in the laments terms, with Android specific type files directions cuz I'm trying to figure it out but since all the info I find is for applying it to everything other than Android. I'm on a mac and have it all setup correctly but I fk shyt up cuz I lose a step or something.
By the way, thanks for this How to also. Awesome.
MoPhoACTV Initiative
Click to expand...
Click to collapse
What are you trying to do? You looking to do rom porting? Try to change some features? Change colors in a menu? Need a bit more info. Depending on what you're wanting to do will determine what the steps will be.
Idiots guide to porting ROMs for Photon, now THAT would be great. Sure it'd be a PITA and 3/4 to make though lol, great work on keeping up this how-to thread and all your ROM work!
w0lf215 said:
Idiots guide to porting ROMs for Photon, now THAT would be great. Sure it'd be a PITA and 3/4 to make though lol, great work on keeping up this how-to thread and all your ROM work!
Click to expand...
Click to collapse
<<<[----RECOGNIZED CONTRIBUTOR now
I feel bad that I haven't written more "how to's" in a while, but with 6 downloads I'm currently doing (MIUI Photon, MIUI Atrix, CNA Photon, Kitchen Sink Photon, Kitchen Sink Atrix, TabletUI Photon), I'm being spread pretty thin....LOL. It's all good. I love doing this stuff.
I promise to write more of these as I get a chance. I like to have more people help with stuff.
Th3Bill said:
<<<[----RECOGNIZED CONTRIBUTOR now
I feel bad that I haven't written more "how to's" in a while, but with 6 downloads I'm currently doing (MIUI Photon, MIUI Atrix, CNA Photon, Kitchen Sink Photon, Kitchen Sink Atrix, TabletUI Photon), I'm being spread pretty thin....LOL. It's all good. I love doing this stuff.
I promise to write more of these as I get a chance. I like to have more people help with stuff.
Click to expand...
Click to collapse
I noticed that a little while ago, Congrats on the new title thats whats up.
btw check your pm
moonzbabysh said:
I noticed that a little while ago, Congrats on the new title thats whats up.
btw check your pm
Click to expand...
Click to collapse
Check yours...got a book in there for ya...LOL
Updated OP How Tos.....Framework-res edit and Logcatting
Th3Bill said:
Updated OP How Tos.....Framework-res edit and Logcatting
Click to expand...
Click to collapse
Just setting up on pc. Ready to try this. You may be hearing from me! LOL