In this guide I will show you how to enable more than the defaulft 5 homescreens
First of all, you'll need Apk Manager, this can be downloaded here.
Extract the zip to a folder you like, I'll use C:\Apk Manager\ in this guide!
Download the Home.apk from this post, note: it's for the .145 fw only.
Copy the Home.apk to C:\Apk Manager\place-apk-here-for-modding\
After you've done that, open Script.bat.
Select option 9.
Now the Home.apk will be decompiled.
When it's done decompiling, go here C:\Apk Manager\projects\Home.apk\res\values.
Open integers.xml with Notepad and go line 10. Will look like this:
Code:
<integer name="number_of_desktop_panes">5</integer>
You can change that number 5 to any number you like, let's use 9:
Code:
<integer name="number_of_desktop_panes">9</integer>
Open values/styles.xml and change line 16:
Code:
<style name="Layout.ButtonContainer">
to this
Code:
<style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">
Save and close the files. Now go back to the Apk Manager tool and select option 11, the apk will now be compiled again. It will ask you this:
Is this a system apk (y/n)
Answer with y and press enter.
After that you'll get another question:
Aside from the signatures, would you like to copy
over any additional files that you didn't modify
from the original apk in order to ensure least
# of errors (y/n)
Anwer with y again.
Now this will show up:
In the apk manager folder u'll find
a keep folder. Within it, delete
everything you have modified and leave
files that you haven't. If you have modified
any xml, then delete resources.arsc from that
folder as well. Once done then press enter
on this script.
Go here C:\Apk Manager\keep and delete resources.arsc.
Now go back to the Apk Manager tool and press enter.
In C:\Apk Manager\place-apk-here-for-modding you'll find this: unsignedHome.apk. Rename it to Home.apk and push it to your device with adb.
Adb commands:
Code:
adb push Home.apk /sdcard/
adb shell
$su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
#busybox cp -R /sdcard/Home.apk /system/app/
#sync
#reboot
After the restart you should have 9 homescreens
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks,works perfectly.
Now all I need is landscape rotation ...
Cool stuff. What will happen to my existing homescreens and all the widgets and icons on them after doing this? Will they get wiped?
And what about the overall performance? Any "lags" during games with so many homescreens?
Edit: Tried it, but got a message after starting the script.bat, saying that i have no java?! I have Java installed on my system. What should i do?
Montechristo1979 said:
Cool stuff. What will happen to my existing homescreens and all the widgets and icons on them after doing this? Will they get wiped?
And what about the overall performance? Any "lags" during games with so many homescreens?
Edit: Tried it, but got a message after starting the script.bat, saying that i have no java?! I have Java installed on my system. What should i do?
Click to expand...
Click to collapse
For some reason some widgets disappear, the best thing to do is clear data with Titanium backup and design your homescreens again
I didn't noticed any lag at all
Uhm, you might need Android SDK to be installed on your pc.. I could also compile the apk for you
I think i have the SDK on my netbook, but its about 100 km away. If you could compile it, i wouldnt say no
How many screens would you like to have?
I would like to try it with 9
Then you could just download the package from the first post
Oh, hehe, yes, um, i think i missed that one
I have root. Do i have to use adb push, or can i copy/paste the file to my device?
It's probably possible to just copy/paste it, but I prefer using adb
Maybe i did something wrong?! I copied the apk, but i played around with the permissions. After reboot the homescreens were empty, but not 9, just 5. So i checked the permissions of the old home.apk (did a backup before copy). I took the same permissions and did a reboot again. Now the phone boots up, i can unlock it, but there is no homescreen. All i see is the notofication-bar. What can i do?
Edit: I can access my apps and data using my WaveLauncher. I try to set other permissions. Maybe it will work.
Edit2: Ok, i set permissions like every other app within /system/app. Now i can access the homescreen again. Its empty, and i have 5 screens. But when i try to add a widget on my "main" homescreen, it says that there is not enough space. So i think the old widgets are still there, but i cant see/remove them. What can i do?
Montechristo1979 said:
Maybe i did something wrong?! I copied the apk, but i played around with the permissions. After reboot the homescreens were empty, but not 9, just 5. So i checked the permissions of the old home.apk (did a backup before copy). I took the same permissions and did a reboot again. Now the phone boots up, i can unlock it, but there is no homescreen. All i see is the notofication-bar. What can i do?
Edit: I can access my apps and data using my WaveLauncher. I try to set other permissions. Maybe it will work.
Edit2: Ok, i set permissions like every other app within /system/app. Now i can access the homescreen again. Its empty, and i have 5 screens. But when i try to add a widget on my "main" homescreen, it says that there is not enough space. So i think the old widgets are still there, but i cant see/remove them. What can i do?
Click to expand...
Click to collapse
happened to me before, stop the process and clear the data
Didn't work for me, couldn't get it to install, kept getting persmission denied through adb, despite the fact I'm rooted!
Could someone upload a version with 3 homescreens please?
Also, in the res/xml/default_settings_apptray -> could someone change the default sort to az instead of free! This means it should automatically sort it alphabetically and will remember it on restart...a bug in the current build.
Thanks guys
Niall
Works for me now. I did a complete new flash and root and now building up everything from scratch. Feels better now
Nhialor said:
Didn't work for me, couldn't get it to install, kept getting persmission denied through adb, despite the fact I'm rooted!
Could someone upload a version with 3 homescreens please?
Also, in the res/xml/default_settings_apptray -> could someone change the default sort to az instead of free! This means it should automatically sort it alphabetically and will remember it on restart...a bug in the current build.
Thanks guys
Niall
Click to expand...
Click to collapse
Added the one with 3 screens to the first post
No luck on the order thing yet, sorry..
works a charm, thanks man
Works like a champ lo lags on 9 screens.Thanks
xperia play not showing up on adb devices. Why?
do I need root for this or will it push without? I used adb to save the angry birds high score successfully without root but don't know if this will work same way or not. thank you
is it possiable to make an app that will install it for us
Related
This how-to shows you, how to get back the original android keyboard (see image)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
0. To do the next the steps you need to install Android SDK and connect your phone via usb. (maybe you have to enable usb-debugging)
1. Download "LatinIME.zip" and extract it. You should get two files: LatinIME.apk and LatinIME.odex.
2. Open a console on your pc (cmd in Windows) and type:
Code:
adb remount
3. If you want, you can remove the current keyboard. (Maybe there is not enough storage left on you device, then you have to delete the old keyboard)
In my case it was HTC_IME. Type to the console:
Code:
adb shell rm /system/app/HTC_IME.apk
adb shell rm /system/app/HTC_IME.odex
4. Now you can copy the old android keyboard to your phone. cd to the dir where LatinIME is stored and type to the console:
Code:
adb push LatinIME.apk /system/app
adb shell sync
adb shell reboot
5. Have fun
nice guide. also you dont need to remove the old one. you can have multiple keyboards on the device. after you install the new one, you can select which one you want to use by long-pressing a text field and selecting the desired keyboard.
also be careful about pushing odex files from another rom, it can cause you problems. you dont really need the odex files you can just install the .apk and that's fine.
to clarify the commands you listed should be done through cmd prompt on your pc, those are not "console" commands you enter through recovery console...
NguyenHuu said:
nice guide. also you dont need to remove the old one. you can have multiple keyboards on the device. after you install the new one, you can select which one you want to use by long-pressing a text field and selecting the desired keyboard.
Click to expand...
Click to collapse
I had to delete the current because there was no storage left!
NguyenHuu said:
also be careful about pushing odex files from another rom, it can cause you problems. you dont really need the odex files you can just install the .apk and that's fine.
Click to expand...
Click to collapse
fixed.
NguyenHuu said:
to clarify the commands you listed should be done through cmd prompt on your pc, those are not "console" commands you enter through recovery console...
Click to expand...
Click to collapse
Ok, cmd in windows...
Can you provide another download link for the "LatinIME.apk"? Can't get the existing one to work
Ok, try this:
http://ul.to/8x9u98
Hey. Im having trouble doing this. When i try to delete the htc_ime.apk it says it doesn't exist. Then when I try to push the latinime.apk it says that the device is full.
You hae to find out wich keyboard is installed currently. It should be a file with "ime" in its name. Try
Code:
adb shell ls /system/app
to get a list of files in /system/app (on your phone)
Thanks for answering my question. I got the HTC_IME.apk and got the latinIME.apk on. Did the sync command and also rebooted but I can't seem to activate the keyboard when the phone boots up again? Any suggestions? Thanks
I'm having the same problem... I'm using the RAv1.6.2 - DONUT ROM.
Works for me with Amon_RA v1.6.2
I got LatinIME.apk and LatinIME.odex from the HTC Donut image. Uncompress the system.img with unyaffs, LatinIME files are in /system/app
Amon_RA's packed the phone pretty full so you'll have to delete some things. Do an adb shell df to see how much space you have, LatinIME.apk is 4012357 bytes and LatinIME.odex is 80624 bytes, so you need that much space. I removed QuickOffice_blah.apk and Mail.apk (Work Mail) because I have no use for them, you will have to delete some different apps if you use those.
Then I did adb push LatinIME.apk /system/app and adb push LatinIME.odex /system/app, then the sync and reboot.
Long press in any text field to choose the Input Method, Android Keyboard appears there next to Touch Input and Better Keyboard (which I also have installed from Market).
Works!
Thanks Jamie. I tried it again and got it working with RA-v1.6.2. Thanks for the tip to remove other applications that are unused. How come I didn't think of that? haha.
If you are removing HTC_ime I think the app clicker is associated with it and can be removed also.
172312 Clicker.apk
26664 Clicker.odex
ok ! this is arabic/english keyboard from STC ROM (KSA provider)
and that from ver 1.5 (cupcake)... can any budy install it on 1.6(DONUT) ?
or how to make it compatible with donut ?
attached file has .apk + .odex + .so >> .so file required in /system/lib
Regards,
hello pleaz when I write adb remount it says "remount failed: Operation not permitted" but my G1 is root
What must I make?
Heya I have a problem.. I actually already have a latinIME.apk on my /system/app dir but its for the Multi-Touch Keyboard. It came installed like that on my phone... If I want to put on the android KB do I just rename the latinIME for the Multitouch then push this latinIME to the phone?
ViiOLENT.HD// said:
If I want to put on the android KB do I just rename the latinIME for the Multitouch then push this latinIME to the phone?
Click to expand...
Click to collapse
Maybe yes ;-)
You should make a copy of the original file. If it doesn't work, you can copy it back. If you only change the keyboard apk, the phone coldn't get bricked (imho).
Regards
Matz
K I have everything working but it REFUSES to realize that the LatinIME.apk is there... When I ls it it shows it is there but nothing makes it show.. .Tried syncs and reboots. all done on shell with su on. Phone is rooted... Its just being stubborn ill keep trying though!
thumbs up to this be awesome! did a froyo leak upgrade on captivate and lame samsung removed the droid keyboard! saved my day!
I used super manager to move files around on phone, free from market. must have root!
Thank you SOOOOOOOOOOOOOOOOOOOOO much! Greetings from Italy
Now I have all I want from my tattoo!
No good (for me)
didn't work on rooted HTC Glacier with custom ROM (MIUI)
Reboots and everything goes smooth, it's just not there.
Phone: Froyo 2.2 with root and S-OFF
I am trying to theme the clock widget with no luck. All I am trying to do is replace the flip digits, AM, PM, and background with identical sized graphics. I have tried replacing them with WinZip and 7Zip. I am signing them with the test signature which works with every other type of apk file.
I mount the system partition and push the new version with adb and when I restart all I get is a blank widget. It also shows up in the widgets list as something like 01db as the name.
So, I suspect the signing is the problem. Could be some signature check within the widget causing it to fail.
Any thoughts?
If anyone has this widget working with a black background and silver digits I would be just as happy.
I'm afraid I can't be much help at the moment, since I'm away from my computer, but here is a mod from the hero forums that I used to use on my eris. It'll be mdpi instead of hdpi, but taking a look at its files might help you out.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://forum.xda-developers.com/showpost.php?p=6270955
EDIT: You might also try making a metamorph or update.zip to apply the new widget. Sometimes that works better than an adb install.
mixedlemon said:
EDIT: You might also try making a metamorph or update.zip to apply the new widget. Sometimes that works better than an adb install.
Click to expand...
Click to collapse
Thanks. I will give the update.zip approach a shot.
Have you tried pushing the modified apk file without signing it first?
Oddity said:
Have you tried pushing the modified apk file without signing it first?
Click to expand...
Click to collapse
Actually no I haven't. Worth a shot Thanks
Well, that was weird... Pushing it unsigned worked. I never thought to try that since any add on apk's I have done needed to be signed.
Thank you
So, to summarize:
Code:
1) Open apk with 7zip and leave it open
2) Extract res folder to desktop
3) Modify graphics or whatever (I only did graphics)
4) Drag the res folder over the zip window and drop
5) Exit 7zip
6) Go into recovery mode and mount /system
7) Connect phone to pc
8) Open cmd and cd to your sdk folder where you put the apk
9) Push to original folder (in this case adb push HtcClockWidget.apk /system/app) on phone in recovery mode
Happiness
Awesome, glad you got it to work. The way I usually do it is to push any apk unsigned first, and if I have problems try it again but sign first.
Oddity said:
Awesome, glad you got it to work. The way I usually do it is to push any apk unsigned first, and if I have problems try it again but sign first.
Click to expand...
Click to collapse
I guess I just got hung up on signing since I have never had luck with unsigned. However, this was my first attempt at a built in apk.
Thanks again
Just incase anyone likes the silver on black numbers for their clock like I do I decided to post my mods to HtcClockWidget.apk
This is based on the stock 2.2 widget but may work on 2.1 ROM's
Requires being rooted so just use adb to push it to /system/app folder
Back up your original just incase you want to go back
NilsP said:
Just incase anyone likes the silver on black numbers for their clock like I do I decided to post my mods to HtcClockWidget.apk
This is based on the stock 2.2 widget but may work on 2.1 ROM's
Requires being rooted so just use adb to push it to /system/app folder
Back up your original just incase you want to go back
Click to expand...
Click to collapse
looks awesome thxs
tried pushing. but it doesnt seem to be going to the /systems/apps folder using the (adb push HtcClockWidget.apk /system/app)
RLKirk said:
tried pushing. but it doesnt seem to be going to the /systems/apps folder using the (adb push HtcClockWidget.apk /system/app)
Click to expand...
Click to collapse
Have you tried to push it in recovery mode with system mounted.
NilsP said:
Have you tried to push it in recovery mode with system mounted.
Click to expand...
Click to collapse
yeah i went to recovery checked to make sure it seen my device mounted system and pushed it done the size and time thing in dos as if it pushed the apk but then when i went and looked in the folder it was not there and i cant push the original clock back either lol... idk what it is
RLKirk said:
yeah i went to recovery checked to make sure it seen my device mounted system and pushed it done the size and time thing in dos as if it pushed the apk but then when i went and looked in the folder it was not there and i cant push the original clock back either lol... idk what it is
Click to expand...
Click to collapse
Not sure how to help. I just boot into hboot start, recovery mode, go to mount and mount system then open the cmd prompt and do the adb push HtcClockWidget.apk /system/app and all goes well. Have done it multiple times with changes
I am assuming you have the USB drivers installed and not HTC Sync.
When I ran SRS 2.5.2 it had the MOD for the silver clock widget, I now have 3.1 RC3 but when I try your method, "adb push HtcClockWidget.apk /system/app" it uninstalls the stock one but does not install the new one. I have to flash a Nandroid backup to restore it. What am I doing wrong? I really liked the one from 2.5.2 and want it again.
Update.zip
Sent from my ADR6300 using Tapatalk
Yeah, tried that. No good. I uninstalled the original and still no good. Now I have to reflash again. Any other ideas?
i pushed the file from post number 9 into system app and it shows up as being in system/app in root explorer but i no longer have it in my widgets list. i even tried pushing the old one back and i still have no clock in my widget list. what do i do?
jasonb1985 said:
i pushed the file from post number 9 into system app and it shows up as being in system/app in root explorer but i no longer have it in my widgets list. i even tried pushing the old one back and i still have no clock in my widget list. what do i do?
Click to expand...
Click to collapse
I can understand it not working if you are on other than a stock 2.2 ROM since it is from the stock. What I don't understand is why pushing you original backup back isn't working.
Can you reinstall it from your Nand backup?
NilsP said:
I can understand it not working if you are on other than a stock 2.2 ROM since it is from the stock. What I don't understand is why pushing you original backup back isn't working.
Can you reinstall it from your Nand backup?
Click to expand...
Click to collapse
i did a nandroid restore, back to where i was before. its just weird that its not working.
I just wanted to give you guys who aren't proficient with modding themselves a chance to change the lockscreen and taskbar clock font (which I personally don't like) to in this case match the rest of the honeycomb fonts.
The end result of this quick guide:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First you will need to have adb set up, if you don't know how to set up adb follow the guide http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/ to get adb up and running.
Requirements:
adb
Asus PC Sync Software link
USB Debugging turned on in settings
a .ttf font file (only required if you want another font than used in the guide)
Step one: pulling the original clock files for back up
We'll start simple, the idea here is that if you ever want to revert back to the original font, you will have a back up of the font just in case. Lucky for you I will however also be providing a back up of the original font files at the end of this post.
Open up cmd (or terminal on OSX).
navigate to your android-sdk\tools folder through the terminal (if you do not know how to do this check the adb set up guide linked earlier in this post).
Now to allow modification of the system files we will enter the command "adb remount".
Now we will pull the font files which are located within /system/fonts/ by entering these 3 commands: "adb pull /system/fonts/AndroidClock.ttf", "adb pull /system/fonts/AndroidClock_Highlight.ttf", "adb pull /system/fonts/AndroidClock_Solid.ttf"
On your computer go to the android-sdk/tools folder and move the AndroidClock, AndroidClock_Solid and AndroidClock_Highlight to wherever you want to store these (these are the original back up) and make sure to remove them from the android-sdk\tools folder.
--------------------------
Step two: replacing the original clock font with your own
In this step we will pull the font used for all the other type in honeycomb called DroidSans and replace the original clock font files with this font as to fool honeycomb into thinking it is actually the original font.
while having adb open, enter the command "adb pull /system/fonts/DroidSans.ttf".
Now navigate to your android-sdk\tools folder again and make 3 copies of DroidSans.ttf in the tools folder.
Name one of the files AndroidClock, name another AndroidClock_Solid, and name the last AndroidClock_Highlight.
now go back to adb and enter these 3 commands: "adb push AndroidClock_Solid.ttf /system/fonts/", "adb push AndroidClock.ttf /system/fonts/", "adb push AndroidClock_Highlight.ttf /system/fonts/".
Reboot your transformer and voila you're done.
If you want to replace the lockscreen font with your own font and not DroidSans, simply skip bullet point 1 and 2 of step 2 and copy your own .ttf font file to your android-sdk\tools folder and make 3 copies of that.
I hope you guys enjoy this guide, and if you have any suggestions as how to simplify this guide even further, feel free to post your suggestion.
EDIT: the original font files are in the .zip file!
Don't forget to remount /system as rw ("mount -o rw,remount /system") so you can modify the font files.
N23 said:
Don't forget to remount /system as rw ("mount -o rw,remount /system") so you can modify the font files.
Click to expand...
Click to collapse
adb remount is easier
I cant find the asus pc sync. Here or on asus website
mike6200 said:
I cant find the asus pc sync. Here or on asus website
Click to expand...
Click to collapse
Go to the transformer product page on the asus website then to the download tab (http://www.asus.com/Eee/Eee_Pad/Eee_Pad_Transformer_TF101/#download), select your OS and it should be under utilities.
Here's a screenshot of the clock as well.
need this wallpaerp
please give me this wallpaper
ithunter said:
please give me this wallpaper
Click to expand...
Click to collapse
https://dl-web.dropbox.com/get/iPad/02397_starrynight_1024x1024.jpg?w=a2f6070e
Here! But i only have the iPad resolution...
I forgot where I got it from sorry ):
thegorde said:
https://dl-web.dropbox.com/get/iPad/02397_starrynight_1024x1024.jpg?w=a2f6070e
Here! But i only have the iPad resolution...
Click to expand...
Click to collapse
is it possible to load it up somewhere else, cause I cant get it on Dropbox.. would be nice
HamSummit said:
is it possible to load it up somewhere else, cause I cant get it on Dropbox.. would be nice
Click to expand...
Click to collapse
Attached... Found it on Google.
THANKS!!!
Those fonts were not cool! Not only it looks great but I learned how to change fonts!
Thanks again! (Thanks button clicked)
Q.Entity said:
THANKS!!!
Those fonts were not cool! Not only it looks great but I learned how to change fonts!
Thanks again! (Thanks button clicked)
Click to expand...
Click to collapse
Glad to have helped
Thanks for the guide...will try now
thanks
for wallpaper
HamSummit said:
is it possible to load it up somewhere else, cause I cant get it on Dropbox.. would be nice
Click to expand...
Click to collapse
Sure, here it is!
Very well written guide, just one question does the tablet need to be rooted to change fonts?
I assume that the clock font provided here is the same font as the other text on the home page?
The only question I have is, can I change the colour of the font as well? I'd like it to have the same colour as the buttons. It would also be interesting to change the colour of the wifi and battery indicator. Even better if that could change depending on the level! So for example, when battery and wifi are indicating low(er), they change to yellow/orange/red progressively. I guess this is possible but would require some additional programming to link to different graphics/icons (assuming the software utilises a lookup table approach, rather than logical equations...)
ksporry said:
I assume that the clock font provided here is the same font as the other text on the home page?
The only question I have is, can I change the colour of the font as well? I'd like it to have the same colour as the buttons. It would also be interesting to change the colour of the wifi and battery indicator. Even better if that could change depending on the level! So for example, when battery and wifi are indicating low(er), they change to yellow/orange/red progressively. I guess this is possible but would require some additional programming to link to different graphics/icons (assuming the software utilises a lookup table approach, rather than logical equations...)
Click to expand...
Click to collapse
you'd have to edit the image files in the framework files, which is a whole lot more complicated than this.
SonicTab said:
Very well written guide, just one question does the tablet need to be rooted to change fonts?
Click to expand...
Click to collapse
Anything that has to do with modifying the /system folder requires root, so yes.
Hello guys,
As the title said, i was once able to copy apk in /system/priv-app and got them installed after a reboot; too bad it looks like it doesn't work anymore. I tried also /system/app, but still nothing.
The Story Behind: Few ROM flashing ago, i decided to install the pixel launcher app. Downloaded and installed it, it works well out of the box, whit the exception of the swipe left gesture. Some googling revealed me that the launcher must be installed as a system app for make the swipe work, and here start my struggle: i can't remember what i did (did i cut the /data/app/com.android.nexuslauncher-1 folder and pasted it in /system/app/? Or did i download the apk again and moved it in /system/app?) but anyhow it started work flawless at the next reboot (also the swipe function!) . I have tried booth and countless other path and reboot, but there's no way to see it installed. I can of course install it whit the default android package installer.
More info: Honor NOTE 8, rooted, build B320, android 7.0, emui 5.0
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any help will be appreciated.
Jack D. said:
Hello guys,
As the title said, i was once able to copy apk in /system/priv-app and got them installed after a reboot; too bad it looks like it doesn't work anymore. I tried also /system/app, but still nothing.
The Story Behind: Few ROM flashing ago, i decided to install the pixel launcher app. Downloaded and installed it, it works well out of the box, whit the exception of the swipe left gesture. Some googling revealed me that the launcher must be installed as a system app for make the swipe work, and here start my struggle: i can't remember what i did (did i cut the /data/app/com.android.nexuslauncher-1 folder and pasted it in /system/app/? Or did i download the apk again and moved it in /system/app?) but anyhow it started work flawless at the next reboot (also the swipe function!) . I have tried booth and countless other path and reboot, but there's no way to see it installed. I can of course install it whit the default android package installer.
More info: Honor NOTE 8, rooted, build B320, android 7.0, emui 5.0
Any help will be appreciated.
Click to expand...
Click to collapse
I believe the apk must be inside a folder (like all the others)
Name that folder "nexuslauncher".
Then rename the apk file to " base.apk"
Finally, move the apk file into the nexus launcher folder, then give it the proper permissions and reboot.
Hello, thanks for the reply.
I just tried doing as you said, but still nothing. I forget to mention that if I install it manually, it get uninstalled at reboot. As attachment a couple of screenshot: the first taken when the app is installed, before the reboot, the second one taken after the reboot: the whole "installation information" tab is missing after reboot ?
Jack D. said:
Hello, thanks for the reply.
I just tried doing as you said, but still nothing. I forget to mention that if I install it manually, it get uninstalled at reboot. As attachment a couple of screenshot: the first taken when the app is installed, before the reboot, the second one taken after the reboot: the whole "installation information" tab is missing after reboot ?
Click to expand...
Click to collapse
Install it using the package installer, then use titanium backup to move it to the system.
Not even titanium backup worked.
This is by far the strangest thing I've ever witnessed.
For records, TB "convert to system app" feature took the Pixel launcher's app folder in /data/app, packed it as com.google.android.nexuslauncher.apk and placed it in /system/app/.
Still, it keep getting ignored on reboot.
As attachment a screenshot pre &post reboot. I do also try to remove all orphan data about PL, and deep searched the whole volume looking for PL residual, deleting anything.
I tried also flashing it with openGapps, with the same result. (Google camera, installed with the same openGapps installer, is up and working).
Now, I can totally live without PL, but I'm really curious about what's happening
A late update: in case someone at some point get through this post.
The launcher work fine (swipe right included) if I unroot the device after placing it in the app folder: still don't know why ?
Jack D. said:
A late update: in case someone at some point get through this post.
The launcher work fine (swipe right included) if I unroot the device after placing it in the app folder: still don't know why
Click to expand...
Click to collapse
place apk file in /system/app folder and install that apk file then reboot your android.
Just tried, no luck with the working apk placed in /system/app and than installed from that path. I tried also to maintain the folders structure /system/app/com.google.android.apps.nexuslauncher-1 and install from that path, still without luck: in both cases the app is gone after the reboot.
Thanks for your interest.
Ok, it's done for good.
I cleaned the /data/app folder from all the launcher installation: there were something like 5 launcher folders. Placed the APK in /system/priv-app/Nexuslauncher and installed with the "root package installer" of FX explorer instead of the standard package installer. Don't know why, and I got the filing that I already have done this a couple of thousands time,but this time it worked.
I am really lost with this problem as i cannot find any other instance of it...
device: Redmi note 9S, not rooted, developer options enabled, Android 10, MIUI 12.0.4.0
in the android/data/ directory, under the com.[author].[app] files, i can't seem to find any apk files, it just appears to be empty except for an additional "files" folder that doesn't contain any useful files, while the tutorials i was following need access to a base.apk file that, in my case, does not exist. I need to know if this is a new version general android change, a device specific one ? where are the apps running from? are they all web shortcuts? if they use an apk file, where can i find it? I'm unexperienced in all those things, but I felt this would be the best place to get an answer.
LasevIX_ said:
I am really lost with this problem as i cannot find any other instance of it...
device: Redmi note 9S, not rooted, developer options enabled, Android 10, MIUI 12.0.4.0
in the android/data/ directory, under the com.[author].[app] files, i can't seem to find any apk files, it just appears to be empty except for an additional "files" folder that doesn't contain any useful files, while the tutorials i was following need access to a base.apk file that, in my case, does not exist. I need to know if this is a new version general android change, a device specific one ? where are the apps running from? are they all web shortcuts? if they use an apk file, where can i find it? I'm unexperienced in all those things, but I felt this would be the best place to get an answer.
Click to expand...
Click to collapse
Go through your file manager settings and find the option to show hidden files.
@LasevIX_
An app's APK-file is housed in folder /data/data. The APK-file itself gets installed in folder /data/app as base.apk.
Example:
/data/app/[your_package_name]-[1,2,n]/base.apk
jwoegerbauer said:
@LasevIX_
An app's APK-file is housed in folder /data/data. The APK-file itself gets installed in folder /data/app as base.apk.
Example:
/data/app/[your_package_name]-[1,2,n]/base.apk
Click to expand...
Click to collapse
yes, i know that path. my problem was that it isn't available/doesn't exist on my machine
Droidriven said:
Go through your file manager settings and find the option to show hidden files.
Click to expand...
Click to collapse
I have done that already, but the apk files still don't show up.
also, I think this thread may benefit from further precisions:
the .apk files do not show up either in the phone's built in file manager, windows explorer or in ADB ls commands.
I am practically sure it isn't hidden files, I have all the settings for viewing them enabled.
if there's some secret setting that may provide access to those files, please do tell where.
after further checking, the app i was trying do copy to my computer reports an app size of 106MB, but the com.____._____ folder reports 21B, so i suspect it may be some sort of shortcut to another folder.
.
Typically one makes use of ADB commands to pull an APK file ( Android must NOT be rooted ):
Step 1: Get location of desired app in Android's filesystem
Code:
adb shell "pm path com.example.someapp"
The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk
Step 2: Using the full path name from Step 1, pull the APK file from the Android device to the Windows computer
Code:
adb pull /data/app/com.example.someapp-2.apk <PATH-ON-PC>
jwoegerbauer said:
Typically one makes use of ADB commands to pull an APK file ( Android must NOT be rooted ):
Step 1: Get location of desired app in Android's filesystem
Code:
adb shell "pm path com.example.someapp"
The output will look something like
package:/data/app/com.example.someapp-2.apk
or
package:/data/app/com.example.someapp-nfFSVxn_CTafgra3Fr_rXQ==/base.apk
Step 2: Using the full path name from Step 1, pull the APK file from the Android device to the Windows computer
Code:
adb pull /data/app/com.example.someapp-2.apk <PATH-ON-PC>
Click to expand...
Click to collapse
I wasn't aware that you could use adb to find the location of apps, but the command you suggested gives an unexpected result (screenshot attached). it gives multiple results of files despite them being invisible to file explorers. Once i try to pull the package with the method you suggested, it gives an error as if it wasn't there. Did I type the wrong syntax? does the "pm path" command only give expected locations for files?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
for clarification, I am trying to access the netflix client APK in order to manually make it recognise widevine L1 certificates, as described in this thread: https://forum.xda-developers.com/t/netflix-hd-on-tab-s2.3274295/#post-65001865 .
The NETFLIX APK you want to extract from Android is a so-called Split-APK. IMO you've to turn this Split-APK into a normal non-Split-APK.
How to:
How to turn a split APK into a normal non-split APK - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
Hey guys, recently many modders contacting me about how to mod a split APK. We have already many tutorials about how to download or extract the split APKs, mod a split APK as it is and how to use a split APK installer to make the mod apply to the device. Here some examples of the mentioned...
platinmods.com
jwoegerbauer said:
The NETFLIX APK you want to extract from Android is a so-called Split-APK. IMO you've to turn this Split-APK into a normal non-Split-APK.
How to:
How to turn a split APK into a normal non-split APK - Platinmods.com - Android & iOS MODs, Mobile Games & Apps
Hey guys, recently many modders contacting me about how to mod a split APK. We have already many tutorials about how to download or extract the split APKs, mod a split APK as it is and how to use a split APK installer to make the mod apply to the device. Here some examples of the mentioned...
platinmods.com
Click to expand...
Click to collapse
This will be helpful for teh future, thank you for directing me to that tutorial.
but it still requires to pull the apk, which i have not been able to do.
as described in my previous reply, ADB seems to be able to return the location of the apk, but can't pull it, as if it never existed.
According to the screenschot you provided earlier I think the package ( APK ) you want to pull is stored as
/data/app/com.netflix.mediaclient-YUY-VwSu3KeCc44bkA
shorthanded as
base.apk
but don't really know it: this is not my world.