[Tutorial] To ROM developers, although I just novice - Xperia Play General

Hello ,Guys,I‘ll teaching you how to edit this things​
Multiple clicks on the about phone Android version out of the interface
Let's take a look at the original version
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ok,Then,first Step,get your Resources ready
we need framework-res.apk,framework.jar
and a Computer with Apktool,Compression Software
let's change the image first
Open framework-res.apk using compression software
Open the folder res / drawable-nodpi, find platlogo.png
Then use your png image to replace it
Ok,The second step,Edit text in the image
Open framework.jar using compression software
Extract classes.dex
And then decompile it use Apktool
Open the folder to find classes\com\android\internal\app\PlatLogoActivity.smali
open it with Notepad2 or Notepad++
Search text in the image,Then change it
Note: The text is not too long
Then compiled using compression software to replace back
Well,Done,The modified two files changing for the better good authority, replace the framework, restart the phone:laugh:​
This is my modified good results
​
​

Related

[Q]Pulldown Menu addon

Hi,
i have a Samsung Galaxy S and i want to modify/create an own pull down menu widget like this one (highlighted in red):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have searched around, but i can't find any point to make them...
Did anyone have an idea?
Which apk does provide this type of addon?
I'm gonna guess settings.apk...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
In the Galaxy ROMs it's in twframework-res.apk
It's in the framework.
I am going to be working on something similar except for the Inc/Evo. I'm going to try and port over the MIUI notifcation menu because it is built in. Good luck on your try
i've found the right file in the twframework-res.apk and its known status_bar_expanded.xml...
inside of this file is declared the quickpanel-container with the containing buttons.
But, the Problem is, how can i make an own override into the quickpanel?
I've deodexed and decompiled the twframework.apk and after that the following classes.dex too, but it's unreadable... there are to many machine-instructions inside and make it useless.
I have put this files is in the attachment...
(the *.ddx files are readable with any editor)
Do have anyone an idea to implement an own quickpanel-container?

add/delete stuff to ROM then re-sign and flash?

Hi
I would be very happy if someone could tell me how to re-sign the ROM after I add and delete stuff to /system/app? what do I need?
thanks
edit: I read this but the link is dead, can't download.
http://forum.xda-developers.com/showthread.php?t=473580
Don't bother. If your recovery is set to check signatures, your rom will fail unless it is signed by the device manufacturer.
It would sort of defeat the whole purpose of signatures if you could just change something and re-sign it with the original signature.
Dont ask me to ever explain the math behind the crypto, but I can link a wikipedia page
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://en.wikipedia.org/wiki/Digital_signature#Integrity
There are a few ways to resign your changes to a custom ROM but you may not need to resign if your custom recovery doesn't check or if you use something like 7zip to open the zip but not actually extract it while making your changes. If you do need/want to resign, there are a few possibilities. A couple android apps can sign files on your phone itself: Signapktic or ZipSigner. There are also tools for your computer floating around xda to sign zip and apk files. I have a droplet called Android-sign(mac-only) to use every now and then. Also, there's always the testsign.jar method from the command line.
Code:
java -classpath /PATH/TO/testsign.jar testsign update.zip update-signed.zip

[UTILITY]ApkManager (apkm) rework of AndroidSuite2012

Apkm (Apkmanager)
As a lot of features in AndroidSuite2012 were not used by the actual user I decided to release a single tool dedicated for decompiling apk's.
It has the same simple to use GUI as AndroidSuite but with less confusing buttons and a much lighter package.
The check box options are not yet implemented this is a alpha I was working on and decided to pull it from my dropbox and release.
Enjoy! Download below
PS Apktool might need replacing. Tomorrow I will update with the same method for decompiling used in AS2012.
apkm (ApkManager)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD​​
Tutorial​
Visit slethen.net for more information on this tool and other things I've done
Hi I installed your great tool but I get this message
Error: Unable to access jarfile G:\ANDROID
What should I do to get away
Taxi341 said:
Hi I installed your great tool but I get this message
Error: Unable to access jarfile G:\ANDROID
What should I do to get away
Click to expand...
Click to collapse
This is normally caused if theres a space in the name of the folder. Make sure its not in a folder with a space in the name. Although I've never seen it say \ANDROID. Could you screen shot the program? And remember you need jre installed

[GUIDE][Android Studio] Using the Parse Push Notifications Library

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As many of you would have already known, Google released a new IDE for Android App development named as Android Studio based on IntelliJ IDEA. But many have been experiencing some problems while trying to use the Parse Push Notification library. So, here a guide for you. This is how i did it. and it works.
Download the Parse SDK .
Extract it someplace (eg. H:/Downloads/Parse/ )
Open Android Studio and Open your project
Goto File > Project Structure
Select Libraries from the Left Pane
Press the Plus Button and select Java from the dropdown
Navigate to Parse-1.2.5.jar file that you had downloaded and extracted and select it.
Add it to your project
Press OK
Thats it. Now it Should work properly
Now... You got the library working ... If you want to know more about How to Actually use this library to easily add push notifications to your app, Check out this wonderful guide by XDA Senior Member MaartenXDA
Reserved for updates
Sorry... Reserved for updates

{guide} better smali coding notepad++

smali syntax highlighting for notepad++​thanks to Jho for pointing out how to get code folding to work. i updated the syntax file and made a few other tweaks. the link and picture have been updated and here are the instructions for installing (tested with v5.9.6.1):
View -> User-Defined Dialogue...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click Import
Select smali_npp.xml
no picture here, use imagination
There will be a message box that says "Import successful."
Any new files you open should have syntax highlighting.
several people have asked for smali highlighting for notepad++. thanks to furrelkt for having already sent me an example. here's what i've come up with: https://sites.google.com/site/lohanplus/files/smali_npp.xml
for dark backgrounds, try this: https://sites.google.com/site/lohanplus/files/smali_npp_darkbg.xml
there are many limitations for notepad++'s user defined language. i could not get many tokens to highlight correctly, or as well as ultraedit or the highlighter used on this blog. perhaps a full lexer plugin could handle it. if you write one or make improvements to this xml, let me know.
iif i help u plz hit thanks button
Thanks for this, tested in lastest version of Notepad++ (6.6.3) and working!
In this version to import go to "language>define your language>import"
Thank you very much! ^^
Thank you! Tested on v7.5 working

Categories

Resources