Related
now that we have an easy way to push update.zip files I was wondering if there was any way to push the host file that adfree android downloads to the sdcard. I know that it doesn't have write access to the system partition when booted but in recovery we do right?
So it should be as simple as creating an update.zip that overwrites the old host right?
I'm going to try to get this working
EDIT: Here's how to get this working
1. Search for Adfree Android on the market
2. Install and run
3. allow it to download and install new hosts file, it will copy it to your sdcard and try to replace /system/etc/hosts but fail (it should reboot the phone shortly)
4. Power off the phone and hold Volume Down and power.
5. Use volume down to select recovery
6. In clockwork recovery volume down to "partitions menu" and hit the track pad to select
7. Select "mount /system" and "mount /sdcard" "mount /data"
8. Plug in your usb cord and open a command line on your pc
9. enter adb shell and type the following commands
cp /sdcard/hosts /data/data/hosts
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
10. Reboot your phone and enjoy adfree android.
Thanks to all for help in getting this running.
Just adb push your modified host file to /system/etc/hosts. No need for update.zip
ive already done this doesnt work still have tons of adds
word, I figured it out
junjlo said:
ive already done this doesnt work still have tons of adds
Click to expand...
Click to collapse
what I did was install adfree android, wait for it download and error (the phone will reboot itself) put it into recovery and run the following command from adb shell
cp /sdcard/hosts /system/etc
All my ads are gone
You mind sharing the host file? I'd like to do the same. Now that I can connect as root with 'adb shell' then 'su' after the new Unrevoked^2 root. I'd like to start tweaking with things.
supagene said:
You mind sharing the host file? I'd like to do the same. Now that I can connect as root with 'adb shell' then 'su' after the new Unrevoked^2 root. I'd like to start tweaking with things.
Click to expand...
Click to collapse
just download and install adfree android, it copies the host file to your sdcard.
n0-0ne said:
what I did was install adfree android, wait for it download and error (the phone will reboot itself) put it into recovery and run the following command from adb shell
cp /sdcard/hosts /system/etc
All my ads are gone
Click to expand...
Click to collapse
i may have an older hosts file than but i just used adb push hosts /system/ect/hosts
tryed cp but get a box with busybox info
n0-0ne said:
just download and install adfree android, it copies the host file to your sdcard.
Click to expand...
Click to collapse
I intalled the app and when I hit download and intall I get java/io.FileNotFoundException:/sdcard/hosts
My guess is that it's not downloading.
Tried it on both WiFi and 3G
supagene said:
I intalled the app and when I hit download and intall I get java/io.FileNotFoundException:/sdcard/hosts
My guess is that it's not downloading.
Tried it on both WiFi and 3G
Click to expand...
Click to collapse
ok well here's what was downloaded to my card
https://www.yousendit.com/transfer.php?action=batch_download&batch_id=K0JRUGhYT2JQb0t4dnc9PQ
Thats good for 100 downloads.
Found this. forum.xda-developers.com/showthread.php?t=664532 do you guys know if the zip file with hosts good enough since I can't seem to get the AdFree app to work correctly? Of is there an apk somewhere for this app and I shouldn't have gotten the one in the app store?
host installed still doesnt block ever ad using tikl and fring to test
supagene said:
Found this. forum.xda-developers.com/showthread.php?t=664532 do you guys know if the zip file with hosts good enough since I can't seem to get the AdFree app to work correctly? Of is there an apk somewhere for this app and I shouldn't have gotten the one in the app store?
Click to expand...
Click to collapse
I used the one from the market, it does error but it should copy the hosts file to your SD card (and reboot your phone shortly thereafter).
What now?
Great...
cat /sdcard/hosts > /system/etc/hosts
write: No space left on device
junjlo said:
host installed still doesnt block ever ad using tikl and fring to test
Click to expand...
Click to collapse
I've tested both apps and no ads in either.
The one thing I did different that I didn't post was in recovery under partitions I mounted both system and sdcard. Try that and copy the file over.
Thanks!!
So I downloaded the hosts file, booted in recovery, mounted both /system and /sdcard and then 'adb shell' and 'su' and then 'cd /system/etc' and then 'cat /sdcard/hosts > hosts' and it seemed to have worked.
I go to fring and it displays 'Web page not available', not what I'd like to see but it's better than those retarded ads that I keep clicking on by accident.
can someone post step by step how to get adfree working I installed the one from the market and let it error and reboot then i entered into clockworkmod recovery now what? do i need to mount system and sd how do i enter into adb shell and change host file. thanks in advance for any help.
supagene said:
So I downloaded the hosts file, booted in recovery, mounted both /system and /sdcard and then 'adb shell' and 'su' and then 'cd /system/etc' and then 'cat /sdcard/hosts > hosts' and it seemed to have worked.
I go to fring and it displays 'Web page not available', not what I'd like to see but it's better than those retarded ads that I keep clicking on by accident.
Click to expand...
Click to collapse
Glad it worked out, not sure why your getting page not available, I just get a blank box at the top of my contacts list, other apps show the same as well, a blank box where the ad used to be.
j1000 said:
can someone post step by step how to get adfree working I installed the one from the market and let it error and reboot then i entered into clockworkmod recovery now what? do i need to mount system and sd how do i enter into adb shell and change host file. thanks in advance for any help.
Click to expand...
Click to collapse
Edited OP.
thanks for the quick response everything is good until step 8. I know i sound stupid but i learning fast you say enter adb shell. the way i think you do this is type
1. cd\
2. cd sdk
3. cd tools
4. adb shell
when i do this i get error device not found
can you help from there. thanks
There you go
http://www.lgmobiles.com/gsm/download/P920 V20B (Gingerbread Version).zip
To root the bin file (instructions based on the one here)
Requirements: WinHex, a Linux distro (VMs work fine), drivers and flasher.
Instructions
1. Extract and open LGP920AT-00-V20b-ESA-XXX-JAN-10-2012+0_AP.bin in WinHex or any other hex editor.
2. Use WinHex to dump the content from offset B80000 (hexadecimal) to the end (select B80000 as start block and 22ABFFFF as end block and copy it to a new file), and save the dump as system.img.
3. Copy the .img to your Linux distro. Place it in the desktop. Now open terminal, cd to Desktop and enter the following commands one by one:
sudo mkdir temp
sudo mount -o loop system.img temp
Click to expand...
Click to collapse
What this does is mount the img into the temp folder. However, the files are read only. To copy su and superuser.apk, download both file, place them in the Desktop and enter the following commands:
sudo cp superuser.apk temp/app
sudo cp su temp/bin
Click to expand...
Click to collapse
Now, you have to set permissions for su and superuser.apk.
cd temp/app
sudo chmod 0644 superuser.apk
cd
cd Desktop/temp/bin
sudo chmod 6755 su
Click to expand...
Click to collapse
To save the changes, enter this:
sudo umount temp
Click to expand...
Click to collapse
Now, copy image.img back to Windows or whichever environment you prefer.
4. Copy the contents of the img file in WinHex. Go back to the bin file in WinHex and remove any data from offset B80000 onwards. You should be left with offsets 0 to B7FFFF. Right click block B7FFFF, select clipboard data > paste and accept all the prompts. You can now save the .bin file.
5. Now, it's time to flash the .bin. Extract the drivers somewhere and install "LGUnitedMobileDriver_S497CA20_WHQL_ML_Ver_1.0 .exe" and "LGUnitedMobileDriver_S497MA20_WHQL_ML_Ver_1.0.exe". Then, extract the flasher to another location.
6. With the .bin and .fls (found in the zip file containing the .bin as well) in hand, turn your phone off and remove both SD and SIM cards.
MAKE A BACKUP BEFORE PROCEEDING. THIS PROCEDURE WIPES SYSTEM AND APPS. DATA SUCH AS MUSIC AND IMAGES WILL REMAIN INTACT.
Click to expand...
Click to collapse
7. Hold volume up button while inserting the usb cable. When your computer detects the phone, let go of the button.
8. Once the driver installs, run B_SmartFlashTool_Extern.exe, go to the ROM copy D/L tab
9. Select the .bin file under CP bin and the .fls file under AP .bin.
10. Click start. Don't touch anything.
11. Once it's done, close the flasher, unplug your phone and insert the SIM and SD cards and turn it on.
12. Done
Zip file contains both .fls and .bin files.
So it seems roms based on v20B might be in the works
EDIT: Not going to upload, has been superseded by v20E and the Megatron exploit.
Hello! Please laid out links to the program.
http://file.karelia.ru/3jw96r/
LGP920AT-00-V20e (no patched)
Please patch file!
Sent from my LG-P920 using xda premium
he's uploading the v20b bin as we speak, also someone might need to make a thread on "patched firmware" if people are finding more .bin files
I'm 30% through the second zip file, Mediafire only allows maximum 200MB per file so I had to split up the .bin. It should be up in about an hours' time.
SnegovikRZN said:
http://file.karelia.ru/3jw96r/
LGP920AT-00-V20e (no patched)
Click to expand...
Click to collapse
Can somebody patch this bin. I think this is newest ROM 18.01.2012.
dr_jerremy said:
Can somebody patch this bin. I think this is newest ROM 18.01.2012.
Click to expand...
Click to collapse
I'm downloading it now, download speeds are really slow. I'll take a look once it finishes downloading.
pandaball said:
I'm downloading it now, download speeds are really slow. I'll take a look once it finishes downloading.
Click to expand...
Click to collapse
I'm almost done with dowloading,but i dont know how to patch :S..... I will try
EDIT: Bin. V20E 18.01.2012
Follow the updated instructions, they should be concise enough to follow.
In other news, I realised I forgot to set permissions for superuser.apk and su. So, I have to reupload everything due to my mistake. Sorry guys, I can only upload everything tomorrow as it's getting late
@SnegovikRZN If you could create patched ROMs for P920 as you did with the P970 that would be great
pandaball said:
Follow the updated instructions, they should be concise enough to follow.
In other news, I realised I forgot to set permissions for superuser.apk and su. So, I have to reupload everything due to my mistake. Sorry guys, I can only upload everything tomorrow as it's getting late
@SnegovikRZN If you could create patched ROMs for P920 as you did with the P970 that would be great
Click to expand...
Click to collapse
Can I say I'm first?
pandaball said:
Can I say I'm first?
Click to expand...
Click to collapse
i'll bring my thumbdrive over jk
Я не могу создать прошивку для p920, так как там немножко другая структура...
Ohh the ANDROID! string is missing... ok, no problem
in the 20e the entry 22ABFFFF is missing..
Maybe for V20E:
2249FFF0
I can't flash patched rom with Lg flash tool..
Oh I figured out what's the problem
Seem V20B having more options to root it.
hondymondy said:
Seem V20B having more options to root it.
Click to expand...
Click to collapse
Not really, most new roms would be rebased on v20E so I would recommend those
SAMSUNG GALAXY ACE 2 i8160/i8160P
This could be complicated if you never used any Linux os, however with this method you can root your phone without increasing the flash counter.
Kernel, recovery, etc. will be the same as in original samsung roms, we will flash a modified (pre-rooted) system.img.
For prerooted system images and csc files see 2nd post!
Requirements:
Linux - Ubuntu 12 recommended (a virtual one will also do the job)
Windows with Odin for flashing
Patience
References:
Ext4Utils
Insipred by: Expert root method which does not increase the flash counter
First of all download your original rom from: http://www.sammobile.com/firmware/?page=3
1, Create a "samsung" directory on your linux filesystem -> "home/username" folder where username is your linux username.
2, Extract the downloaded firmware, then move system.img.md5 and cache.img.md5 to home/username/samsung dir.
(root_package.zip and ext4utils.zip also extract here)
3, Open a terminal window, and enter:
Code:
sudo mkdir /mnt/system
Type the root password and enter.
4, Now set current dir to samsung directory and mount the system image:
Code:
cd /home/username/samsung
mv system.img.md5 system.img.ext4
make
./simg2img system.img.ext4 system.img
sudo mount system.img /mnt/system
if you get error when executiong "make" type:
Code:
sudo apt-get install zlib1g-dev
5, The original system image has been mounted, now extract su binary and superuser.apk to samsung dir then, enter:
I suggest only su binary to include in /system, SuperUser can be installed later!
Code:
sudo cp su /mnt/system/bin/su
6, Now we have to adjust the permissions:
For SU binary:
Code:
sudo chown root:root /mnt/system/bin/su
sudo chmod 06755 /mnt/system/bin/su
For SuperUser app:
Code:
sudo chmod 644 /mnt/system/app/superuser.apk
7, Unmount the image:
Code:
sudo umount /mnt/system
or if it's not working:
Code:
sudo umount system.img
8, Now create md5 hashes:
Code:
md5sum -t system.img>>system.img
mv system.img system.img.md5
if you get "permission denied" first:
Code:
sudo chown username:username system.img
9, Create falshable tar and md5 hashes for odin package:
Code:
tar cf system_rooted.tar system.img.md5
md5sum -t system_rooted.tar>>system_rooted.tar
mv system_rooted.tar system_rooted.tar.md5
As you remember we copied the cache.img.md5 also, that's because we need to flash this as a separated CSC package.
10, Creating CSC package.
Code:
tar cf csc.tar cache.img.md5
md5sum -t csc.tar>>csc.tar
mv csc.tar csc.tar.md5
11, Now open Odin and select system_rooted.tar.md5 as PDA, and csc.tar as csc.
Check: Auto reboot and F. Reset Time.
Enjoy your rooted phone.
NOTES:
After flashing phone will boot in recovery mode to apply csc, then reboots automatically to normal mode.
If you download different rom than already have on the device first flash the unmodified samsung tar as PDA.
PRE-ROOTED ROMs
(Only modified system and csc - if Superuser not included download manually from Play store or install from sdcard)
PDA: XXLD8 | CSC: I8160DBTLD2 -> -> DOWNLOAD <-
Thanks to: powermetza
PDA: XXLD8 | CSC: XXLD3 | Product code: XEO -> Mirror 1 | Mirror 2
Thanks to: mastermid | szczepan2
For i8160P - Galaxy Ace 2 NFC model
PDA: I8160PXXLE6 | CSC: I8160PDBTLE5 -> Mirrors
Thanks to: soraxx
SuperUser FIX for pre-rooted rom (only if you have problems): View
FLASHING INSTRUCTIONS
0, Download odin from 1st post, extract the downloaded (pre-rooted) rom.
1, Open odin and select csc.tar.md5 (or something like that it's a smaller file max. 20 MB) as CSC.
2, Select the other file (possibly system.tar.md5 or pda.tar.md5, it's 500+ MB) as PDA.
3, Check, Auto reboot and F. Reset Time then start.
(of course first switch to download mode and connect the phone )
mount: must specify filesystem (this is error)
My OS - Linux Mint 13 with MATE, run natively.
I don't know what's the problem, the filesystem should be ext4, but in Ubuntu mounted without any errors.
any chance to reset counter? mine just rooted yesterday. damn
Thank you! It would be a good solution can be used under Windows ...
GT-I8160-ról küldve
@Szaby59
Three simple questions:
1. Can I use this method to cook pre-rooted ROM (that doesn't increase flash counter), but without samsungs bloatware? In other words: Can I somehow remove any APK that comes from samsung and still have valid warranty?
2. Did you tried this method with flash_counter=0 or did you already voided warranty and then NOT increased flash_counter?
3. Are both values "Custom Binary Download=NO" and "Current Binary: Samsung Official" still intact after this root method?
Anyway... Thank you for this... I was waiting for something like this since I bought I8160.
1, I think you can remove apps and modify some other things if you want I didn't test it but 99% it's possible (or you can remove aps later with root explorer from /system/app)
But for warranty purposes (removing root, restoring original apps) reflash the original unmodified samsung tar.
2-3, No, I didn't tried any other methods, the custom binary downloads is 0 (NO) and I have "Samsung Official".
I think the counter only observing kernel flashes, with this method the flash counter will be the same as before the flash.
Also I noticed when you reboot from adb or terminal to download mode it doesn't shows the odin mode... stuffs, only when you use the hardware keys (vol down+home+power). !Maybe! in this way we can flash a modified kernel but it's not 100% and first you need to root the phone somehow to enable "su reboot download" command.
By the way... There is no way to download the ROM from THIS site... Loading, loading, and... loading...
szczepan2 said:
By the way... There is no way to download the ROM from THIS site... Loading, loading, and... loading...
Click to expand...
Click to collapse
Login first -> blank screen -> go back and refresh > download firmware.
Do I need to create CSC file again if I want to flash back to stock-non rooted firmware? Or should I use stock PDA file only, without CSC?
Can you write down a simple "Going back to stock ROM procedure without touching Flash Counter". Many noobs (including me) would be grateful for complete solution.
Maybe the editing ROM is not working because it's Polish? I can't open it too with any archive manager...
arroyo said:
Do I need to create CSC file again if I want to flash back to stock-non rooted firmware? Or should I use stock PDA file only, without CSC?
Can you write down a simple "Going back to stock ROM procedure without touching Flash Counter". Many noobs (including me) would be grateful for complete solution.
Click to expand...
Click to collapse
Just flash back the original tar with all files as pda no csc or phone needed it's included in the tar.
@szczepan2: you can't use any know archiver to open img.md5 files.
For extracting the tar use winrar or 7zip.
Szaby59 said:
@szczepan2: you can't use any know archiver to open img.md5 files.
For extracting the tar use winrar or 7zip.
Click to expand...
Click to collapse
Ahh, got it. So if it impossible to open it, so how it's possible to mount it?
Ehh, i'm really angry because I can't root my phone... You use Ubuntu in VM or native? Or maybe LiveCD?
szczepan2 said:
Ahh, got it. So if it impossible to open it, so how it's possible to mount it?
Ehh, i'm really angry because I can't root my phone... You use Ubuntu in VM or native? Or maybe LiveCD?
Click to expand...
Click to collapse
I installed on a virtualbox virtual machine, (with 8 GB vhd) for mounting and rooting follow the steps from 1st post.
@Szaby59
I have also the problem that I need to specify type of mounting filesystem, but I have an idea.
If you are able to mount succesfuly system.img, then could you in console just type:
Code:
mount
It will give you the list with all mounted devices/images and their types - I would be grateful if you could check what type is /mnt/system.
Thanks in advance.
mastermid said:
@Szaby59
I have also the problem that I need to specify type of mounting filesystem, but I have an idea.
If you are able to mount succesfuly system.img, then could you in console just type:
Code:
mount
It will give you the list with all mounted devices/images and their types - I would be grateful if you could check what type is /mnt/system.
Thanks in advance.
Click to expand...
Click to collapse
It shows ext4 filesystem.
mastermid said:
@Szaby59
I have also the problem that I need to specify type of mounting filesystem, but I have an idea.
If you are able to mount succesfuly system.img, then could you in console just type:
Code:
mount
It will give you the list with all mounted devices/images and their types - I would be grateful if you could check what type is /mnt/system.
Thanks in advance.
Click to expand...
Click to collapse
cloudm33 samsung # mount -t ext4 system.img /mnt/system/
mount: Filesystem error, wrong superblock at /dev/loop0 etc.
Tutorial updated with additional tools and instructions.
Szaby59 said:
Tutorial updated with additional tools and instructions.
Click to expand...
Click to collapse
Can you upload also a pre-rooted rom?
For example the polish or the germany stock rom?
Thanks in advance!
Hello all,
Please find attached the recovery and the ramdisk from the firmware.
I have no language knowledge ( C+, Java ) and hence cant help with getting a root.
Could someone please look at the files and help us achieve a root.
Thanks.
Ramdisk : http://www21.zippyshare.com/v/YI1WNBKI/file.html
Recovery: http://www21.zippyshare.com/v/VffwNEbb/file.html
Anyone here with rooting skills ?
tids2k said:
Anyone here with rooting skills ?
Click to expand...
Click to collapse
not too sure why sdb sdk command "sdb root on" exist if it's always permission denied haha, but i might have something little tricky to get root acces, still on it tought
Root would be awesome. Maybe @cipherswitch can give us some pointers as his Gear S root thread is well put together.
Jhfreeze said:
Root would be awesome. Maybe @cipherswitch can give us some pointers as his Gear S root thread is well put together.
Click to expand...
Click to collapse
I actually just picked up an S3 Frontier last week. I haven't really looked into it and and I'm not 100% sure what rooting will do to Samsung Pay but it's worth taking a look at.
cipherswitch said:
I actually just picked up an S3 Frontier last week. I haven't really looked into it and and I'm not 100% sure what rooting will do to Samsung Pay but it's worth taking a look at.
Click to expand...
Click to collapse
We need to do a insert exploit with a method like Magisk as rooting will trigger will Knox fuse and then Samsung pay will become unusable. Also there is actually an app that checks whether the device has been rooted or not in the watch itself. My suggestion would be to pack a binary with su.apk and then making an Odin flashable package, but then I'm not sure if it will proceed as the signature validation will fail.
tids2k said:
We need to do a insert exploit with a method like Magisk as rooting will trigger will Knox fuse and then Samsung pay will become unusable. Also there is actually an app that checks whether the device has been rooted or not in the watch itself. My suggestion would be to pack a binary with su.apk and then making an Odin flashable package, but then I'm not sure if it will proceed as the signature validation will fail.
Click to expand...
Click to collapse
Im fairly sure it will beacuse its not digitally signed by Sammy.
cipherswitch said:
I actually just picked up an S3 Frontier last week. I haven't really looked into it and and I'm not 100% sure what rooting will do to Samsung Pay but it's worth taking a look at.
Click to expand...
Click to collapse
i got access via sdb sheel to few sbin command like "pivot_root" and "switch_root" if this could help..
and i was able to use initrd scripts
Stupid question.
No idea if allready Gear S3 is rooted...
I was able to successfully root Tizen handsets with same method and same 1 file:
SM-Z130H
SM-Z300H
SM-Z300F
SM-Z200F
Procedure...
Copy file su into bin folder...
Easiest way... modify rootfs.img... then flash result with Odin.
Ehm... not tested with any Gear... but...
Maybe check this special Factory Firmware... aka Combination.
https://forum.xda-developers.com/gear-s3/development/rom-samsung-gear-s3-sm-r760-t3550225
Extract rootfs.img ...
You will see su in bin folder:
/bin/su
In theory you could try now to use this su file... and inject in other rootfs.img... then flash.
Own risk!
Only as info.
I am to lazy to buy Gear S3 to check my theory...
Best Regards
adfree said:
Stupid question.
No idea if allready Gear S3 is rooted...
I was able to successfully root Tizen handsets with same method and same 1 file:
SM-Z130H
SM-Z300H
SM-Z300F
SM-Z200F
Procedure...
Copy file su into bin folder...
Easiest way... modify rootfs.img... then flash result with Odin.
Ehm... not tested with any Gear... but...
Maybe check this special Factory Firmware... aka Combination.
https://forum.xda-developers.com/gear-s3/development/rom-samsung-gear-s3-sm-r760-t3550225
Extract rootfs.img ...
You will see su in bin folder:
/bin/su
In theory you could try now to use this su file... and inject in other rootfs.img... then flash.
Own risk!
Only as info.
I am to lazy to buy Gear S3 to check my theory...
Best Regards
Click to expand...
Click to collapse
Too bad root checker will spot that su binary and blow warranty void fuse than farewell spay
Too bad root checker will spot that su binary and...
Click to expand...
Click to collapse
Root Checker on Z-Mobiles only disable access to FOTA Server...
Not really deep investigation... but an app could check Root... maybe not Bootlaoder...
Something like this...
com.samsung.rootdetection-syspopup ...
Maybe to remove the "App" which checks if su is present or not...
No idea how much Security inside Gear S3... but maybe if you compare difference between Combination "FTMA" Firmware... and normal...
Otherwise you would also loose warranty blabla with this file?
https://forum.xda-developers.com/gear-s3/development/rom-samsung-gear-s3-sm-r760-t3550225
No idea yet. Only theory...
Best Regards
adfree said:
Root Checker on Z-Mobiles only disable access to FOTA Server...
Not really deep investigation... but an app could check Root... maybe not Bootlaoder...
Something like this...
com.samsung.rootdetection-syspopup ...
Maybe to remove the "App" which checks if su is present or not...
No idea how much Security inside Gear S3... but maybe if you compare difference between Combination "FTMA" Firmware... and normal...
Otherwise you would also loose warranty blabla with this file?
https://forum.xda-developers.com/gear-s3/development/rom-samsung-gear-s3-sm-r760-t3550225
No idea yet. Only theory...
Best Regards
Click to expand...
Click to collapse
With official firmwares you can't loose warranty. As you mentioned this was an internal build with most of the apps scrapped.
I treid to mount the storage but getting write protection error. Trying to compile TWRP and test but unable to do so. @cipherswitch @DevALT. Some screenshots
I could create rootfs.img with su inside...
su file I would take from combination file...
Code:
COMBINATION-FTMA_R760XXU1APK3.tar.md5
rootfs.img I have at the moment only from this Firmware:
Code:
R760XXU1APK7_R760OXA1APK7.zip
And I have NO Gear Watch to test self.
So I "need" tester with balls and SM-R760 who is able to flash with Odin...
OWN risk!
I could do it and upload...
But to prevent waste my time...
I will try to "explain" first...
Before I was able to root my SM-Z130H...
I have used rooted GT-I9300 to create my modified rootfs.img...
Extracting files from rootfs.img under Windows was easy with Windows Tools...
But creation of valid rootfs.img is better to do with Linux...
Need few minutes to upload extracted su file... and to post few Commands for SDB... or ADB ...
Best Regards
Edit 1.
su added...
Taken from Combination Firmware...
MD5
Code:
B784CC4DBBC86EFCC308D239D1235CE0
Now this file "must" inject into folder bin in rootfs.img
Edit 2.
Here is example how I would do it with my rooted Tizen SM-Z130H... with Batch file... few Commands for SDB:
Code:
sdb root on
sdb push su /opt/usr/media/Others
sdb shell mount -t ext4 -o loop,rw /opt/usr/media/Others/rootfs.img /opt/usr/media/Others/2
sdb shell cp /opt/usr/media/Others/su /opt/usr/media/Others/2/bin
sdb shell cd /opt/usr/media/Others/2
sdb shell sync
pause
sdb shell cd /
sdb shell umount /opt/usr/media/Others/2
rootfs.img I would copy manually to folder Others...
For rooted Android device... replace sdb with adb... and few path changes...
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=SM-R760
For Kernel related study... Source Code is available...
I was only to lazy to download...
But in theory also here in repos...
1 RPM is inside with su...
Will check after Download... "soon"...
Best Regards
Downloaded...
SM-R765_Opensource.zip
Extracted:
SM-R765_repos.tar.gz
Unpack:
coreutils-6.9.rpm
Bingo... su Binary is inside.
But still problem...
I don't know how to install RPM without ROOT access.
I can only install RPM if allready device is rooted...
So I only know this way to inject su into rootfs.img and create then valid TAR file to use with Odin...
Simple Copy and Paste solution.
Best Regards
adfree said:
I could create rootfs.img with su inside...
su file I would take from combination file...
Code:
COMBINATION-FTMA_R760XXU1APK3.tar.md5
rootfs.img I have at the moment only from this Firmware:
Code:
R760XXU1APK7_R760OXA1APK7.zip
And I have NO Gear Watch to test self.
So I "need" tester with balls and SM-R760 who is able to flash with Odin...
OWN risk!
I could do it and upload...
But to prevent waste my time...
I will try to "explain" first...
Before I was able to root my SM-Z130H...
I have used rooted GT-I9300 to create my modified rootfs.img...
Extracting files from rootfs.img under Windows was easy with Windows Tools...
But creation of valid rootfs.img is better to do with Linux...
Need few minutes to upload extracted su file... and to post few Commands for SDB... or ADB ...
Best Regards
Edit 1.
su added...
Taken from Combination Firmware...
MD5
Code:
B784CC4DBBC86EFCC308D239D1235CE0
Now this file "must" inject into folder bin in rootfs.img
Edit 2.
Here is example how I would do it with my rooted Tizen SM-Z130H... with Batch file... few Commands for SDB:
Code:
sdb root on
sdb push su /opt/usr/media/Others
sdb shell mount -t ext4 -o loop,rw /opt/usr/media/Others/rootfs.img /opt/usr/media/Others/2
sdb shell cp /opt/usr/media/Others/su /opt/usr/media/Others/2/bin
sdb shell cd /opt/usr/media/Others/2
sdb shell sync
pause
sdb shell cd /
sdb shell umount /opt/usr/media/Others/2
rootfs.img I would copy manually to folder Others...
For rooted Android device... replace sdb with adb... and few path changes...
Click to expand...
Click to collapse
gonna try that but i'll compile myself, not that I don't trust you but if it breaks my gear s3 i want to be the one who brick it
and also for weird reason sdb root on dosen't want to work on windows (will try on Linux tomorrow, work till very late :'( )
simple curiosity did you use RPM based distro to create your rootfs.img, if not witch distro are you using?
adfree said:
Downloaded...
SM-R765_Opensource.zip
Extracted:
SM-R765_repos.tar.gz
Unpack:
coreutils-6.9.rpm
Bingo... su Binary is inside.
But still problem...
I don't know how to install RPM without ROOT access.
I can only install RPM if allready device is rooted...
So I only know this way to inject su into rootfs.img and create then valid TAR file to use with Odin...
Simple Copy and Paste solution.
Best Regards
Click to expand...
Click to collapse
as i said upthere sdb root on command won't work on my windows and your solution seems to be the one will try everything tomorrow on my Linux pc will give an update right after
Code:
sdb root on
This is only possible, if you have allready su in bin folder:
Code:
/bin/su
For better understanding you could install Tizen Studio for instance...
https://developer.tizen.org/development/tizen-studio/download
It is possible to use SDB with Emulator...
Also Wearable Image available...
So you don't need to buy Tizen Mobile or other real device to test...
Simple study Image in Emulator...
You can delete su from Image and then play again with command:
Code:
sdb root on
simple curiosity did you use RPM based distro to create your rootfs.img, if not witch distro are you using?
Click to expand...
Click to collapse
I am Windows Fan Boy...
So first time... before my SM-Z130H was rooted. I've created rootfs.img with GT-I9300 (Android handset)...
Since my SM-Z130H is rooted... I am using this device.
I've never tried to create rootfs.img with Computer... with handset it was easier for me.
Maybe I find my old post with GT-I9300... to check my ADB Commands... because path could be different...
Best Regards
Edit 1.
2 years ago... I found "inspiration" by Gear Watch Thread...
https://forum.xda-developers.com/showpost.php?p=59457357&postcount=95
Then I did something like this:
https://forum.xda-developers.com/showpost.php?p=59478150&postcount=97
Important is for Odin... TAR file...
I can remember not all Windows TAR Packer were valid...
So I am using since over 2 years only IZArc Tool.
Also important... use only rootfs.img from Firmware which is on your device...
Not mix Firmware parts from different versions... to prevent funny sideeffects.
Best Regards
sorry for late update i couldn't test anything today no free time for me until wednesday but sure will I test everything there :l
DevALT said:
sorry for late update i couldn't test anything today no free time for me until wednesday but sure will I test everything there :l
Click to expand...
Click to collapse
No panic.
For few things I have spend many months... years.
And I understand Gear S3 is at the moment very expensive "test" device...
I can wait. :angel:
Maybe someone have halfdead Gear S3... with brroken display or Water Damage or something similar...
Best Regards
Stock splash screen without the warning message for rooted S10+ devices
Completely stock splash screen
All warnings have been removed
WARNING: Flash at your own risk!
Directions
Download attachment
Place attachment into download folder in internal storage
Check md5sum - c2a9b95389b037800693638d4a1c4fc6
Flash splash screen with a terminal emulator
- Check md5sum
Code:
su -c md5sum /storage/emulated/0/Download/up_param.zip
- Flash splash screen
Code:
su -c dd if=/storage/emulated/0/Download/up_param.zip of=/dev/block/platform/13d60000.ufs/by-name/up_param
Excellent work ! Thanksss
It works great but there are some red pixels visible. You couldn't paint these text well, lol thanks anyway. Hope you can fix it soon.
ulasx said:
It works great but there are some red pixels visible. You couldn't paint these text well, lol thanks anyway. Hope you can fix it soon.
Click to expand...
Click to collapse
Fixed :good:
For S10 how can i do?
Ivymike52 said:
For S10 how can i do?
Click to expand...
Click to collapse
I not sure if it's the same path but try enter code in terminal and upload up_param.zip from your internal storage and I'll do it for you.
Code:
su -c cp /dev/block/platform/13d60000.ufs/by-name/up_param /storage/emulated/0/up_param.zip
thank you, i had just made extracting up_param from your archive, modifying 3 files and recreating archive, but good for next time.
Can this be flashed via twrp? as i've never in my years flashing roms etc, used terminal
Thank you
Wingchundub said:
Can this be flashed via twrp? as i've never in my years flashing roms etc, used terminal
Thank you
Click to expand...
Click to collapse
No, it's not a zip file you can flash with twrp, you could maybe use the terminal in twrp.
Easier just to download Terminal Emulator from Playstore, just uninstall it if not needed afterwards.
Sorry, i'm lost here, installed terminal you linked too, downloaded zip and its in download folder, as i start to type the check md5sum code, most of it disappears and leaves just the / icons,then when i press enter, it says not found or something like that
Also tried putting internal storage instead of storage, as that's where mine is located and it comes up with "Can't execute"
Wingchundub said:
Sorry, i'm lost here, installed terminal you linked too, downloaded zip and its in download folder, as i start to type the check md5sum code, most of it disappears and leaves just the / icons,then when i press enter, it says not found or something like that
Also tried putting internal storage instead of storage, as that's where mine is located and it comes up with "Can't execute"
Click to expand...
Click to collapse
Type su then enter and grant su permission in magisk dialog that pops up. Then just copy and paste the commands.
I type su and usual magisk window doesn't show, losing will to live lol
Just to be clear, phone is in root mode.
Wingchundub said:
I type su and usual magisk window doesn't show, losing will to live lol
Just to be clear, phone is in root mode.
Click to expand...
Click to collapse
You must of dismissed it. Just enable it in magisk manager, side menu, superuser.
I haven't bud, Terminal never requested root access
Will this work on s10 plus snapdragon sm-g9750?
Thanks
I also want to know this (9750)
Loco007 said:
Will this work on s10 plus snapdragon sm-g9750?
Thanks
Click to expand...
Click to collapse
twiice said:
I also want to know this (9750)
Click to expand...
Click to collapse
Enter code in terminal and upload up_param.zip from internal storage so I can check
Code:
su -c cp /dev/block/platform/13d60000.ufs/by-name/up_param /storage/emulated/0/up_param.zip
hinxnz said:
Enter code in terminal and upload up_param.zip from internal storage so I can check
Code:
su -c cp /dev/block/platform/13d60000.ufs/by-name/up_param /storage/emulated/0/up_param.zip
Click to expand...
Click to collapse
Seem to get an error message
hinxnz said:
Enter code in terminal and upload up_param.zip from internal storage so I can check
Code:
su -c cp /dev/block/platform/13d60000.ufs/by-name/up_param /storage/emulated/0/up_param.zip
Click to expand...
Click to collapse
Hi, I have found this on my s10 plus sm-g9750 Snapdragon but at the location below:-
/dev/block/platform/soc/1d84000.ufshc/by-name/param
Attached param file as a rar file, this is all i could see, will this work?
Loco007 said:
Hi, I have found this on my s10 plus sm-g9750 Snapdragon but at the location below:-
/dev/block/platform/soc/1d84000.ufshc/by-name/param
Attached param file as a rar file, this is all i could see, will this work?
Click to expand...
Click to collapse
That's not it but try this location
Code:
/dev/block/platform/soc/1d84000.ufshc/by-name/up_param