My long term goal is to compile my own kernel for my Xperia T.
But before I go about that, I tried to extract and rebuild a stock kernel.elf without any changes. I am already failing at this fairly easy task.
I extracted a stock kernel.elf from this FTF with flashtool. So I ended up with following files:
Code:
-rw-r--r-- 1 gwodus gwodus 20971520 Oct 6 15:48 kernel.elf
-rw-r--r-- 1 gwodus gwodus 130 Oct 6 15:48 kernel.elf.bootcmd
-rw-r--r-- 1 gwodus gwodus 1072 Oct 6 15:48 kernel.elf.cert
-rw-r--r-- 1 gwodus gwodus 5655400 Oct 6 15:48 kernel.elf.Image
-rw-r--r-- 1 gwodus gwodus 1512035 Oct 6 15:48 kernel.elf.ramdisk.gz
-rw-r--r-- 1 gwodus gwodus 133372 Oct 6 15:48 kernel.elf.rpm.bin
-rw-r--r-- 1 gwodus gwodus 16 Oct 6 15:48 kernel.partinfo
-rw-r--r-- 1 gwodus gwodus 7306651 Oct 6 15:48 kernel.sin
Without changing any files I recomposed a new kernel2.elf with mkelf.py:
Code:
python mkelf.py -o kernel2.elf [email protected] [email protected],ramdisk [email protected],rpm [email protected],cmdline
Then I flashed the kernel with fastboot:
Code:
sudo ./fastboot flash boot kernel2.elf
Unfortunately the phone did not boot anymore. When I soft reset the phone and flash the original kernel.elf, everything is back to normal.
I noticed that the original kernel.elf is a lot bigger then the kernel2.elf I created:
Code:
-rw-r--r-- 1 gwodus gwodus 7305033 Oct 6 15:51 kernel2.elf
-rw-r--r-- 1 gwodus gwodus 20971520 Oct 6 15:48 kernel.elf
My guess is that the parameters for mkelf.py might be wrong? I got those from some posts around here (mainly this one). Hopefully some Xperia developers can point me to the right track. Thanks in advance.
I did some further research on how an elf file is assembled and figured out how to extract the address-parameters from the original elf. And indeed there is a difference. The address for the ramdisk ist not 0x81300000 but 0x81400000. I compiled the elf again with that parameter, and what do you know, it works like a charm now.
So the correct command line for mkelf.py for the Xperia T is:
Code:
python mkelf.py -o kernel2.elf [email protected] [email protected],ramdisk [email protected],rpm [email protected],cmdline
I don't know if that guide is just wrong, or if there are different models of the T or if it depends on the kernel version. I did some further search on the internet. Some people also use 0x81500000 or 0x81600000 for the ramdisk address on the Xperia T. Just for fun, I tried 0x81500000, which also worked.
Maybe somebody knowledgeable can shed some light on this topic.
Related
Hi,
I have upgraded my moboot to 3.0.5 and upgraded the Cyanogenmod to CM9. Also, i have decided to install TouchPadBuntu to test it. Followed the instructions with some modifications, and everything went fine, but when i try to boot on it via moboot, it gives the error:
Loading '/boot/uImage.TouchPadBuntu'... OK
Checking uImage... Invalid Magic
BOOT FAILED!
Also, ClockRecovery doesn't works too, it returns some numbers (hex codes) on the boot screen.
Someone can give some light?
I'm dealing with same problem, but with Arch Linux.
I think the problem is in /boot free space...
Can you list your files in /boot and your free space in there?
ls -l /boot
df -h /boot
Hi, i have attached the errors... one is TouchPadBuntu error, and the other is Cyanogenmod error that is appearing sometimes yes, sometimes no...
http://img19.imageshack.us/img19/5138/imagem0000m.jpg
http://img828.imageshack.us/img828/4153/imagem0001.jpg
Also, here is my /boot
Code:
[email protected]:/# ls -l /boot
-rw-r--r-- 1 root root 1430215 Jul 30 2011 System.map-2.6.35-palm-tenderloin
drwxr-xr-x 2 root root 4096 Oct 14 02:59 bin
-rw-r--r-- 1 root root 490764 Jul 30 2011 boot-genesis.tar.gz
-rw-r--r-- 1 root root 119371 Jul 30 2011 boot-images.tar.gz
-rw-r--r-- 1 root root 115392 Jul 30 2011 boot.bin
-rw-r--r-- 1 root root 75277 Jul 30 2011 config-2.6.35-palm-tenderloin
drwxr-xr-x 2 root root 4096 Oct 14 02:59 dev
drwxr-xr-x 3 root root 4096 Oct 14 02:59 etc
-rwxr-xr-x 1 root root 1131 Jul 30 2011 genesis-update.xml
-rwxr-xr-x 1 root root 2224 Jul 30 2011 image-update.xml
drwxr-xr-x 2 root root 4096 Oct 14 02:59 lib
drwx------ 2 root root 16384 Oct 14 02:56 lost+found
-rw-r--r-- 1 root root 11 Oct 14 03:51 moboot.default
-rw-r--r-- 1 luna luna 0 Feb 9 01:57 moboot.next
-rw-rw-rw- 1 root root 30313 Feb 8 00:58 moboot.splash.CyanogenMod.tga
-rw-r--r-- 1 luna 10000 14046 Sep 8 2001 moboot.splash.webOS.tga
-rw-r--r-- 1 root root 4 Feb 8 01:51 moboot.verbose.TouchPadBuntu
drwxr-xr-x 2 root root 4096 Oct 14 02:59 proc
drwxr-xr-x 2 root root 4096 Oct 14 02:59 realroot
drwxr-xr-x 2 root root 4096 Oct 14 02:59 sbin
drwxr-xr-x 2 root root 4096 Oct 14 02:59 sys
lrwxrwxrwx 1 root root 13 Feb 8 01:51 uImage -> uImage.moboot
-rw-r--r-- 1 root root 3333228 Jul 30 2011 uImage-2.6.35-palm-tenderloin
-rw-r--r-- 1 root root 5006686 Feb 8 00:57 uImage.ClockworkMod
-rw-r--r-- 1 root root 4136681 Feb 8 00:58 uImage.CyanogenMod
-rw-r--r-- 1 root root 1106 Feb 8 02:53 uImage.TouchPadBuntu
-rw-r--r-- 1 root root 64508 Feb 8 01:50 uImage.moboot
lrwxrwxrwx 1 root root 29 Oct 14 02:58 uImage.webOS -> uImage-2.6.35-palm-tenderloin
-rw-r--r-- 1 root root 84 Jul 30 2011 updatefs-info
drwxr-xr-x 5 root root 4096 Oct 14 02:59 usr
[email protected]:/# df -h /boot
Filesystem Size Used Available Use% Mounted on
/dev/root 31.0M 22.1M 8.9M 71% /boot
Hi folks,
I have corrected my problem downloading uImage.TouchPadUbuntu again via CURL direclty to /boot. To do this i have to use mount -O rw,remount /boot and execute the curl command here.
After this, i rebooted the touchpad and now have ubuntu on it. But using touchscreen as mouse is sucking a lot, and response of my touch on virtual keyboard too... but fine to test!
I also solved my problem, I think the problem was pretty like yours!
My solution post.
So this I9000 was given to me to try and repair for a friend. Basically phone had never been hacked, modded or anything. Was stock, not even rooted. One day the phone turned off and when turned on, it shows the GT screen, the Samsung screen, then the screen goes black and the lower buttons illuminate. That's it.
So i have tried to install multiple ROM's, repartitioning, odin, CWM all of it.
The last thing i have found is a thread where someone gave instructions on how to list your device memory from shell using parted. I have done just that but i do not see my internal memory there. If i put my 512MB sd card in it, it becomes visible, the external that is. But thats it.
In CWM i cannot mount data or emmc. Nor can i format them.
Here is the output from parted. Any ideas?
~ # cd /sbin
cd /sbin
/sbin # ls -al /dev/block
ls -al /dev/block
drwxr-xr-x 3 root root 700 Mar 29 21:55 .
drwxr-xr-x 11 root root 2880 Mar 29 21:55 ..
brw------- 1 root root 7, 0 Mar 29 21:55 loop0
brw------- 1 root root 7, 1 Mar 29 21:55 loop1
brw------- 1 root root 7, 2 Mar 29 21:55 loop2
brw------- 1 root root 7, 3 Mar 29 21:55 loop3
brw------- 1 root root 7, 4 Mar 29 21:55 loop4
brw------- 1 root root 7, 5 Mar 29 21:55 loop5
brw------- 1 root root 7, 6 Mar 29 21:55 loop6
brw------- 1 root root 7, 7 Mar 29 21:55 loop7
brw------- 1 root root 31, 0 Mar 29 21:55 mtdblock0
brw------- 1 root root 31, 1 Mar 29 21:55 mtdblock1
brw------- 1 root root 31, 2 Mar 29 21:55 mtdblock2
brw------- 1 root root 31, 3 Mar 29 21:55 mtdblock3
brw------- 1 root root 31, 4 Mar 29 21:55 mtdblock4
brw-rw---- 1 radio radio 31, 5 Mar 29 21:55 mtdblock5
brw------- 1 root root 31, 6 Mar 29 21:55 mtdblock6
brw------- 1 root root 31, 7 Mar 29 21:55 mtdblock7
drwxr-xr-x 3 root root 60 Mar 29 21:55 platform
brw------- 1 root root 1, 0 Mar 29 21:55 ram0
brw------- 1 root root 1, 1 Mar 29 21:55 ram1
brw------- 1 root root 1, 10 Mar 29 21:55 ram10
brw------- 1 root root 1, 11 Mar 29 21:55 ram11
brw------- 1 root root 1, 12 Mar 29 21:55 ram12
brw------- 1 root root 1, 13 Mar 29 21:55 ram13
brw------- 1 root root 1, 14 Mar 29 21:55 ram14
brw------- 1 root root 1, 15 Mar 29 21:55 ram15
brw------- 1 root root 1, 2 Mar 29 21:55 ram2
brw------- 1 root root 1, 3 Mar 29 21:55 ram3
brw------- 1 root root 1, 4 Mar 29 21:55 ram4
brw------- 1 root root 1, 5 Mar 29 21:55 ram5
brw------- 1 root root 1, 6 Mar 29 21:55 ram6
brw------- 1 root root 1, 7 Mar 29 21:55 ram7
brw------- 1 root root 1, 8 Mar 29 21:55 ram8
brw------- 1 root root 1, 9 Mar 29 21:55 ram9
Also, i tried using a CM7 rom last, so i am currently looping the Cm7 skateboard guy. I have the logcat of that available if you think it may help, but it just list a whole bunch of java failures and alike and then does it all over again.
I'm sure my GT-I9000 Galaxy S came with a 2 year Warranty. Would be well worth checking whether that phone was 1yr or 2yrs, as all 2yr warranties should still be valid, as they are all less than two years old still.
Hope you get it sorted.
---------- Post added at 12:04 PM ---------- Previous post was at 12:00 PM ----------
Just realised you are in Canada, does that mean this is a I9000M?... as I know they had major memory issues. There is a thread about it here somewhere. Not sure what the outcome was, but it was a known defect. Maybe you could convince Samsung to fix it for free (even if it is out of Warranty)?
Ya i have been getting snippits of info on the i9000m internal sd problem but can find any hard info on it.
Basically there was a huge batch of them with onboard memory that would fail when you upgraded to GB....or eventually on their own.
I had one, a friend of mine had one...
If it was still on warranty they would replace it outright for you but I'm guessing if you got it in Canada (Bell?) It's way past warranty.
You could try flashing an Claire or froyo ROM and see if you have any luck there. Chances are though that it's as good as dead.
Sent from my GT-I9000 using Tapatalk 2 Beta-4
Yes, its a Bell I9000M.
I dont see a date of manufacture on it though. I guess i will have to call Samsung to verify warranty then?
Date of manufacture should be on the battery. I got mine on release day and it still works great after being flashed dozens of times.
As far as I remember it was a later batch that had a corrupt boot loader. I was weary of flashing due to all the dying I9000M's and followed the discussions closely. The second GB update was supposed to have fixed it.
Sent from my GT - I9000M running Team Hacksung's ICS port.
I'm porting Ubuntu Touch on an y991 (Elephone Vowney Lite).
I managed to boot the system and run its apps. Now I need to debug RIL, wireles, camera etc., but I cannot get any logcat output.
I tried both /system/bin/logcat both /android/system/bin/logcat from an adb root shell. It just returns to prompt. No error, no log. Logs exist:
Code:
ls -l /dev/log*
srw-rw-rw- 1 root root 0 Jan 1 01:00 /dev/log
crw-rw-rw- 1 root root 10, 59 Jan 1 01:00 /dev/log_events
crw-rw-rw- 1 root root 10, 60 Jan 1 01:00 /dev/log_main
crw-rw-rw- 1 root root 10, 58 Jan 1 01:00 /dev/log_radio
crw-rw-rw- 1 root root 10, 57 Jan 1 01:00 /dev/log_system
I was about to suggest that you ask the ubport's guys ..... but mayyybe you know them already https://forums.ubports.com/user/4javier
i need OEM and modem folder files from xperia xz2 (H8296) from indian firmware (51.1.A.11.26_Customized IN)
anyone who have rooted his phone .....can plz share those files.........needed for making airtel volte patch for xperia xz(because only xperia xz2 have support for airtel volte not any other phone of sony).........
Anyone plz reply...
Please use XperiFirm and unSin.
MartinX3 said:
Please use XperiFirm and unSin.
Click to expand...
Click to collapse
It extracts oem. Sin properly but
Modem. Sin into modem. Img
And modem. Img is not extracting....
Tell me how to extract it...
bhant10 said:
It extracts oem. Sin properly but
Modem. Sin into modem. Img
And modem. Img is not extracting....
Tell me how to extract it...
Click to expand...
Click to collapse
I hope this will help you.
https://forum.xda-developers.com/showthread.php?t=1588461
MartinX3 said:
I hope this will help you.
https://forum.xda-developers.com/showthread.php?t=1588461
Click to expand...
Click to collapse
It's for system.sin not modem.sin
bhant10 said:
It's for system.sin not modem.sin
Click to expand...
Click to collapse
So you can't extract the sparse modem.img file, convert it and mount with this guide?
MartinX3 said:
So you can't extract the sparse modem.img file, convert it and mount with this guide?
Click to expand...
Click to collapse
No..
Plz tell me another method
Modem.img is FAT image.
vve said:
Modem.img is FAT image.
Click to expand...
Click to collapse
How to extract it???? Plz tell
mount -t vfat -o loop modem.img /my_mountpoint_path under Linux
or something like ImDisk Virtual Disk under Windows.
Anyone plz help.....
bhant10 said:
Anyone plz help.....
Click to expand...
Click to collapse
You should start using Linux Ubuntu.
Linux Mint Cinnamon is working like a charm.
MartinX3 said:
You should start using Linux Ubuntu.
Linux Mint Cinnamon is working like a charm.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
getting this error ...
simg2img have executing permissions... but stillllllllllll
bhant10 said:
getting this error ...
simg2img have executing permissions... but stillllllllllll
Click to expand...
Click to collapse
What is the output of
Code:
ls -lha
in this folder?
MartinX3 said:
What is the output of
Code:
ls -lha
in this folder?
Click to expand...
Click to collapse
[email protected]:/bin$ ls -lha
total 136M
drwxr-xr-x 3 root root 4.0K Sep 16 03:13 .
drwxr-xr-x 24 root root 4.0K Sep 16 02:44 ..
-rwxr-xr-x 1 root root 1.1M Apr 4 11:30 bash
-rwxr-xr-x 1 root root 732K Apr 17 03:46 brltty
-rwxr-xr-x 1 root root 35K Jan 29 2017 bunzip2
-rwxr-xr-x 1 root root 2.0M Dec 12 2017 busybox
-rwxr-xr-x 1 root root 35K Jan 29 2017 bzcat
lrwxrwxrwx 1 root root 6 Sep 16 02:34 bzcmp -> bzdiff
-rwxr-xr-x 1 root root 2.1K Jan 29 2017 bzdiff
lrwxrwxrwx 1 root root 6 Sep 16 02:34 bzegrep -> bzgrep
-rwxr-xr-x 1 root root 4.8K Jan 29 2017 bzexe
lrwxrwxrwx 1 root root 6 Sep 16 02:34 bzfgrep -> bzgrep
-rwxr-xr-x 1 root root 3.6K Jan 29 2017 bzgrep
-rwxr-xr-x 1 root root 35K Jan 29 2017 bzip2
-rwxr-xr-x 1 root root 14K Jan 29 2017 bzip2recover
lrwxrwxrwx 1 root root 6 Sep 16 02:34 bzless -> bzmore
-rwxr-xr-x 1 root root 1.3K Jan 29 2017 bzmore
-rwxr-xr-x 1 root root 35K Jan 18 2018 cat
-rwxr-xr-x 1 root root 14K Apr 21 2017 chacl
-rwxr-xr-x 1 root root 63K Jan 18 2018 chgrp
-rwxr-xr-x 1 root root 59K Jan 18 2018 chmod
-rwxr-xr-x 1 root root 67K Jan 18 2018 chown
-rwxr-xr-x 1 root root 11K Jan 22 2018 chvt
-rwxr-xr-x 1 root root 139K Jan 18 2018 cp
-rwxr-xr-x 1 root root 154K Dec 2 2017 cpio
-rwxr-xr-x 1 root root 119K Jan 24 2018 dash
-rwxr-xr-x 1 root root 99K Jan 18 2018 date
-rwxr-xr-x 1 root root 75K Jan 18 2018 dd
-rwxr-xr-x 1 root root 83K Jan 18 2018 df
-rwxr-xr-x 1 root root 131K Jan 18 2018 dir
-rwxr-xr-x 1 root root 71K May 16 03:41 dmesg
lrwxrwxrwx 1 root root 8 Sep 16 02:34 dnsdomainname -> hostname
lrwxrwxrwx 1 root root 8 Sep 16 02:34 domainname -> hostname
-rwxr-xr-x 1 root root 167K Jan 22 2018 dumpkeys
-rwxr-xr-x 1 root root 35K Jan 18 2018 echo
-rwxr-xr-x 1 root root 51K Apr 26 2016 ed
-rwxr-xr-x 1 root root 18K Apr 21 2017 efibootdump
-rwxr-xr-x 1 root root 40K Apr 21 2017 efibootmgr
-rwxr-xr-x 1 root root 28 Jul 12 2017 egrep
-rwxr-xr-x 1 root root 31K Jan 18 2018 false
-rwxr-xr-x 1 root root 11K Jan 22 2018 fgconsole
-rwxr-xr-x 1 root root 28 Jul 12 2017 fgrep
-rwxr-xr-x 1 root root 64K May 16 03:41 findmnt
-rwxr-xr-x 1 root root 36K Jun 15 2017 fuser
-rwsr-xr-x 1 root root 31K Aug 11 2016 fusermount
-rwxr-xr-x 1 root root 23K Apr 21 2017 getfacl
-rwxr-xr-x 1 root root 215K Jul 12 2017 grep
-rwxr-xr-x 1 root root 2.3K Apr 27 2017 gunzip
-rwxr-xr-x 1 root root 5.8K Apr 27 2017 gzexe
-rwxr-xr-x 1 root root 100K Apr 27 2017 gzip
-rwxr-xr-x 1 root root 193K Jun 22 02:27 hciconfig
-rwxr-xr-x 1 root root 19K Jan 31 2018 hostname
-rwxr-xr-x 1 root root 542K Feb 26 2018 ip
-rwxr-xr-x 1 root root 63K Jul 20 10:13 journalctl
-rwxr-xr-x 1 root root 11K Jan 22 2018 kbd_mode
-rwxr-xr-x 1 root root 27K May 14 05:01 kill
-rwxr-xr-x 1 root root 147K Jan 28 2018 kmod
-rwxr-xr-x 1 root root 167K Nov 30 2017 less
-rwxr-xr-x 1 root root 11K Nov 30 2017 lessecho
lrwxrwxrwx 1 root root 8 Sep 16 02:34 lessfile -> lesspipe
-rwxr-xr-x 1 root root 20K Nov 30 2017 lesskey
-rwxr-xr-x 1 root root 8.4K Nov 30 2017 lesspipe
-rwxr-xr-x 1 root root 67K Jan 18 2018 ln
-rwxr-xr-x 1 root root 207K Jan 22 2018 loadkeys
-rwxr-xr-x 1 root root 52K Jan 25 2018 login
-rwxr-xr-x 1 root root 51K Jul 20 10:13 loginctl
-rwxr-xr-x 1 root root 107K Nov 30 2017 lowntfs-3g
-rwxr-xr-x 1 root root 131K Jan 18 2018 ls
-rwxr-xr-x 1 root root 83K May 16 03:41 lsblk
lrwxrwxrwx 1 root root 4 Sep 16 02:34 lsmod -> kmod
-rwxr-xr-x 1 root root 467K Sep 16 03:09 make_ext4fs
-rwxr-xr-x 1 root root 79K Jan 18 2018 mkdir
-rwxr-xr-x 1 root root 67K Jan 18 2018 mknod
-rwxr-xr-x 1 root root 43K Jan 18 2018 mktemp
-rwxr--r-- 1 root root 123M Sep 16 03:11 modem.img
-rwxr-xr-x 1 root root 39K May 16 03:41 more
-rwsr-xr-x 1 root root 43K May 16 03:41 mount
-rwxr-xr-x 1 root root 15K May 16 03:41 mountpoint
lrwxrwxrwx 1 root root 20 Sep 16 02:34 mt -> /etc/alternatives/mt
-rwxr-xr-x 1 root root 79K Dec 2 2017 mt-gnu
-rwxr-xr-x 1 root root 135K Jan 18 2018 mv
-rwxr-xr-x 1 root root 241K Mar 6 2018 nano
lrwxrwxrwx 1 root root 20 Sep 16 02:34 nc -> /etc/alternatives/nc
-rwxr-xr-x 1 root root 35K May 14 05:24 nc.openbsd
lrwxrwxrwx 1 root root 24 Sep 16 02:34 netcat -> /etc/alternatives/netcat
-rwxr-xr-x 1 root root 43K Jul 20 10:13 networkctl
lrwxrwxrwx 1 root root 8 Sep 16 02:34 nisdomainname -> hostname
-rwsr-xr-x 1 root root 143K Nov 30 2017 ntfs-3g
-rwxr-xr-x 1 root root 11K Nov 30 2017 ntfs-3g.probe
-rwxr-xr-x 1 root root 27K Nov 30 2017 ntfscat
-rwxr-xr-x 1 root root 35K Nov 30 2017 ntfscluster
-rwxr-xr-x 1 root root 35K Nov 30 2017 ntfscmp
-rwxr-xr-x 1 root root 35K Nov 30 2017 ntfsfallocate
-rwxr-xr-x 1 root root 43K Nov 30 2017 ntfsfix
-rwxr-xr-x 1 root root 55K Nov 30 2017 ntfsinfo
-rwxr-xr-x 1 root root 32K Nov 30 2017 ntfsls
-rwxr-xr-x 1 root root 31K Nov 30 2017 ntfsmove
-rwxr-xr-x 1 root root 115K Nov 30 2017 ntfsrecover
-rwxr-xr-x 1 root root 87K Nov 30 2017 ntfssecaudit
-rwxr-xr-x 1 root root 39K Nov 30 2017 ntfstruncate
-rwxr-xr-x 1 root root 31K Nov 30 2017 ntfsusermap
-rwxr-xr-x 1 root root 47K Nov 30 2017 ntfswipe
lrwxrwxrwx 1 root root 6 Sep 16 02:34 open -> openvt
-rwxr-xr-x 1 root root 19K Jan 22 2018 openvt
lrwxrwxrwx 1 root root 14 Sep 16 02:34 pidof -> /sbin/killall5
-rwsr-xr-x 1 root root 63K Mar 9 2017 ping
lrwxrwxrwx 1 root root 4 Sep 16 02:34 ping4 -> ping
lrwxrwxrwx 1 root root 4 Sep 16 02:34 ping6 -> ping
-rwxr-xr-x 1 root root 38K Apr 12 17:07 plymouth
-rwxr-xr-x 1 root root 131K May 14 05:01 ps
-rwxr-xr-x 1 root root 35K Jan 18 2018 pwd
lrwxrwxrwx 1 root root 4 Sep 16 02:34 rbash -> bash
-rwxr-xr-x 1 root root 43K Jan 18 2018 readlink
-rwxr-xr-x 1 root root 89 Apr 26 2016 red
-rwxr-xr-x 1 root root 63K Jan 18 2018 rm
-rwxr-xr-x 1 root root 43K Jan 18 2018 rmdir
lrwxrwxrwx 1 root root 4 Sep 16 02:34 rnano -> nano
-rwxr-xr-x 1 root root 19K Dec 30 2017 run-parts
-rwxr-xr-x 1 root root 107K Jan 29 2018 sed
-rwxr-xr-x 1 root root 35K Apr 21 2017 setfacl
-rwxr-xr-x 1 root root 43K Jan 22 2018 setfont
-rwxr-xr-x 1 root root 39K Jul 24 13:46 setupcon
lrwxrwxrwx 1 root root 4 Sep 16 02:34 sh -> dash
lrwxrwxrwx 1 root root 4 Sep 16 02:34 sh.distrib -> dash
-rwxr-xr-x 1 root root 272K Sep 16 03:08 simg2img
-rwxr-xr-x 1 root root 35K Jan 18 2018 sleep
-rwxr-xr-x 1 root root 137K Feb 26 2018 ss
lrwxrwxrwx 1 root root 7 Sep 16 02:34 static-sh -> busybox
-rwxr-xr-x 1 root root 75K Jan 18 2018 stty
-rwsr-xr-x 1 root root 44K Jan 25 2018 su
-rwxr-xr-x 1 root root 35K Jan 18 2018 sync
drwxr-xr-x 2 root root 4.0K Sep 16 03:13 sys
-rwxr-xr-x 1 root root 179K Jul 20 10:13 systemctl
lrwxrwxrwx 1 root root 20 Sep 16 02:34 systemd -> /lib/systemd/systemd
-rwxr-xr-x 1 root root 11K Jul 20 10:13 systemd-ask-password
-rwxr-xr-x 1 root root 15K Jul 20 10:13 systemd-escape
-rwxr-xr-x 1 root root 83K Jul 20 10:13 systemd-hwdb
-rwxr-xr-x 1 root root 15K Jul 20 10:13 systemd-inhibit
-rwxr-xr-x 1 root root 19K Jul 20 10:13 systemd-machine-id-setup
-rwxr-xr-x 1 root root 15K Jul 20 10:13 systemd-notify
-rwxr-xr-x 1 root root 43K Jul 20 10:13 systemd-sysusers
-rwxr-xr-x 1 root root 63K Jul 20 10:13 systemd-tmpfiles
-rwxr-xr-x 1 root root 27K Jul 20 10:13 systemd-tty-ask-password-agent
-rwxr-xr-x 1 root root 414K Jul 21 2017 tar
-rwxr-xr-x 1 root root 9.9K Dec 30 2017 tempfile
-rwxr-xr-x 1 root root 87K Jan 18 2018 touch
-rwxr-xr-x 1 root root 31K Jan 18 2018 true
-rwxr-xr-x 1 root root 571K Jul 20 10:13 udevadm
-rwxr-xr-x 1 root root 14K Aug 11 2016 ulockmgr_server
-rwsr-xr-x 1 root root 27K May 16 03:41 umount
-rwxr-xr-x 1 root root 35K Jan 18 2018 uname
-rwxr-xr-x 1 root root 2.3K Apr 27 2017 uncompress
-rwxr-xr-x 1 root root 2.7K Jan 22 2018 unicode_start
-rwxr-xr-x 1 root root 131K Jan 18 2018 vdir
-rwxr-xr-x 1 root root 31K May 16 03:41 wdctl
-rwxr-xr-x 1 root root 946 Dec 30 2017 which
-rwxr-xr-x 1 root root 27K Jan 12 2018 whiptail
lrwxrwxrwx 1 root root 8 Sep 16 02:34 ypdomainname -> hostname
-rwxr-xr-x 1 root root 1.9K Apr 27 2017 zcat
-rwxr-xr-x 1 root root 1.8K Apr 27 2017 zcmp
-rwxr-xr-x 1 root root 5.7K Apr 27 2017 zdiff
-rwxr-xr-x 1 root root 140 Apr 27 2017 zegrep
-rwxr-xr-x 1 root root 140 Apr 27 2017 zfgrep
-rwxr-xr-x 1 root root 2.1K Apr 27 2017 zforce
-rwxr-xr-x 1 root root 5.8K Apr 27 2017 zgrep
-rwxr-xr-x 1 root root 2.0K Apr 27 2017 zless
-rwxr-xr-x 1 root root 1.9K Apr 27 2017 zmore
-rwxr-xr-x 1 root root 5.0K Apr 27 2017 znew
[email protected]:/bin$
bhant10 said:
getting this error ...
simg2img have executing permissions... but stillllllllllll
Click to expand...
Click to collapse
this is solved now and now getting .........
[email protected]:/bin$ ./simg2img system.img sys.raw
Cannot open output file sys.raw
this error
bhant10 said:
this is solved now and now getting .........
[email protected]:/bin$ ./simg2img system.img sys.raw
Cannot open output file sys.raw
this error
Click to expand...
Click to collapse
when running this command as root..
getting this error
sudo ./simg2img system.img sys.raw
Invalid sparse file format at header magi
Failed to read sparse file
Is there a way to extract the SpO2 tpk file from the Galaxy Watch 3 ? I have both watches GW3 and Active 2. I am planning to sideload the SpO2 on the Active 2. Thanks.
A
Blood Oxygen is NO Standalone TPK nor WGT...
It is inside the "magic" Samsung Health package:
Code:
com.samsung.shealth_gear
B
This crap is started as Widget... no idea how exactly it is enablde/disabled for France etc...
Maybe by Plugin APK crap...
C
Code:
tizen-manifest.xml
From Version 4.12.1200
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<manifest xmlns="http://tizen.org/ns/packages" api-version="5.5.0.1" package="com.samsung.shealth_gear" version="[B]4.12.1200[/B]">
<profile name="wearable"/>
<ui-application
At end of manifest....
Code:
</widget-class>
<[COLOR="Red"][B]widget-class classid[/B][/COLOR]="[COLOR="Red"]oxygensaturation[/COLOR]" max-instance="1" update-period="0">
<!-- DREAM_HEALTH_HEADER_BLOOD_OXYGEN -->
<label xml:lang="ar-ae">الأكسجين ÙÙŠ الدم</label>
<label xml:lang="ar-il">الأكسجين ÙÙŠ الدم</label>
<label xml:lang="as-in">তেজৰ অকà§à¦¸à¦¿à¦œà§‡à¦¨</label>
<label xml:lang="az-az">Qanda oksigen həcmi</label>
<label xml:lang="be-by">КіÑларод у крыві</label>
<label xml:lang="bg-bg">КиÑлород в кръвта</label>
<label xml:lang="bn-bd">রকà§à¦¤à§‡ অকà§à¦¸à¦¿à¦œà§‡à¦¨</label>
<label xml:lang="bn-in">রকà§à¦¤à§‡ অকà§à¦¸à¦¿à¦œà§‡à¦¨</label>
<label xml:lang="bo-cn">血氧</label>
<label xml:lang="bs-ba">Kisik u krvi</label>
<label xml:lang="ca-es">Oxigen en sang</label>
<label xml:lang="cs-cz">Hladina kyslÃ*ku v krvi</label>
<label xml:lang="da-dk">Iltmætning i blodet</label>
<label xml:lang="de-at">Blutsauerstoff</label>
<label xml:lang="de-ch">Blutsauerstoff</label>
<label xml:lang="de-de">Blutsauerstoff</label>
<label xml:lang="el-gr">Οξυγόνο αίματος</label>
<label xml:lang="en-au">Blood oxygen</label>
<label xml:lang="en-ca">Blood oxygen</label>
<label xml:lang="en-gb">Blood oxygen</label>
<label xml:lang="en-ie">Blood oxygen</label>
<label xml:lang="en-nz">Blood oxygen</label>
This leads to
D
Search in BTG6 GW3 Firmwares... leads to this inside rootfs.img instead csc.img...
Code:
usr/apps/com.samsung.w-home/bin/[B]w-home[/B]
Code:
oxygensaturation[B]@[/B]com.samsung.shealth.widget
E
I am at the moment only smart enough to call apps via Commands...
https://forum.xda-developers.com/showpost.php?p=83481485&postcount=2007
But no idea how this Widget crap...
Code:
F
No Firmwarefiles for Tizen 5.5 leaked to do stupid tests inside Firmware...
I mean no CTH8 nor CTI4 for SM-R820...
Maybe somebody have faster solution for testing... :angel:
Best Regards
Edit 1.
Nice Video:
https://www.youtube.com/watch?v=qyul_jA8kWI
Here we can see 2 ways of start...
A
By open Shealth TPK on Watch...
B
Widget crap....
Edit 2.
Sitting on WC... ehm I mean during hard work..
Got an idea...
Watch Face maybe could call such kind of Widget...
But first I have checked BTG6 Firmware from GW3 for text string:
Code:
com.samsung.shealth.widget
Found this script... so we are agin in SQLite database world...
Code:
#!/bin/bash
#
# RW Update Script for 3.0 -> 4.0
PATH=/bin:/usr/bin:/sbin:/usr/sbin
source /usr/share/upgrade/rw-update-macro.inc
get_version_info
#db
HOMEDB=/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db
if [ ! -e $HOMEDB ]; then
HOMEDB=/opt/usr/apps/com.samsung.w-home/data/.home.db
fi
if [ "$OLD_VER" = "unknown" ]; then
echo "upgrade home DB HOME DB:$HOMEDB"
/usr/bin/sqlite3 $HOMEDB "update home set id = 'com.samsung.app-shortcut-widget' where id='com.samsung.app-widget.widget';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.pedometer';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.hrlog';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.exercise';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.heartrate';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.intake';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.together';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.together.leaderboard';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.together.challenge';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.shealth.widget.floor';"
/usr/bin/sqlite3 $HOMEDB "update home set id = '[email protected]' where id = 'com.samsung.w-calendar2.widget.next-event';"
/usr/bin/sqlite3 $HOMEDB "update home set id = 'com.samsung.w-contacts2.widget.multiple' where id = 'com.samsung.w-contacts2.widget.single';"
/usr/bin/sqlite3 $HOMEDB "update home set id = 'com.samsung.w-magazine-widget-app' where id = 'org.tizen.magazine-widget';"
/usr/bin/com.samsung.app-widget-upgrade
fi
if [[ "$OLD_VER" = "3.0"* ]]; then
echo "upgrade home DB 3.0* to 4.0 HOME DB:$HOMEDB"
/usr/bin/sqlite3 $HOMEDB "delete from home where id = '[email protected]';"
fi
Will check if i can find Watch Face as template...
Maybe easier here to "spoof"...
Best Regards
Watch Face seems dead end too...
But paths from Shell script leads to this:
Code:
D:\SDB\SDB260>sdb pull /opt/usr/apps/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/apps/com.samsung.w-home/data/.home.db 106 KB/s (16384 bytes in 0.150s)
Code:
D:\SDB\SDB260>sdb pull /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db 123 KB/s (16384 bytes in 0.130s)
1:1 same file from both locations as it seems...
adfree said:
Watch Face seems dead end too...
But paths from Shell script leads to this:
Code:
D:\SDB\SDB260>sdb pull /opt/usr/apps/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/apps/com.samsung.w-home/data/.home.db 106 KB/s (16384 bytes in 0.150s)
Code:
D:\SDB\SDB260>sdb pull /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db
pulled .home.db 100% 16KB
1 file(s) pulled. 0 file(s) skipped.
/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/.home.db 123 KB/s (16384 bytes in 0.130s)
1:1 same file from both locations as it seems...
Click to expand...
Click to collapse
Looks like we are getting somewhere here. Any files you need for me to check from my Active 2 watch. ?
My setup is are as follows
Phone: Huawei Mate 20 Pro
Watch: Samsung Active 2
Active 2 Watch CSC is now KOO changed using Combination FW and Netodin
Originally it was on 4 0 0 .7 , changed to 4 0 0 .6 after Netodin CSC update
Installed bp.tpk and ecg.tpk via sdb.
then via Samsung OTA it became 4 0 0 .8 then another Samsung OTA came
and it is now 5.5.0. 1. Both Ecg and BP are working using Samsung Health Monitor 167
For better investigation... my SM-R760...
Code:
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 1 05:03 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
sh-3.2# cd /opt/usr/apps/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 1 05:03 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
sh-3.2# mkdir testme
sh-3.2# ls -a1l
total 128
drwxrwsr-x 4 owner system_share 4096 Oct 2 15:56 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
drwxrwsrwx 2 root system_share 4096 Oct 2 15:56 testme
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 128
drwxrwsr-x 4 owner system_share 4096 Oct 2 15:56 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
drwxrwsrwx 2 root system_share 4096 Oct 2 15:56 testme
A
Aha, seems only 1 folder...
So I need only 1 time play with file
Code:
.home.db
B
Code:
D:\SDB\SDB260>sdb pull /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/ .\ftd4\widget
pulled .widget_suggestion.db-journal 100% 16KB
pulled .home.db 100% 16KB
pulled .apps.db 100% 16KB
pulled .apps.db-journal 100% 12KB
pulled .home.db-journal 100% 12KB
pulled .widget_suggestion.db 100% 20KB
pulled 55157627a4c4b5a9bdfc405a197f194d84543b01 100% 44 B
pulled f657e4e15e35a0c1fa53c462020df9ebec5c19ce 100% 36 B
pulled 3cbacb5376e2dee294232c956838fc1954985ea5 100% 49 B
pulled ec6b88021747c602dffdafe2e809beb84d820488 100% 43 B
pulled 1e3463dc2080de6e30d6f7ee28b65fcdfa33d0d5 100% 49 B
pulled d6ea693302f3e6a1b8bb827892323e8ed76a4274 100% 42 B
12 file(s) pulled. 0 file(s) skipped.
/opt/usr/home/owner/apps_rw/com.samsung.w-home/data/ 126 KB/s (96087 bytes in 0.740s)
Maybe more clear what is inside db...
C
If I push with SDB then... hmmm... maybe this is why it fails... maybe...
Code:
sh-3.2# cd /opt/usr/home/owner/apps_rw/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 128
drwxrwsr-x 4 owner system_share 4096 Oct 2 16:13 .
drwxr-xr-x 5 owner users 4096 Apr 28 10:04 ..
-rw-r--r-- 1 owner system_share 16384 Oct 2 15:51 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 1 05:03 .apps.db-journal
[COLOR="Red"]-rwxr-xrwx[/COLOR] 1 root system_share 16384 Oct 2 02:14 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 2 15:51 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 1 05:04 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 2 15:51 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 1 05:03 .widget_suggestion.db-journal
drwxrwsrwx 2 root system_share 4096 Oct 2 15:56 testme
Pulled files via SDB from my SM-R820...
Not all possible but few... :good: :good:
Compared with BTG6 Firmware rootfs.img from GW3...
Code:
spo2 app is not enabled. [COLOR="Red"][B]skip[/B][/COLOR]
This is inside...
Code:
/usr/apps/com.samsung.w-manager-service/bin/[COLOR="Red"][B]w-manager-service[/B][/COLOR]
Best Regards
I have now rooted Tizen 5.5 for my SM-R820... CTH8...
Need to prepare few things and backup,,,
Then I will "simple" edit:
Code:
home_default_items.xml
in Default Folder of CSC Preconfig crap...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<data>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>0</screen>
<cellX>0</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>com.samsung.app-shortcut-widget</packagename>
<classname>com.samsung.app-shortcut-widget</classname>
<screen>1</screen>
<cellX>1</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>0</screen>
<cellX>1</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>0</screen>
<cellX>1</cellX>
<cellY>1</cellY>
</favorite>
<favorite>
<packagename>com.samsung.weather-widget</packagename>
<classname>com.samsung.weather-widget</classname>
<screen>1</screen>
<cellX>0</cellX>
<cellY>0</cellY>
</favorite>
<favorite>
<packagename>[email protected]</packagename>
<classname>[email protected]</classname>
<screen>2</screen>
<cellX>0</cellX>
<cellY>0</cellY>
</favorite>
</data>
Maybe I add or I replace...
Code:
[COLOR="Red"][B]oxygensaturation[/B][/COLOR]@com.samsung.shealth.widget
We will see if this is enough...
Best Regards
How did you root 5.5? I haven't been able to find any info on rooting these other than some old rooted firnwares
Code:
sdb root on
sdb shell mount -vo remount,rw /opt/system/csc/
sdb push SW_Configuration.xml /opt/system/csc/mps/CSC/
sdb push home_default_items.xml /opt/system/csc/preconfig/DEF/usr/homescreen/
First attempt...
Changed 1 Byte to prevent CTI4 FOTA...
@betterl8thannvr
Your Model Name is what?
Because I've play with my SM-R820...
Best Regards
@adfree ah, mine fails when I try sdb root on
>sdb root on
* The version of SDB client (2.3.0) is not same with that of SDB server (4.2.12).
It may cause version compatibility problems.
It is recommended to use SDB server with version 2.3.0. *
Permission denied
Any idea how to get around that?
Edit: I have SM-R825U
sdb root can be done once you connect with Tizen Studio right ?
First attempt not bring Blood Oxygen to me...
Second attempt...
Code:
D:\SDB\SDB260>sdb root on
Switched to 'root' account mode
D:\SDB\SDB260>sdb shell mount -vo remount,rw /opt/system/csc/
mount: /dev/mmcblk0p16 mounted on /opt/system/csc.
D:\SDB\SDB260>sdb shell mkdir /opt/system/csc/preconfig/DBT/usr/homescreen/
mkdir: cannot create directory `/opt/system/csc/preconfig/DBT/usr/homescreen/': No such file or directory
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/
sh-3.2# ls -a1l
total 8
drwxr-xr-x 4 root root 1024 Jun 16 16:10 .
drwxr-xr-x 71 root root 1024 Jun 16 16:10 ..
drwxr-xr-x 2 root root 1024 Jun 16 16:10 feature
drwxr-xr-x 2 root root 1024 Jun 16 16:10 preset
sh-3.2# mkdir usr
sh-3.2# cd usr
sh-3.2# mkdir homescreen
sh-3.2# exit
exit
D:\SDB\SDB260>sdb push home_default_items.xml /opt/system/csc/preconfig/DBT/usr/homescreen/
pushed home_default_items.xml 100% 1KB
1 file(s) pushed. 0 file(s) skipped.
home_default_items.xml 7 KB/s (1387 bytes in 0.180s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/usr/homescreen/
sh-3.2# ls -a1l
total 7
drwxrwxrwx 2 root root 1024 Oct 3 14:03 .
drwxrwxrwx 3 root root 1024 Oct 3 14:03 ..
-rwxr-xrwx 1 root root 1387 Oct 3 07:49 home_default_items.xml
sh-3.2# reboot
Rebooting.
@EQMOD
You need Root aka Super User aka su Binary inside Firmware... this is Linux stuff...
@betterl8thannvr
You are in similar situation like me...
No latest files leaked...
ATF2 is latest leaked Files for netOdin...
So much harder to get Root Access...
I have at the moment limited time to explain nor to make the files for you...
Maybe next days more time...
Best Regards
adfree said:
First attempt not bring Blood Oxygen to me...
Second attempt...
Code:
D:\SDB\SDB260>sdb root on
Switched to 'root' account mode
D:\SDB\SDB260>sdb shell mount -vo remount,rw /opt/system/csc/
mount: /dev/mmcblk0p16 mounted on /opt/system/csc.
D:\SDB\SDB260>sdb shell mkdir /opt/system/csc/preconfig/DBT/usr/homescreen/
mkdir: cannot create directory `/opt/system/csc/preconfig/DBT/usr/homescreen/': No such file or directory
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/
sh-3.2# ls -a1l
total 8
drwxr-xr-x 4 root root 1024 Jun 16 16:10 .
drwxr-xr-x 71 root root 1024 Jun 16 16:10 ..
drwxr-xr-x 2 root root 1024 Jun 16 16:10 feature
drwxr-xr-x 2 root root 1024 Jun 16 16:10 preset
sh-3.2# mkdir usr
sh-3.2# cd usr
sh-3.2# mkdir homescreen
sh-3.2# exit
exit
D:\SDB\SDB260>sdb push home_default_items.xml /opt/system/csc/preconfig/DBT/usr/homescreen/
pushed home_default_items.xml 100% 1KB
1 file(s) pushed. 0 file(s) skipped.
home_default_items.xml 7 KB/s (1387 bytes in 0.180s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/system/csc/preconfig/DBT/usr/homescreen/
sh-3.2# ls -a1l
total 7
drwxrwxrwx 2 root root 1024 Oct 3 14:03 .
drwxrwxrwx 3 root root 1024 Oct 3 14:03 ..
-rwxr-xrwx 1 root root 1387 Oct 3 07:49 home_default_items.xml
sh-3.2# reboot
Rebooting.
@EQMOD
You need Root aka Super User aka su Binary inside Firmware... this is Linux stuff...
@betterl8thannvr
You are in similar situation like me...
No latest files leaked...
ATF2 is latest leaked Files for netOdin...
So much harder to get Root Access...
I have at the moment limited time to explain nor to make the files for you...
Maybe next days more time...
Best Regards
Click to expand...
Click to collapse
What happened after reboot ?
thanks @adfree, I think I can figure out how to root on ATF2, but you said you had root on 5.5, so I am quite curious about how to do that without the leaked files.
I will keep poking at it.
Hmm, well, flashing back to ATF2 is being troublesome. It fails every time, so I now have a small, expensive brick.
<ID:0/001> 192.168.49.1
<ID:0/001> Odin engine v(ID:1.0000)..
<ID:0/001> File analysis..
<ID:0/001> SetupConnection..
<ID:0/001> Initialzation..
<ID:0/001> Set PIT file..
<ID:0/001> DO NOT TURN OFF TARGET!!
<ID:0/001> Get PIT for mapping..
<ID:0/001> Get PIT Transmission
<ID:0/001> Firmware update start..
<ID:0/001> SingleDownload.
<ID:0/001> cm.bin
<ID:0/001>
<ID:0/001> XmitData
<ID:0/001> Complete(Write) operation failed.
<ID:0/001> Removed!!
<OSM> All threads completed. (succeed 0 / failed 1)
Code:
XmitData
Is IMHO out of luck transfer Error...
I have fixed this by trying again...
@betterl8thannvr
Your GW2 still have working:
Code:
download wirelss
About ATF2 I can only remember I have uploaded "corrected" CSC, because invalid file inside...
Will check my HDD...
Best Regards
Tiny progress...
A
Seems I found my mistake...
SDB push change Permissions to file...
Code:
D:\SDB\SDB260>sdb push .home.db /opt/usr/apps/com.samsung.w-home/data/
pushed .home.db 100% 16KB
1 file(s) pushed. 0 file(s) skipped.
.home.db 84 KB/s (16384 bytes in 0.190s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/usr/apps/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rwxr-xrwx 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
sh-3.2# chmod 644 .home.db
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rw-r--r-- 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
So I have to correct it...
But this require ROOT...
Tested .home.db from GW3...
Blood Oxygen still blocked...
Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
So this means IMHO... I have to replace
Code:
com.samsung.w-home.home-service
https://forum.xda-developers.com/showpost.php?p=83626487&postcount=6
Best Regards
adfree said:
Tiny progress...
A
Seems I found my mistake...
SDB push change Permissions to file...
Code:
D:\SDB\SDB260>sdb push .home.db /opt/usr/apps/com.samsung.w-home/data/
pushed .home.db 100% 16KB
1 file(s) pushed. 0 file(s) skipped.
.home.db 84 KB/s (16384 bytes in 0.190s)
D:\SDB\SDB260>sdb shell
sh-3.2# cd /opt/usr/apps/com.samsung.w-home/data/
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rwxr-xrwx 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
sh-3.2# chmod 644 .home.db
sh-3.2# ls -a1l
total 124
drwxrwsr-x 3 owner system_share 4096 Oct 5 00:33 .
drwxr-xr-x 5 owner users 4096 Oct 3 14:10 ..
-rw-r--r-- 1 owner system_share 16384 Oct 3 14:53 .apps.db
-rw-r--r-- 1 owner system_share 12824 Oct 3 14:53 .apps.db-journal
-rw-r--r-- 1 root system_share 16384 Oct 3 21:27 .home.db
-rw-r--r-- 1 owner system_share 12824 Oct 5 00:04 .home.db-journal
drwxr-sr-x 2 owner system_share 4096 Oct 3 14:15 .pref
-rw-r--r-- 1 owner system_share 20480 Oct 3 14:15 .widget_suggestion.db
-rw-r--r-- 1 owner system_share 16928 Oct 3 14:15 .widget_suggestion.db-journal
So I have to correct it...
But this require ROOT...
Tested .home.db from GW3...
Blood Oxygen still blocked...
Hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm.
So this means IMHO... I have to replace
Code:
com.samsung.w-home.home-service
https://forum.xda-developers.com/showpost.php?p=83626487&postcount=6
Best Regards
Click to expand...
Click to collapse
Could you upload both binaries here. (GW3, GA2) and home.db Let me check both
@EQMOD
Soon I have rooted CTI4 uploaded for SM-R820...
Your Model Name is exactly what?
In your posts I see only GWA2...
Best Regards
adfree said:
@EQMOD
Soon I have rooted CTI4 uploaded for SM-R820...
Your Model Name is exactly what?
In your posts I see only GWA2...
Best Regards
Click to expand...
Click to collapse
its SM-R820