Disabling Soft Buttons - The "Bee" Trick - Gen8, Gen9, Gen10 Themes and Apps

Hey everyone,
I've just donloadest the newest version of the game "Tiny Bee"(its a copy of dillo hills)
I started the game and just saw that the soft buttons were disabled
I went back to the homescreen and there they are!
If we could use this (how they are able to disable the Soft Buttons) we could use this
Until now, just Archos applications (music,video,...) were able to do so.
If you're interested in that i could send an e-mail to the developers of the game, they're german too
what do you think about this? let me know..

I'm not a developer, but these settings are in the Manifest, aren't they?
So, if we had the command for this, we could put this in the local.prop for those people where the other method doesn't work, like me. I will look.
But does the other trick to remove the buttons is working for you?

Flix123 said:
I'm not a developer, but these settings are in the Manifest, aren't they?
So, if we had the command for this, we could put this in the local.prop for those people where the other method doesn't work, like me. I will look.
But does the other trick to remove the buttons is working for you?
Click to expand...
Click to collapse
Thanks for interest
I dont try the other ways, but i need the soft buttons in the browser, but in games i dont need them, and if we could set up for each app if we want the buttons or not, that would be cool!
I dont like the other ways, because you cant do that...
Yep, i also think there are in the manifest xml file could you look? that would be assome!

I could look, but how can I do this? Do I need the SDK or somethinglike this?

Flix123 said:
I could look, but how can I do this? Do I need the SDK or somethinglike this?
Click to expand...
Click to collapse
Noo^^
You have WinRar right?
Open the apk with this and you will get the manifest.xml
do need a link to the apk? (Warning:Warez) I would send to you per PM

I've the apk and it's extracted. But I can't open the AndroidManifest.xml. When I open it with notepad++, there are only some 00000.
How I can open it?

Forget, what I said.
I think, I found it: There's the permission: a r c h o s . p e r m i s s i o n . F U L L S C R E E N . F U L L
I will try to put that into other games.

Flix123 said:
Forget, what I said.
I think, I found it: There's the permission: a r c h o s . p e r m i s s i o n . F U L L S C R E E N . F U L L
I will try to put that into other games.
Click to expand...
Click to collapse
Wonderfull! Thank you!
I lay in bed otherwise i would do it, but i'm just on my archos
It really looks like this permission is the key

I'm testing it in the moment.
You're German, right? So could I send you a german PM?

I don't know, how we could put the permission in apps. Maybe we need the SDK for this?
Is there a developer, that could help us?
And does this work for you? It doesn't work. In connection with button savior it could solve the problem, too.

Okey, i'll send you a german pm easier..
For fhe others:
If there will be any updates i post them here

I have done it before..
Here's how to do it:
1. Decompile the apk using APK tool or other tool that have same function
2. Add this (without quotes) --> "<uses-permission android:name="archos.permission.FULLSCREEN" />" to AndroidManifest.xml
3. Recompile back the apk
4. Sign the apk, I use zip signer
5. Install the apk
I've done this to ezPDFReader, but I think this method is lots of work and after an update, you have to done it again..
Here's thread from archosfans - http://forum.archosfans.com/viewtopic.php?f=63&t=46665

akmalhisyam said:
I have done it before..
Here's how to do it:
1. Decompile the apk using APK tool or other tool that have same function
2. Add this (without quotes) --> "<uses-permission android:name="archos.permission.FULLSCREEN" />" to AndroidManifest.xml
3. Recompile back the apk
4. Sign the apk, I use zip signer
5. Install the apk
I've done this to ezPDFReader, but I think this method is lots of work and after an update, you have to done it again..
Here's thread from archosfans - http://forum.archosfans.com/viewtopic.php?f=63&t=46665
Click to expand...
Click to collapse
Okey, thanks
I it would be much work but could we create an app that decompile the apk and add the line in the manifest?
I'm new in apps develop but i read me in atm
Do you know if android can decompile a apk from built-in?
I'm sure this function hided anwhere, because if theres no function like the we wouldnt be able to install a apk

1. Doesn't "decompile" just mean "unzip"? apk files are just zip files, with some alignment and signing, and you can just unzip them.
2. Dumb question: If you get rid of the buttons, how do you leave the app?

arpruss said:
1. Doesn't "decompile" just mean "unzip"? apk files are just zip files, with some alignment and signing, and you can just unzip them.
2. Dumb question: If you get rid of the buttons, how do you leave the app?
Click to expand...
Click to collapse
1. normally yes, but then the manifest.xml file nearly isnt redable
2. With an button insie the app

Lenn said:
Okey, thanks
I it would be much work but could we create an app that decompile the apk and add the line in the manifest?
I'm new in apps develop but i read me in atm
Do you know if android can decompile a apk from built-in?
I'm sure this function hided anwhere, because if theres no function like the we wouldnt be able to install a apk
Click to expand...
Click to collapse
It would be nice if we can decompile apk inside the device itself. But I think there's no such thing yet

Guys that arent new news
Sorry i am too lazy to search the link, but in the Archosfans forum an Archos Staff said that they implemented the fullscreen permission in one of the last firmware updates...
U have to put the permission line into the manifest...
I tested it and it worked. I am not a developer, u just have to use the Apk Edit tool.
Edit: Okay here is your solution
http://forum.archosfans.com/viewtopic.php?f=63&t=46665

