[HELP][PORT] SunUI.apk launcher, de-compiled and logcat - Ouya Android Development

So, I found this launcher and I think it would be great for the Ouya, but I need to edit the build.prop or the smali so that the launcher passes checks.
I think one check is for screen density and the other I am not sure.
Here's a link to the launcher apk, decomiled and a logcat of it crashing on werty100's most recent build:
http://d-h.st/Uddp[1]
If any of you could help me figure out what this app is trying to do I would appreciate it. This would make a much cleaner interface for our ouyas running CM11.
Here is a link to the original forum I found the launcher on. It is called SunUI and was shipped in some test builds for rockchip sticks so far as I could tell>
http://freaktab.com/forum/tv-player-support/rk3288-devices/17935-tv-box-launchers-rk3288[2]
Thanks again and if I might be more successful in another sub, let me know.

Question.zip is being reported as a virus and unable to download.

Related

Deodexed XOOM Apps

Having not seen it done already, I decided to try to deodex some of the XOOM apps from the system dump and see if they would install on the API Level 11 HC SDK image. However, it seemed like Baksmali was broken. I googled and saw this...
http://code.google.com/p/smali/issues/detail?id=58#c0
Anyone find a workaround? That AOSP release can't drop soon enough.
Anyone? Would this thread perhaps do better in the Themes and Apps forum? Maybe I'll ask a mod to move there if that's the consensus. There's no development going on with it yet so it probably doesn't belong there.

Potential Security Issue - with EMAIL/EXCHANGE APK's for ICS ROMS

I have been using aosp's rom v13, within it there are the googleemail and googleexchange apk's
within rom v21 those have been replaced with email and exchange apks
i have ran CRC checksums on those two versions and they're both the email and exchange apks are different between them. The v21 file sizes are substantially bigger but nothing in the change log tells us why.
the gapps from koushes ics thread has different crc's for those apks than aosp's v13 or v21; they don't match either of aosp's included apks.
This could all be nothing but I think we need an answer here.
Can someone talk about what's going on here? Since these are GAPPS they are the most sensitive apps, I'm sure people will get mad for me making a thread about this but I'm honestly surprised no one has questioned this earlier. I trust the dev's, otherwise I wouldn't be here flashing their roms, but that doesn't mean I shouldn't be able to question something like this openly either. I just want to understand why the email apk and exchange apk are so different from rom to rom within the same dev as well as why they're different from dev to dev when they share the same version.
Thanks
You have my support. I would like to know what the explanation is. I don't assume any I'll intent but it is a valid concern.
I looked at each apk content and there are some extra images in aosp version and the manifest file also but I don't think it was him putting it there. My best guess would be that he compiled it using different options.
If I'm not mistaken, email.apk is part of android os and therefore source is available. When compiling from source, not all files will come through the same.
I would still prefer that Jim stops by this thread and explain why his version is different. I'm sure he has a reason.
...and still no reply? Can anyone reach out?
I'd suggest going to the dev's thread, asking the question and linking to this thread.
Did that to no avail. I'm back to gingerbread.
Will someone get access to my emails, etc.? Some fill me up on this? Please.
You can set different levels of compression when making the APK files. Some devs remove stuff and others add, no two will be exactly the same.
Use apktool to decompile the packages and then beyond compare to compare to see the difference.
Most devs deodex the packages so they will be larger when compared to a Nexus dump from Google that has the odex files.
I have checked out most ICS ROMs in this forum and nothing fishy like that is going on. I always look at the ROMs before installing just to be safe.
AndroidUser00110001 said:
You can set different levels of compression when making the APK files. Some devs remove stuff and others add, no two will be exactly the same.
Use apktool to decompile the packages and then beyond compare to compare to see the difference.
Most devs deodex the packages so they will be larger when compared to a Nexus dump from Google that has the odex files.
I have checked out most ICS ROMs in this forum and nothing fishy like that is going on. I always look at the ROMs before installing just to be safe.
Click to expand...
Click to collapse
Thank you! I don't know how to use apktools so I just want to be clear...you've looked at the apk for email and exchange for both the v13 and v19 vs what's included in the gapps from koush and you've determined that they're all actually the same?
For what it's worth, if the dev uses a different system key to sign everything, it will cause the checksums to be off. ODex vs DeODex (Optimized vs nonoptimized) can very easily double things in size. Nothing creepy about that.
In addition, Mail and Exchange are not part of GAPPs, they're part of system apps, meaning the source for them are released (as opposed to GAPPs). This means they go through the compilation steps just the same as the rest of ICS.

