Pls someone help me to get info about this device - Nexus 4 Q&A, Help & Troubleshooting

Hi im porting rom but i dont have this device.
can anyone just open terminal emulator and type
su
ls -l dev/block/platform/msm_sdcc.1/by-name/system
and post here the output?
it will not harm your device ls command only lists files pls i cant do anything without that

I got this:
[email protected]:/ $ su
dev/block/platform/msm_sdcc.1/by-name/system <
lrwxrwxrwx root root 2015-10-08 11:47 system -> /dev/block/mmcblk0p21
[email protected]:/ #
Click to expand...
Click to collapse
Was that what you wanted, or did you want the file it mentions in the output?

Related

Root and android-wifi-tether

Hi!
Short and simple:
I've used this guide to 'root' my HTC magic.
Concerning the guide, my phone is root'ed.
Output of adb shell id
Code:
uid=0(root) gid=0(root)
Now I want to use android-wifi-tether, but the app tells me I ain't got root.
Am I missing something?
Thanks for help,
xenator
xenator said:
Hi!
Short and simple:
I've used this guide to 'root' my HTC magic.
Concerning the guide, my phone is root'ed.
Output of adb shell id
Code:
uid=0(root) gid=0(root)
Now I want to use android-wifi-tether, but the app tells me I ain't got root.
Am I missing something?
Thanks for help,
xenator
Click to expand...
Click to collapse
Does the su-binary exist /system/bin/su?
You could type something like: "ls /system/bin/su" to check that.
If this binary does not exist execute following commands:
adb shell
cd /system/bin
cat sh > su
chmod 4755 su
... try again ...
Code:
# cat sh > su
cat sh > su
cannot create su: read-only file system
Seems like I've to re-mount with 'rw'?
I'm a linux guy, but I don't want to break anything on the phone
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Did the job.
Now it seems that my kernel is missing 'netfilter'.
How do I get a kernel with that option compiled?
And again I could help myself
See here.
Thanks for the help so far!
xenator
android-wifi-tether works just fine, but I'm not able to use my "normal" WLAN anymore.
Anytime I try to activate WLAN in the settings it says "WLAN could not be started".
Anyone can help?

[REQ] Need someone to check something for me on a STOCK Vibrant

Anyone out there willing to help me out?
I just someone to run this command with their phone hooked up, USB Debugging ENABLED:
adb shell ls -l -R /sys/class > class_structure_VIBRANT.txt
This will output a text file in whichever directory you run the command from, that will list the hardware capabilities of the phone for me - this would help me IMMENSELY from a development standpoint!
Check out the text file - zero personal / private information will be in there!
Thanks!
I have a samsung that is ROOT, has the gps-fix for ROOT users, the custom recovery image.
Is that good for you?
abcdavidefg said:
I have a samsung that is ROOT, has the gps-fix for ROOT users, the custom recovery image.
Is that good for you?
Click to expand...
Click to collapse
That would be a start - I'd like to find one that is non-root, though!
Doward said:
That would be a start - I'd like to find one that is non-root, though!
Click to expand...
Click to collapse
http://www.4shared.com/document/7F2UoKt-/class_structure_VIBRANT.html
This is from an un-rooted Vibrant bone stock Rom just after flashing it with ODIN!
mp2ning said:
http://www.4shared.com/document/7F2UoKt-/class_structure_VIBRANT.html
This is from an un-rooted Vibrant bone stock Rom just after flashing it with ODIN!
Click to expand...
Click to collapse
Great, thank you!
*edit*
Oh wow... oddball structure there!!
Can I get these as well?
adb shell ls -l -R /sys/devices/platform > platform_structure_VIBRANT.txt
and
adb shell ls -l -R /sys/devices/virtual > virtual_structure_VIBRANT.txt
adb shell ls -l -R /sys/devices/platform > platform_structure_VIBRANT.txt
http://www.4shared.com/document/ouZxt2TF/_2__platform_structure_VIBRANT.html
adb shell ls -l -R /sys/devices/virtual > virtual_structure_VIBRANT.txt
http://www.4shared.com/document/Vnvz-oEQ/virtual_structure_VIBRANT.html
I had already rooted after I posted the first file so I unrooted to get these last 2 files in case it matters!
mp2ning said:
adb shell ls -l -R /sys/devices/platform > platform_structure_VIBRANT.txt
http://www.4shared.com/document/ouZxt2TF/_2__platform_structure_VIBRANT.html
adb shell ls -l -R /sys/devices/virtual > virtual_structure_VIBRANT.txt
http://www.4shared.com/document/Vnvz-oEQ/virtual_structure_VIBRANT.html
I had already rooted after I posted the first file so I unrooted to get these last 2 files in case it matters!
Click to expand...
Click to collapse
LOL awesome, thanks!!
I connect my phone, open the cmd and then I type this
cd\
cd AndroidSDK\tools\
adb shell ls -l -R /sys/class > class_structure_VIBRANT.txt
I dont get error, but i dont get any text.
I am just trying to help
abcdavidefg said:
I connect my phone, open the cmd and then I type this
cd\
cd AndroidSDK\tools\
adb shell ls -l -R /sys/class > class_structure_VIBRANT.txt
I dont get error, but i dont get any text.
I am just trying to help
Click to expand...
Click to collapse
What do you get?
If the file completes, then you should be able to type in 'dir' and see class_structure_VIBRANT.txt in there
Doward said:
What do you get?
If the file completes, then you should be able to type in 'dir' and see class_structure_VIBRANT.txt in there
Click to expand...
Click to collapse
I attach the files that you asked for it

