TWRP Porting - Galaxy S6 Q&A, Help & Troubleshooting

Hi, I need help with TWRP porting.
Please provide the results of the following commands
ls -lR /dev/block
cat /proc/partitions
Thanks!

bigbiff said:
Hi, I need help with TWRP porting.
Please provide the results of the following commands
ls -lR /dev/block
cat /proc/partitions
Thanks!
Click to expand...
Click to collapse
http://pastebin.com/RLugy0hK
Here you go. The formatting appears to have messed up a bit in a couple spots, sorry about that.

Calnyx said:
http://pastebin.com/RLugy0hK
Here you go. The formatting appears to have messed up a bit in a couple spots, sorry about that.
Click to expand...
Click to collapse
Hi, can someone test the following to see if adb is working:
http://build.twrp.me/twrp/twrp-2.8.6.0-zeroflte.img.tar

This works with the s6 already. ?
Sent from my SM-G920T using XDA Free mobile app

shooterlgk said:
This works with the s6 already. ?
Sent from my SM-G920T using XDA Free mobile app
Click to expand...
Click to collapse
Working fine for me. Made a backup earlier and adb does seem to be working @bigbiff

Nice..ima try it now...it works with any s6 model right? Or a specific one only?..
Sent from my SM-G920T using XDA Free mobile app

shooterlgk said:
Nice..ima try it now...it works with any s6 model right? Or a specific one only?..
Sent from my SM-G920T using XDA Free mobile app
Click to expand...
Click to collapse
I have the same model as you. So you're good. Can't speak on other variants.

mikeyinid said:
Working fine for me. Made a backup earlier and adb does seem to be working @bigbiff
Click to expand...
Click to collapse
Are you using windows or linux?

bigbiff said:
Are you using windows or linux?
Click to expand...
Click to collapse
Windows

bigbiff said:
Hi, can someone test the following to see if adb is working:
http://build.twrp.me/twrp/twrp-2.8.6.0-zeroflte.img.tar
Click to expand...
Click to collapse
I don't think adb worked for me, only got error: device not found while in TWRP. [On Windows also]
The recovery itself is great though, made a backup
Also, during backup cpu temp read 79C for most of it, and got up to 81C near the end. Seems slightly high to me. Compression was enabled.

Related

Deleted phonebook.apk + .odex help

Hey,
I made a mistake and deleted the phonebook.apk + .odex from system/apps. Now I cant make a call and need to reinstall phonebook. Can any1 provide me the files or at least give me a tutorial how to do that?
Regards
What's your email add mate? Pm me it
Sent from my X10i using XDA App
yetep said:
What's your email add mate? Pm me it
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Sent you a pm.
See first post - http://forum.xda-developers.com/showthread.php?t=714288
XperiaX10iUser said:
See first post - http://forum.xda-developers.com/showthread.php?t=714288
Click to expand...
Click to collapse
Ty, but I cant install phonebook.apk. Phone tells me that I cant install it (error).
bLack_Q said:
Ty, but I cant install phonebook.apk. Phone tells me that I cant install it (error).
Click to expand...
Click to collapse
you shouldnt install it.
Just copy it with the terminal or adb
xd4d3v said:
you shouldnt install it.
Just copy it with the terminal or adb
Click to expand...
Click to collapse
Ah ok, and whats the command for it? Sorry, for all these questions but tbh I was never deep in the software scene or else.
Do you still have root? You can just use root explorer to copy it over to system/app/blabla.apk
But for adb you have to mount the system, then push the files. This is enough info for google keywords
However, from my experience the x10 doesn't like reinstalling system apps. Best chance is to back up everything with titanium backup and reflash.
Sorry I didn't give you exact commands but this was
Sent from my X10a using XDA App
pejmany said:
Do you still have root? You can just use root explorer to copy it over to system/app/blabla.apk
But for adb you have to mount the system, then push the files. This is enough info for google keywords
However, from my experience the x10 doesn't like reinstalling system apps. Best chance is to back up everything with titanium backup and reflash.
Sorry I didn't give you exact commands but this was
Sent from my X10a using XDA App
Click to expand...
Click to collapse
Ok, at least I already copied them back to the right folder but nothing changes. So I have to reflash, ok. Thank you for you help.
Regards
Reflashing is not necessary... Do you have windows or mac? I'll make you a script so that it will load it on it's own.
trojjanhorse said:
Reflashing is not necessary... Do you have windows or mac? I'll make you a script so that it will load it on it's own.
Click to expand...
Click to collapse
That would be nice! I got Win 7.
you must reflash
Sent from my X10i using XDA App

