Lenovo ThinkPad Tablet Port Of Notes Mobile - AT&T Samsung Galaxy Note I717

I was able to get the port of the Lenovo Notes Mobile for the HTC Flyer running on my AT&T Galaxy Note running the leaked ICS ROM. Could not get the zip to flash, but I just unzipped it and pushed it to a temp directory on my sdcard (/sdcard/notes) . Then I remount'd my system partition in read write mode and copy the files over through the root shell.
Get the download here http://forum.xda-developers.com/showthread.php?t=1426975
adb push C:\Apps\NotesMobile-View\lib\libMyScriptEngine.so /sdcard/notes/lib/
adb push C:\Apps\NotesMobile-View\lib\libMyScriptHWR.so /sdcard/notes/lib/
adb push C:\Apps\NotesMobile-View\lib\libStylusCore.so /sdcard/notes/lib/
adb push C:\Apps\NotesMobile-View\app\notesmobile_len-oem.apk /sdcard/notes/
busybox cp *.so /system/lib/
busybox cp *.apk /system/app/
and then run:
adb reboot
----
Seems to run fine

Related

Removing hard links & /system/bin/ command options

1) How do I remove hard linked files on the X10 Android file system? I also need to identify them with the "ls" command, but it doesn't work the same as linux by listing the count in the ls listing of hard links to a specific file. The reason is, when I try to move a file in /system/app, it tells me it failed due to cross-device link - likely because the OS knows the link will fail if I move the file to my /sdcard directory. I want to remove the hard-link.
2) Is there a listing of all the options available to the commands in the /system/bin directory? It seems the ls command, for example, is a stripped down version of the ls that comes with linux.
Thanks.
what method are you using to move the files in system/app? you should be able to move them using root explorer, or copy out using dd if= of= statements then rm, the xperia system does not seem to like cp and mv commands
I'm using:
Code:
mv /system/app/Facebook.apk /sdcard/backup/system/app
...it fails. A dd works, because it just does a block copy and doesn't move the file. I'll try moving it with Root Explorer.
I'd prefer an actual command instead of using an app on the phone, as I've connected the phone to my PC with the USB cable and using adb.exe.
FYI, I tried Root Explorer, for some reason it can move the file just fine! My phone is rooted and I'm running the adb shell with super-user access.
use this:
busybox ls -l
busybox cp
busybox mv
Or even better, use "busybox --install /system/bin" and let it install all the symlinks for you
aln688 said:
I'm using:
Code:
mv /system/app/Facebook.apk /sdcard/backup/system/app
...it fails. A dd works, because it just does a block copy and doesn't move the file. I'll try moving it with Root Explorer.
I'd prefer an actual command instead of using an app on the phone, as I've connected the phone to my PC with the USB cable and using adb.exe.
FYI, I tried Root Explorer, for some reason it can move the file just fine! My phone is rooted and I'm running the adb shell with super-user access.
Click to expand...
Click to collapse
biktor_gj said:
use this:
busybox ls -l
busybox cp
busybox mv
Or even better, use "busybox --install /system/bin" and let it install all the symlinks for you
Click to expand...
Click to collapse
Thanks for the tip, you've just explained what busybox is. I always wondered why Titanium Backup wanted Busybox for it to run properly. I'll try these commands out.
UPDATE: Nice, I get VI as well! I was wanting that. I got fedup editing a file on the PC and pushing it back to the phone. Thanks.

Issue with the new root script with sdcard

