[Linux/Windows] Script to Add Mods - Verizon Samsung Galaxy Note II

Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
4) 4.2 Camera/Gallery
V2. I have added a Windows batch as well as the Linux script
V3. Fixed some bugs, and added the 4.2 Camera/Gallery
http://www.filedropper.com/notescripts1
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.

This is actually useful, good job! Could probably do something like this to make/restore backups.
Sent from my SCH-I605 using xda premium

mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
https://docs.google.com/open?id=0BzXlT5Noap2PWWJVNTRFWUxZZ2M
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
Does this work in windows?

nuke072786 said:
Does this work in windows?
Click to expand...
Click to collapse
No I haven''t written one for Windows yet. I've been thinking about it but just haven't had the time. Was going to see what the feedback was with the Linux one first.
The Windows one should be very easy to write to mimick this one, you just have to change the directory paths and stuff.
EDIT: I am working on this now.. shouldn't take too long.

You need to include the command to make system rw or else it has to be done manually
Sent from my SCH-I605 using xda premium

JonMS said:
You need to include the command to make system rw or else it has to be done manually
Sent from my SCH-I605 using xda premium
Click to expand...
Click to collapse
Shoot.... I had that originally and deleted it. I have finished Windows. I will add that to both and re-upload.

So my tale of woe is below...shortened for those of us with short attention spans:
-I bought my device on 11/29
-root came out via: http://forum.xda-developers.com/showthread.php?t=2024207 a few days later, rooted with 0 problems
-a thread got started about wallet getting up and running here: http://forum.xda-developers.com/showthread.php?t=2031127 (I tried this to the letter and ultimately soft bricked my device)
-with help, I was able to odin back to a rooted device
-used this script to setup wallet and it did NOT work, HOWEVER, using this and then going back to http://forum.xda-developers.com/showthread.php?t=2031127 to use the fix, I think, did. I have added all my cards and am ready to make a purchase, which I will do tomorrow.
So to sum up, don't give up and be creative, if someone says they got it working and you didn't explore more and try to mesh multiple approaches where it fits. I'm only posting this to A. give thanks to those that got this working, and B. give others hope :good:
mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
V2. I have added a Windows batch as well as the Linux script
https://docs.google.com/open?id=0BzXlT5Noap2PdllGYTVxVlp2MUU
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse

mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
V2. I have added a Windows batch as well as the Linux script
https://docs.google.com/open?id=0BzXlT5Noap2PdllGYTVxVlp2MUU
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
How do I go about using the one for wallet?
Tap'n

I'm not the expert here, but I'll give this a stab, make sure you have ADB setup, download this script and run it. If you get wallet to run, but then close or just keep spinning, trying to run, go to the other wallet thread in this forum and use the fix on page 1. that's what worked for me.
techgov8 said:
How do I go about using the one for wallet?
Tap'n
Click to expand...
Click to collapse

mazz0310 said:
Hey guys,
Not sure if this would be helpful to anyone but I created a script for Mac/Linux that installs some of the mods. There is no way to undo the changes, and I have only done limited testing so YMMV.
I am not liable for anything that happens to your device.
With terminal just cd to the folder and do ./note2.script
The mods I have added so far are:
1) Google Wallet (I still haven't had any success)
2) All apps in MultiWindow
3) Wifi Icon in statusbar + black statusbar
V2. I have added a Windows batch as well as the Linux script
https://docs.google.com/open?id=0BzXlT5Noap2PdllGYTVxVlp2MUU
PS. Thanks to all those that created the mods. I did not create any, only put into a simple script.
Click to expand...
Click to collapse
Check like 27 in note2.sh
Code:
adb shell "su -c 'mount -o rw,remount /system'"
if [ "$input" = "1" ]; then
walletzip=NoteII-lib_nfc-fix-r87
walletloc=/sdcard/Note2Scripts/Wallet
copytoloc=/system
adb shell "mkdir -p $walletloc"
adb shell "mkdir -p $copytoloc/app"
adb shell "mkdir -p $copytoloc/lib"
adb shell "mkdir -p $copytoloc/lib/hw"
> adb shell "mkdir -p $copytoloc//etc"
adb push $walletzip $walletloc
You have an extra forward slash.

