Recently I decided to try Slim Bean on my phone, seeing they released a new version a few days ago. I had been running Cyanogenmod 7 but decided it was time for a change. Initially, everything worked great, I was able to reinstall all my old apps, send texts, and things functioned well.
About 12-14 hours after doing this however, my phone stopped having signal. I didn't reboot it or anything, just no longer would it pick up a signal. Checking the about phone revealed it saying it had an unknown baseband and IMEI, I wasn't too concerned, I had backups of the EFS files, so I turned on USB debugging, plugged my computer in, and used an adb shell to move the backup to the main system. However, this still didn't work for my phone.
According to the Slimrom's FAQ, there are two solutions to this: delete the 00check and 98tweaks files in the system/etc/init.d folder, or just reinstall the ROM. However, using an adb shell or a terminal emulator on my phone, both with superuser powers, I can't remove those files. chmod spits back that they are read-only files. lsattr shows only the A tag active, which shouldn't be standing in my way. I seem powerless to get rid of these, and I can't find any guide as to how to do so. I've tried restoring to factory defaults and reinstalling the ROM, and this time I don't have signal right from the start. Can anyone help me figure out what to do about this? I've searched around and can't find any answers, which is making me think I'm just missing something really stupid. Any help would be appreciated!
Update: Figured it out. The system partition was mounted as read-only, and I thought I had tried remounting it but must have tried a higher level directory or botched the command. mount -o remount,rw /system gave me the ability to delete those files. Sorry for the trouble!
Related
I've compiled 2.1 from source and I ran in to a problem. The device will boot and the touchscreen,keyboard, apps, and the phone all work but i'm having a problem trying to install apps from the marketplace. when i download an app it will download ok but always says installation unsuccessful and says insufficient storage. I checked the phone storage and it's over 100mb so i'm clueless as to why i'm getting this error.
I'm also having problems getting the sound working. I can select ringtones but nothing ever plays. I've copied the proprietary files from a ROM i was using on the device prior to flashing this and added them into this ROM. any help is greatly appreciated.
1) Try this from a command prompt (terminal app or adb shell):
chown system.system /data/app
chmod 0771 /data/app
If this works, you should add this to your update-script before flashing again:
set_perm 1000 1000 0771 DATA:app
2) Not sure about the sound issues, although I have an AOSP 2.2 ROM that acts the exact same way.
you actually inspired me to try to make my own ROM. I used your android builder and dsixda's kitchen. let me know if you figure something out with the sounds. It took me long enough to figure out how to get it to recognize the SD card.
That worked. I'm also havings issues with the camera and softkey lights. i copied the lights file into the proper folder but they still don't work. camera doesn't do anything either.
setcpu also for some reason can't get root either, it says root access not detected but i have su in /system/bin. too many problems!
update. apparently my permissions are somehow screwed up. i can use ADB and have root access but from the device itself using a terminal emulator i've figured out i don't have full root. any suggestions?
fixed the su issues. i had to adb remount and adb shell and chmod 06755 /system/bin/su if anyone was wondering
I'm still having issues with sound, camera, etc. i have moved all the proprietary files from a stock HTC 2.1 ROM over and i'm still having problems. I'm now using the new CFS kernel from conap and decad3nce and got overclocking to work. The main problems are sound and the softkey lights, once i get those working i can use this ROM everyday and work on the wifi, bluetooth and camera. If anyone has any tips or knows any other libs that might work it would be great.
Hi all.
I've just installed some app that broke down my S3 stock OS.
The OS was rooted, and I gave the crappy app superuser access...
It was supposed to change the DPI setting, but now it's boot-looping over the Samsung logo.
Now I'd like to recover my data, photos and stuff...
CWM Recovery 5.5.0.4 is installed.
I can start a backup, but it won't complete since I don't have a large enough SD card at hand (it's a 32 GB SGS3 with a bunch of large videos...).
I don't care about the movies, just the photos, but there's no option for a selective backup...
I also tried updating CWM to a more recent release with Odin (downloaded .img and tar'ed it...), but it won't go further than SetupConnection.
I've not tried a factory reset of anything else yet...
Is there a way I can still recover my data, or should I just get over it and try to flash the whole thing back with Odin?
Thanks for your help.
Adb backup?
maybe reinstalling the ROM can fix it ?
The other thing you can try is adb pull /build prop, edit LCD density back to 320 and adb push it back
Thanks for your answers.
adb looks like the way to go, but I never managed to get it working on my computers.
"adb devices" won't list any, "adb shell" returns "error: device not found".
USB debugging was enabled in the OS.
Is the phone supposed to be in recovery mode or download mode? None works... (Also tried with the OS running before it started crashing)
Is there a setup guide somewhere?
Actually, working with Android on Windows (XP x64) has been a total nightmare so far.
On my main computer, Device Manager loops forever on device detection / driver installation, and successive driver installation/uninstallation/reinstallation mangled WMP10 completely (and since it's tied to Windows, I can't reinstall it).
On other computers, driver installation went fine, I hardly managed to copy movies to the phone through MTP / WMP, and never managed to copy anything back.
I only ever managed to move files over wifi, but that's at wifi speed, not USB2 speed...
And now that I gave Kies a try (stayed away from it so far), it keeps eating 100% CPU whenever I run it.
I had that adb problem then I installed android command centre, and bam, it worked! Will try and find link for you....brb
Finally managed to run adb on the computer with Kies installed.
I'll look into this.
Here go
http://forum.xda-developers.com/showthread.php?p=36671130
Can't use adb pull/push anymore: in a previous attempt to reduce the nandroid backup size, I formated the system and cache partitions.
Then I managed to run a full backup with CWM Recovery, but can't find my files in there.
The backup files only contains application data, but the sdcard folder is totally missing.
Well, it appears the problem indeed was in build.prop.
My backup has 2 files: build.prop.bak and buid.prop.temp.
.bak has the old density, .temp has the new value.
Somehow the app failed to rename build.prop.temp to build.prop, and made the system unbootable.
adb backup won't work either: it's waiting for a confirmation on the phone, and doesn't seem to work in recovery mode.
Now browsing /data/media with adb shell !
I had to mount /data manually (in recovery), I guess the same is true for a recovery backup, and that's why I couldn't find my files.
Think I'll manage to get it all back now.
Thanks a lot slaphead20.
I was just about to wipe away all these family pictures!
Nico57m said:
Now browsing /data/media with adb shell !
I had to mount /data manually (in recovery), I guess the same is true for a recovery backup, and that's why I couldn't find my files.
Think I'll manage to get it all back now.
Thanks a lot slaphead20.
I was just about to wipe away all these family pictures!
Click to expand...
Click to collapse
FYI TWRP will not wipe ur sd when u do factory reset
but ur problem not with data its with system and u can fix it simply by reflashing the u r using without any wipe
Please read forum rules before posting
Questions and help issues go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Alright, so this is going to take a bit of explaining, please bear with me.
I got this phone a couple of weeks ago, subsequently rooted it, and shortly thereafter decided upon Viper for my ROM. After playing around for a bit, I took a look at Beastmode kernel yesterday. I backed up my phone, installed the new kernel, and everything went to hell shortly thereafter. Upon rebooting, my phone no longer detected a mounted SD card. Along with this, it also doesn't have working audio. I tried rolling back to my restoration point, but I cannot find it now. While digging through directories in recovery, I've found two things out.
1: There is now a storage/emulation/legacy folder with (almost) every folder that was in mnt/sdcard.
2: My restore point is gone, and I don't have the original kernel on my phone
I figured this wouldn't be THAT big of a problem, connect my phone to my PC, go into ADB and try to push the stock s-off kernel. Next set of problems.
1: /mnt/sdcard is showing as a non-directory, insists it doesn't exist.
2: storage/emulation/ shows as read only, and all lower subdirectories are coming up as not existing (I believe it to be an issue with folder naming, legacy is actually 0 on my file explorer on the phone, I think?).
Where I stand now::
At this moment, I have the HTC Droid DNA Toolkit running, the stock s-off Kernel, and a phone that doesn't cooperate with anything.
Also; I tried downloading the .zip directly on my phone, but because it doesn't think there's an SD card, it's refusing to let me download it. It lets me download apps from the market, though.
Any ideas?
PS! Forgot the biggest SNAFU in all of this. On my phone are about 200 pictures from my vacation which I hadn't put onto my computer yet because I am an imbecile. This is keeping me from wiping the phone down to brass tacks and starting all over. If someone can find a way for me to pull said pictures from my device, I can wipe it and see if that helps.
Killerkendolls said:
Alright, so this is going to take a bit of explaining, please bear with me.
I got this phone a couple of weeks ago, subsequently rooted it, and shortly thereafter decided upon Viper for my ROM. After playing around for a bit, I took a look at Beastmode kernel yesterday. I backed up my phone, installed the new kernel, and everything went to hell shortly thereafter. Upon rebooting, my phone no longer detected a mounted SD card. Along with this, it also doesn't have working audio. I tried rolling back to my restoration point, but I cannot find it now. While digging through directories in recovery, I've found two things out.
1: There is now a storage/emulation/legacy folder with (almost) every folder that was in mnt/sdcard.
2: My restore point is gone, and I don't have the original kernel on my phone
I figured this wouldn't be THAT big of a problem, connect my phone to my PC, go into ADB and try to push the stock s-off kernel. Next set of problems.
1: /mnt/sdcard is showing as a non-directory, insists it doesn't exist.
2: storage/emulation/ shows as read only, and all lower subdirectories are coming up as not existing (I believe it to be an issue with folder naming, legacy is actually 0 on my file explorer on the phone, I think?).
Where I stand now::
At this moment, I have the HTC Droid DNA Toolkit running, the stock s-off Kernel, and a phone that doesn't cooperate with anything.
Also; I tried downloading the .zip directly on my phone, but because it doesn't think there's an SD card, it's refusing to let me download it. It lets me download apps from the market, though.
Any ideas?
PS! Forgot the biggest SNAFU in all of this. On my phone are about 200 pictures from my vacation which I hadn't put onto my computer yet because I am an imbecile. This is keeping me from wiping the phone down to brass tacks and starting all over. If someone can find a way for me to pull said pictures from my device, I can wipe it and see if that helps.
Click to expand...
Click to collapse
Have you tried using an OTG cable to mount a flash drive? That's what I do when I backup/flash anything, I keep all my roms, kernels, backups, basically anything flashable on a flash drive, and use an OTG cable in CWM.
For the pictures:
Step 1; adb reboot recovery
Step 2; adb devices (to make sure it's detected)
Step 2.1: If your phone isn't detected, open sideload in recovery, adb devices again, then close sideload
Step 3: adb pull /sdcard/ C:\<username>\Desktop\sdcardbackup\
To fix everything else you'll probably need to wipe everything and flash a new rom.
EDIT: For future "snafus" the sdcard is on /sdcard/ not /mnt/sdcard/ because it's on internal memory, not mounted memory.
walther1337 said:
For the pictures:
Step 1; adb reboot recovery
Step 2; adb devices (to make sure it's detected)
Step 2.1: If your phone isn't detected, open sideload in recovery, adb devices again, then close sideload
Step 3: adb pull /sdcard/ C:\<username>\Desktop\sdcardbackup\
To fix everything else you'll probably need to wipe everything and flash a new rom.
EDIT: For future "snafus" the sdcard is on /sdcard/ not /mnt/sdcard/ because it's on internal memory, not mounted memory.
Click to expand...
Click to collapse
Well, I feel silly for that confusion. I've pulled everything from the sdcard, which honestly mattered more to me than fixing the phone. I'll putter around with getting the ROM and kernel operating correctly in the next couple of hours.
UPDATE!
Once I had the adb pull command corrected for me, pushing the new ZIP on there was an instant success in recovery. SD card exists correctly once again, installed Viper ROM over, full functionality once more.
Killerkendolls said:
Well, I feel silly for that confusion. I've pulled everything from the sdcard, which honestly mattered more to me than fixing the phone. I'll putter around with getting the ROM and kernel operating correctly in the next couple of hours.
UPDATE!
Once I had the adb pull command corrected for me, pushing the new ZIP on there was an instant success in recovery. SD card exists correctly once again, installed Viper ROM over, full functionality once more.
Click to expand...
Click to collapse
you can always do this too as long as the device is recognized by adb
Code:
adb shell
this will get you into the actual device where you can navigate around by using the " cd /dir_name " command and to go back up a dir use " cd .. " (a space and 2 "."s are needed) or just " cd " to get back to the starting point... if you know how to navigate through a unix terminal then you will know what to do here...
some other useful commands
Code:
ls, ls -a, ls -l, cd, cp, mv
ls = list (lists files/folders) "-a" means all, "-l" just makes it look neat and laid out better.
cd = change directory aka "dir"
cp = copy /path/to/file.ext /path/to/where/you/want/to/save/it/file.ext
mv = move (same as ^ ) except it just moves it and doesn't copy
oh and to exit adb shell just type "exit"
Honestly, just grab a working kernel. And use fastboot. Especially since you're s-off
fastboot flash boot boot.img should get you back in working order.
Sent from my HTC6435LVW using XDA Premium 4 mobile app
So the other day I was trying Cyanogenmod 9 on my galaxy pocket, however I didnt realize it wasn't an official release and it was REALLY bugged and I made a huge mistake because i forgot to install CWM. Thing is installed this rom and I belive i pretty much bricked my phone because now I can't get access to any of my networks, wi-fi, bluetooth, or usb mass storage or my sd card are not being recognized either...
What I've tried so far was sending the stock rom through Quick ADB Pusher, but it tells me that even though my phone appears to be root It wont allow it to access, then I tried different ways to root and unroot because apparently SU is not giving me the permissions. So finally tried my last option with ADB (I'm really new to it ) and was trying an adb push but I keep getting permision denied if I send it to /root or read only file if I send it to /system also tried Asb shell $su but I keep getting a denied message. I would really apreciate if anyone could help me to find a way to copy my rom back into my internal storage, thanks a lot!
DIAZEPUNXX said:
So the other day I was trying Cyanogenmod 9 on my galaxy pocket, however I didnt realize it wasn't an official release and it was REALLY bugged and I made a huge mistake because i forgot to install CWM. Thing is installed this rom and I belive i pretty much bricked my phone because now I can't get access to any of my networks, wi-fi, bluetooth, or usb mass storage or my sd card are not being recognized either...
What I've tried so far was sending the stock rom through Quick ADB Pusher, but it tells me that even though my phone appears to be root It wont allow it to access, then I tried different ways to root and unroot because apparently SU is not giving me the permissions. So finally tried my last option with ADB (I'm really new to it ) and was trying an adb push but I keep getting permision denied if I send it to /root or read only file if I send it to /system also tried Asb shell $su but I keep getting a denied message. I would really apreciate if anyone could help me to find a way to copy my rom back into my internal storage, thanks a lot!
Click to expand...
Click to collapse
try this. download stock firmware of your device flash thru odin link http://samsung-updates.com/
thanks a lot, yes actually odin was my first choice (i forgot to mention it) but it gave me a failed message everytime i tried it, however i don't know what i've done because i just tried again a few minutes ago using the same rom and this time it worked
Hi, I've been asked by a friend to help in a rather unfortunate situation. The sons of one of his friends has, tragically, died. His parents have a tablet of his and want to get the data (photos, mainly) off it, but unfortunately they don't know his unlock code. I believe it's a Galaxy Tab 10 model, so I'm try to POC it on my own tablet which is an original Galaxy Tab 10.1. I don't believe that his device is rooted, but neither is mine, so if I can get it going on mine, I should be fine on his. As far as I can see, I'm pretty nailed, but I thought I'd check to see if there any neat tricks to get at the user data.
I've done a fair bit with adb on my Nexus 4, and can get at the data as it's rooted, so I'm familiar with mounting devices, etc - I've looked at the mount points when logged into the device, and I find that /dev/block/mmcblk0p8 mounts to /data, but when I reboot into recovery mode I get "operation not permitted" when I try
Code:
mount -r -t ext4 /dev/block/mmcblk0p8 /data
I'm not really surprised about this, because my device isn't rooted. adb root gets a "cannot run in production builds", I can't su in the adb shell and I can't adb pull that device file down to my machine to see if I can mount a copy of it locally (again, as it has 600 root/root permissions, I'm not surprised at this).
As I said, I'm not surprised all this has failed, as my device isn't rooted - is there anything I can try to get round this? I'm pretty sure not, but given the circumstances I thought I'd ask. I will see if I can get the tablet and see if it's rooted, if so then I'm guessing that this should work, happily (unless, of course, local data encryption was enabled - AFAIK this isn't by default, but I can't remember), but if not then I'm not sure I can help.
I did see something about loading Odin then this should enable access, but I don't want to try this on my own tablet, and I would also be dubious about doing it blind on their tablet in case I accidentally wipe all the data.
Thanks for any help you can give
MH