[GUIDE] Rooting your phone...from your phone [ALL US SGS3]

Rooting your phone...from your phone (what?!)
DISCLAIMER: I do not expect anything to go wrong as I have personally tested this. However, YOU are choosing to make these modifications to your phone so I DO NOT take responsibility for any damage that may come as a result of using this. If you come back and point the finger at me, I will laugh at you.
If your phone is not an SGS3, this MAY still work for you. I take absolutely NO responsibility either way.
Prerequisites
The following files are attached to this post for convenience. Download and install the apps, download and extract the zip file somewhere convenient.
Superuser by Koush(MUST be this one. You can change it later if you so desire.)
Terminal Emulator by Jack Palevich ( MUST be this one)
Zip file, extracted somewhere convenient
Click to expand...
Click to collapse
Click to expand...
Click to collapse
THE GOODS
These generic names will be used:
/path/to/motochopperDir - This is the full path to the extracted motochopper-mobile DIRECTORY or FOLDER. Example: /sdcard/motochopper-mobile (will vary depending on where you extracted the files).
NOTE: After running the script, Motochopper may or may not print "Failed", but the exploit DOES indeed work regardless of this. Make sure you reboot for changes to take effect.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Download the attached zip file AND both apps.
Install Terminal Emulator and Superuser (use a file manager, navigate to the downloaded .apk files and click on each file to install them).
Open up Terminal Emulator and type the following commands. Press the ENTER key after each command.
Code:
cd /path/to/motochopperDir
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /path/to/motochopperDir
From there, my setup.sh script will handle the rest of the process. If you are still unsure, see my sample run below.
Sample run (files were extracted to /sdcard/moto)
Code:
cd /sdcard/moto
cat setup.sh > /data/data/jackpal.androidterm/setup.sh
cd /data/data/jackpal.androidterm
chmod 755 setup.sh
./setup.sh /sdcard/moto
Credits
Motochopper exploit by djrbliss (Dan Rosenburg). Original thread here.
Jack Palevich and Koush for their apps, especially Jack Palevich. This would not be possible without the shared permissions on his app's data directory.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Links
Download the attachments!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Pretty cool. I'd try it if I weren't already rooted. Thanks for sharing this.
Questions though, does this permanently root or temporarily root? And how can you unroot from this method?
Sent from my SCH-I535 using xda app-developers app
RBarnett09 said:
Pretty cool. I'd try it if I weren't already rooted. Thanks for sharing this.
Questions though, does this permanently root or temporarily root? And how can you unroot from this method?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Please don't quote the OP
This is a permanent rooting method. You unroot same as you would by any other rooting method...flash a stock unrooted ROM.
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Not sure if the spoiler was to me or not but I was thanking you for the contributed method, as it may be useful to me in the near future.
Sent from my SCH-I535 using xda app-developers app
RBarnett09 said:
Not sure if the spoiler was to me or not but I was thanking you for the contributed method, as it may be useful to me in the near future.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
The spoiler is my signature, not aimed at you specifically, aimed at XDA in general
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Haha. True man.
Thanks for sharing this method. Heck, I may root my girlfriends S3 using this when she gets home and isn't looking.
Sent from my SCH-I535 using xda app-developers app
RBarnett09 said:
Haha. True man.
Thanks for sharing this method. Heck, I may root my girlfriends S3 using this when she gets home and isn't looking.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Lol. That works
The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
Does this method still work? I just tried it, got the failure message. And I'm still not rooted.
Sent from my SCH-I535 using Tapatalk 2
erasable said:
Does this method still work? I just tried it, got the failure message. And I'm still not rooted.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Probably version dependant. Tried today on my wife's phone with the VRBMF1 update and couldn't get root.
So far it has only worked for TMobile and Sprint S3's...might be time to close up shop over here
Sent from my buttered S3

New 9505G system update JWR66Y (2013-09-11)