MiUI WVGA/HDPI -> qHD Lockscreen Theme Conversion

*UPDATE 4*:
Previews of existing themes are now viewable upon mouse over of the theme names.
*UPDATE 3*:
I have now turned this into a web based program hosted on my personal website. Things to know before trying it out:
-It will convert both old style themes (those with lockscreen directories instead of files) and new style themes (most themes).
-It will supply you with a download link to your converted theme and also a link to every theme that has been converted thus far. Check to see if your theme is already there before uploading it.
-Uploads and downloads from my server may be a bit slow, but considering how small most of these files are, this shouldn't be a major issue.
-The upload file size is limited to 8 MB. If you have a theme bigger than that, remove all non-lockscreen files from it and repack it before uploading it.
-The file name can not have any spaces or special characters. If it does, just rename it so that it doesn't before uploading it.
-The conversion is still not (any will never be) foolproof. There will be some cases where you'll have to go into the manifest.xml file and manually update the values that were overlooked. As it is though, it seems to fully convert ~90% of themes with no further work needed.
-If my website is not responding, send me a pm or post here.
-If you have any questions/issues, post here.
-Enjoy
Link: http://betelicious.dyndns.org/cgi-bin/converter
*UPDATE 2*:
v0.2 attached! It now takes care of all the extracting and repacking for you. You basically just feed it an mtz file and it will handle the rest. This will currently only work with *new* style themes, where the mtz contains an archive called "lockscreen". The logic is the same as before.
*UPDATE 1*
The Perl script is attached! READ THE INCLUDED README!! If you still have questions, feel free to post here or pm me.
All I ask is that you guys help each other out- If you're able to successfully use the script, help out those who can't by converting any requested themes from this thread. And please share here any themes you are able to successfully convert! Let this serve as the official qHD converted theme thread. As always, have fun and enjoy!
The easiest way to make this work properly is to follow these steps:
1.) Download cygwin from http://www.cygwin.com/setup.exe
2.) Run setup.exe.
3.) At the "Select packages" screen in the installer, search for "perl", click "Perl" to expand it, and then click on "Skip" for "perl: Larry Wall's Practical Extracting and Report Language" so that "Skip" changes to the version number, meaning it will be installed.
4.) Do the same for "perl-Image-Magick: image manipulation software suite (Perl bindings)", which should also be listed there under the expanded "Perl" section, so that it's version is displayed. Also ensure that the zip and unzip utilities are installed in the same way.
5.) Search for 'make' and select Devel->make (The GNU version of the 'make' utility) so that it too installs. You'll need this to install any modules in CPAN later.
5.) Click next and complete the cygwin installation.
6.) Open cygwin and, at the prompt type "cpan".
7.) At the cpan prompt, type "Install Image::Info"
8.) Once the Image::Info module is installed, you should be able to run the script without any errors.
Hey guys, I got tired of trying MIUI lockscreen themes only to find that they don't work with my Sensation (along with any other qHD phone). So I wrote a little Perl script to take care of most of the tedious stuff (resizing all of the images and calculating and replacing all of the x, y, w, h values within manifest.xml). This actually takes care of everything in some cases. For example I converted the Sense Ring lockscreen theme with this script and it was good to go in about 10 seconds of work.
But I want to make it clear that I will not be spending copious amounts of time fixing things that the script doesn't already fix. If it's something little, I'll try to fix it. Or if it's something big and I'm bored, I'll also try to fix it, but I'm making no guarantees!
I'm also looking into a way to automate the process by possibly hosting this script somewhere and allowing anyone to upload an mtz file and get the updated mtz back. If this is ever happens, it will not be foolproof, but it will be an enormous first step in any WVGA/HDPI -> qHD conversion. So bring on your requests!
*PLEASE INCLUDE A LINK TO THE THREAD OR WEBSITE WHERE THE THEME YOU'RE TALKING ABOUT IS LOCATED SO I DON'T HAVE TO SEARCH!!*
Can you do the boom lockscreen ?
Dano79 said:
Can you do the boom lockscreen ?
Click to expand...
Click to collapse
I'll give it a go, but can you link me to it? Thanks.
EDIT: nvm found it in MiUI theme app. Downloading slowly.
Hey can you convert darkmix? Its the 4th row on the hottest tab of themes
Really appreciate yiy doing requests
surronix said:
Hey can you convert darkmix? Its the 4th row on the hottest tab of themes
Really appreciate yiy doing requests
Click to expand...
Click to collapse
Sure, downloading now, but been stuck at 0% for a few minutes. Looks like their server is down/hit. If you want it fast, just grab it off your SD card at /MIUI/themes/ and upload it here (or at megaupload.com or something.) because I'm free now
please help
could you please convert TF3 theme? both of theme. you know...the transformers theme. I get it from online theme. I downloaded it from there
Circles: link to a downloadable file-http://minus.com/mhk6BAz8n
skadoosh said:
Circles: link to a downloadable file-http://minus.com/mhk6BAz8n
Click to expand...
Click to collapse
Attached. Thanks for the link
btw I briefly checked out the theme and it seems to look/work fine, but let me know if you find any issues.
VA sideLock V1.1-Changed :http://www.mediafire.com/?d89fu58qs5he3ci
You can help me . Thanks
http://db.tt/Pjo01MAK
Here you are good sir once again thanks
Circles_v3_ClockDate: http://minus.com/mhk6BAz8n#46
---------- Post added at 03:45 AM ---------- Previous post was at 03:43 AM ----------
shooger said:
Attached. Thanks for the link
btw I briefly checked out the theme and it seems to look/work fine, but let me know if you find any issues.
Click to expand...
Click to collapse
it works fine btw..thanks
could you please fix this :
http://forum.xda-developers.com/showpost.php?p=19395729&postcount=72
and this :
http://forum.xda-developers.com/showpost.php?p=19695936&postcount=77
and this :
http://forum.xda-developers.com/showpost.php?p=19886008&postcount=93
and
http://forum.xda-developers.com/showpost.php?p=19961533&postcount=99
those 're all great lock screen , some very complicate, maybe be good to test your script
moneyrain said:
could you please fix this :
http://forum.xda-developers.com/showpost.php?p=19395729&postcount=72
and this :
http://forum.xda-developers.com/showpost.php?p=19695936&postcount=77
and this :
http://forum.xda-developers.com/showpost.php?p=19886008&postcount=93
and
http://forum.xda-developers.com/showpost.php?p=19961533&postcount=99
those 're all great lock screen , some very complicate, maybe be good to test your script
Click to expand...
Click to collapse
+1 for the last one forsure
quan1984 said:
VA sideLock V1.1-Changed :http://www.mediafire.com/?d89fu58qs5he3ci
You can help me . Thanks
Click to expand...
Click to collapse
Here you go. The weather widget doesn't work for me, but I'm assuming that's only because I don't have the required app installed.
surronix said:
http://db.tt/Pjo01MAK
Here you are good sir once again thanks
Click to expand...
Click to collapse
Attached. I only attached the lockscreen theme since it's much smaller. To install it, you have to go to customize and then lockscreens and select it.
honeycomb lockscreen: http://androidspin.com/2011/10/05/miui-themes-honeycomb-lockscreen-for-your-android-phone-anyone/
sophisticated lockscreen: http://minus.com/mhk6BAz8n#65
skadoosh said:
Circles_v3_ClockDate: http://minus.com/mhk6BAz8n#46
---------- Post added at 03:45 AM ---------- Previous post was at 03:43 AM ----------
it works fine btw..thanks
Click to expand...
Click to collapse
np. clock date version attached.
moneyrain said:
could you please fix this :
http://forum.xda-developers.com/showpost.php?p=19395729&postcount=72
and this :
http://forum.xda-developers.com/showpost.php?p=19695936&postcount=77
and this :
http://forum.xda-developers.com/showpost.php?p=19886008&postcount=93
and
http://forum.xda-developers.com/showpost.php?p=19961533&postcount=99
those 're all great lock screen , some very complicate, maybe be good to test your script
Click to expand...
Click to collapse
Fixed the last one first because it was requested by someone else too. Everything was perfect after the conversion except for the music controls. Spent a long time trying to figure out why and eventually just manually fixed it. Otherwise these are going smooth! I'll get to the rest tomorrow hopefully.
Well you made script to resize and changing values of mainfest for your phone
it will be awesome if you make script for mdpi devices as can use miui lock on it but resizing manually really time consuming
moneyrain said:
could you please fix this :
http://forum.xda-developers.com/showpost.php?p=19395729&postcount=72
and this :
http://forum.xda-developers.com/showpost.php?p=19695936&postcount=77
and this :
http://forum.xda-developers.com/showpost.php?p=19886008&postcount=93
and
http://forum.xda-developers.com/showpost.php?p=19961533&postcount=99
those 're all great lock screen , some very complicate, maybe be good to test your script
Click to expand...
Click to collapse
First one (7mui) attached.

