[Q] lidroid name - Galaxy S II Q&A, Help & Troubleshooting

Hello to all. I want to change the name of the Rom in "lidroid," but I have some problems about.
1) I Use APK Multi Tool.
2) I Decompil the file "lidroid."
3) With Notepad + + correctly I modify the name of the Rom in "Values ​​/ strings".
4) Save all and re compile.
5) All ok, the program does not provide errors at compile time, but ...
6) When I replace the new File "lidroid" in the Phone Directory it does' nt works (the notifications barr disappears).
I followed all the guides here, on XDA present, the operations are corrects, but nothing.
Can anyone help me? What could be wrong? Thanks.

glowerita said:
Hello to all. I want to change the name of the Rom in "lidroid," but I have some problems about.
1) I Use APK Multi Tool.
2) I Decompil the file "lidroid."
3) With Notepad + + correctly I modify the name of the Rom in "Values ​​/ strings".
4) Save all and re compile.
5) All ok, the program does not provide errors at compile time, but ...
6) When I replace the new File "lidroid" in the Phone Directory it does' nt works (the notifications barr disappears).
I followed all the guides here, on XDA present, the operations are corrects, but nothing.
Can anyone help me? What could be wrong? Thanks.
Click to expand...
Click to collapse
If you mean lidroid-res.apk, did you 'if' the three additional frameworks before decompiling (and modify apktool.yml before recompiling)?
Reference

Spannaa said:
If you mean lidroid-res.apk, did you 'if' the three additional frameworks before decompiling (and modify apktool.yml before recompiling)?
Reference
Click to expand...
Click to collapse
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"? If I have Add "Twframewprk-res.APK" and "SystemUI" in the "others" Folders ?
Thanks for the answer in the meantime.

glowerita said:
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"?
Thanks for the answer in the meantime.
Click to expand...
Click to collapse
Like in my link to wanam's "How to mod Lidroid framework for JellyBean Roms" post:
wanam said:
Code:
apktool.bat if path_to/framework-res.apk
apktool.bat if path_to/twframework-res.apk
[COLOR="Red"]apktool.bat if path_to/wanam3.apk
apktool.bat if path_to/wanam4.apk
apktool.bat if path_to/wanam5.apk[/COLOR]
Click to expand...
Click to collapse

glowerita said:
Yes, I am referring to "lidroid res.APK."
Yes, I modified the file "apktool.yml" (as read on a guide on XDA, perhaps even your own, can not remember), but nothing.
Sorry ... what do you mean with "did you 'if' the three additional frameworks before decompiling"? If I have Add "Twframewprk-res.APK" and "SystemUI" in the "others" Folders ?
Thanks for the answer in the meantime.
Click to expand...
Click to collapse
The "if" means "Install Framework".

wanam said:
The "if" means "Install Framework".
Click to expand...
Click to collapse
Thank you again. Not this one, I had not done. Should be added into the folder "others" in these three files APK Tool?

glowerita said:
Thank you again. Not this one, I had not done. Should be added into the folder "others" in these three files APK Tool?
Click to expand...
Click to collapse
I'm not sure - I use Apktool not APK Multi-Tool.

Spannaa said:
I'm not sure - I use Apktool not APK Multi-Tool.
Click to expand...
Click to collapse
When i'll come back home (now i'm at work) will try.
Thanks again for your kindless.
Inviato dal mio GT-I9100 utilizzando Tapatalk
Edit: Lidroid works great! Thanks Spannaa, I will never cease to thank you!
Click to expand...
Click to collapse

Related

[Ready to DONATE][Q] How to manually deodex Email.apk and Mobileprint.apk

