[Q] Creating a theme for a stock phone + root - Captivate Q&A, Help & Troubleshooting

Is it possible? Since to gain access to the frameworkres.apk root is required, is it possible to just copy it, mod the apk and then reapply it without having CWM installed and needing a zip file to flash it?

the problem is that you need to deodex the rom. if you do that, yes, you can theme it without flashing anything
learn how to use ADB

Even to do just an image swap in the apk it needs to be deodexed? Do I need ADB to deodex it?

jonnyg1097 said:
Even to do just an image swap in the apk it needs to be deodexed? Do I need ADB to deodex it?
Click to expand...
Click to collapse
Based on this question I am going to suggest you do some reading.
Sent from my atrix

Related

[Q] Kitchen - problem flashing

i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
marchking said:
i have tried to modify the froyobylaszlo by removing a couple of system/app
and put my own apps
after that i tried to flash it but i had some errors im not familiar with
hope someone could help me out
im attaching the recovery.log files
EDIT: btw im a complete idiot hahaha... im just starting out
Click to expand...
Click to collapse
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
maximo360 said:
which apps did u place in system apps?
did u remove the apps fromm data/app as well?
Click to expand...
Click to collapse
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
marchking said:
yeah i think only 1 app is there in data/app = gallery i think i removed that thinking that it was the gallery3d
i changed the launcher and a couple of things in the system/app
are there limitations of which apps that i could put there...
btw is it ok if i change the updater-script to update-script?
or i shouldnt have change that... the kitchen was requesting to change it
Click to expand...
Click to collapse
You should just do what LDrifta said if your still having problems.
OH and regarding the update-script, heres your answer straight from the op of the kitchen:
QUESTION: Why do I need to convert the ROM's updater-script to an update-script when using the kitchen?
The kitchen can only perform operations on an update-script. UpdateR-scripts are too complicated to check because there are so many combinations of parameters for every command and for different devices; plus they can be written in different formatting styles. Thus the kitchen converts them to update-script so that there is one universal method to modify any device's configuration. If we didn't convert the updater-script then it would take months of work to overhaul the dozens of scripts (plus doubling my work) to accept updater-scripts, which would really NOT make a difference in the end anyway and would likely slow down the kitchen due to extra checks made in the updater-script. So please do not request this again and again, there is no gain in doing it (I also don't have that much free time ...).
When you build the ROM you have the option of converting it back to an updater-script, or the kitchen will convert it automatically if it decides it's necessary. The conversion back to the original updater-script is near-perfect, as I have already spent months on the implementation to get it right.
QUESTION: I have converted my update-script to an updater-script, but after flashing I still have the original ROM on the device.
That means your updater-script did not have the proper mount points defined for the system (and/or data) partition. Refer to this post for more info.
QUESTION: My device only supports ROMs with the updater-script/update-binary files but not the update-script
If you extract a ROM that contains an updater-script, then the kitchen will ask you if it should convert it to an update-script. You *must* use an update-script while customizing the ROM, as the kitchen is not capable of modifying updater-scripts. When you are ready to build the ROM, though, you will need to convert it back to an updater-script if the device requires it. Use the option in the Advanced menu to convert update-script to updater-script, or else the kitchen will ask you to convert it while building the ROM.
Click to expand...
Click to collapse
ldrifta said:
hey if you are only removing some apk's you dont need kitchen.. just unzip file.. take out what you want than re-zip and than Sign it! should be able to flash no problem
Click to expand...
Click to collapse
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
ok well depending on what apk's you are putting in.. if they are system required like a sense app.. it wont work on a froyo base rom.. but if its something like superuser or mail or something and is compatible with your rom than put it in system/app folder.. if its something that you want the choice to uninstall later on like a 'task killer' apk or something, place it in data/app folder..
and to sign it you dont need kitchen, you can download an auto-sign.zip file for windows here on xda.. all you do is unzip it directly to C: drive, place zip file in filder rename it to 'update.zip' than run the 'sign.bat' and it will sign the zip file. than you can flash it
marchking said:
ok... so im also adding a few apks at the system/app what you suggested will that still work?
btw
just to clarify, i unzip, then remove the apks
then zip it again
then i put it in the kitchen to get signed?
Click to expand...
Click to collapse
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
maximo360 said:
did u do this on Kitchen?
If you want to add Market or non-stock apps (*.apk) to your ROM (which can be uninstalled or updated from your device later) then select the kitchen's menu option that adds "/data/app functionality". Afterwards you can copy these .apk files to the new /data/app folder of your working folder.
EDIT; After your done adding/deleting all the apps, dont forget to use the sign apk command to sign.
Click to expand...
Click to collapse
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
marchking said:
would apps from a 2.2 hero would work? they have a mdpi format???
or do you think i will encounter lots of problems? ^_^
Click to expand...
Click to collapse
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
maximo360 said:
Which kind of apps? Like sense apps? I guess they might work, try it out, make a nand backup first tho.
Sent from my COS-DS using XDA App
Click to expand...
Click to collapse
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
marchking said:
its actually system/app from miui ported to mdpi...
i was able to flash it but its going into a bootloop...
im not sure how to gather logcat... i dont use adb hahaha...
i only use droid explorer... anyways
i checked the logcat console while it was on the bootloop
it appears to me that the apps that i used is not signed...
any suggestions?
Click to expand...
Click to collapse
sign them using the sign apk/zip command in the kitchen
maximo360 said:
sign them using the sign apk/zip command in the kitchen
Click to expand...
Click to collapse
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
marchking said:
i signed them that seemed to be one problem... based on what im seeing on the logcat it seems now its having lots of problems while installing... FYI im trying to make a miui ported from nexus 1 to hero... trying to make it run on froyo by laszlo... i think there is much more complications here not as easy as i think it would be... but i like challenges ^_^ do you have any idea how we could do this maximo? try checking this link http://forum.xda-developers.com/showthread.php?t=858935
Click to expand...
Click to collapse
I read the thread, and he said he dropped some of the phones he was porting miui for, he was still doing the eris/hero. So seems to me he maybe dropped the g1, not sure tho. I guess you're gonna have to wait til either delsa is done porting it to the g1 or drakko.
Sent from my COS-DS using XDA App

Need help replacing a single file in system folder

Hi guys,
I tried a fix for GPS for v20l that can be found here:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
This got me into a bootloop...
Can anybody help me and create a zip update to install via clockworkmod with the services.jar I backed up?
services.jar: http://www.mediafire.com/?b7ib6q8z4fa0z5z
Is there any other way to replace it manually in clockworkmod?
thnx
Dkzs said:
Hi guys,
I tried a fix for GPS for v20l that can be found here:
http://forum.xda-developers.com/showpost.php?p=19002334&postcount=41
This got me into a bootloop...
Can anybody help me and create a zip update to install via clockworkmod with the services.jar I backed up?
services.jar: http://www.mediafire.com/?b7ib6q8z4fa0z5z
Is there any other way to replace it manually in clockworkmod?
thnx
Click to expand...
Click to collapse
Here, attached. The file on mediafire is larger than "my" stock services.jar though, don't know what that is about.
Anyway, flash it via CWM, wipe dalvik-cache, and you should have your original back.
Now that I've done you a favor, you can do me one: Look up ADB on the .net. Even on an unrooted phone you can boot into CWM, mount /system and run ADB-commands to replace single files like this. It will probably save you some time.

[Q] Help please...changed LCD density and now in boot loop. Can't ADB push...

Hi All
I'm running the stock Jelly Bean (4.1.2) on my Note which is rooted.
I changed the LCD density by editing the build.prop after reading changing it to 213 would make it like the Nexus 7 interface. However, I'm now in a boot loop.
I have a copy of the original build.prop but I can't adb push it to my Note because I get a permissino denied error. If I try to adb root it tells me I can't do it on production builds and remount tells me the operation is not permitted.
Any chance this can be sorted without me having to flash the ROM again?
thanks in advance
EDIT: I originally flashed the ROM with Mobile Odin Pro and injected root. I don't really want to flash the ROM again as I'd lose root. I have the backup build.prop on my hard drive and also on the external CD card in my Note. Can I use adb shell / su / mount to copy it over?
I dont know about adb, there is cwm flashable zip thought in which you can put the buildprop you want to flash.
Best to use romtoolbox for changing dpi, that one is pretty safe. if you have two entries in buildprop chsnge both to desired density.
baz77 said:
I dont know about adb, there is cwm flashable zip thought in which you can put the buildprop you want to flash.
Best to use romtoolbox for changing dpi, that one is pretty safe. if you have two entries in buildprop chsnge both to desired density.
Click to expand...
Click to collapse
Thanks for the info, but I' have stock recovery so wouldn't be able to flash that, would I?
Is another option making my own update.zip and having my restored build.prop in there?
then you are probably right with adb. Not sure if it requires root.
I know of no other way myself, cant help you there, short of what you said reflashing entire rom
download PhilZ Touch 3.0 Recovery and AROMA Filemanager and place it on external SD
CWM touch Philz http://forum.xda-developers.com/showthread.php?t=1927097
Aroma File manager
http://forum.xda-developers.com/showthread.php?t=1646108
Use this PhilZ Touch 3.0 Recovery to be flashed from stock recovery then flash the Aroma file manager. now you will have a recovery file manager. now replace the build.prop with the backed up one, fix permissions and reboot.
Good luck
Thanks Nokia, I'll have to remember that one
Oh well. i had done the mistake of changing the build.prop using root explorer and the phone never booted up.. so ...

[Q] Odex rom from pc.

Hey guys,i didnt find a tutorial so i will ask you here.How can i download a rom and odex it from pc before i flash it?Because its not easy to odex every rom i download with universal odex script.Im too lazy to do this(and many times terminal print errors and i have to do this again).I know it could be happen cause many of you create roms and upload which already are odexed!Thanks guys for your help!
I found solution from alin.p. So here is a nice tutorial:
You have to flash it de-odexed first, then odex whatever part of your system you want with the Universal Odex Script which you'll find in the Mini forums, then extract the odex files from:
1. /system/app if you odexed system apps
2. /system/framework if you odexed the bootstrap or the framework
Put the extracted files inside the zip in the appropriate folders.
A little warning here: even a single (no matter how little) change inside the framework code, will break the whole ROM if it is odexed.
where do i find the script need it link please
[email protected] said:
where do i find the script need it link please
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2527268

how to change Navigation Bar dpi?

I Edit the framework-res.apk\res\values\dimens.xml but it has keep rebooting
a546109781 said:
I Edit the framework-res.apk\res\values\dimens.xml but it has keep rebooting
Click to expand...
Click to collapse
go here:
http://forum.xda-developers.com/showthread.php?p=40214768
it required the installation of Exposed framework first:
only root needed, works for locked odexed deviced, no need for cwm.
works for my device with stock 244.
No need of exposed framework.. just push the following apk to /system/vendor/overlay/ folder
I have used 28 dp, but decompile that and change to whatever you want
shardul_seth said:
No need of exposed framework.. just push the following apk to /system/vendor/overlay/ folder
I have used 28 dp, but decompile that and change to whatever you want
Click to expand...
Click to collapse
YES,
This was the best method ever thanks no need to deodexed and no need to touch framework-res.apk
sijav said:
YES,
This was the best method ever thanks no need to deodexed and no need to touch framework-res.apk
Click to expand...
Click to collapse
happy it worked, though i don't see the problem with xposed, it doesn't ruin anything and you can add new mods when they come up easely with no need to flash anything.

Categories

Resources