[REQ] Need someone to check something for me on a STOCK Streak

Anyone out there willing to help me out?
I just someone to run this command with their phone hooked up, USB Debugging ENABLED:
adb shell ls -l -R /sys/class > class_structure_STREAK.txt
This will output a text file in whichever directory you run the command from, that will list the hardware capabilities of the phone for me - this would help me IMMENSELY from a development standpoint!
Check out the text file - zero personal / private information will be in there!
Thanks!
Enjoy
STOCK - 2.1 (hope that's alright )
Meltus said:
Enjoy
STOCK - 2.1 (hope that's alright )
Click to expand...
Click to collapse
That's fine... interesting structure Dell went with.
Mind if I get these, too?
adb shell ls -l -R /devices/platform > platform_structure_STREAK.txt
AND
adb shell ls -l -R /devices/virtual > virtual_structure_STREAK.txt
Not good news on those 2.
The first one just says:
"adb server is out of date. killing...
* daemon started successfully *
R: No such file or directory
/devices/platform: No such file or directory"
and the second one:
"/devices/virtual: No such file or directory"
My fault!
adb shell ls -l -R /sys/devices/platform > platform_structure_STREAK.txt
AND
adb shell ls -l -R /sys/devices/virtual > virtual_structure_STREAK.txt
That should do it
Also, are you rooted?
Doward said:
My fault!
adb shell ls -l -R /sys/devices/platform > platform_structure_STREAK.txt
AND
adb shell ls -l -R /sys/devices/virtual > virtual_structure_STREAK.txt
That should do it
Also, are you rooted?
Click to expand...
Click to collapse
Yeah that did it
and no, i'm just on the Stock 2.1 beta.
(both are in the zip, to big to upload individually)
Meltus said:
Yeah that did it
and no, i'm just on the Stock 2.1 beta.
(both are in the zip, to big to upload individually)
Click to expand...
Click to collapse
Awesome, big thanks!!
Feel like beta testing something for me?
I am always fond of beta-testing. But what is it ?
Doward said:
Awesome, big thanks!!
Feel like beta testing something for me?
Click to expand...
Click to collapse
Sure thing

nv_data.bin Permission [TUTORIAL] needed

After so many tutorials on Forum for nv_data.bin permission denied, none of them worked for me. Is there any 100% working tutorial.
regards
karabey said:
After so many tutorials on Forum for nv_data.bin permission denied, none of them worked for me. Is there any 100% working tutorial.
regards
Click to expand...
Click to collapse
There's an app called mount system on the market. Install it & ask it mount always as r/w access at boot.
PS : You need to have root access.
Thanks but not worked.. Cant still read the nv_data.bin
Ok have saved now the bml3.bak but there is no Code saved if i try to extract by sgux2.exe
HEX
53534E56A6A7FA1A0709542A1E85E257F98A6F14E2E19CA932EBEC93945930F6D0D9713DF61AB70CA4D57F7F9BCEDD924B888C6AAE9074B9D49D8FEEC8C021A97D4882BEFF922E8B004646464646464646000000000000000000000000000000000000000000000000323332303523
323332303523 = 23205
Any help?
My friend who use the Phone could read the Codes and made an Froyo Update. But after the Update Code were not able to enter. It gave the Error that is wrong.
ProductCode: GT-i9000HKDONE
You can get permission by adb shell or terminal emulator by typing:
su
busybox chown 1001:1001 /efs/nv_data.bin
(reboot)
I tried your method, but I still get permission denied. Here is what I did and the list of the file under /efs:
C:\SDK\tools>adb shell
$ su
su
# busybox chown 1001:1001 /efs/nv_data.bin
busybox chown 1001:1001 /efs/nv_data.bin
# reboot
reboot
C:\SDK\tools>adb shell
$ su
su
# ls -l /efs
ls -l /efs
-rwx------ radio radio 2097152 2010-10-30 04:57 nv_data.bin
drwxrwxrwx radio radio 2010-07-17 09:31 imei
-rwx------ radio radio 32 2010-10-30 04:57 nv_data.bin.md5
#
iScream^ said:
You can get permission by adb shell or terminal emulator by typing:
su
busybox chown 1001:1001 /efs/nv_data.bin
(reboot)
Click to expand...
Click to collapse
lan_baba said:
I tried your method, but I still get permission denied. Here is what I did and the list of the file under /efs:
C:\SDK\tools>adb shell
$ su
su
# busybox chown 1001:1001 /efs/nv_data.bin
busybox chown 1001:1001 /efs/nv_data.bin
# reboot
reboot
C:\SDK\tools>adb shell
$ su
su
# ls -l /efs
ls -l /efs
-rwx------ radio radio 2097152 2010-10-30 04:57 nv_data.bin
drwxrwxrwx radio radio 2010-07-17 09:31 imei
-rwx------ radio radio 32 2010-10-30 04:57 nv_data.bin.md5
#
Click to expand...
Click to collapse
not workinggg.......
Why do you want to read the file?
Have you lost your imei? If so, was the phone sold to you?
Don't bother with the codes. Use the hex edit method to change the lock status to 0:
http://forum.xda-developers.com/showthread.php?t=761045
p.s. you should delete the file you posted... that's some bad security there.

msgingerRC1 French keyboard fix !

Hi,
i post here, because i dont have access to the dev part (10 posts limit maybe).
For the french guys, i have the working files for the hw keyboard.
I'll post them when i get up !
Edit : This is a simple zip file , dont use it with recovery mode !!!!!
Instructions :
unzip file, connect to the phone in adb shell , make /system rw , put the file in /system/usr/keychars (.bin) and /system/usr/keylayout (.kl) . Make the symbolic links to the scholes file. reboot !
I'll test with a more simple(generic) solution.
It's not possible to have an apk?
Nice pat972 I test it now !!
can you explain " Make the symbolic links to the scholes file" please ? (In french toooo )
Ok , let me know if you have a problem with the menu key ! i'll correct it !
For the symbolic links : when you are in the directory , you can do a "ls -l" , you'll see a file pointing to another one, originally pointing to something with "jordan".
you have to do "ln -s /system/usr/keylayout/file.kl sholes-keypad.kl".
No , i don't know how to do apk files !
Thanks for your answer but this don't work.. I have run the folowing command :
>adb remount
remount succeeded
>adb shell
# mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
# cp /mnt/sdcard/a/umts_milestone2-keypad.kcm.bin /system/usr/keychars
# cp /mnt/sdcard/a/umts_milestone2-keypad.kl /system/usr/keylayout
# cd /system/usr/keychars/
# ln -s /system/usr/keylayout/umts_milestone2-keypad.kl sholes-keypad.kl
# mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
# exit
exit
>adb reboot
It's good? or I do a mistake ?
Ok it 's good , but you mix all the symbolic and directories !
so here it is :
# cd /system/usr/keychars/
# ln -s /system/usr/keychars/umts_milestone2-keypad.kcm.bin sholes-keypad.kcm.bin
# cd ../keylayout/
# ln -s /system/usr/keylayout/umts_milestone2-keypad.kl sholes-keypad.kl
pat972 said:
Ok it 's good , but you mix all the symbolic and directories !
so here it is :
# cd /system/usr/keychars/
# ln -s /system/usr/keylayout/umts_milestone2-keypad.kcm.bin sholes-keypad.kcm.bin
# cd ../keylayout/
# ln -s /system/usr/keylayout/umts_milestone2-keypad.kl sholes-keypad.kl
Click to expand...
Click to collapse
Sorry for this BIG mistake ... but this don't work too....... I think because I do this mistake ! So I come back tomorrow to do new test
Thanks for help!
Sorry for this BIG mistake ... but this don't work too....... I think because I do this mistake ! So I come back tomorrow to do new test
Thanks for help!
Oups it's me, bad bad , sorry i copy paste your line, but there is a mistake in it again !
For the bin file, it is , keychars directory :
# ln -s /system/usr/keychars/umts_milestone2-keypad.kcm.bin sholes-keypad.kcm.bin
then you do a "ls -l" to verify the symlink in each directory :
# ls -l
-rw-r--r-- root root 896 2011-08-24 06:26 umts_milestone2-keypad.kcm.bin
-rw-r--r-- root root 896 2011-07-12 22:00 qwerty2.kcm.bin
-rw-r--r-- root root 896 2011-07-12 22:00 qwerty.kcm.bin
lrwxrwxrwx root root 2011-08-24 05:13 sholes-keypad.kcm.bin -> /system/usr/keychars/umts_milestone2-keypad.kcm.bin
You see that the sholes file point the umts one in the keychars directory not the keylayout !
In fact, this is the problem but when I do this commande line, the result is :
"Link failed file exist"
What I must delete ?
You must delete:
/system/usr/keychars/umts_milestone2-keypad.kcm.bin
so do a
Code:
rm /system/usr/keychars/umts_milestone2-keypad.kcm.bin
Thanks for your answer, but always the same message ...
I have delete "sholes-keypad.kcm.bin" after and can finish all code line but don't work............. I test to restore ROM and restart this
Edit : Now it's work, so the commande line are (if you have put the 2 files on the "a" folder in the SDcard ) :
Code:
>adb shell
# mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
# cp /mnt/sdcard/a/umts_milestone2-keypad.kcm.bin /system/usr/keychars
# cp /mnt/sdcard/a/umts_milestone2-keypad.kl /system/usr/keylayout
# cd /system/usr/keychars/
# rm sholes-keypad.kcm.bin
# ln -s /system/usr/keychars/umts_milestone2-keypad.kcm.bin sholes-keypad.kcm.bin
# cd /system/usr/keylayout/
# rm sholes-keypad.kl
# ln -s /system/usr/keylayout/umts_milestone2-keypad.kl sholes-keypad.kl
# mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
# exit
>adb reboot
Hi, did someone test this. If you select different country (like german) did the hardware keyboard also switch?
Hi, no i did not, but i would say no ! I have an idea , but i need to test it ! I'll change the bin file and let you know! While im here, it just test your new bluremail.apk and it doesnt seems to work with classic mail ! Said no connection.
Sent from my MotoA953 using XDA App
@walter79 : Yes I have test to change country, but nothing change !
@pat972 : all the "alt" are not good ! (numbers, etc...)
@alex could you do a "ls -l" in each directory and post it here !
@walter : I do some quick test, what appears to me is that my keyboard is always in azerty no matter what locale i put in build.prop or when i change the language setting in the menu.
I also replace my modified keychars by the froyo one, and the keyboard is again in azerty. They are minor differences , more particularly the froyo keychars mix azerty and qwerty layout !
what i think is that the language menu don't change the hw.keyboard layout
I can't see in "cd /system/usr/keychars/" the "Shole.....bin" ....
Code:
# cd /system/usr/keylayout
cd /system/usr/keylayout
# ls -l
ls -l
-rw-r--r-- root root 3295 2011-08-25 11:34 umts_milestone2-k
eypad.kl
-rw-r--r-- root root 4132 2011-08-25 11:16 qwerty.kl
-rw-r--r-- root root 245 2011-08-25 11:16 AVRCP.kl
-rw-r--r-- root root 75 2011-08-25 11:16 cpcap-key.kl
lrwxrwxrwx root root 2011-08-25 11:37 sholes-keypad.k
l -> /system/usr/keylayout/umts_milestone2-keypad.kl
# cd /system/usr/keychars/
cd /system/usr/keychars/
# ls -l
ls -l
----rwxr-x root root 896 2011-08-25 11:36 umts_milestone2-k
eypad.kcm.bin
-rw-r--r-- root root 896 2011-08-25 11:16 qwerty2.kcm.bin
-rw-r--r-- root root 896 2011-08-25 11:16 qwerty.kcm.bin
#
pat972 said:
Oups it's me, bad bad , sorry i copy paste your line, but there is a mistake in it again !
For the bin file, it is , keychars directory :
# ln -s /system/usr/keychars/umts_milestone2-keypad.kcm.bin sholes-keypad.kcm.bin
then you do a "ls -l" to verify the symlink in each directory :
# ls -l
-rw-r--r-- root root 896 2011-08-24 06:26 umts_milestone2-keypad.kcm.bin
-rw-r--r-- root root 896 2011-07-12 22:00 qwerty2.kcm.bin
-rw-r--r-- root root 896 2011-07-12 22:00 qwerty.kcm.bin
lrwxrwxrwx root root 2011-08-24 05:13 sholes-keypad.kcm.bin -> /system/usr/keychars/umts_milestone2-keypad.kcm.bin
You see that the sholes file point the umts one in the keychars directory not the keylayout !
Click to expand...
Click to collapse
So , your problem is you don't have the link in the keychars ! so do it , it must look like my previous post (quote) .
# ln -s /system/usr/keychars/umts_milestone2-keypad.kcm.bin sholes-keypad.kcm.bin
and do a ls -l to verify it !
All works now ! Sorry ...but I don't understand why the 1rst time this command line don't work....pearhap's can't do the 2 files in the same time (reboot between) ???
Thanks for your help !

Categories

Resources