JonMS said:
Check like 27 in note2.sh
Code:
adb shell "su -c 'mount -o rw,remount /system'"
if [ "$input" = "1" ]; then
walletzip=NoteII-lib_nfc-fix-r87
walletloc=/sdcard/Note2Scripts/Wallet
copytoloc=/system
adb shell "mkdir -p $walletloc"
adb shell "mkdir -p $copytoloc/app"
adb shell "mkdir -p $copytoloc/lib"
adb shell "mkdir -p $copytoloc/lib/hw"
> adb shell "mkdir -p $copytoloc//etc"
adb push $walletzip $walletloc
You have an extra forward slash.
Click to expand...
Click to collapse
Thank you for that. I will fix that, also I have added the 4.2 gallery so I will upload that shortly. Also I am going to remove Nfc.apk and NfcTest.apk from the wallet script as I have heard they are not needed.

I uploaded a newer version.
Fixed the //etc bug, and added the 4.2 Camera/Gallery

Links dead in op
Sent from my SCH-I605 using xda app-developers app

xxxxmarkxxx said:
Links dead in op
Sent from my SCH-I605 using xda app-developers app
Click to expand...
Click to collapse
I fixed the link to a different file hoster. If anyone has some where better let me know.

The windows batch file didn't work, doesn't look like it did anything. I copied systemui manually and set permissions but when I rebooted I lost my UI!

SirVilhelm said:
The windows batch file didn't work, doesn't look like it did anything. I copied systemui manually and set permissions but when I rebooted I lost my UI!
Click to expand...
Click to collapse
When you ran it did it give you the options of which script to run? Which did you select?

mazz0310 said:
When you ran it did it give you the options of which script to run? Which did you select?
Click to expand...
Click to collapse
Yes. I ran the option for modifying wifi, I saw it start up ADB but then the window just closed. I then copied systemui.apk over using root explorer and set the permissions but when I rebooted I lost the UI lol.

does this 'add' the 4.2 camera or replace the current one

georgepink said:
does this 'add' the 4.2 camera or replace the current one
Click to expand...
Click to collapse
It adds it. You will have both afterwards.

SirVilhelm said:
Yes. I ran the option for modifying wifi, I saw it start up ADB but then the window just closedl.
Click to expand...
Click to collapse
I have the same problem. The window just closes and doesn't do anything. I know we're doing something wrong. But what?

Related

New Rooting method for 2.1 | updated for 2.0.2.A.0.24 | 9/01/2011

