Has anyone installed a modified widgetlocker.apk to nexus s? - Nexus S Q&A, Help & Troubleshooting

So I installed widgetlocked from the market and it all runs lovely. However, I wanted to use the Ultralinx mods for it.
I tried a few different ways, extracting it with root explorer. Copying the .apk to my desktop and modding the files there and signing them with signapk, but the modified .apk will not install no matter what I try. It always comes up with 'Application not installed'.
I am a bit newb at this I admit but have installed other apks just fine.
Any help appreciated

Figured it out. HAD to use adb. No other method would I tried would work, but that did first time!

I was trying to PM you, but they weren't going through...
Anyway, is there any chance you could tell me how you did this? I've tried every other method and nothing has happened. Whether it's because I own a Nexus S or a Mac, I don't know, but it's pretty hard (though I am new to this).
Regards,
Jon.

I usually use WidgetLocker, would you mind explaining what the modded one is? Thanks

The modded version I mention is UltraLinx's lovely unlock slider mod as in these pics.
{
"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"
}
Both available from here: http://www.theultralinx.com
As I mentioned the only method I could get to work was using ADB and Ultralinx actually has a youtube video on his site about how to do it, but I will list it here anyway.
Your phone needs to be rooted to do any of this...
Install WL as normal from market.
Copy the file com.teslacoilsw.widgetlocker-1.apk from data/app to /sdcard somewhere using astro or rootexplorer etc.
Then move that file to your computer desktop into the /sdk/tools dir where adb.exe is.
Add the WL modded files from Ultralinx to that .apk in the /res/drawable-hdpi/ directory using winrar or whatever program you use to open/mod .apk files. Make sure it has overwritten the original files!
Fire up a command promt and change dir to where adb.exe is sdk/tools or whatever.
type these next couple of lines and enter after each one;
abd shell mount /system
adb push com.teslacoilsw.widgetlocker-1.apk /system/app
Then reboot your phone and that should be it done. You can select the new slider from WL options (it modded the iphone slider so select that).
As I say, this is the only way I could get the thing to work.
Coming from windows mobile this whole abd thing of modding stuff seemed a right pain in the arse but I guess like anything once you have done it once you know it for next time and I think this mod is worth it.

Hi,
thanks for the instructions!
I've encountered an issue and would appreciate if you could help. So i follow your steps, however i get the following issue after the push command:
failed to copy 'com.teslacoilsw.widgetlocker-1.apk' to '/system/app/com.teslacoilsw.widgetlocker-1.apk': Read-only file system
I'll really appreciate if you could help, thanks!

Update: So i managed to push it successfully. Problem was I needed to enter the command adb remount beforehand in order for it to let me write.
sage: mount [-r] [-w] [-o options] [-t type] device directory
Red-Teams-MacBook-Prolatform-tools cloakroom$ adb push com.teslacoilsw.widgetlocker-1.apk /system/app
3158 KB/s (1202848 bytes in 0.371s)
However, even after rebooting the phone I am still stuck with the old iphone slider and not the one made by ultralinx. Any thoughts as to why this is?
Do i have to uninstall widgetlocker from my phone before i pushed the modded apk?

Related

I can't pull an app from the sdcard