How can I (re)make an old obsolete app to work on the latest Android version?

Greetings to all. I am new to this forum and I have a question for you experts.
There is a very old and abandoned app that I used to like a lot. It is very simple (the size was just 99KB). It is simply creating a floating icon above other apps that initiates screenshots.
When I tried to install and use it on my OnePlus 5, I got the message that this application needs to be updated.
The thing is that there is no update available for this app because the developer for his own reasons abandoned the project.
Could this be because of the modified Android version my device is running? Or is it because the app is no longer compatible for the latest Android versions in general? (My old device was under 4.4 KitKat)
Is there a way to resolve this manually perhaps by decompiling , editing and recompiling the apk?
Is there a way to recreate the same apk to be compatible with the latest bunch of Android versions?
Is there perhaps a way to avoid all the hassle and "trick" the app thinking that everything is O.K.?
Since I am a complete and utter n00b, please explain to me.
I wish to thank you all in advance for your time and effort to answer to me.
The apps' source code needs to be updated.
Do you have a link to the apps' source code?
Would also help to know what app you're talking about.
GameTheory. said:
The apps' source code needs to be updated.
Do you have a link to the apps' source code?
Would also help to know what app you're talking about.
Click to expand...
Click to collapse
I have the apk file if that helps. I tried to private message you but I was not able.
How can I provide the source to you?
The link to the actual apk file is here: https://drive.google.com/open?id=1zImcIf1lret_9XsCRawrj4FLPtbMGe7j
The app is creating a floating button/icon that allows to take screenshots of a specific (designated by the app and fixed) area of your screen. You can take multiple screenshots and evry single screenshot appears in tiny thumbnails on your screen, each one next to the other. All screenshots are getting erased automatically after a few seconds (don't recall how many, maybe 30 secs).
Yeah I have private messaging disabled. I prefer to do any communication on the forums.
As I mentioned, the source code needs to be updated. So if you post the source code I'd be willing to take a look.
No guarantees of course. Lots has changed in android over time. A lot of code has been deprecated. Don't know if it can be updated or if it's just better to start from scratch.
GameTheory. said:
As I mentioned, the source code needs to be updated. So if you post the source code I'd be willing to take a look.
Click to expand...
Click to collapse
I really appreciate your willingness to assist.
As I mentioned I am not very android developing savvy, I have the classes-dex2jar.jar.src.zip here: ------------
Is this what you are looking for???
Let me know if I am mistaken.
I have also extracted all the contents of the apk using apk studio. Let me know if you need anything else.
D4MN4T10N said:
I really appreciate your willingness to assist.
As I mentioned I am not very android developing savvy, I have the classes-dex2jar.jar.src.zip here: https://drive.google.com/open?id=1wYB9STPq70LTc04YL1Yvpf2dY7-T1bZ2
Is this what you are looking for???
Let me know if I am mistaken.
I have also extracted all the contents of the apk using apk studio. Let me know if you need anything else.
Click to expand...
Click to collapse
I did a little digging by decompiling the app so that I can look at the strings.xml to get the official app name. With the app name I did some research and concluded that the developer did not make it open source. This means its original java code is not public and therefore the app cannot be updated.
You'll have to find another app in the play store similar to this one for your use.
GameTheory. said:
I did a little digging by decompiling the app so that I can look at the strings.xml to get the official app name. With the app name I did some research and concluded that the developer did not make it open source. This means its original java code is not public and therefore the app cannot be updated.
You'll have to find another app in the play store similar to this one for your use.
Click to expand...
Click to collapse
OK thank you for your time.

information please

This is not so much a note 9 question but i am in the note 9 port of the forum and it deals with the android system.
I am trying to learn a few things about android OS. I would like to make a rom and know there are some good tuts on xda.
I happen to be a hands on learner. By that i mean i like to learn by doing so tuts are good but dont pinpoint my want.
I have a android streaming box. It is from what i have read a china clone with a rockchip 3328 chipset and a 8723 wifi chip. It seems the company i bought it from put out their firmware but its very buggy and there is no twrp for it but it dose have root. But not supersu. If i install supersu the binaries are out dated and if you update them it will bot boot.
Ok anyways my question is can i open the system img and change the launcher because no launcher seems to work just by downloading from the store. and edit the systemui and framework-res because it seems somewhere the notification bar and the nav bar are gone on the ui. I then would pack it up again and install like normal firmware.
What pratfalls will i encounter and if there is any write ups on something like this please let me know.
Lastly and it may be way beyond the scope of this post. What is the process of mak8ng or rebuilding twrp to work with my device i would really like to give that a go too.
Thanks for any input.

Categories

Resources