I found many threads of people who can't deodex Email.apk, Mobileprint.apk, even manualy, including every .jar in the baksmali.jar -c: xxxx.
Is there a Dev who could give us the command line to succesfully deodex Email.odex and Mobileprint.odex ?
Thanks
Edit 06/30/2011 : I am ready to donate for the help you could give me
Found the same threads you did.. I am researching this as well.. Will keep you updated if I find anything.
U don't need to deodex the whole rom, though you will need to deodex the whole framework.
mak1 said:
U don't need to deodex the whole rom, though you will need to deodex the whole framework.
Click to expand...
Click to collapse
Ok, thanks for the answer, but what to do with the .odex files (Email and Mobileprint), I'm not going to leave them non deodexed with others deodexeds apk ?
sicopat said:
Ok, thanks for the answer, but what to do with the .odex files (Email and Mobileprint), I'm not going to leave them non deodexed with others deodexeds apk ?
Click to expand...
Click to collapse
i wana know this tooo
If ur not changing anything in the BOOTCLASSPATH files, u can deodex a single file
-app for eg.-, edit it and put it into ur device without deodexing anything else, delete the existing odex file.
u'll need baksmali for that purpose-apktool donot have that feature btw-also u'v to have framework files available (just pull the entire framework directory from the phone) pass it's directory via the -d option. App depends on particular jar files will require that through -c option.
mak1 said:
If ur not changing anything in the BOOTCLASSPATH files, u can deodex a single file
-app for eg.-, edit it and put it into ur device without deodexing anything else, delete the existing odex file.
u'll need baksmali for that purpose-apktool donot have that feature btw-also u'v to have framework files available (just pull the entire framework directory from the phone) pass it's directory via the -d option. App depends on particular jar files will require that through -c option.
Click to expand...
Click to collapse
That's the problem, even with the entire framework directory, I am not able to deodex Email.apk and Mobileprint.apk . Seems like if missing Bootclasspath ...
No problem manualy deodexing every other apks ..
I tried to deodex both of these files with omrij's tool and it was successfull.
http://forum.xda-developers.com/showthread.php?t=1053227
TAEL said:
I tried to deodex both of these files with omrij's tool and it was successfull.
http://forum.xda-developers.com/showthread.php?t=1053227
Click to expand...
Click to collapse
I wonder if it ignores certain errors. If i use baksmali with the -I option, i can get deodexed output, But obviously the APK won't work.
sicopat said:
I found many threads of people who can't deodex Email.apk, Mobileprint.apk, even manualy, including every .jar in the baksmali.jar -c: xxxx.
Is there a Dev who could give us the command line to succesfully deodex Email.odex and Mobileprint.odex ?
Thanks
Click to expand...
Click to collapse
I got it done for u method is a bit complicated though
First of all, Thanks!
Second of all, I'm much more interested on how its done rather than the apps themselves. I'd be very happy if you could share how by any means.
ransagy said:
First of all, Thanks!
Second of all, I'm much more interested on how its done rather than the apps themselves. I'd be very happy if you could share how by any means.
Click to expand...
Click to collapse
same here..i guess we just want to learn so please share
thanks
Deodexing is not my favorite stuff I do it for my personal use at times, I use my own set of scripts on linux with custom bootclasspaths.
Would recommend to have a look here: http://code.google.com/p/smali/wiki/DeodexInstructions
mak1 said:
Deodexing is not my favorite stuff I do it for my personal use at times, I use my own set of scripts on linux with custom bootclasspaths.
Would recommend to have a look here: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
thanks already read that
mak1 said:
Deodexing is not my favorite stuff I do it for my personal use at times, I use my own set of scripts on linux with custom bootclasspaths.
Would recommend to have a look here: http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
I also wrote my own deodexing bash script with baksmali/smali/zip. The thing is, Those two APK request java libraries to deodex (java.awt.* and javax.swing.*). I could't find anywhere to get those dependencies from, So if you could share which boot classes you used for satisfying those requirements, it would be great.
Thanks!
I am ready to make a donation for help.
I would like to be able to do it myself
sicopat said:
I am ready to make a donation for help.
I would like to be able to do it myself
Click to expand...
Click to collapse
I have found out how you do it, by checking my bash logs way back
Just use the -I ignore flag on the command, along with regular bootclasspath.
The errors are not an issue and the apps work fine.
Enjoy.
pulser_g2 said:
I have found out how you do it, by checking my bash logs way back
Just use the -I ignore flag on the command, along with regular bootclasspath.
The errors are not an issue and the apps work fine.
Enjoy.
Click to expand...
Click to collapse
Thanks so much Pulser, I am going to try this.
it's Curious we canno't avoid errors.
As promised : donation done
Big thanks
Hi guys, same here with Email.odex...
I'm not be able to deodex it...
Somebody can help me? Thanks!

[Q] notification pulldown background