My 9505G just downloaded a system update. I haven't seen any news about it anywhere. And ideas what it is? I have not installed yet. My current build number is JWR66V.S014.130801.
EDIT: system dump as requested
Edited thread title.
The111 said:
My 9505G just downloaded a system update. I haven't seen any news about it anywhere. And ideas what it is? I have not installed yet. My current build number is JWR66V.S014.130801.
Click to expand...
Click to collapse
Download and post system dump! :good:
The111 said:
My 9505G just downloaded a system update. I haven't seen any news about it anywhere. And ideas what it is? I have not installed yet. My current build number is JWR66V.S014.130801.
Click to expand...
Click to collapse
mrvirginia just posted what he knows about it here...
http://forum.xda-developers.com/showpost.php?p=45516869&postcount=1642
Toss3 said:
Download and post system dump! :good:
Click to expand...
Click to collapse
What's the easiest way to do that?
Is the same update that hit all nexus devices. No 4.4 yet
I went ahead and accepted the update. I am 100% stock (including recovery) other than root. Update went ok but killed root. I re-rooted by sideloading SuperSU v1.65 and all is cool again. Now on build JWR66Y.S003.130805. No idea what changed but at least I don't have to stare at the update notification any more. :good:
The111 said:
I went ahead and accepted the update. I am 100% stock (including recovery) other than root. Update went ok but killed root. I re-rooted by sideloading SuperSU v1.65 and all is cool again. Now on build JWR66Y.S003.130805. No idea what changed but at least I don't have to stare at the update notification any more. :good:
Click to expand...
Click to collapse
Good for you but gives us now the system dump of you will.
boterkaaseneieren said:
Good for you but gives us now the system dump of you will.
Click to expand...
Click to collapse
I will if someone can show me how to pull it off the device. Never done it before. Hopefully it is still there even after installing.
Just write adb pull /system and you should be good to go or just create a backup and upload system file
Sent from my GT-I9505 using Tapatalk 4
The111 said:
I will if someone can show me how to pull it off the device. Never done it before. Hopefully it is still there even after installing.
Click to expand...
Click to collapse
enable usb debugging
using adb do this
Code:
adb pull /system system
this will make a folder in adb called *system* zip it up and upload it :good:
We also need the boot.img. i dont know how to pull it though.
Sent from my GT-I9505 using XDA Premium 4 mobile app
MaKTaiL said:
We also need the boot.img. i dont know how to pull it though.
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
By making a cwm backup
Thanks for the system dump.
boterkaaseneieren said:
Thanks for the system dump.
Click to expand...
Click to collapse
Yup really appreciate the effort.
boterkaaseneieren said:
Thanks for the system dump.
Click to expand...
Click to collapse
Where?
MaKTaiL said:
Where?
Click to expand...
Click to collapse
Was being sarcastic. @op next time you make thread. Than don't if it's not helping us.
I got an OTA for my converted S4 and it's 16mb in size. Not sure if I can flash it, though.
Sent from my GT-I9505G using Tapatalk 4
dboechat said:
I got an OTA for my converted S4 and it's 16mb in size. Not sure if I can flash it, though.
Sent from my GT-I9505G using Tapatalk 4
Click to expand...
Click to collapse
If you have i9505, normal S4, then DON'T flash it.
Can someone be kind enough to upload a system dump?
Did the update fix the write access to the SD card on 4.3
by any chance?

[GUIDE] Internal sdcard not writable? Fix..