akmalhisyam said:
It would be nice if we can decompile apk inside the device itself. But I think there's no such thing yet
Click to expand...
Click to collapse
Actually, you can compile command-line unzip/zip utilities, and then use a zip-signer app.
(Nevermind--I forgot that the xml files are binary compressed. Sorry, can't see how to delete my reply.)

Just found that there is a way to do this without editing the manifest (and changing the signing keys, thereby losing app data). Instead, just edit /data/system/packages.xml. I just tried it with Angry Birds Seasons, and it worked fine, except that without the buttons it was hard to get out (I just rebooted).
Basically, you pull packages.xml to the PC, find the <package> section you need, and add
<item name="archos.permission.FULLSCREEN.FULL" /> to its <perms> section. If it doesn't have a <perms> section, just add:
<perms>
<item name="archos.permission.FULLSCREEN.FULL" />
</perms>
Then put packages.xml back in /data/system/. Of course you'll need root, but you don't need rw system (/data/system is not in the system partition).
And then reboot (no way around that as far as I can see).
It wouldn't be at all hard to write a little app to do this. It would take less than half an hour for someone who knows how to use SAX (I don't).
One thing this shows, which I didn't know, is that the system gets the permissions from packages.xml, not the manifest. So modifying the manifest in the apk wouldn't help unless you re-installed the apk. And it also means that one can change which permissions one gives an app after one has installed it (though it's probably going to crash if you deny it something it needs).
Of course, be careful. If the xml is malformed, you'll probably get a reset loop. So backup your system first. (I basically tar /data)

arpruss said:
Just found that there is a way to do this without editing the manifest (and changing the signing keys, thereby losing app data). Instead, just edit /data/system/packages.xml. I just tried it with Angry Birds Seasons, and it worked fine, except that without the buttons it was hard to get out (I just rebooted).
Basically, you pull packages.xml to the PC, find the <package> section you need, and add
<item name="archos.permission.FULLSCREEN.FULL" /> to its <perms> section. If it doesn't have a <perms> section, just add:
<perms>
<item name="archos.permission.FULLSCREEN.FULL" />
</perms>
Then put packages.xml back in /data/system/. Of course you'll need root, but you don't need rw system (/data/system is not in the system partition).
And then reboot (no way around that as far as I can see).
It wouldn't be at all hard to write a little app to do this. It would take less than half an hour for someone who knows how to use SAX (I don't).
One thing this shows, which I didn't know, is that the system gets the permissions from packages.xml, not the manifest. So modifying the manifest in the apk wouldn't help unless you re-installed the apk. And it also means that one can change which permissions one gives an app after one has installed it (though it's probably going to crash if you deny it something it needs).
Of course, be careful. If the xml is malformed, you'll probably get a reset loop. So backup your system first. (I basically tar /data)
Click to expand...
Click to collapse
Thaaaank you!
Thanks for the work sou made!
Great news!
Actually i start with app developement at the moment, but jow i just can give out test and buttons and such very first stadium...
You really mean this would be easy? For someone who can create an app?
I could ask the deceloper of the Uruconfig app, solune
But maybe he have to do much at the moment...
We could also create a thread on general xda to ask for somebody who could do this

Related

Ultimate Extractor

I got this idea from a thread where someone was asking for a certain icon pack and I suggested to go one by one and grab the icon from each apk. I then thought to myself that this could all be automated. So here it is:
Ultimate Extractor
HOW TO USE:
1. Download icex.zip
2. Make folder C:\icex
3. Extract files from icex.zip to C:\icex
4. Put the theme in C:\icex (has to have .zip extension)
5. Make sure that the theme is the only zip file in C:\icex
6. Now you have 4 choices:
-> 6a: If you want everything (.pngs, .jpgs, .xmls) run UltimateExtractor.bat
-> 6b: If you want only icons (icon.png or ic_launcher*.png) run IconExtractor.bat
-> 6c: If you want almost every single .png run PngExtractor.bat
-> 6d: If you want to run Ultimate Extractor on .apks and not a whole zip file, run UltimateExtractorApk.bat *NEW*
Thanks to ultra spikey for his theme porter script which I based mines off of and thanks to woelv for the thread that got me to do this.
xidominicanoix said:
I got this idea from a thread where someone was asking for a certain icon pack and I suggested to go one by one and grab the icon from each apk. I then thought to myself that this could all be automated. So here it is:
ICon EXtractor v1.0
HOW TO USE:
1. Download icex.zip
2. Make folder C:\icex
3. Extract files from icex.zip to C:\icex
4. Put the theme in C:\icex (has to have .zip extension)
5. Make sure that the theme is the only zip file in C:\icex
6. Now you have to choices:
-> 6a: If you want every single icon, run IconExtractor.bat
-> 6a -> 1: You will be prompted twice
-> 6a -> 2: Hit 'u' and enter at both prompts
-> 6b: If you dont want to be prompted, run IconExtractor_NoPrompt.bat
7. All the icons will now be in folder C:\icex\icons
The reason that the non prompting one won't give you all the icons is because a lot of icons are named "icon.png" so they end up overwriting each other. Also some of the ic_launcher* icons have the same name as well (such as ic_launcher_gallery). The prompting script gives you the option to automatically rename the .pngs as they are extracted. I will try and find a way around this eventually.
I will try to find a way to get all the icons without being prompted (its a 7z thing)
Thanks to ultra spikey for his theme porter script which I based mines off of and thanks to woelv for the thread that got me to do this.
Click to expand...
Click to collapse
wow man... you never cease to amaze me... keep up the badass work!
Ted417 said:
wow man... you never cease to amaze me... keep up the badass work!
Click to expand...
Click to collapse
hehe thanks man .. if only i could get it to be perfect
nice work! now you need another tool to repack the icons. so people can extract icons from one place and repack them automatically into another. that would be perfect since people who extract the icons want to use it for another app or theme.
NguyenHuu said:
nice work! now you need another tool to repack the icons. so people can extract icons from one place and repack them automatically into another. that would be perfect since people who extract the icons want to use it for another app or theme.
Click to expand...
Click to collapse
well thats what ultra spikey's theme porter is for
xidominicanoix said:
The reason that the non prompting one won't give you all the icons is because a lot of icons are named "icon.png" so they end up overwriting each other. Also some of the ic_launcher* icons have the same name as well (such as ic_launcher_gallery). The prompting script gives you the option to automatically rename the .pngs as they are extracted. I will try and find a way around this eventually.
Click to expand...
Click to collapse
Maybe you could create folders for each apk. So that the icons can be easily identified?
Great work, by the way!
RichieDaze said:
Maybe you could create folders for each apk. So that the icons can be easily identified?
Great work, by the way!
Click to expand...
Click to collapse
i was able to get them into folders for each apk but i was having trouble getting them to the root of each folder (they were in res/drawable within each folder which is what im trying to avoid)
ill keep working on it and see if i can get them into the root of their own folders
EDIT: found a huge bug which ill be fixing for the next update
xidominicanoix said:
i was able to get them into folders for each apk but i was having trouble getting them to the root of each folder (they were in res/drawable within each folder which is what im trying to avoid)
ill keep working on it and see if i can get them into the root of their own folders
EDIT: found a huge bug which ill be fixing for the next update
Click to expand...
Click to collapse
This would make mylife ten times easier to port themes. I have to search through the whole rom to get the png's I need. It takes around 4 hours to do. Plus some of the older roms png's have different names for them. Mostly on the Framework. Does it extract the png's from the Framework as well?
Yea it should be doing so but ill double check to make sure
EDIT: no i wasnt doing it before but i implemented it now
ok new update
have everything in separate folders now
enjoy
ALSO, for anyone who's curious .. that 'huge bug' is due to some themes having an 'app' folder while others have 'system/app' ... my script wasnt working with the 'app' folder before ... now it tests for it
EDIT: had to re up it real quick with a small fix
Should I reboot after doing this process or simply the icons apply themselves instantly? 'Cause I did it and nothing happened. i'm on CyanogenMod 3.97 and try to put icons of the Aero theme...Can some help...Pleaseeee
fairymaru said:
Should I reboot after doing this process or simply the icons apply themselves instantly? 'Cause I did it and nothing happened. i'm on CyanogenMod 3.97 and try to put icons of the Aero theme...Can some help...Pleaseeee
Click to expand...
Click to collapse
this isnt changing the icons in your phone .. this extracts the icons from any theme and puts them in a folder on your computer .... its mainly a help to theme devs or anyone looking just for icons
Ohhh ok good thanks for the reply
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
RichieDaze said:
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
Click to expand...
Click to collapse
yea the overwriting pisses me off but its the only way to get it fully automated .. i will add a second version that will prompt to rename any pngs ... or i can try to get the drawable, drawable-land, and drawable-port right ... can you let me know which folders are missing so i can see why?
Can't wait until saturday night, i'm off work, so i can play with this. Thanks for your hard work!
RichieDaze said:
This program works great....Only one thing though, on the launcher folder, seems like the png's w/ the same name get over writen. Example= "delete_handle" from Res/drawable-land AND Res/drawable-port aren't two different Png's. Maybe for this apk and others with thhe same folders, you could place them in the original folders----Drawable----Drawable-land----Drawable-port, as you said it work before hand. Some other folder/Png's are missing as well...
I tryed to use UltraSpikey's theme converter and was unsucessful. I was More accurate using this method, thanks to you... It is gladly appreciated...
Click to expand...
Click to collapse
now they get extracted into their respective folders (drawable, drawable-land, drawable-port, etc) (also this stops the overwriting )
temporizer said:
Can't wait until saturday night, i'm off work, so i can play with this. Thanks for your hard work!
Click to expand...
Click to collapse
no problem man .. just trying to use what ive learned so far to help out the community
Works perfect now!!!
Ten Thumbs up!!!!!!
Now its like stealing candy from the baby...
Any ideas that i should implement .. it feels sorta 'final' but i can always try and optimize/revise/add to it
There's always room for improvement... How about making this script pull the Jpeg"s off the Framework and Launcher??? Then at a later date(Next update) locate the most common edited Xml's files to be pulled off next...

[Guide][DDKQ8] Remove "Swipe screen to unlock" | Center lockscreen Clock | more...

[Guide][DDKQ8] Remove "Swipe screen to unlock" | Center lockscreen Clock | more...
No guide can explain every bit of information a beginner needs to know to achieve the wanted results. You need to make an effort and have patience to learn what you need.
This guide assumes that you have some basic knowledge like managing files on your phone, setting permissions, using command prompt on your computer. I will not explain what is ADB or Root Explorer or how to use them. google can help with that.
The steps described here are the steps i did on my computer (windows) and my rom (rooted, deodexed). i cannot promise to offer support, i'm a semi-noob myself.
standard disclaimer applies: Do it at your own risk & Backup your system before trying any of this.
What you will need:
• apk file compiler/decompiler: i will use apktool
• archive manager: winrar, 7zip
• Text editor : Notepad++ is recommended
• A way to manage files on the phone: ADB, Android Commander, Root Explorer
• an image editor (for some parts): Photoshop, Gimp, Paint.NET...
Part I. Decompiling
1. First you need to download and install apktool which allows you to decompile apk files and rebuild them. some people prefer APK Manager but i find apktool simpler to use.
Download these two files and export them to your Windows directory.
apktool-install-windows-r04-brut1.tar.bz2
apktool1.4.3.tar.bz2
2. Pull the file framework-res.apk from /system/framework/ on your phone and place it on your computer. for exemple under C:\lockscreen\
3. Now open a command prompt window and change the current directory to C:\lockscreen\ by entering the command
Code:
cd c:\lockscreen
Then decompile your apk file by entering the following command
Code:
apktool d framework-res.apk
This will create a new folder named framework-res within it are the decompiled contents of framework-res.apk
Part II. Editing files
Remove "Swipe screen to unlock"
1. Open \framework-res\res\values\strings.xml
2. Find lockscreen_unlock_guide_text
3. In that line, delete Swipe screen to unlock
Note: \res\values\strings.xml is for English language. if you're using a differnet language on your phone then you have to edit the corresponding strings.xml file in the proper values directory. for exemple if you're using French then you'll have to edit the strings.xml file under values-fr
Change the date format on the lock screen
1. Open \framework-res\res\values\strings.xml
2. Find mid_month_day_mid_wday_no_year
3. Replace E. d MMM. with the format you want.
Reference:
d numeric Day of the Month (1)
dd numeric Day of the Month (01)
EEE short Day of the week (Mon)
EEEE long Day of the week (Monday)
M numeric Month (1)
MM numeric Month (01)
MMM short Month (Jan)
MMMM long Month (January)
yy short year (09)
yyyy long year (2009)
exemple: yyyy MMMM d, EEEE to display 2012 March 12, Monday
Center the lockscreen clock and date
Explaining this mod step by step would take too long. All the editing is done in a single file \res\layout\zzz_keyguard_screen_clockwidget.xml
I uploaded the edited file (not compiled). All you have to do is replace you original file under framework-res\res\layout\ with this one before you compile. Advanced users can take a look at it, compare it with the original and edit it if they want/can.
I also replaced the charging icon that appears on the lockscreen. The png file is inluded with the xml file. To apply it, after you're done with Part III of this guide, open your modded apk file with winrar/7zip, browse to \res\drawable-mdpi\ then drag the png and drop it in the apk.
Part III. Creating the modded file
After we're done editing the xml files, we will recompile them and update the original apk with the modded ones.
1. Go back to that command prompt window and enter the following command to recompile the files
Code:
apktool b framework-res
(no .apk at the end)
when it's done, you will find a new folder under framework-res named build where the compiled files are placed.
2. Go to framework-res\build\apk\ copy the resources.arsc file
3. Open your original framework-res.apk file with an archive manager like winrar or 7zip (do not extratct, open with) and paste resources.arsc inside it.
4. If you used the edited zzz_keyguard_screen_clockwidget.xml file, then you have also to copy the compiled version from \buid\apk\layout\ and paste it under the same path inside your apk file.
Now your framework-res.apk is modded and ready to be installed.
5. Place the apk in your phone under /system/framework/ and set its permissions to rw-r--r--
Note: Some may prefer to copy the file to /system/ first, set the permissions and then move it to /system/framework
6. Reboot
Changing the font of the clock:
For some reason, this clock is not actual text, it does not use a font. Instead, the numbers are png files placed under /res/drawable-mdpi/
So to change the font, you will have to make new png files for each number, plus one for the column )
I uploaded the ones i made. you can take a look at them to note the dimensions and names of the files. you have to use those same names. also notice that there are two different files for the number one.
After you're done modding your framework-res.apk and just before you send it your phone, open it with winrar and browse to /res/drawable-mdpi/ then drag the png files you made and drop them inside the apk.
Flashable zips:
lockscreen_text_patch_DDKQ8.zip => remove "Swipe screen to unlock" text
LockscreenMod_Stock_DDKQ8.zip => Centered clock and mod with replaced clock font for stock DDKQ8
dali47 said:
This is a short guide explaining how to remove the "Swipe screen to unlock" text from the new galaxy-note-like lockscreen available in the new DDKQ8 rom.
i will add more details if asked for.
Click to expand...
Click to collapse
Maybe you know how to make the date display more "acceptable"? I hate how it looks in stock...
I would really appreciate a flashable zip to solve this problem.
Nice
FROM XDA APP
PRESS THNX IF I HELPED YOU
U can remove everything from lockscreen
herpderp © aint got money to pay to my fish
Thanks..!! was searching for this..!!
Will try this today or tomorrow...can anyone tell or make a guide on how to enable crt animation on stock 2.3.6 DDKQ8
Sent from my GT-S5830 using xda premium
iSxy said:
Will try this today or tomorrow...can anyone tell or make a guide on how to enable crt animation on stock 2.3.6 DDKQ8
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Same way as every other
herpderp © aint got money to pay to my fish
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
if i want to replace stock rom lockscreen, i need to replace framework-res.apk only, right?
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
wassupadi said:
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
Click to expand...
Click to collapse
i dont think u can
FROM XDA APP
PRESS THNX IF I HELPED YOU
iSxy said:
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
Click to expand...
Click to collapse
Yes
FROM XDA APP
PRESS THNX IF I HELPED YOU
Good guide.
Sent from my GT-S5830 using xda premium
kmarci said:
Maybe you know how to make the date display more "acceptable"? I hate how it looks in stock...
I would really appreciate a flashable zip to solve this problem.
Click to expand...
Click to collapse
how do you mean acceptable?
i can only make a flashable zip for specific roms and themes. maybe i will see what roms out there are based on DDKQ8 and make a couple of zips.
i usually prefer making guides than making falashable zips so anyone can apply the mod on it's own specific system.
wassupadi said:
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
Click to expand...
Click to collapse
the lockscreen it hard coded un the framework, maybe also some other files. i personally cnt do it. if you want to try to port it i can provide you with any files you need from stock DDKQ8
hanaxxaru said:
if i want to replace stock rom lockscreen, i need to replace framework-res.apk only, right?
Click to expand...
Click to collapse
not really. not all frameworks are compatible with all roms. it probably will not work. it needs to be ported. but you can try of you want. just make a backup of your system before.
iSxy said:
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
Click to expand...
Click to collapse
sure you can. just replace "swipe screen to unlock" with whatever you want. there might be some limitations for how much text you can fit. i didnt try it.
K ty..ill try tomorw for custom text.. Anyone tell me some good line to write?
Sent from my GT-S5830 using xda premium
dali47 said:
how do you mean acceptable?
i can only make a flashable zip for specific roms and themes. maybe i will see what roms out there are based on DDKQ8 and make a couple of zips.
i usually prefer making guides than making falashable zips so anyone can apply the mod on it's own specific system.
Click to expand...
Click to collapse
Something in this format: year. month day., name of the day. For today: 2012. march 12., monday
I'm on same rom as you are (stocklite v5). Would you please help me how to change the date display?
kmarci said:
Something in this format: year. month day., name of the day. For today: 2012. march 12., monday
I'm on same rom as you are (stocklite v5). Would you please help me how to change the date display?
Click to expand...
Click to collapse
ok, i figured it out
open \res\values\strings.xml
find mid_month_day_mid_wday_no_year
in that line, change E. d MMM. into yyyy. MMMM d., EEEEE
re-build and replace resources.arsc in original apk
posibilities
is it possible to move the framework thing to another stock rom using maybe titanium back up?
dali47 said:
ok, i figured it out
open \res\values\strings.xml
find mid_month_day_mid_wday_no_year
in that line, change E. d MMM. into yyyy. MMMM d., EEEEE
re-build and replace resources.arsc in original apk
Click to expand...
Click to collapse
Hey dude, you're unbeleivable! Thanks a lot! (Unfortunatelly I can only hit once the thanks button... )
torchwolfery said:
is it possible to move the framework thing to another stock rom using maybe titanium back up?
Click to expand...
Click to collapse
not sure what "thing" you mean. but no. Titanium Backup backs up apps and settings. the lockscreen is neither an app nor a setting.
kmarci said:
Hey dude, you're unbeleivable! Thanks a lot! (Unfortunatelly I can only hit once the thanks button... )
Click to expand...
Click to collapse
glad to help