First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Oohhlala said:
First, sorry for my poor english and thanks to everyone can help me. I really really want to change notification pulldown background to a custom PNG image. So who can show me how to do?
I'm using JJ Hybrid ROm for arcS.
THanks
Click to expand...
Click to collapse
wrong section :/
http://forum.xda-developers.com/showthread.php?t=1374394
@pandamic : sorry mate, i'm newbie
XperienceD said:
http://forum.xda-developers.com/showthread.php?t=1374394
Click to expand...
Click to collapse
thanks for link, i follow your guide to de-compile SystemUI.apk for editing, i used the guide from http://forum.xda-developers.com/showthread.php?t=1803813 to edit my systemui and when i move new systemui.apk to my phone, i lost my notification . I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Oohhlala said:
I think i didn't understand exactly these sentences in you guide "Before using the new apk you need to extract the resources.arsc, then simply put it back in the new apk overwriting the original resources.arsc.
In WinRar it will give you the option to choose the compression method, and it's vital that you choose Store as the compression method..."
The resources.arsc file i have to put in the new apk is the one in the decompiled apk folder ?
Sorry for my poor english. THanks
Click to expand...
Click to collapse
No, it's the one from the newly built apk, simply extract it then add it straight back.
XperienceD said:
No, it's the one from the newly built apk, simply extract it then add it straight back.
Click to expand...
Click to collapse
i think i did exactly to compile the apk because i didn't have got bootloop. But i didn't have good result of " dropdown background " editing. I was still fail, lost my notification bar again. It made me a headache three days
I dont know i was wrong in which step to change " dropdown background " into picture
btw when i used Theming tool do decompile Settings.apk, it was fail

[Q] new background in options/dialer and others

guys, need your help! I do my firmware by jb lq4.
and now the problem: I want to insert your image into the background, I tried to change the image through smart apk tool, but when I tried to put the new framework, I was an eternal loading, let faq to replace the background or make me a framework.
thanks in advance)
I want to here a red background
Hmm...
Can you upload your framework-res.apk?
I will try to edit it
Azmi6298 said:
Hmm...
Can you upload your framework-res.apk?
I will try to edit it
Click to expand...
Click to collapse
Here, take this framework: d-h.st/0cv(please copy it into your browser), because I am a new user and has not yet 10 posts)
Аnd more, you can give me instructions on how to do it, and I want to understand myself and how to change the images) I will be very grateful
rus_koshel said:
Here, take this framework: d-h.st/0cv(please copy it into your browser), because I am a new user and has not yet 10 posts)
Аnd more, you can give me instructions on how to do it, and I want to understand myself and how to change the images) I will be very grateful
Click to expand...
Click to collapse
its something like this.. http://forum.xda-developers.com/showthread.php?t=1478758&highlight=aarun..
that is just the basic..
it is many HOW TO thread to done that..just use the search option..
joehanh88 said:
its something like this.. http://forum.xda-developers.com/showthread.php?t=1478758&highlight=aarun..
that is just the basic..
it is many HOW TO thread to done that..just use the search option..
Click to expand...
Click to collapse
I'm sorry, just looking for information in the subject line of the device, about the global search I didnt think:laugh:
rus_koshel said:
I'm sorry, just looking for information in the subject line of the device, about the global search I didnt think:laugh:
Click to expand...
Click to collapse
LOL..
joehanh88 said:
LOL..
Click to expand...
Click to collapse
I check the link you posted, and tried but failed. What folders do I put the background.png into? Thanks in advance
bobfrantic said:
I check the link you posted, and tried but failed. What folders do I put the background.png into? Thanks in advance
Click to expand...
Click to collapse
try this http://forum.xda-developers.com/showthread.php?t=1811755&page=14..
scroll above..you'll see someone post something about it..
or this http://forum.xda-developers.com/showthread.php?t=1571870..its for ICS..but with some knowledge, you'll know what to do..LOL.. if your background failed, try to use 240x400 png resolution instead of 480x800..
hope this help you..
rus_koshel said:
guys, need your help! I do my firmware by jb lq4.
and now the problem: I want to insert your image into the background, I tried to change the image through smart apk tool, but when I tried to put the new framework, I was an eternal loading, let faq to replace the background or make me a framework.
thanks in advance)
I want to here a red background
Click to expand...
Click to collapse
Here is it
http://d-h.st/2ku
Just flash the zip on CWM
Done

[Q] How to remuve menus from settings.apk?