I just rooted the phone (I know this because I installed a screen shot app and it works) and I'm trying to copy a private app that is free off of my phone onto my computer. But, I cannot figure it out. Could someone please give me step-by-step instructions. I would really appreciate this.
It sounds like you have completed this process:
http://forum.xda-developers.com/showthread.php?t=581577
But read it and make sure you complete the last step to flash the recovery rom.
www.androidspin.com/downloads...roc-v1.2.3.img
He kind of botched the last command instead of:
adb shell flash_image recovery recovery-RA-heroc-v1.2.3.img
it should be:
adb shell
cd /sdcard/
su
flash_image recovery recovery-RA-heroc-v1.2.3.img
Once you make sure this is done, turn of your phone and then hold Home button and press end button. This should load the recovery, choose Nandroid Backup once you are done backing up you will want to flash Modaco's 1.1 rom. More information can be found here:
http://forum.xda-developers.com/showthread.php?t=581846
Once this is done connect your phone to your pc, and open command prompt.
type in:
cd "the directory where the sdk is" \tools
then type:
If you are using appstosd with ext2 and fat32 partitioned sdcard:
adb pull /system/sd/app app
If you are using just fat32, no appstosd:
adb pull /data/app app
this will put all your apps into a directory named app in your \tools folder on your pc.
for private apps just replace app with app-private
alternatively, you can move apps one at a time with the command:
leave out " ".
adb pull /system/sd/app/"appname" "appname"
This will place the file directly into your tools directory. Hope this helps.
Yep, thats what I did. But I didn't flash the recovery rom. If I do that will it erase all my applicastion that I have installed? I didn't want to do that because the app I want to backup was free when I downloaded it but now it's not.
Ok, so I followed all the instructions above and go the in MoDaCo rom flashed. Then, when I tried to pull the apps off the sdcard I get a permissions denied error.
{
"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.
Now I have a new problem. It says "adb: not found". Now what?
Thanks for being so helpful everyone.
adb is a command that is run outside of the shell
for example your prompt would still be at
c:\android-sdk-windows\tools>adb pull /data/app-private (location)
you can't use adb inside of adb shell
Ah, I didn't know adb had to be run outside of the shell.
Now it says there aren't any files in app-private but I know there are two in there.

[MORPH] Clear SetCPU widget

here's a metamorph for a clear setcpu widget...you just need to move setcpu to /system/app however you know how...
{
"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"
}
extract the folder from the zip and put it in AndroidThemes, then apply.
clearsetcpu.zip is for anyone who downloaded setcpu through the market, its named differently through his post on these forums..
how about a morph for those other icons on ur home screen?
sorry the clearsetcpu doesnt work..
i bought my setcpu from the store so decided to try it
metamorph complains "the theme you selected is invalid because the theme control file could not be read and may be missing"
other themes i have applied fine..
download the clearsetcpu.zip and put the folder inside it in your androidthemes folder. ones setcpu.apk and ones com.mhuang.overclocking...
you have to have setcpu in /system/app too...it wont work if all you've done is downloaded setcpu..
what do you mean there is no folder inside it.. you put the .zip files in the androidthemes directory and metamorph finds theme and applies them..
there is no option to apply 2 files at once .. when i try to apply the .zip file i get the error above.
I also checked there is no setcpu.apk in /system/app
but i also double checked and i did download from market and it does show up in my marked list as installed.
and it does run.
you need to move the .apk from /data/app (or /sd-ext/app) to /system/app and then apply the morph.
The morph zip needs a small fix (remove extra level) to make it directly usable. Attached.
you need to move the .apk from /data/app (or /sd-ext/app) to /system/app and then apply the morph.
The morph zip needs a small fix (remove extra level) to make it directly usable. Attached.
Click to expand...
Click to collapse
thanks ... so much for the statement about the 2nd hack working for anyone that downloaded through the market.
I use sufbs to remount system as read/write and copied from /data/apps to /system/apps and reistalled from there .. then the morph worked fine..
then removed the other copy in /data and remount fs read only..
also removed the stupid amazon mp3 download while i had system unlocked since it wouldnt let me delete it the normal way.
MyxdaUsername, would you mind placing this and/or any other morph into this thread: http://forum.xda-developers.com/showthread.php?t=654858.
Thanks just wanna get all Morphs into one thread
Copy and paste
I am able to pull the com.mhuang.overclocking.apk but when i try to push it i get failed to copy read only file system. what am i doing wrong? the command im using is adb push c:\com.mhaung.overclocking.apk /system/app
are you pushing from your phone or from a pc
Thanks for this. Looks badass.
Yep, I just wanted to say thanks for this also. I didn't like the background at all on this and the clear/naked goes well with my screen on my droid.
Keep up the good work.
Needs the xml for the new MetaMorph version. Hopefully we'll get an update.
djnutz said:
Needs the xml for the new MetaMorph version. Hopefully we'll get an update.
Click to expand...
Click to collapse
...just added xml.file for new MetaMorph.
Hellz yeah. That was quick lol.

[Q] Cannot delete folder in data/data

I downloaded Quadrant on my HTC One to Benchmark it and then I uninstalled it however when I rebooted my phone I got a UID inconsistency error and I discovered it was this app so I had to manually delete the .apk to resolve it because for some reason it was still lingering anyway the folder for it is still in my Data/Data directory and no matter what I try I'm unable to delete it. I've used Root Explorer and Ftp'd in but no luck yet. Any suggestions are appreciated!!
Hello Sir
Chronos300 said:
I downloaded Quadrant on my HTC One to Benchmark it and then I uninstalled it however when I rebooted my phone I got a UID inconsistency error and I discovered it was this app so I had to manually delete the .apk to resolve it because for some reason it was still lingering anyway the folder for it is still in my Data/Data directory and no matter what I try I'm unable to delete it. I've used Root Explorer and Ftp'd in but no luck yet. Any suggestions are appreciated!!
Click to expand...
Click to collapse
Just make sure you have tap on "Mount as R/W" in Root Explorer
it is mounted a R/W
I just had exactly the same **** happen to me with quadrant. I resolved the uid issues by format cache partition and deleted the apk but that folder in data is not deleteable.
Can't install quadrant either as it says error 24. Well I have no idea what's wrong and also the free space for the folder in data matches the stats for the asec data folder. Weird !
I would put my trust in the original linux/unix command line utilities. I can recommend "Terminal IDE" as a package of a terminal emulator and a base system. Just start it, install the "system", then go to the command line. With
Code:
su
you should get root rights. And with
Code:
rm -r /path/to/whatever
you should either be able to delete it or get a more or less meaningful error message.
@ccxxx i followed your method but remained unable to delete the facebook folder...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have also tried using root explorer...
Any suggestions??
Sent from my GT-N7100 using Tapatalk
Well, I/o error is bad. It usually means that the memory is physically broken but I think it can also be caused when the filesystem is corrupted.
I renamed the folder instead of deleting it and everything worked perfectly... does this still mean the memory is corrupted?
Sent from my GT-N7100 using Tapatalk

[Temp Fix] Prevent GL2SD and Folder Mount from rebooting

I will not take any responsibility if something bad happens to your phone, or if you have to reflash the stock rom. This method is only tested on my own Xperia M2 D2303 and works fine so far.
If you did use the Towel Root method to gain root access to your M2, you probably tried to install Folder Mount or GL2SD in order to move some of your games and apps to your SD card. Unfortunately they will keep rebooting your phone unless you stop the SONY Ric service. Here is a temporary workaround.
Root your device first and follow the Towel Root guide, including the Super SU installation!
Make sure that your SD card is FAT32 formatted and there is sufficient space left to actually move the app/game
First download and install busybox from the play store and make sure that the install path says /system/xbin
Then also install Script Manager from the play store and open the app.
Tap the three dots on the bottom right of your screen to open the menu and select "New Script"
Give it a convinient name, "ric" will do just fine
Select SM Editor from the list
Type in the following (the first line is already there)
Code:
#!/system/bin/sh
mount -o rw,remount /system
stop ric
busybox pkill -f /sbin/ric
Save the file and close it
Now find the newly created "ric" in the list and tap it.
Make sure you select the "SU" and "Boot" icons and that "is script" is selected. Tap the save button.
{
"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"
}
Reboot and try if it works.
There are couple of "rootfixes" here on XDA that will attempt to fix the problem, but since they are all written for different Xperia devices they won't work. Also, this is NOT the same "halfroot" problem as on other Xperia phones since you can freely remount /system in RW mode, change permissions or delete/edit files inside.
This small script will be usable for all rooted M2's with locked bootloaders, while others will get custom kernels with blocked RIC sooner or later.
Remember: When you are done playing, unmount the folder in GL2SD/FolderMount before connecting the USB cable or stuff may happen.
Let me know if it works for you.
Currently, I'm not playing any large file gaming but Many of friends from M2 group experiencing bootloop when trying to folder mount, I'll let them know for this temp fix and post it here how the outcome.
Sent from my D2305 using XDA Free mobile app
Thank you very much !!!!!
Works very well and now, I can move my obb folder !!!!
Great script
it does'nt work
If I write these commands on terminal it work but the script produce no result.
How to instal busybox if system is read only?
Thanks

unable to copy a certain file

Not sure which channel to put this in, please move if this is not the correct one.
I am unable to copy a certain file. At first I tried using a cloud share app, then USB file transfer, then ADB, then local file browsing apps, finally a terminal emulator. All fail. I can see the file and the app that created it can interact with it, but I cannot copy the file, permission denied. Phone is rooted. This is a large file created by TitaniumBackup. It's large because the backed up app has a lot of data, about 4 GB worth. I can copy all the small files that Titanium creates during its backup process, including the apk and properties files. And I can rename the big file, even delete it, just not copy.
I don't think it matters but this is a rooted Pixel 5 with stock ROM.
Apparently the same issue is within Titanium itself. It can delete backups but not upload to the cloud using the built-in function to Sync to Google Drive. I am thoroughly confused.
Can you run 'chmod 777' for that special file in advance as your system has been rooted?
James_Watson said:
Can you run 'chmod 777' for that special file in advance as your system has been rooted?
Click to expand...
Click to collapse
No issue chmoding but then can't copy still. Tried copying to the same dir and to my Download and Documents folders, same result.
{
"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"
}
PRL77 said:
No issue chmoding but then can't copy still. Tried copying to the same dir and to my Download and Documents folders, same result.
View attachment 5147605
Click to expand...
Click to collapse
According to the screenshot, it means that you have no permission to create cp.gz in this directory. So, try to run chmod for the directory at first.
James_Watson said:
According to the screenshot, it means that you have no permission to create cp.gz in this directory. So, try to run chmod for the directory at first.
Click to expand...
Click to collapse
I was told that chmod doesn't function in /sdcard due to how it's mounted. So I went into /data/media/0/TitaniumBackup that can chmod there but still can't adb pull the file.
Before chmod: -rw------- 1 u0_a256
After chmod: -rwxrwxrwx 1 u0_a256
But pull still fails:
adb pull /data/media/0/TitaniumBackup/ws.clockthevault-20201130-045341.tar.gz vaultcopy.tar.gz
adb: error: failed to stat remote object '/data/media/0/TitaniumBackup/ws.clockthevault-20201130-045341.tar.gz': Permission denied
It's gotta be size related. This file is just over 4.3 GB.
This is resolved. Someone helped me on another forum: https://android.stackexchange.com/questions/231624/unable-to-copy-a-certain-file

Categories

Resources