note 4 sm-n910g how to mount system write only on adb shell - Galaxy Note 4 Original Android Development

trying lots but ab shell say system is read only ??

Krprem said:
trying lots but ab shell say system is read only ??
Click to expand...
Click to collapse
#1 you need to be rooted, if you're not this won't work
Mount system RW: mount -o rw,remount,rw /system
Mount system RO: mount -o ro,remount,ro /system

dicksteele said:
#1 you need to be rooted, if you're not this won't work
Mount system RW: mount -o rw,remount,rw /system
Mount system RO: mount -o ro,remount,ro /system
Click to expand...
Click to collapse
i try its work but when i reboot modifiy file gone away ...??
any premanet fix bro ??
thank u in advance

Krprem said:
i try its work but when i reboot modifiy file gone away ...??
any premanet fix bro ??
thank u in advance
Click to expand...
Click to collapse
You must not have saved it right or something.
Find a file manager in playstore that can do root privileges.
Or since you know adb. Pull the file, edit it then push it back.
Adb pull /system/build.prop
Edit the file
Adb push /system/build.prop

Bro can u give me step by step instruction about adb push and pull
Can i edit my efs folder because i lost my csc code and sn number
I am trying to add new folder in efs

Related

[H] Help in dodexing process

amadeyX said:
Hi
I try dodexing same files and dont successful.
This file I try : "DialerTabActivit" (APK and odex file)
This what i do:
1. put all filse from framework folder, APK and odex files .
2.add the smali and baksmali files
3. run a next Command in CMD :
"java -jar baksmali-1.2.4.jar -x DialerTabActivit.odex"
and get error : http://www.siz.co.il/my/2myiiydmrmxf.jpg
I try this Command :
"java -jar baksmali-1.2.4.jar -l DialerTabActivit.odex"
and this extracts files without deodexing process.
What can ido to successful deodexing?
Thanks!
Click to expand...
Click to collapse
look for xultimate (thanks to xeododus) program, it fully automates the process of deodexing your odex files.
hope this helps.
g00ndu said:
look for xultimate (thanks to xeododus) program, it fully automates the process of deodexing your odex files.
hope this helps.
Click to expand...
Click to collapse
Link to post would be highly appriciated
thechamp007 said:
Link to post would be highly appriciated
Click to expand...
Click to collapse
http://www.xeudoxus.com/android/xUltimate-v2.2.2.zip
Thanks fro this!
How to use ? xUltimate
Writes that java was not installed on my phone
Image : http://www.siz.co.il/my/zzignim1tgzz.png
?........................................
amadeyX said:
Writes that java was not installed on my phone
Click to expand...
Click to collapse
You do not need java on the phone but your pc that you running xUltimate on
amadeyX said:
How to use ? xUltimate
Click to expand...
Click to collapse
1. Unzip xUltimate v2.2
2. Plug in phone (USB Debugging)
3 Launch "Main.exe"
4. Run option 1. After option 1 is done, run option 2.
5. Now these well take a while. Run option 3.
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
9. Open a command prompt, and do the following:
Code:
busybox mount -o remount,rw /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
sync
reboot, Your phone should now be deodexed!
amadeyX said:
Thanks fro this!
How to use ? xUltimate
Writes that java was not installed on my phone
Image : http://www.siz.co.il/my/zzignim1tgzz.png
Click to expand...
Click to collapse
install java in your pc and launch xultimate.
"busybox mount -o remount,rw /system
"
dont work - error "permission denied
I have ROOT.
amadeyX said:
"busybox mount -o remount,rw /system
"
dont work - error "permission denied
I have ROOT.
Click to expand...
Click to collapse
were you in su mode before entering that command?
adb shell
su (..accept permission prompt)
busybox mount -o remount,rw /system
LAG.........................
how to inter to su mode?
adb shell
su
permission denied
amadeyX said:
how to inter to su mode?
adb shell
su
permission denied
Click to expand...
Click to collapse
If you can, do another root process again. Is your recovery 2e or 3e?
recovey 2e + cf root
Sent from my GT-I9000 using XDA App
amadeyX said:
how to inter to su mode?
adb shell
su
permission denied
Click to expand...
Click to collapse
when you enter su on the PC you will be prompted to Approve the Permission Request on the phone. So type su on the PC and click Accept on the phone

[Q] copy build.prop failed: out of memory