i want to ask if any body tried already to remove menus from settings like i want to hide the about phone on stock settings.apk deodexed on jb 4.2 i want to get rid of some menus in my settings i ported dakele os to mtk6589 so i would like to ask if how to? since it is a ported rom some of the menus are not a feature of my stock rom and i want to hide or remove them just to prevent boot loop for example like this in the attachment below i want to get rid of the ad block or sensor_cali .. ..
i badly need help kinda excited to release my ported rom hehe
TIA:good::fingers-crossed:
uppdate: ive done some experement in settings_header.xml i tried to change the name of about phone to phone only and it works so my conclusion is settings_headers changes the appearance of the settings menu
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
iamareebjamal said:
I have not used ICS or JB much but it's possible.
I know exact process of how to do that on GB but not ICS. You'll have to decompile Settings.apk and look for the xml which controls the layout of app.
Click to expand...
Click to collapse
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
marc2777 said:
yes i think its the settings.header yet everytime i change something in that xml,recompile success, and push my mooded settings but the problem is it wont open systemUI stops everytime i try to open settings from the noti. bar and there's no icon for settings in the drawer ive check the permission its rw-r-r and its correct . ive also tried drag and drop signing still the same problem
Click to expand...
Click to collapse
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
iamareebjamal said:
Which tool are you using to compile apps? And System apps don't need to be signed. Maybe that's the problem.
If you want, you can check out Ultimate Guide in Android Development Section which shows how to correctly compile system apps. Its sticky(noun, not an adjective ) there
Click to expand...
Click to collapse
sorry gotta bad english here tnx gonna check it out
marc2777 said:
sorry gotta bad english here tnx gonna check it out
Click to expand...
Click to collapse
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
marc2777 said:
editing the xmls dose not change anything any suggestions but using apk multi tool works it didnt cause any systemui fc and the settings is properly installed but as i said as i edit xml it didnt change anything in the setting menus
Click to expand...
Click to collapse
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
XperienceD said:
Are you extracting the resources.arsc from the new apk and dropping it back again after compiling?
Click to expand...
Click to collapse
since im using multi tool i dont know if that resource.asrc is original from my original apk for example i already compiled my modded settings.apk shud i keep the resource.asrc or shud i get the resource.asrc from the original and unmodded settings.apk?
1757 fuchet
iamareebjamal said:
Then maybe that xml doesn't change it
Or, did you delete the modded files from keep folder?
Click to expand...
Click to collapse
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
marc2777 said:
ive read alot of tuts on how to add apps on settings menu yes it is possible since it is possible to add then maybe it is possible to delete ive tried to reverse the tuts on adding to delete the menus specially on the settings_header.xml and strings tried to edit those xmls after editing recompile i directly push it to my phone i tried to push unsigned and signed apks yet i get same results nothing change i got a feeling that resource.asrc has something to do with this
Click to expand...
Click to collapse
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
iamareebjamal said:
If you've read my guide, you would know that you'll have to add resources.arsc from new app to old app and then push old app to your phone
Click to expand...
Click to collapse
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
marc2777 said:
can you lead mo to ur link/? so this means the created resources.asrc from my mooded apk will be transfered to my original apk am i ryt? and ill push my old apk ?
Click to expand...
Click to collapse
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
iamareebjamal said:
Here you go
http://forum.xda-developers.com/showthread.php?t=2326393
I hope its good enough to make it clear
Click to expand...
Click to collapse
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
marc2777 said:
tnx im reading this but as i check my log something is weird in the res forlder of settings.apk since this is a ported rom there are some folders that multi tool cant read
Click to expand...
Click to collapse
Upload your apk.
XperienceD said:
Upload your apk.
Click to expand...
Click to collapse
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
marc2777 said:
http://www.4shared.com/account/home.jsp#dir=VTulsuo_ everything you need is in that link i hope you can help me im havng a hard time T_T
Click to expand...
Click to collapse
Access denied?
XperienceD said:
Access denied?
Click to expand...
Click to collapse
access denied ? where sir? in the links?
marc2777 said:
access denied ? where sir? in the links?
Click to expand...
Click to collapse
Works now, but no Settings.apk?
XperienceD said:
Works now, but no Settings.apk?
Click to expand...
Click to collapse
o my god my settings.apk is gone reuploading demet

[Q] Help Required Editting framework.jar