[Services] Changing Application Names in App Drawer

We've all been through it. We install an application but the system name on the file is different from what you want it to be. One example would be the WhatsApp+ MOD on XDA. Most people would just like it to be name Whatsapp.
This is where I come in. Everyone says that you can NOT change the original developers system level name for the application, but I have found a way.
I will be taking requests for any applications that are free. I will not do paid applications.
How to request:
Upload the APK that you would like to be modified and send the link to me in this thread.
Tell me what you would like me to change the APK's name to.
It's that easy.
I've noticed you can do this with a few custom launchers like Nova, but not at the system level. However, if you rename an app in the drawer it with realphabetize itself properly.
Sent from my Nexus 7 using xda app-developers app
It's just a simple edit in the Android Manifest, I don't think anyone has said it's not possible
Code:
<application android:label="@string/app_name" android:icon="@drawable/icon" android:name=".Application" android:debuggable="false">
It may also come under strings.xml too.
Code:
<string name="app_name">App</string>
Matt said:
It's just a simple edit in the Android Manifest, I don't think anyone has said it's not possible
Code:
<application android:label="@string/app_name" android:icon="@drawable/icon" android:name=".Application" android:debuggable="false">
It may also come under strings.xml too.
Code:
<string name="app_name">App</string>
Click to expand...
Click to collapse
Yup, that's the only way to do it. All these other apps and APKs that say they can rename it do not work. I just thought I would help out people who don't have time to decompile an APK and edit it.
Hi, I almost sure that android does not work like I suppose (so probably my question does not belong here), but I gonna ask anyway, There is the stock browser in sense roms, and the AOSP browser, (i flashed this: http://forum.xda-developers.com/showthread.php?t=2173565) if I flash the AOSP browser the stock browser is replaced, is there a way to keep both browsers (on topic) maybe changing their names???
SLver said:
Hi, I almost sure that android does not work like I suppose (so probably my question does not belong here), but I gonna ask anyway, There is the stock browser in sense roms, and the AOSP browser, (i flashed this: http://forum.xda-developers.com/showthread.php?t=2173565) if I flash the AOSP browser the stock browser is replaced, is there a way to keep both browsers (on topic) maybe changing their names???
Click to expand...
Click to collapse
They already have different package names, you can have both. They are two different browsers. The zip you flash must be deleting the Sense browser, remove that line from the updater-script
Matt said:
They already have different package names, you can have both. They are two different browsers. The zip you flash must be deleting the Sense browser, remove that line from the updater-script
Click to expand...
Click to collapse
I could try that, but both apks are named "browser". I thought that's why the original browser is replaced during the flash, but I tried the following: flash the aosp browser, then add the stock sense browser renaming it to browser1.apk (to avoid the overwriting) and setting permissions, but after doing that, the aosp browser is not availble to use (it still is in system/app but is not 'usable") its like a rule to not be able to have both browsers because in every MOD which do that the stock browser gets replaced :silly:
SLver said:
I could try that, but both apks are named "browser". I thought that's why the original browser is replaced during the flash, but I tried the following: flash the aosp browser, then add the stock sense browser renaming it to browser1.apk (to avoid the overwriting) and setting permissions, but after doing that, the aosp browser is not availble to use (it still is in system/app but is not 'usable") its like a rule to not be able to have both browsers because in every MOD which do that the stock browser gets replaced :silly:
Click to expand...
Click to collapse
Sense browser is actually called Internet.apk
Matt said:
Sense browser is actually called Internet.apk
Click to expand...
Click to collapse
Hi,
Weird, mine is Browser.apk
Hypercore said:
We've all been through it. We install an application but the system name on the file is different from what you want it to be. One example would be the WhatsApp+ MOD on XDA. Most people would just like it to be name Whatsapp.
This is where I come in. Everyone says that you can NOT change the original developers system level name for the application, but I have found a way.
I will be taking requests for any applications that are free. I will not do paid applications.
How to request:
Upload the APK that you would like to be modified and send the link to me in this thread.
Tell me what you would like me to change the APK's name to.
It's that easy.
Click to expand...
Click to collapse
Hi:
I would be willing to do this edit myself, but I'm not seeing android:label= in the androidmanifest.xml file. So I can't seem to make the change. Is this located in some other XML file in the APK?
Bill Sabatine said:
Hi:
I would be willing to do this edit myself, but I'm not seeing android:label= in the androidmanifest.xml file. So I can't seem to make the change. Is this located in some other XML file in the APK?
Click to expand...
Click to collapse
As Matt stated, look for something alone these lines:
Code:
<application android:label="@string/APPLICATIONNAME" android:icon="@drawable/icon" android:name=".Application" android:debuggable="false">
Code:
<string name="APPLICATIONNAME">App</string>
Hypercore said:
As Matt stated, look for something alone these lines:
Code:
<application android:label="@string/APPLICATIONNAME" android:icon="@drawable/icon" android:name=".Application" android:debuggable="false">
Code:
<string name="APPLICATIONNAME">App</string>
Click to expand...
Click to collapse
There is already exposed MOD that can change the name of application online
oksagi said:
There is already exposed MOD that can change the name of application online
Click to expand...
Click to collapse
Thanks. I'm already aware of this, hence the thread being created over a year ago.
Hypercore said:
We've all been through it. We install an application but the system name on the file is different from what you want it to be. One example would be the WhatsApp+ MOD on XDA. Most people would just like it to be name Whatsapp.
This is where I come in. Everyone says that you can NOT change the original developers system level name for the application, but I have found a way.
I will be taking requests for any applications that are free. I will not do paid applications.
How to request:
Upload the APK that you would like to be modified and send the link to me in this thread.
Tell me what you would like me to change the APK's name to.
It's that easy.
Click to expand...
Click to collapse
I lreally want QuickPic to be renamed.
Please rename QuickPic to Gallery. Below is the download link:
http://file.appsapk.com/download/QuickPic.apk

[Guide] How to port Stock 2.3.6 apps to cm7

Warning:
This guide isn't orginally by me, I found it on internet and posting (with some edits) here to help people
The original post : http://epiccm.blogspot.com/2012/01/porting-touchwiz-apps-for-cm7.html
Click to expand...
Click to collapse
Many stock Samsung apps are awesome and beautifully looking, also cyanogen mod is fast and high customizable, you dont need to sacrfice CM& for good looking apps anymore
Click to expand...
Click to collapse
STEPS:
1- get your desired App from System/app + twframework.jar and twframework-res.apk from System/framework
2- Decompile all of them Using APK Manager OR Apktool OR Virtous Ten Studio or any other apps
Guide for decompile,compile : HERE
Click to expand...
Click to collapse
3- Remove the library dependence from the AndroidManifest.xml
The line looks like this:
Code:
and remove any lines contain ‘com.device.samsung’
This to make it install on non samsung roms
Click to expand...
Click to collapse
4- Copy the twframework code into the app source.
‘twframework.jar.out/smali/’
The app now contains both its own code, and all the needed TouchWiz code. There’s a small chance it might work if you recompile it now, but it probably also needs resources
Click to expand...
Click to collapse
.
5-Update the resources
a. Add the needed files/parts
search for any ‘@touchwiz:’ parts in any xml file under res/.
Next, you will need to merge everything under /res/ from the twframework-res.apk.
Copy over anything that doesn’t already exist. Files under /res/values/ (Except public.xml) will need to be merged, meaning insert all the values from the framework into the app, before the closing tag (Keep the XML valid). If your missing any resources, re-compiling the APK will fail
b. Remove the touchwiz references
Replace every ‘@touchwiz:’ with just an ‘@’
Example :
Code:
@touchwiz:color/
to
@color/
Copied directly from OP :
There are some calls to IDs in the 0x20 range, this is an issue because as far as I know, the 0x20 range can only be provided by the system somehow. For the Calendar app, I had to remove setIcon calls in a few activities to prevent ResourceNotFound exceptions.
If you remove them, then some things like images might not work. I also found that just removing them can cause random NullPointer errors.
Note: While working on the Task Manager, it became more complex. I had to update the old 0x20 references to the references within the new package.
After the resources are added, decompile it again, so the added resources show up in the /res/values/public.xml
Search for the old 0x20 value, and update it to the new value. If you include the /smali/touchwiz/ directory, then you can just search for the hex value and you will get the name of it from the TW R.smali files, and you can find the updated hex value in the /res/value/public.xml file
Click to expand...
Click to collapse
6. Re-compile
7. Sign the apk using platform key or testkey from HERE
GUIDE TO SIGN APK
Click to expand...
Click to collapse
Most apps uses testkey but if you had any permission error, use platform key or search google for the error
Click to expand...
Click to collapse
8. Install
adb push /system/app/
OR
using system app installer
OR
using any root explorer
Credits :
-Original poster
-Me, for simplifing it
Click to expand...
Click to collapse
Well this is useful!
I Will release some apps, after my exams finish
Sent from my GT-S5360 using Tapatalk 2
Is it possible to port stock fm radio to cm7?
bluestarfish said:
Is it possible to port stock fm radio to cm7?
Click to expand...
Click to collapse
you can try it, but it will not work anyway. there is a radio fm bug in cm7
yeah finaly i got this
many thanks sir
Well, I had it in my mind everytime but never tried doing it... #laziness
Anyways, this IS usefull :good:
Nachiket.Namjoshi said:
Well, I had it in my mind everytime but never tried doing it... #laziness
Anyways, this IS usefull :good:
Click to expand...
Click to collapse
Its a great honor for me that a good developer like you admires my work
On a side note : many devs ported stock apps (generally clock widget and launcher and task manager) to CM7 but no one ever shared, I don't like those who don't share their experiences
Sent from my GT-S5360 using Tapatalk 2
Perfect !
Just what i needed good job OP

need help theming settings apk to dark

I need help please. I have searched all over xda and elswhere, I have been looking over threads ,posts, forums for like a year. I am using android studio tools, adb and notepad++, as well as ticklemyandroid and a few other programs.
I am trying to change the background in my settings app to black/dark , the white is horrible very hard on my eyes. I use the phone in alot of dark areas and at night alot.
Can someone tell me the basic parts of settings apk(xml, or files) that i need to change to make background dark.
Please Just give me an idea of what i need to change , i dont need a full documentary or alot of your time i have the tools and the time and i want to do it myself to learn more, i just some hints as i am having some success figuring out the process, just i cant find the area that has the codes or text i need to edit for the white background issue.
I am still pretty noob to this, but i have not got the answers i need to be able to do it. Someone sent me a modified app that worked. But it had alot of issues that i could not deal with and had to revert back to my stock setup. They said there was about 26 apps that had to be modified to get it all looking smooth. And ill mod them, i just need a little more info on the files to edit. How can i find what apks need modded along with settings apk so that it works. Like framework res.
All im trying to do at the moment is change my settings apps white background, to black or dark. Holo themer didnt work. And i have not found anything what so ever that will help me. I know it can be done becouse ive used modified settings apk that worked( but caused me to lose xposed as well as other issues becouse it was included in a full phone mod that changed all white in phone menus an system to dark and somthing was changed that messed up me being able to use xposed at all) but ive decided that i will have to do it myself as all others with my phone have given up or moved on(no support feom sony with verizon).
Please, i need help. My phone is xperia z3v, i know this is not the specific forum for this phone, but the forum for z3v has been abandoned(just look at dates of last posts or replies in z3v general). When there were still people on there, and i asked, they usually replied, have a look in the z3 forums cause what your looking for is in there. And z3v is almost exactly the same so check thaere, Someone has done it.
Ive tried and failed at re compiling. It said error, no resource found that matches the given name of .... Many things. And all i did was change one line of code to say material dark.
Anyone have time to help me with any hints that may help me to make it easier. Please. Ive been doing all sorts of other mods to my phone. But the one mod i cant get accomplished is the white background that ruined my phones contacts app, settings app, notifications an everything else that has bright white backgrounds.
Why not post in question/answers in your Z3v forum? Thisnis not a topic to post threads like this!!
Look flr the guide by @abo hani
Have a nice day
Verstuurd vanaf mijn F8331 met Tapatalk
Z3 and z3v are almost identicle in working an specs. Z3v is a varient of the z3 from verizon. Z3V FORUMS ARE DEAD. Period. When they were actually used i asked this question and was directed HERE. But thanks for responding.
Samwest1 said:
I need help please
Click to expand...
Click to collapse
Pm me with settings apk, framework res apk, and semgenericuxp apk, and I'll see what I can do, and give you some tips. I'm no pro, but I've done it before. This thread will probably be closed...
levone1 said:
Pm me with settings apk, framework res apk, and semgenericuxp apk, and I'll see what I can do, and give you some tips. I'm no pro, but I've done it before. This thread will probably be closed...
Click to expand...
Click to collapse
If you can share your tips or guide here, for those who want to learn?
i know the above comment was not intended for me. But ill respond anyways just incase anything i know could help anyone else.......What i know is u need to decompile apm ,the do your mod/modifications ,then recompile and maybe sign the apk.
U need some programs , android studio, apktools, notepad++, also adb, and possibly others i havnt used, to work with the apk files. Then when u are done modding, recompile and make plashable zip, then flash back to system through recovery.
But from my understanding, u need to have other files present to decompile and work on apk, like the framework res apk and some other resource files. From my experiance i could not decompile the apk without adding the framework res apk to the program i was using to decompile(tickle my android), once i added that and another resource file to the pc program, it decompiled the apk. Then i was able to see the xml files and stuff in the apk to modify. Im just stuck on where/what code that i have to change to be able to get the black background in settings, and thats what im searching for now, something that points me in the direction i need to figure that out.
Ive used a twrpbackup /heavily modified system that another memeber here modified and sent to me. It worked and looked perfect without the white background in settings, contacts, notifications, everything. But his modded files broke something in the system, i can use xposed now with my system, his heavily modified system, the same system i use accept modded broke somthing that made xposed not work on my phone and i use a few modules in xposed i dont want to not have, so i reverted.
Dr. Death said:
If you can share your tips or guide here, for those who want to learn?
Click to expand...
Click to collapse
yeah thats right
Samwest1 said:
i know the above comment was not intended for me. But ill respond anyways just incase anything i know could help anyone else.......What i know is u need to decompile apm ,the do your mod/modifications ,then recompile and maybe sign the apk.
U need some programs , android studio, apktools, notepad++, also adb, and possibly others i havnt used, to work with the apk files. Then when u are done modding, recompile and make plashable zip, then flash back to system through recovery.
But from my understanding, u need to have other files present to decompile and work on apk, like the framework res apk and some other resource files. From my experiance i could not decompile the apk without adding the framework res apk to the program i was using to decompile(tickle my android), once i added that and another resource file to the pc program, it decompiled the apk. Then i was able to see the xml files and stuff in the apk to modify. Im just stuck on where/what code that i have to change to be able to get the black background in settings, and thats what im searching for now, something that points me in the direction i need to figure that out.
Ive used a twrpbackup /heavily modified system that another memeber here modified and sent to me. It worked and looked perfect without the white background in settings, contacts, notifications, everything. But his modded files broke something in the system, i can use xposed now with my system, his heavily modified system, the same system i use accept modded broke somthing that made xposed not work on my phone and i use a few modules in xposed i dont want to not have, so i reverted.
Click to expand...
Click to collapse
I have all the info of adb, android studio , advancedapktool, decompliling , recompiling.
The only think i need to know is which files and how i need to edit them for a black interface.
Dr. Death said:
If you can share your tips or guide here, for those who want to learn?
Click to expand...
Click to collapse
mirok80 said:
yeah thats right
Click to expand...
Click to collapse
Dr. Death said:
I have all the info of adb, android studio , advancedapktool, decompliling , recompiling.
The only think i need to know is which files and how i need to edit them for a black interface.
Click to expand...
Click to collapse
As Pandemic mentioned, there are already abundant posts and guides out there. I just offered to help since op seems to have tried all he can, but hit a wall somewhere. I have a Z1c, and I've used guide by abo hani and XperiencD more than once successfully. Seems like his main problem is with de/recompiling, which can take some figuring out, with Android and apktool versions changing and updating regularly. Personally, I do most everything right on my phone, but programs and files sometimes have to be modified, which can take quite a bit of explanation for something that most people would probably not be interested in doing. Anyway, I figured that if I could do something, maybe I could post how,but can't say for sure until I try.
Dr. Death said:
I have all the info of adb, android studio , advancedapktool, decompliling , recompiling.
The only think i need to know is which files and how i need to edit them for a black interface.
Click to expand...
Click to collapse
This is exactly what i should have said i guess. Im in the same boat. Ive been searching and searching through the posts on here for z3 and cross device xperia and have been watching the threads for the z3 from verizon since they were started. I try to figure out all i can do, everything i can figure out by reading thru what seems to be thousands of threads already , before posting and asking for help. Im sorry to have asked somthing thatsbeen covered and gone over before alot. There are so many posts that come up when i search , i just read and read thru all i can and i must have read over the info that tells me where the codes are that need edited for the background. ill try to find the posts that were mentioned above by levone1 and pandemic i believe. thank you for showing the names so i can search their threads, it should narrow down my searching quite a bit .
I had a problem at first decompiling, i got that already figured out as i hadnt loaded the framwork into programs on pc. I have done that and am now still trying to figure out what lines of code to look for , to change white background to black , so i can then recompile and try to get working on my phone.
So i am just off work , and now i am cooking dinner for kids and then will read up on the threads mentioned and see if i can find the info. i will tell what i can figure out to everyone.Thanks for helping.
To theme an apk, you must edit styles.xml and colors.xml inside res/values folder.
Look for the "light" word in styles.xml, these are mainly shortcuts to android framework.
So for example, you found something with DeviceDefault.Light in his name. Look for it inside styles.xml of framework-res.apk
Then try to find similar things but without the light.
In my exemple, DeviceDefault.Light will become DeviceDefault without the light.
That's a good starting point.
Envoyé de mon F8331 en utilisant Tapatalk
Thank you very much for the assistance everyone. I am very appreciative for your help. I am still having issues figuring this process out, but your guidence and suggestions/ are the best help ive recieved to date. Thank you.

Categories

Resources