Please any dev that can patch a .patch diff to a decoded fw-res.apk for my ROM PM me. I have no idea on how to do this I will PM the apk and patch if you can do it. Please help. ( I will give credit! )
Sent from my MB886 using xda app-developers app
Maybachiswhereitsat said:
Please any dev that can patch a .patch diff to a decoded fw-res.apk for my ROM PM me. I have no idea on how to do this I will PM the apk and patch if you can do it. Please help. ( I will give credit! )
Sent from my MB886 using xda app-developers app
Click to expand...
Click to collapse
Not a problem, PM me or post the files and I'll see what I can do.
I'll use the reboot mod for a quick tutorial. This is for Linux, I haven't ran Windows for more than an hour in 8 years, so don't ask me anything Windows related .
Place the patch file and the file needed to be patched in the same directory, open a terminal and go to that directory
run "patch -p1 GlobalActions.smali.rebootmod.patch GlobalActions.smali"
The format is "patch -pX /path/to/patch /path/to/orig/file"
run "man patch" or "patch --help" for more info
Replace the original smali with the old smali
Smali it
Take classes.dex from the new apk and copy it into the original apk overwriting its classes.dex
Push, chmod, etc...
Patch'll either just work or you'll have some debug files showing what worked and what didn't.
I'll get the files to you tonight I'm gonna be out running some. I greatly appritate it!!!
Sent from my MB886 using xda app-developers app
Related
Can someone help me, how to compile systemUI apk, after i edit xml file.
Sent from my GT-P1000 using XDA App
waazaii said:
Can someone help me, how to compile systemUI apk, after i edit xml file.
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
isnt a APK a type of zip?
a zip with scripts to tell the os how to install it.
i have the 15 toggle bar for the note n7000... but the text below them are too big.. can anyone tell me how to change them?
Hey anyone.. No replies yes.... Hmmmm..
I know that it's in the values folder.... String. Xml.... But when I edit the file and recompile the framework... The phone won't boot.
Sent from my GT-N7000 using xda premium
my question is add another language for title icon (i.e. italian) or change the title icon properly (i.e. flash light to flashlight).
i decompiled lidroid-res.apk add values-it and edit strings.xml, recompiled , put the new lidroid-res.apk into zip for cwm,
installed the zip via cwm, reboot but error ...
one week always error...
can someone help us?
Hey Devs.. please give us a hint of how to recompile the -res.apk file cuz we not getting any success.. i have been trying to get this done.. but failing every time... ...
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
letters_to_cleo said:
You can try to recompile it, use and learn the tutorial on ApkTool (credits to memnoc) from this link -> http://forum.xda-developers.com/showthread.php?t=1511730
Click to expand...
Click to collapse
Thanks for ur response... but i seem to have used all the apktools available... i can recompile the "-res.apk" but when i put it back to \system\framework ... the UI FCs and the notification bar doesnot load.
unfortunately od has stopped. >> is the message i get when i put the modified "-res.apk".
i have noticed one thing that the recompiled apk doesnot have META-INF folder... although i tried to copy it and gave a try but still no go...
what i am trying to do is using a themed apk like lidroid or crikelos res .. decompile .. change some text under the toggle buttons ...
what am i doing wrong... ?
hmm... have you tried setting back the permissions on your modified -res.apk in /system/framework? Mounting it before hand?
If you have, you may indeed try to ask some devs or someone who knows their way in recompiling apks as this is a sensitive matter to touch with and I'm moderately more on contributing stuffs rather than delving into the internal programmings on the android ecosystem.
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No problems bud.
Hope somebody can take notice on your issue and give you a lending hand on it.
:victory:
---------- Post added at 10:08 PM ---------- Previous post was at 10:06 PM ----------
nokiamodeln91 said:
hmmm.. i have changed permissions as well still... Thanks for taking the time out
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Well there you go.. Cheers and Kudos to CoolCat on this :good:
CoolCatGetHome said:
Go to apkyool.yml
Edit with notepad++
And below
-1
Add -2
So it would look like
-1
-2
Then compile it lidroid-res again
Also make sure you have twframework-res.apk
And framework-res.apk installed
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
do we have to sign the lidroid again?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Only sign lidroid if you have signed every apk in your rom
I normally do this
Decompile apk
Make changes
Compile apk
Go to original apk
Press right
7-zip
Open as archive
Delete res
Delete resources.arsc
Leave the 7-zip archive open
Go to
The decompiled folder
Go to build/apk
Copy all except androidmanifest.xml to the archive
Then its done you have an apk
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
nokiamodeln91 said:
OMG....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! It actually worked....
Oh CoolCatGetHome... where were u till today.... i cant thank u enof....
Click to expand...
Click to collapse
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
CoolCatGetHome infinite thanks
you saved me from sleepless nights looking for the solution
again thanks
CoolCatGetHome said:
Xd i had same problem before
But after some experimenting it worked
I self never sign apks except i have urooted device and want to install apps manual like custom launchers
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
nokiamodeln91 said:
hey cool cat get home.... another thing.... the app speed test. net.. As u see does not fill the screen... After decompiling.. I changed some dimensions in xml.. wen recompiling the apps do not install.. y is dat..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
U n eed to sign the apk to install manually
Thats the only time i sign apks
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
so this is wat i do, correct me where i go wrong plz
1 decomiple app..
2. change the dimen.xml
3. recomile app
4. open the original app using 7z
5. go to the build/apk folder
6. copy the res folder and the .asrc file to the opened apk.
7. sign the apk
there is a classes.dex file as well... do i change it or do i keep the original
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
nokiamodeln91 said:
in this as well do i have to edit the "apkyool.yml" as this seems to be isframework=false
Click to expand...
Click to collapse
No that apk doesnt need to have that apktool.yml edit
Only lidroid needs it
But u need to sig it with
Android manager
Or apkmanager
Etc
Sent from my GT-S5830 using xda premium
I opened this new thread for people who have problems with network location provider on CM10/AOKP JB(tested on latest CM10 and AOKP JB and deepsleep ok,i dont know if it will work on CM9.1 too)
So,
-First you need this NetworkLocation.apk and put it on /system/app/here and set permission to rw-r-r
-Second you must ad the right database on /sdcard/nogapps/here
NetworkLocation Database (copy to /sdcard/.nogapps/cells.db):
-Based on dumps of opencellid-project - all credits to those guys there!
-World
-Africa
-Asia
-Australia
-Europe
-North-America
South-America
That is,have fun...
Thanks, this is very useful
Agree! Works perfectly on the latest CM10.
Sent from my GT-S5570 using xda premium
I'm using it since long time ago. THANKS FOR GIVE US THIS SOLUTION
Sent from my GT-S5570 using xda app-developers app
Does ".nogapps/cells.db" needs to be created on sdcard?
i have downloaded the networklocation.apk and the cell-asia.db.. then i copy the apk and replace networklocation.apk in system/app and change permission to rw-r--r--. then i create .nogapps folder in sdcard, copy the cell-asia.db to it and rename it to cell.db, the permission is ---rwxr-x. is this correct step..?
thanks i will try it :good:
Which cm10 are you using? 10/10 by thewhisp?? I'm on 07/09 and I can't get it to work...should I update ROM or has it worked for anyone?
Sent from my GT-S5570 using Tapatalk 2
musf said:
i have downloaded the networklocation.apk and the cell-asia.db.. then i copy the apk and replace networklocation.apk in system/app and change permission to rw-r--r--. then i create .nogapps folder in sdcard, copy the cell-asia.db to it and rename it to cell.db, the permission is ---rwxr-x. is this correct step..?
Click to expand...
Click to collapse
No need to change permission when the directory is SD card
Sent from my GT-S5570 using xda app-developers app
Delete post please
Some people said that using this solution might be a break to copyright law against Apple, because this solution uses data from Apple to get network location when using WiFi.
What do you think ? Might be a problem ?
i'm really thanksfull for this. It works perfectly, also deepsleep. The only bug i found it's the direction : 45° of my real direction. But I've not test on the road again. Thanks.
I don't think apple is looking for this thread and i think he will look if someone say to him
Sent from my GT-S5570 using xda app-developers app
This is not used for commercial reasons, but for personal
Geolocation using database of gsm phone cells at /sdcard/.nogapps/cells.db
Just in case :
License: Apache License 2.0
New BSD License-https://protobuf
MPAI said:
Does ".nogapps/cells.db" needs to be created on sdcard?
Click to expand...
Click to collapse
creat the nogapps folder on sdcard and put your continent database on it
musf said:
i have downloaded the networklocation.apk and the cell-asia.db.. then i copy the apk and replace networklocation.apk in system/app and change permission to rw-r--r--. then i create .nogapps folder in sdcard, copy the cell-asia.db to it and rename it to cell.db, the permission is ---rwxr-x. is this correct step..?
Click to expand...
Click to collapse
dont rename or change perm to the database
Hi friends,
This solved the problem with GPS in CM10...
Thanks
Sent from my GT-S5830 using xda app-developers app
Someone can test it on cm9?
J.Paul said:
Someone can test it on cm9?
Click to expand...
Click to collapse
It worked with me on cm9
Sent from my GT-S5570 using xda app-developers app
Will this work on galaxy ace?
Here is the dsixda kitchen edify file I have been using for Nexus 4 (mako).
If using cygwin copy mako file to your cygwin\home\username\tools\edify_defs folder.
Thanks to mskip for mount points
UPDATE:
As promised download the dsixda_JB42.zip and copy the files to the appropriate folder. This will help with Deodexing and by help I mean it will allow all files to be deodexed.
Hi goldfingerfif, first of all thanks a lot for the file, then I would like to use this to build a rom with latest dsixda kitchen release (0.214) but when I’m trying to deodex core.odex I’m getting an error, only with this file, the others works fine. Did you have the same problem? How do you solve it? I tried to do it with api level 16 and 15 but I have the same error. Maybe you did it manually? Or using the kitchen?
Thanks in advance
I'll upload the other changes...I forgot I changed api to 17 and updated smali and baksmali and the version to use file.
Sent from my Nexus 4 using xda app-developers app
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
EddyOS said:
Was about to say about updating the smali/baksmali files - I did all that but it was this file I was missing so thanks a lot!
Click to expand...
Click to collapse
Updated OP
goldfingerfif said:
Updated OP
Click to expand...
Click to collapse
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
nitsuajd said:
Thanks so much!!
Edit: I'm Having troubles with wifi like you with my dsixda's rom, can you tell me how you solved it please?
Click to expand...
Click to collapse
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
goldfingerfif said:
I haven't found the script file to add some things that it misses. You can compare the updater-script against mine or I'll post the lines you have to add.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
nitsuajd said:
Thanks dude, you're right!
Exactly these two lines:
Code:
symlink("/data/misc/wifi/WCNSS_qcom_cfg.ini", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_cfg.ini");
symlink("/data/misc/wifi/WCNSS_qcom_wlan_nv.bin", "/system/vendor/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin");
Click to expand...
Click to collapse
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
@goldfingerfif - thanks for the edify_defs file. I've updated the kitchen to add Nexus 4 support in version 0.216.
I've just added this to the Nexus 4 Complete Index
Sent from my GT-I9100 using xda premium
dsixda said:
Were you guys using Cygwin when you saw this issue? I know that Cygwin sometimes messes up the symlinks that are not under /system/bin; whereas Linux / OS X are sometimes nicer. In other words, I try not to recommend Cygwin due to these kinds of issues.
Click to expand...
Click to collapse
I was using Cygwin
goldfingerfif said:
I was using Cygwin
Click to expand...
Click to collapse
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
dsixda said:
The Windows application that is used to extract the files from the rom has an issue because it removes the symlinks. You will not see this happen in Linux or OS X. However, I have fixed your problem for those specific files in Cygwin.
Click to expand...
Click to collapse
Yes I just picked up a 120gb ssd and going to dual boot with Linux as it will make life with android so much easier.
Sent from my Nexus 4 using xda app-developers app
I decompiled systemui.apk using apk manager . ,added some smali's and edited xmls. Now I am going to recompile it. Do I need do delete the smali's and xmls from keep folder or the recourses file.?? Also after compilation it shows unsignedsystemui.apk if I sign it using 12 option it gives error please help
Note- don't post any links of tutorials as I have checked dem
Would really thankful
Sent from my GT-S5570 using xda premium
arpitkh96 said:
I decompiled systemui.apk using apk manager . ,added some smali's and edited xmls. Now I am going to recompile it. Do I need do delete the smali's and xmls from keep folder or the recourses file.?? Also after compilation it shows unsignedsystemui.apk if I sign it using 12 option it gives error please help
Note- don't post any links of tutorials as I have checked dem
Would really thankful
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
Not so expert in this but maybe this question solved could help you
http://forum.xda-developers.com/showthread.php?t=1852321
It didnt
Sent from my GT-S5570 using xda premium
arpitkh96 said:
It didnt
Sent from my GT-S5570 using xda premium
Click to expand...
Click to collapse
The keep folder contains the stock files unchanged..So if you changed a smali in your project folder you'll have to delete the classes.dex in the keep folder,if you changed xml you'll have to delete the resources.arsc in the keep folder..