Hi, I am hoping that one of the Android developers on here might be able to give me a bit of advice please regarding editting my 'framework.jar' file.
I have a Jiayu G3 phone running Android Jelly Bean 4.1.2 but my caller ID is not functioning properly because it is not matching local & international numbers. Having done a lot of searching it appears that this is probably due to the parameters in the 'framework.jar' file as per this post on xdadevelopers here
I have succesfully decompiled the 'framework-res.apk' file using apktools and confirmed that the 'config_use_strict_phone_number_comparation' variable is set to false. However, I am having trouble decompiling the 'framework.jar' file.
I have copied the 'framework.jar' file from my phone and opened it in a Jave decompiler. However, all I am presented with is the following:
Code:
META-INF
MANIFEST.MF
preloaded-classes
(See attached image)
In the xda post it says the following:
II) Check for and fix MIN_MATCH constant in telephony framework
1) Decompile framework.jar
2) Open smali/android/telephony/PhoneNumberUtils.smali
3) Search for MIN_MATCH constant and set it to 0x7
Click to expand...
Click to collapse
...but I don't appear to have that in mine.
Am I doing something wrong.
If anyone could offer any advice I would be very grateful.
Many thanks
Russell
P'S. I tried replying about this in the original xda post itself but I don't have authorisation to post in the developers section so I thought I would try here instead.
So, is no one able to help me with this then. All the searching I've done indicates that when I decompress 'framework.jar' then I should have 'classes.dex' inside. However I don't have that.
Can anyone explain to me why this is please before I pull the rest of my hair out.
Thanks
Russell_S said:
So, is no one able to help me with this then. All the searching I've done indicates that when I decompress 'framework.jar' then I should have 'classes.dex' inside. However I don't have that.
Can anyone explain to me why this is please before I pull the rest of my hair out.
Thanks
Click to expand...
Click to collapse
You have to use apktool and apply the command to decompile..
eg.
apktool d framework.jar
this in cmd, will create a new folder named framework.jar.out, then you navigate inside this folder were all the smali's files are etc..
PS. you can't open framework.jar in java decompile, you can open framework.jar extract the classes.dex then use dex2jar tool and turn it back into framework_classes.jar this is the one that can be viewed with java decompilers
Does annybody know....
Where i can find a clean Settings.apk for the GE 4.3 (i9505) that i can mod? (Decompile/Recompile)
frapedas said:
You have to use apktool and apply the command to decompile..
eg.
apktool d framework.jar
this in cmd, will create a new folder named framework.jar.out, then you navigate inside this folder were all the smali's files are etc..
PS. you can't open framework.jar in java decompile, you can open framework.jar extract the classes.dex then use dex2jar tool and turn it back into framework_classes.jar this is the one that can be viewed with java decompilers
Click to expand...
Click to collapse
Thanks for the help. I'm away this week but I'll give it a go next weekend when I'm back.
Sent from my GT-I9100 using Tapatalk 2
Force it into submission
be rough with it
Sent from my HTC One using Tapatalk 4
Russell_S said:
then I should have 'classes.dex' inside. However I don't have that.
Click to expand...
Click to collapse
Are you using a deodexed ROM?
XperienceD said:
Are you using a deodexed ROM?
Click to expand...
Click to collapse
You've got me there. How would I find out?
Sent from my GT-I9100 using Tapatalk 2
Ok, I'm gradually learning here. Having done a bit of research it appears that my rom is odexed (I have .apk and .odex files in my /system/app folder).
I'm assuming then that this will scupper my plans to edit my framework.jar file.
Sent from my GT-I9100 using Tapatalk 2
Russell_S said:
I'm assuming then that this will scupper my plans to edit my framework.jar file.
Click to expand...
Click to collapse
No no, you just need to deodex your ROM then, luckily for you I've got a little thread here - [Info/How-To/Tools] Deodexing Made Easy... - which will help you with that, obviously ignore the Xperia Z Users part and give the rest a read.
XperienceD said:
No no, you just need to deodex your ROM then, luckily for you I've got a little thread here - [Info/How-To/Tool] Deodexing Made Easy... - which will help you with that, obviously ignore the Xperia Z Users part and give the rest a read.
Click to expand...
Click to collapse
Thanks very much for that, I shall digest the information while I'm on holiday ready to act on it when I get back.
I'll let you know how I get on.
Sent from my GT-I9100 using Tapatalk 2

Categories

Resources