Here comes the latest rooting method that works with 2.0.2.A.0.24 firmware.
Credits to Scotty2 for his psneuter exploit!
1. Download and unpack rootme.tar.bz2
2. Execute ./rootme (linux) or rootme.bat (windows)
3. Done.
---
You may also want to try SuperOneClickv1.5.5-ShortFuse.zip (modified by batman_112 to use the latest exploit).
Cheers,
z
Stop for me at Point 4)
I got back
./ratc: Permission denied
Click to expand...
Click to collapse
after
./ratc
i get ... permission denided
Wow, actually it seems that copying files with adb push via script messes thing up I corrected the instructions, so now it will work for you, but need to copy the files manually.
zdzihu said:
Wow, actually it seems that copying files with adb push via script messes thing up I corrected the instructions, so now it will work for you, but need to copy the files manually.
Click to expand...
Click to collapse
Your link is broken
Try now, I got rid of installation scripts
EDIT: Now it works flawlessly. I still have no clue why copying files with .bat file messes everything up, but manual copying does the job.
why the superone reach the root sometimes so slow?
your method uses the same exploit, and works at first try
check the files plz: Invalid or Deleted File
can't download the ratc-pack --> Invalid or Deleted File
please reup - THX
EDIT: Link is OK now --> THX
Link is OK. Downloading at the moment.
Tried it manually (as described)...
But same problem... :-(
UserX10 said:
Tried it manually (as described)...
But same problem... :-(
Click to expand...
Click to collapse
I just reflashed my phone and it worked for me at 1st attempt.
Could you please got rid of the old files and retry from the beggining?
Cheers!
meta96 said:
after
./ratc
i get ... permission denided
Click to expand...
Click to collapse
Same thing for me
:-( Same Problem
I flashed my X10 with nordic FW and tried it again Step by Step... but "permission denied"... even if i remove and make the tmp directory as described...
Ok, last thing to try... After you copy the files, go with:
Code:
adb shell
chmod 777 /data/local/tmp/*
I added some screenshots to show how the process works for me.
is this a full root? i mean, is root+shell root?
zdzihu said:
Hi guys, I've noticed some people still can't get their phones rooted with SuperOneClick method. So do I, never managed to get it working Here is a simple method of rooting, using the same exploit (rageagainstthecage - credits to author). This is quick and 100% guaranteed to work but I'd rather recommend it to advanced users.
1. Install Android Terminal Emulator from the market http://bit.ly/9B46Nl
2. Download and unpack http://www.mediafire.com/?s0428zxc7n50i28
3. Plug in the phone (usb debugging mode), copy the following files with adb and change permissions:
Code:
adb push ratc /data/local/tmp/ratc
adb push busybox /data/local/tmp/busybox
adb push su /data/local/tmp/su
adb push rootme /data/local/tmp/rootme
adb push superuser.apk /data/local/tmp/superuser.apk
adb shell
chmod /data/local/tmp/*
4. Start Terminal Emulator on your phone and issue those commands:
Code:
cd /data/local/tmp
./ratc
5. Exit out of Terminal Emulator using BACK button.
6. Start any other application and exit out of it using BACK button.
7. Start Terminal Emulator again - note that you're running it as root (#)
8. Issue those commands:
Code:
cd /data/local/tmp
./rootme
Your phone will reboot - and it's done. I suggest installing Busybox from the Market. Hope it helps.
Cheers!
EDIT: Fixed.
Click to expand...
Click to collapse
Finally I was able to root my phone
just one correction, you got to use chmod 777 /data/local/tmp/*
it was not allowing to root otherwise
i kept breaking my head using the "simple" SuperOneCLick but could not show my rage against the machine
thank you for explaining this process for Root.
zdzihu said:
Ok, last thing to try... After you copy the files, go with:
Code:
adb shell
cd /data/local/tmp
chmod 777 *
I added some screenshots to show how the process works for me.
Click to expand...
Click to collapse
chmod 777 *
did it. thanx. btw like your oldstyle-skills
Just saw this thread and wanted to root my phone also...I downloaded the files provided in the first post and extracted onto my PC. When I tried running the adb application, I only get a command window only for a split second and then it disappears. Am I doing something wrong?
Everything works fine until the final step where I write ./rootme in the emulator.
Before the phone reboots, it says something right after, something about superuser.apk.
Once the phone is back on the emulator goes back to $. As well as not being able to download Busybox.
Appreciate your efforts
EDIT: No worries, I managed to get root using SuperOneClick (finally!). It was rather sketchy, would've preferred your way tbh.

Google location services fix (formerly, Twitter client recommendations?)

I tried and failed with Seesmic so far.
[INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Update:
Twitter and Tweetdeck also fail to install (didn't verify the error).
Update2:
Seems like others had noticed this before:
http://forum.samdroid.net/f38/cant-install-seesmic-after-kitchen-v2-1949/#post45656
I do have GMaps installed, though ...
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Update4:
It seems that this fix may apply to any app that used Google location services. (More useful than I thought )
Also see here (post 10) for the Quick Howto:
http://forum.xda-developers.com/showpost.php?p=9657322&postcount=10
Update5:
Don't forget to remount the /system parition (else, you will get messages about read-only issues).
Code:
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
twidroyd is perfect. its probably the single best running app on my NC, all things considered.
cabbieBot said:
twidroyd is perfect. its probably the single best running app on my NC, all things considered.
Click to expand...
Click to collapse
I installed the official Twitter (v1.0.5) client right from the applanet market. Works perfectly
Touiteur is my favorite app and it works just fine on the NC.
Sent from my Nook Color
cabbieBot said:
twidroyd is perfect. its probably the single best running app on my NC, all things considered.
Click to expand...
Click to collapse
Agreed, Twidroyd is awesome! I'll stick with it.
feisty_noodle said:
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Click to expand...
Click to collapse
I assume you got these files from a GApps archive somewhere. Could you point out which one? Would love to have Tweetdeck on my NC.
kerobaros said:
I assume you got these files from a GApps archive somewhere. Could you point out which one? Would love to have Tweetdeck on my NC.
Click to expand...
Click to collapse
I was able to pull them from my Android phone. I'm not sure the legality of posting those here (proprietary software maybe?)
kerobaros said:
I assume you got these files from a GApps archive somewhere. Could you point out which one? Would love to have Tweetdeck on my NC.
Click to expand...
Click to collapse
You can extract the necessary files from any of a number of GApps floating around (like this one):
http://goo-inside.me/google-apps/gapps-mdpi-20101020-signed.zip
That fix actually enables a whole slew of other apps -- basically all the things which wouldnt work because they lacked location services (i.e. all the good stuff). You should seriously post that in another post as a generic non-installing app fix.
I just got Parallel Kingdoms running, so my NC experience is complete.
quick how-to
remount rw so we can modify /system
Code:
adb shell
mount -o remount,rw /dev/block/mmcblk0p5 /system
exit
copy over the two files from the zip:
Code:
adb push com.google.android.maps.xml /system/etc/permissions/com.google.android.maps.xml
adb push com.google.android.maps.jar /system/framework/com.google.android.maps.jar
reboot the device
Code:
adb shell
reboot
This should be working, I've done very limited tests to confirm that it's accurate
feisty_noodle said:
I tried and failed with Seesmic so far.
[INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Update:
Twitter and Tweetdeck also fail to install (didn't verify the error).
Update2:
Seems like others had noticed this before:
http://forum.samdroid.net/f38/cant-install-seesmic-after-kitchen-v2-1949/#post45656
I do have GMaps installed, though ...
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Click to expand...
Click to collapse
How do you push the files?
feisty_noodle said:
Update3:
Figured out the problem.
Need to push the missing files:
/system/framework/com.google.android.maps.jar
/system/etc/permissions/com.google.android.maps.xml
Then reboot and it should be fixed (Twitter, Seesmic, Tweetdeck now install).
Click to expand...
Click to collapse
Thanks for this. I have the two missing files, but can't figure out how to frame the push command. Can someone help please.
So weather apps and twitter apps are the main beneficiaries of this hack? Anything other noteworthy apps that come to mind?
Thanks for the step by step guide !!
This tutorial worked perfectly. Pushed the two files, rebooted, and Tweetdeck installed. Works like a charm. Thanks, folks!
Also, what gapps bundle did you get those out of, the one linked earlier in the thread? Going to try to push some more files out of it, try to get Gmail and Google Reader working.
I must be missing something. I just tried this and it responded with:
failed to copy <file> to <location> : Read-only file system
Do I need to do the superuser stuff first?
mad5427 said:
I must be missing something. I just tried this and it responded with:
failed to copy <file> to <location> : Read-only file system
Do I need to do the superuser stuff first?
Click to expand...
Click to collapse
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
then push your file
califrag said:
adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
then push your file
Click to expand...
Click to collapse
Thank you. Having adb shell and the mount line in the same command worked perfectly.
I cant get it to work at all @[email protected]
Can I do this with root explorer? My comp took a dirt nap on me yesterday.
Or terminal emulator?
Sent from my Droid using XDA App
chuffykow said:
reboot the device
Code:
adb shell
reboot
This should be working, I've done very limited tests to confirm that it's accurate
Click to expand...
Click to collapse
Its not necessary to get into shell to reboot the device..
U can do this
Code:
adb reboot

[SCRIPT] Honeycomb Install - Market, GMail, Talk, Contacts, Maps

This should work on Honeycomb 1 and 2/2a. It includes Contact Sync for GMail (I needed this), Gmail, Market, Talk, and Maps.
Extract HoneyGApps.v2.zip in ADB directory
Double click HoneyGAppInstall
Done
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk1p2 /system
adb push Vending.apk /system/app
adb push GoogleServicesFramework.apk /system/app
adb push Gmail.apk /system/app
adb push Maps.apk /system/app
adb push Talk.apk /system/app
adb push GoogleContactsSyncAdapter.apk /system/app
adb shell chmod 6755 /system/app/Vending.apk
adb shell chmod 6755 /system/app/GoogleServicesFramework.apk
adb shell chmod 6755 /system/app/Gmail.apk
adb shell chmod 6755 /system/app/Maps.apk
adb shell chmod 6755 /system/app/Talk.apk
adb shell chmod 6755 /system/app/GoogleContactsSyncAdapter.apk
adb reboot
You can either add any missing files using the above code or just run the script and it will overwrite/replace everything. I have been mucking with files so hopefully everything required is included... I've left v1 attached just in case.
When downloading from the market sometimes it is very slow, sometimes very fast. There can also be a delay between when you click install and you see the download start. Be patient, if you click install again you will start a second download.
======== OLDER DIRECTIONS ========
Extract HoneyMarketInstall.v2.zip in ADB directory
Double click HoneyMarketInstall
Done
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk1p2 /system
adb push Vending.apk /system/app
adb push GoogleServicesFramework.apk /system/app
adb push Gmail.apk /system/app
adb shell chmod 6755 /system/app/Vending.apk
adb shell chmod 6755 /system/app/GoogleServicesFramework.apk
adb shell chmod 6755 /system/app/Gmail.apk
adb reboot
* Standard disclaimer, use at your own risk and stuff. *
(Market is version 2.2.11)
(GMail is version 2.3.2)
(Talk is version 1.3)
(Maps is version 4.5.1)
thanks this is helpful
It works but force closes on me when trying to install something. Any ideas?
When trying to download it gets stuck at "starting download". hmm
MattJ951 said:
It works but force closes on me when trying to install something. Any ideas?
Click to expand...
Click to collapse
Having the same issue............
Is this the new marketplace because for some reason alot of apps dont show up in the market i have on there now and i tried pushing the .apks manually and im not getting any luck.
compuguy1088 said:
Having the same issue............
Click to expand...
Click to collapse
I had the same problem. I replaced the apk's in the zips with the ones in this post and reran the script and everything is working now.
http://forum.xda-developers.com/showpost.php?p=11056748&postcount=250
Could have been a fluke but maybe something is off with the apks in the zip?
tip!
this:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk1p2 /system
Click to expand...
Click to collapse
can be replaced with this:
adb remount
Click to expand...
Click to collapse
zappaziz said:
I had the same problem. I replaced the apk's in the zips with the ones in this post and reran the script and everything is working now.
http://forum.xda-developers.com/showpost.php?p=11056748&postcount=250
Could have been a fluke but maybe something is off with the apks in the zip?
Click to expand...
Click to collapse
Those are the files in the ZIP, I merely made the script to install it, following the posted directions.
fattire said:
this:
can be replaced with this:
Click to expand...
Click to collapse
Doesn't usually work for me... went with what I know works.
I just get FC's out of the framework and the market... Using the 02 version of the Nook Honey posted which adds sound... Something needs to change in the framework or such?
I updated to 1.1.0.
Everything works great.
The Market is totally different. I used to only have a few apps in portrait, but in landscape I had more.
Now it all looks different but works great portrait or landscape.
Seems like I have many more apps available now.
I am a Happy Camper!
Worked well for me. Only a few things that won't install....get Unknown error - 18 trying to install Anry Birds.. anyone know what could be the cause of this?
Also, I really hope Root comes along soon, then this will be AWESOME!
Thank you DB for HC!!
Thank you jleecong for this great install tool!!!
khaytsus said:
I just get FC's out of the framework and all gapps... Using the 02 version of the Nook Honey posted which adds sound... Something needs to change in the framework or such?
Click to expand...
Click to collapse
There shouldn't be any GApps... this is just market.
jleecong said:
There shouldn't be any GApps... this is just market.
Click to expand...
Click to collapse
Okay, I mis spoke, the Framework and Market FCs.
khaytsus said:
Okay, I mis spoke, the Framework and Market FCs.
Click to expand...
Click to collapse
Just making sure...
Do you have any other apps installed, done anything "funny"?
I installed this first thing both times (using the script) and had no issues (Download can seem stuck and kinda goes from 0 to 100%, but you can see traffic if you monitor it externally).
crashdau said:
Worked well for me. Only a few things that won't install....get Unknown error - 18 trying to install Anry Birds.. anyone know what could be the cause of this?
Also, I really hope Root comes along soon, then this will be AWESOME!
Thank you DB for HC!!
Thank you jleecong for this great install tool!!!
Click to expand...
Click to collapse
I was unable to open "Manage Applications" on 01, just got FC. Now on 02 I'm able open it without issue.
I tried Angry Birds on 01 and didn't have any issues installing (I installed it using ADB however).
jleecong said:
Just making sure...
Do you have any other apps installed, done anything "funny"?
I installed this first thing both times (using the script) and had no issues (Download can seem stuck and kinda goes from 0 to 100%, but you can see traffic if you monitor it externally).
Click to expand...
Click to collapse
No, I made the disk, booted into HC (2, with sound), plugged in USB cable, pushed/chmod'ed, rebooted. From there FC's on related items. Didn't do anything else at all.
I might mess with a bit more here later. I have it on two cards, one I put your files on, the other I didn't....
Weird.. Rebooted a few times and the FC's stopped, and then the market worked, google sync worked..
Then things went south again Okay, HC is cute, played with it, check! Back to the stock ROM.
khaytsus said:
Weird.. Rebooted a few times and the FC's stopped, and then the market worked, google sync worked..
Then things went south again Okay, HC is cute, played with it, check! Back to the stock ROM.
Click to expand...
Click to collapse
I have gotten a few Close or Waits (choose Wait) and maybe 1 Force Close, but for the most part I've done 3 installs now on fresh/clean images and no problems.

[MOD] Webtop Via HDMI Without a Dock [CDMA/VZW] *Tentative support for intl as well.*

--THIS IS FOR THE VERIZON DROID RAZR--
Go here for the test files for international version: http://forum.xda-developers.com/showpost.php?p=19900530&postcount=11
I have enough confirmations that I can now confirm this is working, However the on screen controls appear not to be launching currently, but webtop launches.
What this mod does:
It removes the device ID string check from PortalApp, and enables the webtop option in DockService. Replacing these two apk files effectively allows the webtop to launch without proprietary hardware.
Click to expand...
Click to collapse
What this means to you:
Webtop mode over any HDMI without an expensive dock.
Click to expand...
Click to collapse
Installation:
Method 1: Flashable ZIP
Flash THIS zip.
Click to expand...
Click to collapse
Method 2: ADB install
Download the attached apk files.
First Get the files to the device and remount /system as rw:
Code:
adb push DockService.apk /mnt/sdcard/
adb push PortalApp.apk /mnt/sdcard/
adb shell
su
mount -o remount,rw /system
Backup the original files:
Code:
mv /system/app/DockService.odex /system/app/DockService.odex.bak
mv /system/app/PortalApp.odex /system/app/PortalApp.odex.bak
cp /system/app/DockService.apk /system/app/DockService.apk.bak
cp /system/app/PortalApp.apk /system/app/PortalApp.apk.bak
Copy the modded files over fix permissions and reboot:
Code:
cp /mnt/sdcard/DockService.apk /system/app
cp /mnt/sdcard/PortalApp.apk /system/app
chmod 644 /system/app/DockService.apk
chmod 644 /system/app/PortalApp.apk
reboot
Click to expand...
Click to collapse
Appreciate my work? Buy Me a Beer:
You are awesome!! Thank You. As soon as I find a spare HDMI port on my TV I'm installing this.
Edit: Is there a way to revert back to stock without doing a ND restore. Only for warranty purposes of course, can't imagine anyone would even know though. <<Ignore that.
love you.
10<3
ah jeeze... just noticed it's for the Verizon RAZR, will it by any chance work on a GSM version?
Just installed it, and on the bionic after connecting to the tv, the phone became a mouse. Here the screen goes black and doesn't respond to touch.
You on a Verizon device? Did the webtop or dock option list come up at all?
Yes, Verizon phone. Everything comes up great on the tv, The webtop option comes up on the list to choise from, when i hit webtop the tv comes on, the phone goes black, but no control of pointer at all.
That's a good sign at least. Did you install via the flash method or the adb method?
Flash. I flashed BigDX ics theme yesterday, maybe it has something to do with it, so restoring a nandroid backup of before and will flash the webtop hack again.
---------- Post added at 10:41 PM ---------- Previous post was at 10:12 PM ----------
Nope. Same. Phone screen goes black, no control of pointer.
That sucks stevessvt, maybe try installing via adb instead and see what happens.
I really want to try it on my GSM RAZR... Don't know what the difference would be. Anyone...?
EDIT:
My stock DockService.apk is 109kb - odex is 173kb, the PortalApp.apk is 1.21mb - odex is 591kb
Can anyone confirm the Verizon file sizes for me?
opensourcefan said:
You are awesome!! Thank You. As soon as I find a spare HDMI port on my TV I'm installing this.
Edit: Is there a way to revert back to stock without doing a ND restore. Only for warranty purposes of course, can't imagine anyone would even know though. <<Ignore that.
Click to expand...
Click to collapse
Try this one with method 2 for the international version: http://www.cheatersedge.org/android/RazrWebtopMod.rar
I'll try to look into the on screen mouse/keyboard issue. It may be slow going seeing as I don't actually have one of these devices to test on.
Sent from my SGH-I777 using XDA App
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
oh now i just got mad since the OTA i lost root so no Webtop for me. i don't wanna loose the OTA so i'm just gonna wait for somebody to find a way to get root again.. since i don't know how to do that.
opensourcefan said:
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
Click to expand...
Click to collapse
You can change the permissions with Root Explorer: Long hold on each file, and set RW- R-- R--, and then reboot, that ought to go it.
As for the command for the adb method it might be "mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system" Where "/dev/block/mtdblock3" is replaced with the actual block device for /system. You can check this by just typing "mount" and looking at the entry for /system.
only Verizon? not for EU GSM devices?
Doesn't work on mine. As faras I know there are different version for gsm that could be the problem
Sent from my Razr XT910 using xda premium
shady_lanem said:
Doesn't work on mine. As faras I know there are different version for gsm that could be the problem
Sent from my Razr XT910 using xda premium
Click to expand...
Click to collapse
you have a Vaarizon?
9100_it said:
you have a Vaarizon?
Click to expand...
Click to collapse
Download link for international version is posted on top of this page
opensourcefan said:
Sadly everything I try it behaves as if I don't have root. I can get # in ADB just won't let me do anything in /system/app, says read only file system.
I tried to just rename and replace in root explorer but get a repeating force close on the Portalapp service.
I need a different way to mount read/write
Code:
mount -o remount,rw -t yaffs2 /system
or
adb shell sysrw
idunno, not a ADB fan.
Click to expand...
Click to collapse
You have to do
su
To login as root before.
Sent from my awsome Motorola RAZR
Perfect!
I've asked to teach me how to make it, but it's the same. The important thing is that it is available, even if my curiosity reaches an unknown level.
Thanks!
P.S.: Please, edit the thread title to reflect this section rules!

[Guide][Help] Play Store error -24: What is it and how to solve it

This is a common error that occurs with the Play Store sometimes after flashing ROMs without wiping data, or with an incomplete un-installation (apk corruption, etc.)
What is it?​Basically, there is some app data left behind from a previous installation of the app. The Play Store sees that data when trying to install the app and throws a -24 error, because it doesn't know what to do with it.
So, how do you solve it?​Simple to fix:
(I'm assuming you're rooted, chances are you are if you get this error)
- YOU'LL LOSE YOUR DATA FOR THAT APP (You would have done anyway, if it was uninstalled properly) -
1.) Using a root file manager, go to /data/data
2.) Find the package name of the app you're wanting to install
(Don't know the package name? Find the app you're wanting to install on the Play Store online and it's in the URL)
3.) Delete that folder. All of it.
4.) Try to install your app again, it should work now
5.) If you like, hit the thanks button
If you're unrooted, you can try this:
Run this in adb
Code:
adb shell rm -R -f /data/data/<packagename>
Replace <packagename> with the package name of your app (if you don't know it, see above)
If that doesn't work, a factory reset is your only option, sorry
Great write up man .
TEAM MiK
MikROMs Since 3/13/11
you just saved me Thanks a bunch!
F*ck, you're a genius man, many thanks to you !
Thx so much, you really saved me with your guide!!! :good:
I did all that but am still getting the same error with Beautiful Widgets, I just upgraded from 4.1.2 to 4.2.2, any other advice...
My device (Galaxy S4) is unrooted and i never root or install any custom rom on this device so i use the adb shell and enter the above command,
i get rm failed for /data/data/com.miui.mihome2, Permission denied
Any other suggestion or advice??Is factory reset the only option??
Hey guys, I did this, but it still isn't working. Any help?
Nexus Prime, powered by CyanogenMod and LeanKernel.
It keeps saying that no such file or directory exists.... I have my phone plugged in, debugging is on, and I open ADB in command prompt...
Thanks
It worked, Swype was the software
I upgraded my S4 Octa-core from 4.2.2 to 4.3, the Swype keyboard, the paid version, did not appear, so I tried to install it from Google Play (several times), error -24, I looked for an answer in the Swype forum, nothing, then I found this thread (why the hell I did not look for it here in the first place...? ), and this did the trick.
:victory: All this story just to say Thank you a lot man, you saved my day, stock keyboard is not bad, but Swype is awesome.
Has anyone had any luck using the command below?
Code:
adb shell rm -R -f /data/data/<packagename>
I'm unrooted and I'm trying to delete /data/data/com.whatsapp but receive this error:
Code:
rm failed for /data/data/com.whatsapp, Permission denied
Shreedhan said:
Has anyone had any luck using the command below?
Code:
adb shell rm -R -f /data/data/<packagename>
I'm unrooted and I'm trying to delete /data/data/com.whatsapp but receive this error:
Code:
rm failed for /data/data/com.whatsapp, Permission denied
Click to expand...
Click to collapse
got it too. I've a N5 and I don't want to root for the moment
StErMi said:
got it too. I've a N5 and I don't want to root for the moment
Click to expand...
Click to collapse
Im in the same situation, hopefuly answer to it somewhere
thank you, your guide is very good!
andy46 said:
Im in the same situation, hopefuly answer to it somewhere
Click to expand...
Click to collapse
Same problem here.
My guess is that we use the wrong package name..
Phunkiest said:
Same problem here.
My guess is that we use the wrong package name..
Click to expand...
Click to collapse
Yeah I am having the same problem. However, I have checked and I am pretty sure that the package name indeed is com.whatsapp. No idea what's going on.
Sigh.. suggestion removed. Doesnt work!
You need root.
For the people that got the "permission denied" error after entering the command:
You need root. Deleting data from apk files and/or installing/uninstalling apk files needs special permissions that only su (superuser) and system has. (Root IS su)
Now, reading that, you may think:
"But what about PackageManager or the Play Store that allows you to install apk files?"
Those are given permissions as system.
Correct me if I'm wrong.
t0ny0 said:
you just saved me Thanks a bunch!
Click to expand...
Click to collapse
Thanks a lot, now I can install the latest whatsapp with ART runtime in my Nexus 4

Categories

Resources