Recently many users have been having issues with their internal sdcard not being writable, either due to flashing AOSP and then touchwiz or other reasons. This little guide will help you fix this issue.
Notes-
1. Read all the steps before attempting this
2. I have used this method to successfully fix my sdcard and make it usable
Prerequisites-
1. You will need root
2. You will need terminal emulator on your phone
3. You will need some reading skills and glasses if your eyes are weak..
Steps-
1. Open terminal emulator
2. Type "su"
Your screen should look like this
su
Click to expand...
Click to collapse
Now press enter
3. Now type this command, "restorecon -v -R /data/media"
Your screen should look like this now
su
restorecon -v -R /data/media
Click to expand...
Click to collapse
Now press enter
4. Now you can use your internal sdcard without any issues
Credits-
@bigbiff for posting this command in his twrp thread
@daxgirl for making me make this thread
Perfect, my friend!!! You're perfect as ALWAYS!!! THAK YOU!!!
Sent from my SM-N9005 using Tapatalk
daxgirl said:
Perfect, my friend!!! You're perfect as ALWAYS!!! THAK YOU!!!
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Appreciate the support. Didn't really do much, but at least now new users will find a step by step way to fix their internal storage.
Sent From My SM-N9005 To All You Wonder Nobodies!!
Which terminal emulator yiu suggest? And a link if possible.
Thanks in advance.
Sent from my SM-G900S using Tapatalk
Khizar said:
Recently many users have been having issues with their internal sdcard not being writable, either due to flashing AOSP and then touchwiz or other reasons. This little guide will help you fix this issue.
@bigbiff for posting this command in his twrp thread
@daxgirl for making me make this thread and for the pics she will be making
Click to expand...
Click to collapse
I have tried the error message is as below:
could not start -: No such file or directory
could not start R: No such file or directory
I am on rooted nb4 version.
Any solution please.
ra_eng said:
Which terminal emulator yiu suggest? And a link if possible.
Thanks in advance.
Sent from my SM-G900S using Tapatalk
Click to expand...
Click to collapse
Any would work.. I use this one personally
https://play.google.com/store/apps/details?id=jackpal.androidterm
ketan_naik said:
I have tried the error message is as below:
could not start -: No such file or directory
could not start R: No such file or directory
I am on rooted nb4 version.
Any solution please.
Click to expand...
Click to collapse
did you write the command exactly the same way as it says in the OP? the space, the capatial letters, they all count.. it needs to be EXACT or it wont work..
Khizar said:
Any would work.. I use this one personally
https://play.google.com/store/apps/details?id=jackpal.androidterm
did you write the command exactly the same way as it says in the OP? the space, the capatial letters, they all count.. it needs to be EXACT or it wont work..
Click to expand...
Click to collapse
Exactly I have typed the command.
And superuser permission granted?
Android - flash, root a enjoy
Possibly the op should consider editing to advise that this solution, like others requires root.
Sent from my SM-N9005 using xda app-developers app
paul_59 said:
Possibly the op should consider editing to advise that this solution, like others requires root.
Sent from my SM-N9005 using xda app-developers app
Click to expand...
Click to collapse
True! it is also possible that when given "su" root is implied!!!
Sent from my SM-N9005 using Tapatalk
daxgirl said:
True! it is also possible that when given "su" root is implied!!!
Click to expand...
Click to collapse
Only people who know Linux will know that "su" means asking for root access
ketan_naik said:
Exactly I have typed the command.
Click to expand...
Click to collapse
Kuratko said:
And superuser permission granted?
Android - flash, root a enjoy
Click to expand...
Click to collapse
Yeah if you typed the command exactly then terminal probably wasn't granted root.
This has worked for every user that I have recommended to.
paul_59 said:
Possibly the op should consider editing to advise that this solution, like others requires root.
Sent from my SM-N9005 using xda app-developers app
Click to expand...
Click to collapse
daxgirl said:
True! it is also possible that when given "su" root is implied!!!
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
akselic said:
Only people who know Linux will know that "su" means asking for root access
Click to expand...
Click to collapse
Added that in the perequisites.
Sent From My SM-N9005 To All You Wonder Nobodies!!
Hi there! quick question, will this work on the T-Mo variant of the Note 3? Please advise and thank you.
PTJunkie1975 said:
Hi there! quick question, will this work on the T-Mo variant of the Note 3? Please advise and thank you.
Click to expand...
Click to collapse
There is absolutely no reason why it shouldn't work as long as you have root access.
PTJunkie1975 said:
Hi there! quick question, will this work on the T-Mo variant of the Note 3? Please advise and thank you.
Click to expand...
Click to collapse
Yes it should work on the tmo variant as well.
Sent From My SM-N9005 To All You Wonder Nobodies!!
Worked like a charm. Thanks man. Swiftkey had language pack problem but this solved that also.
Many many many THANKS ...
I was getting crazy because of this problem..
You saved me from a big headache
BTW..
I can confirm you that i flashed an AOSP rom (carbon) on my Note 3 ..
After that i have flashed the x-note, and no write permissions for the sdcard (very strange.. no permissions only for the 3rd part explorers..TW file explorer worked instead..)
Is that possible to know the reason of this problem?
Khizar said:
"restorecon -v -R /data/media"
Click to expand...
Click to collapse
Thanks, worked like a charm.
After restoring a Touchwiz-ROM on my N7100 with TWRP 2.7.0.0 the internal sd was not writable anymore. This command did the trick. :good:
ketan_naik said:
I have tried the error message is as below:
could not start -: No such file or directory
could not start R: No such file or directory
I am on rooted nb4 version.
Any solution please.
Click to expand...
Click to collapse
You put a space between the - and the R
Sent from my GT-N7105 using Tapatalk
Thanks a lot ! I was getting crazy after 3 rom flash.
I flashed an Aosp rom, then a touchwiz one, and had this problem with installed apps : system apps did not have any problems writing to the internal sdcard.
Now working like a charm