in Terminal emulator I am trying:
su
mount -o rw,remount /system
cp /mnt/sdcard/build.prop /system/
but I get: cp: can't create '/system/build.prop': Out of memory
any help is GREATLY appreciated. Currently build.prop is MISSING in /system/ (i've searched xda and google for the past 2 hours...)
EDIT: I get the same error from adb:
adb remount
adb push build.prop /system/
failed to copy 'build.prop' to '/system//build.prop': Out of memory
side question: what happens when build.prop is missing, and phone reboots...?
try it in recovery
or much simply just reflash the rom..no wipe is necessary.
andQlimax said:
try it in recovery
or much simply just reflash the rom..no wipe is necessary.
Click to expand...
Click to collapse
tnx, will try.
anyone knows what happens if it reboots with empty (or missing) build.prop?

ADB system remount FAIL

hi, quick question .
im trying to remount the system folder to R\W , but seems like no luck .
adb remount
*permission denied
adb shell
Code:
C:\android sdk\sdk\platform-tools>adb shell
[email protected]:/ $ su
su
[email protected]:/ # mount -o rw,remount /system
mount -o rw,remount /system
[email protected]:/ #
[email protected]:/ # exit
exit
[email protected]:/ $ exit
exit
C:\android sdk\sdk\platform-tools>adb push C:\Users\HOME\Desktop\build.prop /sys
tem
failed to copy 'C:\Users\HOME\Desktop\build.prop' to '/system/build.prop': Permi
ssion denied
shell - fail
normal remount -fail
whats next.any suggestions?
cant do that yet, you need kernel with unsecure adb .
Helloworld294 said:
cant do that yet, you need kernel with unsecure adb .
Click to expand...
Click to collapse
Means I can't tweak my phone safely? (1 bootloop and I'm on stock again? )
subwoffer13 said:
Means I can't tweak my phone safely? (1 bootloop and I'm on stock again? )
Click to expand...
Click to collapse
You bootloop you're on stock again, with formatted /data/media of course.
EDIT: So I downloaded adb insecure from playstore by chainfire and it seems to work actually. Its $2 though.
Sent from my LG-D852 using Tapatalk
Helloworld294 said:
You bootloop you're on stock again, with formatted /data/media of course.
EDIT: So I downloaded adb insecure from playstore by chainf
ire and it seems to work actually. Its $2 though.
Sent from my LG-D852 using Tapatalk
Click to expand...
Click to collapse
Well, just bought it too.going to slepp right now, tomorrow hopefully I'll be able to push and pull files with adb.
subwoffer13 said:
Well, just bought it too.going to slepp right now, tomorrow hopefully I'll be able to push and pull files with adb.
Click to expand...
Click to collapse
Before pulling/pushing anything from system
run 'chmod 777 /system'
And before pushing/pulling any file chmod 666 the file and after dont ever forget to chmod 644 any system or data file after pushing or else you gonna end up in bootloop.
Sent from my LG-D852 using Tapatalk
Helloworld294 said:
Before pulling/pushing anything from system
run 'chmod 777 /system'
And before pushing/pulling any file chmod 666 the file and after dont ever forget to chmod 644 any system or data file after pushing or else you gonna end up in bootloop.
Sent from my LG-D852 using Tapatalk
Click to expand...
Click to collapse
.ok , i am a bit confused .i understand that every time im pulling or pushing i should fix the permissions. Bit what is the exact order ?
Shouldn't i just make sure the file im only pushing is 644 (rw-r-r)?
Lets say for example , i want to push stock "build.prop" to system .
What are the steps?
subwoffer13 said:
.ok , i am a bit confused .i understand that every time im pulling or pushing i should fix the permissions. Bit what is the exact order ?
Shouldn't i just make sure the file im only pushing is 644 (rw-r-r)?
Lets say for example , i want to push stock "build.prop" to system .
What are the steps?
Click to expand...
Click to collapse
Mount everything and do su and all that then chmod 777 /system
Then do the push "adb push 'source file location' /system/build.prop
Then do chmod 644 /system/build.prop
All done.
Sent from my LG-D852 using Tapatalk

Made a horrebile mistake while changing permissions.

Hi guys, as I wanted to change a permissions in my /system/lib directory, I accidentally disabled the "Execute"-Permission for my /system/lib folder. I know, im stupid as ****. I usually am not that dumb.
Currently, my G3 (855, 32gb) is only booting in recovery. I'm looking for a solution to change the permissions of the /system/lib folder, but it seems impossible.
Thanks for every single advise!
Use adb with recovery booted and then:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 644 /system/lib
It should work
oposiasty said:
Use adb with recovery booted and then:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 644 /system/lib
It should work
Click to expand...
Click to collapse
Thank you for your answer, but I think I'm not able to configure it via ADB. It isn't recognized in recovery, and when I'm putting it into that ADB Update mode, ADB just says "error: closed"...
RichiN said:
Thank you for your answer, but I think I'm not able to configure it via ADB. It isn't recognized in recovery, and when I'm putting it into that ADB Update mode, ADB just says "error: closed"...
Click to expand...
Click to collapse
wich recovery do you have? TWRP or stock?
KingOfDope said:
wich recovery do you have? TWRP or stock?
Click to expand...
Click to collapse
Thank you too. I had stock recovery installed. I had BusyBox installed and could have changed the permissions via script, but I decided to
flash stock and unlock my bootloader afterwards. Everything went fine, so we can consider this thread as solved.

[Q] Anyone know how to access System_Root from ADB when in Recovery?

Anyone know how to access System_Root from ADB when in Recovery?
Code:
# mount -o rw,remount /system_root
mount: can't find /system_root in /proc/mounts
Boogered up my SystemUIGoogle and wanted to replace it via ADB since I can't get back into the OS and TWRP's file manager can't access system_root either.
that should be in regular system/privapp
flex360 said:
that should be in regular system/privapp
Click to expand...
Click to collapse
Ahh, thank you but the one we modify is actually in /system_root/system/priv-app for the Pixel and 7.1.x.

Categories

Resources