The new script failed for me and from the look of things for other people as well.
In my case a new out of the box Nook Tablet and a fresh sdcard it fails to find the sdcard. it is there of course, its simply a case of not having read or write permisssions on the /mnt/sdcard. It's set as system for owner and group without anyother permissions. The Nook had already created a folders for the sdcard with read write permissions so one could have used one of them for the tests I suppose.
What I did after completing the rooting was to turn on superuser and rerun the creating of Titanium backup directory and pushing the modified device manager files. I also needed to install Titanium.apk.
The commands I used was:
adb shell
$ su
# makdir /sdcard/Titaniumbackup
# chmod 777 /sdcard/Titaniumbackup
# bye
adb push com.bn.devicemanager-1351fc675dac5f1a461a09b769b1b4b6.apk.gz /sdcard/TitaniumBackup/com.bn.devicemanager-1351fc675dac5f1a461a09b769b1b4b6.apk.gz
adb push com.bn.devicemanager-20111222-085657.tar.gz /sdcard/TitaniumBackup/com.bn.devicemanager-20111222-085657.tar.gz
adb push com.bn.devicemanager-20111222-085657.properties /sdcard/TitaniumBackup/com.bn.devicemanager-20111222-085657.properties
adb install Titanium.apk
then using the nook tablet running Titanium.apk and performing the restore of the DeviceManger.
I was hoping this might help someone else out.
makdir is not a command. mkdir.
the sdcard is FAT formatted. you can't chmod it. that's a worthless command.

Trying to push Rosie.apk to phone using ADB

I used the tutorial below to install ADB.
http://forum.xda-developers.com/showthread.php?t=502010
Followed instructions exactly and got ADB to respond properly in windows CMD prompt.
I type the following:
C:\android-sdk-windows\platform-tools>adb push C:\Users\Josh\Downloads\Rosie.apk /data/app_s/
And it comes back with:
failed to copy 'C:\Users\Josh\Downloads\Rosie.apk' to 'data/app_s/' : Is a directory
-----
The phone is ROOTED and S-OFF.
Why amd I pushing Rosie.apk?
Because I'm retarded and accidentally deleted it, now I have no way to get around my phone and I don't want to restore to a prior backup for such a simple (seemingly anyway) issue.
I pulled the new Rosie.apk to be pushed out of the same ROM I installed onto the phone after ROOTing it so I'm assuming if I can manage to push the file to the proper directory it will work just fine after a reboot?
-----
To install Rosie.apk I should be able to do:
adb remount
adb push Rosie.apk /data/app_s/
adb shell
reboot
Of course, specify the location of Rosie.apk on my drive, as I did above.
----
Hopefully somebody can help me here since I can't post in any dev forums yet (new user) where I'm sure somebody could fix me up in no time at all.
I fixed it! Here's what I did for my HTC Wildfire S to push Rosie.apk back to Gingerbread after deleting it like a dummy:
adb remount
adb push Rosie.apk /system/app/Rosie.apk
adb shell chmod 644 /system/app/Rosie.apk
Unlocked screen and Rosie was back!

How to do this ADB command Will pay!

