[HELP][PORT] SunUI.apk launcher, de-compiled and logcat - Android Q&A, Help & Troubleshooting

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.

Related

[Q] Two versions of one app installed at the same time?

It seems that this is the first time I start a new thread.
Hi, all. I want to know how to install two versions of one same application at the same time.
As a matter of fact, I want to install Opera Mini 4.2 China Version and Opera Mini 4.2 Internaional Version at the time. But...Since Opera Mini 5 makes it difficult to describe the question, here takes HelloWorld.apk as an example.
Well, there are two versions of the application "HelloWorld": 1.0 and 1.1. (This is just an example)
I have installed HelloWorld 1.0 on my phone, and when I try to install HelloWorld 1.1, the 1.0 version will be replaced. But...I want to have both of them installed on my phone. That is to say, there will be two "HelloWorld" icons in the app drawer.
I use APKTool to extract the com.hello.world.apk into some "text" files, including an AndroidManifest.xml and a lot of *.smali files. In the AndroidManifest.xml, I saw this:
<manifest package="com.hello.world" versionCode="100" versionName="1.0">
I chaged the value "com.hello.world" to "com.goodbye.world". Then I re-build the apk file and transferred it to my phone.
I installed the modified package, it was successfully installed and I see two "HelloWorld" icons in my app drawer!
I try to launch the HelloWorld 1.0, it succeeds.
I try to launch the HelloWorld 1.1, it FCs immediately.
Well, this is my situation. How can I make both of them launch-able in my phone? Is it possible? What should I modify apart from "package" filed in AndroidManifest.xml?
Thanks a lot.
~~~~
wzyboy
wzyboy said:
It seems that this is the first time I start a new thread.
Hi, all. I want to know how to install two versions of one same application at the same time.
As a matter of fact, I want to install Opera Mini 4.2 China Version and Opera Mini 4.2 Internaional Version at the time. But...Since Opera Mini 5 makes it difficult to describe the question, here takes HelloWorld.apk as an example.
Well, there are two versions of the application "HelloWorld": 1.0 and 1.1. (This is just an example)
I have installed HelloWorld 1.0 on my phone, and when I try to install HelloWorld 1.1, the 1.0 version will be replaced. But...I want to have both of them installed on my phone. That is to say, there will be two "HelloWorld" icons in the app drawer.
I use APKTool to extract the com.hello.world.apk into some "text" files, including an AndroidManifest.xml and a lot of *.smali files. In the AndroidManifest.xml, I saw this:
<manifest package="com.hello.world" versionCode="100" versionName="1.0">
I chaged the value "com.hello.world" to "com.goodbye.world". Then I re-build the apk file and transferred it to my phone.
I installed the modified package, it was successfully installed and I see two "HelloWorld" icons in my app drawer!
I try to launch the HelloWorld 1.0, it succeeds.
I try to launch the HelloWorld 1.1, it FCs immediately.
Well, this is my situation. How can I make both of them launch-able in my phone? Is it possible? What should I modify apart from "package" filed in AndroidManifest.xml?
Thanks a lot.
~~~~
wzyboy
Click to expand...
Click to collapse
Well I'm not an android programmer but if I'm understanding you correctly you did the following (in the order I'm listing them):
1) Installed helloworld 1.1 (which over-wrote v1.0)
2) Opened the APK for helloworld 1.0 and made the manifest change
3) Installed the modded helloworld 1.0 on your phone
From a programmer point of view (just not with Android), if you followed the above scenario what is happening is HW1.1 installs it's files which are updated versions of the previous one (why else install an update). When you modded the HW1.0 you only changed the name and nothing else.
What is happening is when you go to install the modded version it's overwriting the newer files with the older ones since the phone is assuming the modded app is an entirely new program and allows the process to occur. This is why the modded one works and the 1.1 won't since the files it needs are the wrong version.
The only option of really have is to mod the actual program to look for different filenames, but without the source code to that app, that isn't going to happen.
Basically you need to have version 1.1 use the default files, and with the modded 1.0 you need to tell the software to "look" for the updated filenames (just don't forget to rename the actual files too).
Short of all that, as far as I know your SOL.
Rayvenhawk said:
Well I'm not an android programmer but if I'm understanding you correctly you did the following (in the order I'm listing them):
1) Installed helloworld 1.1 (which over-wrote v1.0)
2) Opened the APK for helloworld 1.0 and made the manifest change
3) Installed the modded helloworld 1.0 on your phone
From a programmer point of view (just not with Android), if you followed the above scenario what is happening is HW1.1 installs it's files which are updated versions of the previous one (why else install an update). When you modded the HW1.0 you only changed the name and nothing else.
What is happening is when you go to install the modded version it's overwriting the newer files with the older ones since the phone is assuming the modded app is an entirely new program and allows the process to occur. This is why the modded one works and the 1.1 won't since the files it needs are the wrong version.
The only option of really have is to mod the actual program to look for different filenames, but without the source code to that app, that isn't going to happen.
Basically you need to have version 1.1 use the default files, and with the modded 1.0 you need to tell the software to "look" for the updated filenames (just don't forget to rename the actual files too).
Short of all that, as far as I know your SOL.
Click to expand...
Click to collapse
Great thanks to your reply. But...
Android uses .apk files to install and run the application. When installing an apk file, the package installer just copys the apk file to /data/app directory and "register" the program in the system. The apk itself will not be "extracted" or anything else. That is to say, an apk file can be installed, and also can be run.
On the other hand, the apk will generate some files in /data/data directory when running. I am considering that it was these file that made the modded version FCs. I will try to look into these files to see will this works...
English is my second language, hoping that I did not made many grammar misktaks...
+1 on this topic. It's been a year and a half since the last reply and I've done a bit of searching online to find no answers. I anyone have some feedback on this? I'd ultimately like to use this to install two Google voice applications. I actually have an app from a blacked out version with a different icon. But if I install it it will overwrite the original Google voice app
cowboyaryk said:
+1 on this topic. It's been a year and a half since the last reply and I've done a bit of searching online to find no answers. I anyone have some feedback on this? I'd ultimately like to use this to install two Google voice applications. I actually have an app from a blacked out version with a different icon. But if I install it it will overwrite the original Google voice app
Click to expand...
Click to collapse
You are one hell of an archaeologist
Sent from My Samsung Galaxy S2 running Paranoidandroid Rom.What else if not?=P
I'd also like to know if that's possible. Even if it were possible, and an updated version of helloworld is relaeased (Say, HelloWorld v1.2), which version would it replace? Would it replace the (original) HelloWorld 1.1 or the (modded)HelloWorld 1.0?
Yes. Titanium backup. Profiles. These are the keywords.
lambstone said:
Yes. Titanium backup. Profiles. These are the keywords.
Click to expand...
Click to collapse
any idea how i would use TB and "profiles" to do it? sounds like you know from experience
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
lufc said:
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Click to expand...
Click to collapse
thanks cheif i'm not the one who posted this almost two years ago
bbsrailfan said:
I'd also like to know if that's possible. Even if it were possible, and an updated version of helloworld is relaeased (Say, HelloWorld v1.2), which version would it replace? Would it replace the (original) HelloWorld 1.1 or the (modded)HelloWorld 1.0?
Click to expand...
Click to collapse
It would replace the only legitimate version found, the unmodded one. The point of modding the APK is to make Android see it as a completely different app, and not think of one as an update to the other.
dstruct2k said:
It would replace the only legitimate version found, the unmodded one. The point of modding the APK is to make Android see it as a completely different app, and not think of one as an update to the other.
Click to expand...
Click to collapse
do how do you mod the apk? change the filename? i'm sure theres more to it than that
lambstone said:
Yes. Titanium backup. Profiles. These are the keywords.
Click to expand...
Click to collapse
that feature on tibu is for switching DATA profiles basically so two or people can play the same game or whatever and keep they're progress separate like having multiple saved games. its not for switching versions of an app
I've tried to googling how to install multiple same applications in one device,but i didn't found anything how to do that simply...there are lot of stuff using ant and ruby script,but don't understand with that..so anyone figured out how to install multiple same apps with simply method? because i want to install operamini 7.5,but I've already instaled version 6.5...
sorry for my bad english
Need to install Galaxy S4 gallery on custom rom which has S4 gallary apk
Need help to install two versions of Gallary S4 and S5 Gallary can someone help...since I like the spiral option very good in S4 gallary which I miss and I like few features of Gallary from S5....in Ozcan rom on S4 i19500...please help
Necro, sorry. I have the same question. I have a copy of the old ifunny app and want both the new and the old, I would also like to run two versions of the same game (one with a nodded apk for unlimited coins and etc and one stock) I wouldn't mind if they shared data but if there's a way to make it where the asks do not share days that would be cool too.
Possible solution
Hi there,
While searching for a solution I found this thread and as it is one of the first results in google I thought to share what I found (didn't try yet) :
http://android.stackexchange.com/questions/19935/how-to-keep-two-versions-of-an-app-installed
It's first answer has a guide how to run two versions of same app throigh modifying onee of them with apktool.
Greets
Gachmuret said:
Hi there,
While searching for a solution I found this thread and as it is one of the first results in google I thought to share what I found (didn't try yet) :
http://android.stackexchange.com/questions/19935/how-to-keep-two-versions-of-an-app-installed
It's first answer has a guide how to run two versions of same app throigh modifying onee of them with apktool.
Greets
Click to expand...
Click to collapse
Hi
I would also like to do this for Google earth app I want to have both version 7.1.3 and 8.0.1 because the earlier version has more features but the latest looks more beautiful so I read the instructions from that link but it is way too complicated for a noob user like me plus judging from the last message it seems it hasn't been resolved so isn't there an app or xposed mod that does this automatically ?

[Q] Hack to add more pages to TouchWiz - Stock ROM Rooted

I've tried searching all the threads here in the Galaxy S III forum, but couldn't find anything. I am rooted on Stock ROM Version: I9300ZSALF1
The stock ROM has a max of 7 pages for Touchwiz. Is there an easy hack to be able to add more pages to Touchwiz without having to flash a custom ROM?
Any help would be greatly appreciated.
simple, install a launcher replacement
gregwee said:
I've tried searching all the threads here in the Galaxy S III forum, but couldn't find anything. I am rooted on Stock ROM Version: I9300ZSALF1
The stock ROM has a max of 7 pages for Touchwiz. Is there an easy hack to be able to add more pages to Touchwiz without having to flash a custom ROM?
Any help would be greatly appreciated.
Click to expand...
Click to collapse
Best idea is to install a launcher replacement. Nova would be my recommendation. Nova supports unlimited home screens. Best of all it allows you to save the settings (icon locations, widget locations etc) so that when you do install a custom rom, you can restore you home screen icon and widgets. The stock Touch wiz has NO support to save icons and widgets !!!
Rambooka said:
Best idea is to install a launcher replacement. Nova would be my recommendation. Nova supports unlimited home screens. Best of all it allows you to save the settings (icon locations, widget locations etc) so that when you do install a custom rom, you can restore you home screen icon and widgets. The stock Touch wiz has NO support to save icons and widgets !!!
Click to expand...
Click to collapse
Thanks for the suggestion, but I'd rather stick to Touchwiz for now..
I remember reading a hack in one of these forums to add pages, but can't find it now...
Don't know if you already found what you were looking for.
I also tried to find an answer for your question and had to search by my self.
Fortunately I found the answer, wich worked for me an my Galaxy Tab3 (GT-P5200)
After decompiling your SecLauncher3.apk, open the file \res\values\integers.xml
Now you edit following line:
Code:
<integer name="config_workspaceMaxScreenCount">7</integer>
I replaced it with the following code (just to try if it would work):
Code:
<integer name="config_workspaceMaxScreenCount">9</integer>
After replacing my original SecLauncher3.apk with the modified one (in recovery mode)
and restarting my device, I was able to add 9 pages to my TouchWiz-Homescreen
Due to I am not a pro regarding Android, I can't tell you if this works for other devices.
But at least you can try and check if this small mod works for you as well.
Hope this short information helps you to get what you wanted.
---------- Post added at 03:05 PM ---------- Previous post was at 03:02 PM ----------
By the way, .... does anybody know, which value I have to set to create unlimited pages?
Would be greate if someone could help me

Adding a 'Kill all' button to Recent Apps window?

Hello guys.
Recently I've ordered a Cube U9GT5 tablet and so far it's great, however I miss a small feature and really makes the life easier, and that is the button to kill all apps in Recent Apps window. I have this feature on my I9000 running GamerzROM (4.2.2) and I really miss it on my tablet.
The Cube is also running on 4.2.2 and is rooted. Is there any tweak or an app that can add this button?
Thank you for your replies.
Yes and No
Short answer is no. You can’t get a kill-all button in recent apps window because you should have to get your tablet’s android sources, edit the system file, recompile it and install it using CWM or TWRP.
Long answer is yes but you need to wait for CyanogenMod to build their first custom rom for this device. You can follow their work here
PLEASE COPY AND PASTE THOSE LINKS IN URL FIELD. I AM A NEW USER AND XDA DOESN’T LET ME POST OUTSIDE LINKS.
forum cyanogenmod com/topic/65147-request-cube-u9gt5-rk3066-with-retina/
and read something interesting here
www arctablet com/blog/forum/cube-u9gt5/cube-u9gt5-rooted-firmware-from-97r-20130108/
If it helped, press Thanks!:good:
i suggest you better install xposed framework and then install gravitybox it will solve your problem
just search forums for it you will find it hit thanks if you like
I don’t think that’s the best way.. I tried GravityBox on my „chinese” tablet and didn’t work at all!
milav said:
i suggest you better install xposed framework and then install gravitybox it will solve your problem
just search forums for it you will find it hit thanks if you like
Click to expand...
Click to collapse
It depends on support if rom is aosp base with very less cystomizations in framework then its possible its just about giving it a try
Oh...
Oh, that’s why it didn’t work…The rom wasn’t AOSP based… Hey OP, give it a try and tell us!

2017 Shield 7.1 developer firmware - feature requests

It is time to create a new thread to avoid the others from going fully out of control.
My kitchen is finally working fine again, the test firmwares so far function within my expections.
I don't really need much for my needs, meaning my personal firmware will be quite basic.
But I would like to also provide some nice firmware for those out there currently not considering to upgrade to the 7.2.x firmwares.
The basic idea is to have something ready to be flashed with TWRP to get a fully working and mostly already updated 7.1 with full root rights.
What shall go in in terms of stock or additional apps is up to you guys.
A filemanager? Name it...
Additional video player? Again, let me know which one is prefered.
Maybe something like HaLauncher to get easy access to the non TV apps?
Or shortcuts to launch them from the default launcher?
Ad blocker maybe?
Or some Magisk modules?
I think you got the basic idea!?
This type of thread is more suited in general/guides than a dev thread.. at least until custom rom links are available
Fair enough, I then first make one, then add what might be needed, then start again.
Well, then just remove or delete the topic until then I guess....
Can't seem to be able to do it myself, so please go ahead.
Will post again once the rom is done.

[Help] How to change the default launcher app

Hi all, i've download an customized launcher for ATV, so i want to replace this launcher into customized ROM.
i've unpacked an android 9 rom, the rom is using default Android TV Home as launcher, how do i replace this so when i first time start up and will not ask to choose default launcher.
I tried just putting the launcher APK into system/pre-install folder, which will install. However, this will not set my launcher as default one.
sorry im newbie, and still looking around how system works. i found some answers here, but i am not able to find related file to modify.
anyone who have done this please guide me.
thx

Categories

Resources