[UPDATED for 5.0+ roms 1-29-15]Turn off power saver icon via terminal

Here is the new way to disable powersaver icon without using xposed as now we r s-off unlocked on All sense Lollipop builds.
Download Android terminal emulator in play store
Open terminal
Type su to grant super user
Next type the command below
pm disable com.htc.htcpowermanager/.powersaver.PowerSaverNotificationReceiver
Make sure to use capital letters where I did
Also I did it with powersaver turned off then after I disabled it I turned on powersaver. Icon will be gone.
If this helped you please hit the thanks button.
Thanks to @DucatiMon for testing on different Roms.
Screenshots r from KitKat. Will update those asap.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Where is terminal type su at?
P2o8wer said:
Where is terminal type su at?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=jackpal.androidterm
Oh OK. I thought that's what I had to do thanks bro.
P2o8wer said:
Where is terminal type su at?
Click to expand...
Click to collapse
Install Android Terminal emulator (or similar) from the Play Store. Open it, now you have a terminal command line. Type su and proceed....
skokielad said:
Install Android Terminal emulator (or similar) from the Play Store. Open it, now you have a terminal command line. Type su and proceed....
Click to expand...
Click to collapse
I got it thanks.
P2o8wer said:
I got it thanks.
Click to expand...
Click to collapse
cool, sorry for the dup answer. neil snuck his in before I hit submit
I will fix the Op to make it easier to follow once I home I threw it up real quick as I was rolling one on break.
Feel free to hit the thanks button if I helped.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
I will also pos the way to change it without using app(system has to be rewrite to do it the way I know how.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Does anyone know what HTC setting number powersave is? I would like to enable it by using Sq editor and changing the values for quick_settings_items. So that powersave can be a toggle in quick settings. Any help in finding the number would also be appreciated.
Sent from my HTC6525LVW using Tapatalk
Nope, didn't work for me. I even tried a soft boot after so I wouldn't loose root.
Tigerstown said:
I was waiting till the system was rewrite before I posted how to turn on power saver but since it's out there already I can share this.
In terminal type su
This next part is case sensitive
pm disable com.htcpowermanager/powersaver.PowerSaverNotificationReceiver
Then reboot. It will work for sure when system is rewrite so it might work now for those you used app to turn on power saver.
I saved this from my evolte days.
I also used same method on my m7
If this helped you please hit the thanks button.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
smiley4017 said:
Nope, didn't work for me. I even tried a soft boot after so I wouldn't loose root.
Click to expand...
Click to collapse
. In 4 years I never have had it not work. You put the capital letters where I said to? Did it not work for anyone else?
I never just had root before without system rewrite able. But it should still work. It definitely is the way to get rid of the icon.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Didn't work for me the first time I tried it, and I haven't gotten around to trying it again.
neilrl79 said:
Didn't work for me the first time I tried it, and I haven't gotten around to trying it again.
Click to expand...
Click to collapse
Ok I'll check once home from work . Could be cause of write protection. Either way I know another way to turn it off.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Tigerstown said:
. So I guess try again. I just provide the way. In 4 years I never have had it not work. You put the capital letters where I said to? Did it not work for anyone else?
I never just had root before without system rewrite able. But it should still work. It definitely is the way to get rid of the icon.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yeah, didn't work here either.
Ok give me a few hours I'll post fix.
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Nilius17 said:
Yeah, didn't work here either.
Click to expand...
Click to collapse
neilrl79 said:
Didn't work for me the first time I tried it, and I haven't gotten around to trying it again.
Click to expand...
Click to collapse
smiley4017 said:
Nope, didn't work for me. I even tried a soft boot after so I wouldn't loose root.
Click to expand...
Click to collapse
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Deleted
Before. Sorry don't know why my last pic won't show up..
Sent from my HTC6525LVW using XDA Premium 4 mobile app
Nilius17 said:
Yeah, didn't work here either.
Click to expand...
Click to collapse
Yeah I didn't get it either.
---------- Post added at 05:23 PM ---------- Previous post was at 05:22 PM ----------
Masa6GCS said:
Does anyone know what HTC setting number powersave is? I would like to enable it by using Sq editor and changing the values for quick_settings_items. So that powersave can be a toggle in quick settings. Any help in finding the number would also be appreciated.
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
I dont think it matters. Does it?

Categories

Resources