Willing to pay someone to show me how to do this command:
Step by step instructions and I'll give you $20.00
-------------------------------------------------------------
You will need modified libraries to take full advantage of this kernel as they override speeds at times, you can find these here.
You'll have to push them over adb for now after flashing the kernel, when CWM is up I will make a CWM zip for it.
From the directory with adb and the three .so files:
Code:
adb remount
adb push libhardware_legacy.so /system/lib/
adb push librpc.so /system/lib/
adb push libandroid_runtime.so /system/lib/
adb shell chmod 0644 /system/lib/libhardware_legacy.so
adb shell chmod 0644 /system/lib/librpc.so
adb shell chmod 0644 /system/lib/libandroid_runtime.so
adb reboot
What does it tell you when you try to run the first command?
You've got to have ADB installed first.
Download the modified files from that post and extract them to a folder lets say C:\
Hit start run CMD now type CD C:\
Now type those commands that you posted one by one with your phone in Dev Mode plugged into the computer.
& give the $ to the man who deserves it Da_G!
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
You,need ti set up adb first .. Click the chat libk in my sig i will help you live..
Sent from my GT-I9000 using xda premium
BrandonPrice31 said:
Willing to pay someone to show me how to do this command:
Step by step instructions and I'll give you $20.00
-------------------------------------------------------------
You will need modified libraries to take full advantage of this kernel as they override speeds at times, you can find these here.
You'll have to push them over adb for now after flashing the kernel, when CWM is up I will make a CWM zip for it.
From the directory with adb and the three .so files:
Code:
adb remount
adb push libhardware_legacy.so /system/lib/
adb push librpc.so /system/lib/
adb push libandroid_runtime.so /system/lib/
adb shell chmod 0644 /system/lib/libhardware_legacy.so
adb shell chmod 0644 /system/lib/librpc.so
adb shell chmod 0644 /system/lib/libandroid_runtime.so
adb reboot
Click to expand...
Click to collapse
enable USB debugging in settings on phone.
Connect phone to your pc.
run 'adb' on your PC from the command line.
If you do not have the USB drivers etc installed, see http://developer.android.com/sdk/index.html and http://developer.android.com/sdk/win-usb.html
once you have adb working (e.g. you can run 'adb devices' and see your phone) just type the command as above.
donbowman said:
enable USB debugging in settings on phone.
Connect phone to your pc.
run 'adb' on your PC from the command line.
If you do not have the USB drivers etc installed, see http://developer.android.com/sdk/index.html and http://developer.android.com/sdk/win-usb.html
once you have adb working (e.g. you can run 'adb devices' and see your phone) just type the command as above.
Click to expand...
Click to collapse
I have all of that but once I get to that part it doesnt work..
He only gives one file:
http://forum.xda-developers.com/showthread.php?t=1504920
maxjivi05 said:
You've got to have ADB installed first.
Download the modified files from that post and extract them to a folder lets say C:\
Hit start run CMD now type CD C:\
Now type those commands that you posted one by one with your phone in Dev Mode plugged into the computer.
& give the $ to the man who deserves it Da_G!
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
Click to expand...
Click to collapse
Problem is there is only one file given?
http://forum.xda-developers.com/showthread.php?t=1504920
BrandonPrice31 said:
I have all of that but once I get to that part it doesnt work..
He only gives one file:
http://forum.xda-developers.com/showthread.php?t=1504920
Click to expand...
Click to collapse
ah, the files are in a tar.gz file.
If you are on windows, open this with winzip and extract.
if u r on linux, do 'tar zxvf modded-libs.tar.gz'
You need to install the SDK for Windows to get ADB installed. That would be easiest
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
There are three files in there. it's a tar.gz file. You have to extract twice. Once to get a .tar file, then you extract the three files from the .tar.
DAGr8 said:
You,need ti set up adb first .. Click the chat libk in my sig i will help you live..
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Waiting for your response
Okay so I have the three files unzipped, where do I place them so the commands will work?
uh, any old directory will do.
then 'cd' to that directory.
then run adb as above.
the 'adb push' will be copying them to the device.
For some reason the overclock freezes on me I don't get it.
try 1 notch above 1544 speed first.
BrandonPrice31 said:
For some reason the overclock freezes on me I don't get it.
Click to expand...
Click to collapse
Im sorry something came up im afk atm hang around ill help when i get home in about an hour
Sent from my GT-I9000 using xda premium

[Q] ADB PUSH Permission denied

I need help with this ASAP, as my device is currently in a bootloop because a boot animation app didn't work as well as I thought it would and my Dell Streak 7 will not boot up.
The device does still respond to adb commands, so there's a chance at saving it.
Unfortunately, I cannot get adb push to work, it says no permission when I try to do:
adb push bootanimation.zip /system/media
It says permission denied. I either need to know how to get adb push working or how to COMPLETELY reset the tablet, including all the system files such as bootanimation.zip. I need help as soon as possible
HackAttack37 said:
I need help with this ASAP, as my device is currently in a bootloop because a boot animation app didn't work as well as I thought it would and my Dell Streak 7 will not boot up.
The device does still respond to adb commands, so there's a chance at saving it.
Unfortunately, I cannot get adb push to work, it says no permission when I try to do:
adb push bootanimation.zip /system/media
It says permission denied. I either need to know how to get adb push working or how to COMPLETELY reset the tablet, including all the system files such as bootanimation.zip. I need help as soon as possible
Click to expand...
Click to collapse
Ok, I can help.
First, you cannot adb push to a system partition. you would need to have unprotected adb running in su mode.
Also, you will have to remount the system partition to rw.
try this code:
Code:
adb push bootanimation.zip /data/local/tmp/bootanimation.zip
adb shell "su -c busybox mount -o remount,rw /system"
adb shell "su -c cat /data/local/tmp/bootanimation.zip > /system/media/bootanimation.zip"

Categories

Resources