I had My Wildfire rooted(CM7 Nightly Rom).
By default System folder doesnt have build.prop file. i extracted the build.prop from the rom and pasted with few changes.
for eg. default ringtone to Rigel.ogg(orginal config Playa.ogg)
But my phone isn't changing Playa.ogg(Default) to Rigel.ogg
What i concluded is andorid is not reading the build.prop file
any suggestion?
Thanx
rahul16011988 said:
I had My Wildfire rooted(CM7 Nightly Rom).
By default System folder doesnt have build.prop file. i extracted the build.prop from the rom and pasted with few changes.
for eg. default ringtone to Rigel.ogg(orginal config Playa.ogg)
But my phone isn't changing Playa.ogg(Default) to Rigel.ogg
What i concluded is andorid is not reading the build.prop file
any suggestion?
Thanx
Click to expand...
Click to collapse
Idk if I'm right , but since by default it has no build.prop that means it won't read that file .
Forever living in my Galaxy Ace using XDA App
So can u please tell me how to make my Phone read the configuration mentioned in build.prop??
Hmm, wich nightly do you have?
CyanogenMod-7-Nightly-buzz
My only tip is make sure you are using a plain text exitor like notepad or notepad++ because otherwise the formatting can stop the roms from working.
Thanks for your reply..
actually i figured it out myself.
"Build.prop only works at the time of flashing"
I flashed my wildfire with updated build.prop and it reflected the changes that i made.
my real motive was to use timescape widget with Arc launcher.
can you guide me with this.
Related
i know there are hunderds of threads about this, but none of them helped me and niether of them describes my situation.
i had to change some values in bools.xml in framework-res.apk of a deodexed cm7.2 rom. so, i decompiled and recompiled using apktool and tried the folowing things (in all cases i remembered to chmod to 664):
- pushed the compiled file without signing. Boot loops.
- wiped dalvik cache. still boot loops.
- signed the compiled file. IT BOOTED! but all system apps fc. And i see a blank status bar. clearing dalvik cache doesnt help.
- copied the compiled resources.asec to original apk with winrar. NO FCs this time. still a blank status bar. Rotating the phone freezes the system instantly. but even if you dont rotate, system soon freezes, within 30 secs. logcat shows repeating messages of "cpu may be pegged. trying again". (no i havent overclocked).
how do u guys mod the frameworkres successfully?
Well, I don't know exactly what the problem you're having is since it may depend on the type of mod you're doing but..
I decompile framework-res.apk with apktool, make my changes and recompile. Then I use 7zip to copy the res folder from the new apk to the old one (just open both and drag across). Next, I extract resources.arsc from the new apk and add it to the old one, making sure to use 'store' compression. If resources.arsc is compressed at all, it causes problems.
So the original framework-res.apk now has a new res folder and resources.arsc at the right compression ratios. If you sign the new apk file, you have to make sure all the other system apps are signed the same way and it's just more trouble than it's worth.
Then I reboot into recovery, mount the system and push straight to the framework folder. I used to do this while the phone was running normally but I'd get all kinds of odd bugs if I made any change to anything other than a drawable. I'd get strange FC's, I'd lose wifi connection, all kinds of things.
And that's about it. As long as the changes I'm making don't stop the phone from working properly anyway, the above works perfectly every time.
Sent from my U20i using xda premium
arnab321 said:
(in all cases i remembered to chmod to 664):
Click to expand...
Click to collapse
Did you made a typo, or did you really have set the permissions to 664?
Its 644.
brainmaster said:
Did you made a typo, or did you really have set the permissions to 664?
Its 644.
Click to expand...
Click to collapse
that was actually a typo, and once i also accidentally made a typo on adb, but it still boots fine. i dont think giving extra permissions will screw things up.
the problem "cpu may be pegged" is rom/kernel related, because it is still there after a fresh install... sometimes it happens, sometimes not.
but i dunno anything about the blank status bar... i was trying to set "has_soft_keys" to true, to use tablet tweaks on my phone, does that cause a blank statusbar? anyone else got the same problem?
Wait, why are you using framework-res.apk for that? I think you need to change local.prop in /data to do this.
Have you actually got the line "has_soft_keys" already in the bools.xml?
Ticklefish said:
Wait, why are you using framework-res.apk for that? I think you need to change local.prop in /data to do this.
Have you actually got the line "has_soft_keys" already in the bools.xml?
Click to expand...
Click to collapse
yes it had that line, and setting it to true does bring the softkeys stuff in tablet tweaks menu. But the status bar always stays empty, nothing on it.
what needs to be changed in local.prop? There's nothing related to softkeys there on my phone.
umm, my ROM had the center clock mod on status bar, is that an issue?
Sent from my LG-P500
edit:
yes it was due to the center clock. tried anoher rom and i got the softkeys just by modding the bools.xml
First of all never sign system apps.
try using apk manager(I know it uses apk tool to do these operations) so try to set compression level to zero and heap size to 512.
I think above solutions should solve your problem but revert if u face any problem.
Sent from my Micromax_A70 using Tapatalk
hi
here z port to x10!
all apps are working except media player and photo app(don't no y? still working on it)
make a backup before trying.
http://www.mediafire.com/download.php?hv9s6epc64vwsb6
Hi!! this seems to be a good choice for my x10....
Do I hace to install it as a custom rom?? from xrecovery?? I'm with Unlock Booloader so I suppose I need the stock kernel.... Sorry for my english, Still learning it
Using:
v7 X10S rom
DoomKernel
aiit guys, this is a file i compiled from the needed stuff from the rom in this thread http://forum.xda-developers.com/showthread.php?t=1671574
Should work on CM7 roms. Problem is its not a signed zip (bcs idk how to), so you guys have to copy paste and change permissions yourselves.
another thing is that you need to cross check your build.prop with the one inside. There are a few lines that need to be copied... im not sure what yours is missing so Crosscheck and try to change most stuff to sony.
If you are using linux (ubuntu/fedora) (well with nautilus) just download SSHDroid from the market. turn it on and crtl+L in nautilus type in the link (eg.sftp://[email protected]) then it will ask for password which by default is "admin"
after that you can basically copy your files into the system folder.
(you can also select the files choose properties and under permissions tab edit your perms. ) good luck! enjoy your working gallery
everything works and not work like in the thread i linked above
Download
http://www.mediafire.com/?64l50wul7waiho5
You should use logcat to see which lib is required for each app.
tryantar said:
aiit guys, this is a file i compiled from the needed stuff from the rom in this thread http://forum.xda-developers.com/showthread.php?t=1671574
Should work on CM7 roms. Problem is its not a signed zip (bcs idk how to), so you guys have to copy paste and change permissions yourselves.
another thing is that you need to cross check your build.prop with the one inside. There are a few lines that need to be copied... im not sure what yours is missing so Crosscheck and try to change most stuff to sony.
If you are using linux (ubuntu/fedora) (well with nautilus) just download SSHDroid from the market. turn it on and crtl+L in nautilus type in the link (eg.sftp://[email protected]) then it will ask for password which by default is "admin"
after that you can basically copy your files into the system folder.
(you can also select the files choose properties and under permissions tab edit your perms. ) good luck! enjoy your working gallery
everything works and not work like in the thread i linked above
Download
http://www.mediafire.com/?64l50wul7waiho5
Click to expand...
Click to collapse
Good work, thank you, but I want to know if it possible to make a xRecovery zip ?
Its possible just not by me... i have no idea how that works @[email protected] tho i just selected a few of the stuff needed by you guys
Tutorial about speeding up notification center drop down/pull up
1.First of all you need to get SystemUI.apk of yur actual rom
The ne im using is open root explorer and copy SystemUI.apk to your sdcard
2.Connect the phone to the computer and copy the SystemUI.apk to the extracted APKTOOL directory (download apktoolApktool.zip)
3.There is a guide on how to use apktool here :Guide apktool
4.Decompile SystemUI.apk
5.Navigate \SystemUI\res\values and open dimens.xml (use notepad ++)
6. Find self_expand_velocity, self collapse velocity. and change the values from the defalut +2000 per each.
7.You can change other values too, they are pretty much selfexplanatory.
8.After the necessary changes save the file and recompile systemui.apk
9.After recmpiling you can push it to system using ADB or i made a .zip to flash it in recovery.(Just put SystemUI.apk in system/app and you are ok) Just whatch out for the name as it should be exactly the ssame as it was before.
10.Flash the zip wipe cache/dalvik and enjoy your new fast dropdown and pullup
DONT FORGET THANX BUTTON
EDIT: It was pointed out that in newer versions of android (dip=dp) its the same thing so don't change it.
Mr.Nigma... said:
Tutorial about speeding up notification center drop down/pull up
1.First of all you need to get SystemUI.apk of yur actual rom
The ne im using is open root explorer and copy SystemUI.apk to your sdcard
2.Connect the phone to the computer and copy the SystemUI.apk to the extracted APKTOOL directory (download apktoolApktool.zip)
3.There is a guide on how to use apktool here :Guide apktool
4.Decompile SystemUI.apk
5.Navigate \SystemUI\res\values and open dimens.xml (use notepad ++)
6. Find self_expand_velocity, self collapse velocity. and change the values from the defalut +2000 per each.
7.You can change other values too, they are pretty much selfexplanatory.
8.After the necessary changes save the file and recompile systemui.apk
9.After recmpiling you can push it to system using ADB or i made a .zip to flash it in recovery.(Just put SystemUI.apk in system/app and you are ok) Just whatch out for the name as it should be exactly the ssame as it was before.
10.Flash the zip wipe cache/dalvik and enjoy your new fast dropdown and pullup
DONT FORGET THANX BUTTON
Click to expand...
Click to collapse
I decompiled systemui.apk but i can/t find \SystemUI\res\values
I have the same question. maybe your decompilation have some problems.
Sent from my lenovo A789 using xda app-developers app
Got it working... FINALLY
OK first of all thanks for this, makes a huge difference on the notification pullup and dropdown speed.
I couldn't apply the path with just the regular apktool, tried different revisions and none worked until I found apktoolsjb on this forum
http://forum.xda-developers.com/showthread.php?t=1809649
Thanks again
yonutz said:
I decompiled systemui.apk but i can/t find \SystemUI\res\values
Click to expand...
Click to collapse
it is in that folder for sure. have followed the guide step by step? maybe u havent decompiled just extracted the apk.
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smali). However those are in hex format which I cannot decode.
.field public static final self_collapse_velocity:I = 0x7f0c001c
.field public static final self_expand_velocity:I = 0x7f0c001b
Click to expand...
Click to collapse
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
matejdro said:
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smali). However those are in hex format which I cannot decode.
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
Click to expand...
Click to collapse
Looks more like a reference to resources to me.
matejdro said:
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smali). However those are in hex format which I cannot decode.
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
Click to expand...
Click to collapse
Try to check for that id (0x7f0c001c and/or 0x7f0c001b) in res/values/ids.xml. It could point to any value in any of the xml inside res/ folder.
No xml file contains those values (I ran search over whole folder). Only before mentioned R$layout.smali and com\android\systemui\statusbar\phone\PhoneStatusBar.smali
Linux
Any way I con do this in Linux, ubuntu to be specific.
I figured it out, Ijust hope I can put back into .apk format.
Be careful:
"dp" was actually called "dip" in early versions of the SDK. They changed it to "dp" shortly after.
Click to expand...
Click to collapse
That screenshot isn't from a 4.1/4.2 rom - So anyone who wants to try this and has 4.2 (I'm having 4.2.2), change only the values. leave the "dp" as is, don't change it into "dip".
OP - you might as well write this down!
Great, some developer with Xposed skills to do that through an Xposed module .... (You know that would be great)
I used your MOD as an Add On for my ROM. I hope thats ok credit was given (see bottom of OP). Thanks for the Info..
http://forum.xda-developers.com/showpost.php?p=37148754&postcount=1
Thanks. I already hitted it.
Sent from my C6603 using xda app-developers app
Great tut, I would suggest turning off animations entierly in developers options for the best UI smoothness.
self_expand_velocity, self collapse velocity NOT FOUND
I dint find anything like that in \SystemUI\res\values\dimens.xml
Samsung galaxy ace GT-S5830i
I can't find a values folder in my SystemUI
riteshpanjwani said:
I dint find anything like that in \SystemUI\res\values\dimens.xml
Samsung galaxy ace GT-S5830i
Click to expand...
Click to collapse
As some people replied these values are in another file. But i'll look again and edit the op with SAMSUNG specific files
Hmmm
JDogg1329 said:
I can't find a values folder in my SystemUI
Click to expand...
Click to collapse
Check your ROM if it is odex, check /system/app/ if there is SystemUI.odex. You need to deodexed if first so you can edit. However you can also di it using baksmali you just need the SystemUI.odex.
I have this, dont have this what you say.What do now?.Custom ROM - CM7
Guys I'm a newbie to apk building...
I wanted to build a theme....
I've to optimise the apk file....
How do I do that, should I optimise the files in apk before building or should I optimise the apk itself...
Wt ever way I want that to be done, plz tell what all files I've to download to optimise the files
And procedure too
swaroopg551 said:
Guys I'm a newbie to apk building...
I wanted to build a theme....
I've to optimise the apk file....
How do I do that, should I optimise the files in apk before building or should I optimise the apk itself...
Wt ever way I want that to be done, plz tell what all files I've to download to optimise the files
And procedure too
Click to expand...
Click to collapse
U need optimize files in APK and after build it, example of optimizing is reduce quality of PNGs, remove languages, etc...
You follow this guide (only first post) to decompile and compile APK files .
http://forum.xda-developers.com/showthread.php?t=1453869
Regards.
Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's
swaroopg551 said:
Started theming...
Faced a problem yesterday
force close
sense stopped working
Don't know why
3reasons for that might be
1. I just replaced png by JPEG and the other way
2.I dint resize the PNG, just placed as it is
3. Some thing might have went wrong while compiling
Wt do u think the reason for fc's
Click to expand...
Click to collapse
I think that the reason is JPEG images, I think that only are compatible PNG images.
And if you only want replace images, open APK with WinRAR and replace images, it is the safer and faster method to theming .
Regards.
I did, the thing wrong with that method is,
By replacing a JPEG image file by PNG file, is not being recognised on flashing that apk...
Everything else other than those images are working fine....
One more thing along with the above problem
I've taken some theme, replaced some image files, wanna rename that apk
Wt should I do
On just renaming the default name where ever I saw in folders dint help me....
Sent from my HTC Explorer using xda app-developers app
I have installed a ROM.When i go to settings,it shows at the end 'Custom build by Rocky" This really sucks.
I tried to change it by build.prop but i couldn't do that as 'Custom build by Rocky';this text was even not present there. I searched a lot for this.Now can anyone tell me how to change this..I am sure this specific text is not present in build.prop,is there any other file to do that?
I've had my fair share in rom development a year or so ago. And I can tell you that the name there is just a way of marking the rom.
But if you're really bothered by it, I can tell you how to find the string, edit it or completely remove it. To find the string - Custom build by Rocky, you can't just change it in build.prop. For this, you must go into /system/app and then copy Settings.apk file to your desktop. From there, go ahead and decompile Settings.apk with a preferred decompiler. When decompiled, head into the project, and navigate to the following folder - res/values and open strings.xml with a text editor. Search for Custom build by Rocky in the text file, once found. You may change it to whatever you wish. But if you want to remove it, you have to remember the ID of the string. For example, in - example text - which is the string, the text to the right. The ID is text the ID is found in the left hand side, it's after the word name . So remember that, now go back to the res directory and scroll down to the xml folder, open it and look for about.xml. In there search for text which is the ID. And remove the line completely. Also make sure to remove the header line too. As this will stop the layout from having an invisible section.
Now compile the Settings.apk and push it to your device - adb push desktop/path/to/Settings.apk /system/app or just copy Settings.apk to device and do it from there.
I do not encourage you to do this. And you can do this at your own risk. I will not take any responsibility if you mess up your phone.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
I've had my fair share in rom development a year or so ago. And I can tell you that the name there is just a way of marking the rom.
But if you're really bothered by it, I can tell you how to find the string, edit it or completely remove it. To find the string - Custom build by Rocky, you can't just change it in build.prop. For this, you must go into /system/app and then copy Settings.apk file to your desktop. From there, go ahead and decompile Settings.apk with a preferred decompiler. When decompiled, head into the project, and navigate to the following folder - res/values and open strings.xml with a text editor. Search for Custom build by Rocky in the text file, once found. You may change it to whatever you wish. But if you want to remove it, you have to remember the ID of the string. For example, in - example text - which is the string, the text to the right. The ID is text the ID is found in the left hand side, it's after the word name . So remember that, now go back to the res directory and scroll down to the xml folder, open it and look for about.xml. In there search for text which is the ID. And remove the line completely. Also make sure to remove the header line too. As this will stop the layout from having an invisible section.
Now compile the Settings.apk and push it to your device - adb push desktop/path/to/Settings.apk /system/app or just copy Settings.apk to device and do it from there.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can u suggest me some apk decompilers?
Try "APKTool" just search for it on the search part of this site, it should come up.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Try "APKTool" just search for it on the search part of this site, it should come up.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey bro! This method worked..
But,now i am in a more big problem.
By the way that test was 'Custom build by Jatin' not Rocky.
The new settings.apk which i recompiled after editing that line successfully was not directly installing on my phone.
So,i replaced that new apk with the settings.apk in my ROM which contains 'Custom Build by Jatin' text..
Now,when i installed that ROM again,everthing went right ..but when i cheked the apps ...My settings option was no more..It was not installed during the ROM installation..I manually also tried to install that but nothing was achieved!
Now ,how to fix this? Hey bro,I am also attaching that settings.apk ,see if you can edit that line yourself and then again attach here for my use.Its line 176 in res/strings ,,just replace that line from 'Custom Build' only...
Please help me bro.
This happens sometimes. Its best to push the .apk to your device rather than moving it
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
This happens sometimes. Its best to push the .apk to your device rather than moving it
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Now,the settings.apk is crashing..Bro,there is somewhere error between the app..I have attached that apk in this forum before..Can't u yourself rename that line and attach here..Please bro
Problem fixed
The unsigned settings.apk worked now....
Sorry, I just saw your post. Oh and I'm glad it works now. With system apps, you mustn't sign them. They don't work properly.
Sent from my Nexus 5 using Tapatalk