Gear 2 Rom Firmware extracted - Samsung Gear 2 Neo

I have extracted the Gear 2 firmware to a zip so people can look at the structure and possibly start modding the device. Its extracted from the newest rom available on Sammobile. If you have any questions let me know.
htt p://bit.ly/1m4mj5m

Velrix said:
I have extracted the Gear 2 firmware to a zip so people can look at the structure and possibly start modding the device. Its extracted from the newest rom available on Sammobile. If you have any questions let me know.
htt p://bit.ly/1m4mj5m
Click to expand...
Click to collapse
Updates..
I am trying to backup the current partitions to see the kernel/recovery and not getting far. Has anyone else been working on this?
sh-3.2$ cat /proc/partitions
major minor #blocks name
7 0 19732 loop0
179 0 3817472 mmcblk0
179 1 4096 mmcblk0p1
179 2 4096 mmcblk0p2
179 3 8192 mmcblk0p3
179 4 8192 mmcblk0p4
179 5 8192 mmcblk0p5
179 6 8192 mmcblk0p6
179 7 8192 mmcblk0p7
259 0 8192 mmcblk0p8
259 1 16384 mmcblk0p9
259 2 12288 mmcblk0p10
259 3 8192 mmcblk0p11
259 4 65536 mmcblk0p12
259 5 131072 mmcblk0p13
259 6 2996224 mmcblk0p14
259 7 524288 mmcblk0p15
179 16 4096 mmcblk0boot1
179 8 4096 mmcblk0boot0
179:0 179:3 179:7 1:10 1:14 1:4 1:8 259:2 259:6 7:2 7:6
179:1 179:4 179:8 1:11 1:15 1:5 1:9 259:3 259:7 7:3 7:7
179:16 179:5 1:0 1:12 1:2 1:6 259:0 259:4 7:0 7:4
179:2 179:6 1:1 1:13 1:3 1:7 259:1 259:5 7:1 7:5
Current information I can receive from the watch.
If I try to make a backup obviously it fails with the following message..
D:\tizen-wearable-sdk\tools>sdb shell
sh-3.2$ chmod 755 /tmp/rkdump
sh-3.2$ /tmp/rkdump /dev/mmcblk0boot0 /tmp/update.img
/tmp/rkdump: /dev/mmcblk0boot0: Permission denied
sh-3.2$ /tmp/rkdump /dev/mmcblk0p1 /tmp/update.img
/tmp/rkdump: /dev/mmcblk0p1: Permission denied
sh-3.2$ /tmp/rkdump /dev/mmcblk0p2 /tmp/update.img
/tmp/rkdump: /dev/mmcblk0p2: Permission denied

Related

[Q] Where is the boot partition in Optimus Black?

I wanted to extract boot.img from an existing rom, following this wiki:
http://android-dls.com/wiki/index.p..._Images#Structure_of_boot_and_recovery_images
But it seems that on Stock Rom (actually I'm using Zeus rom, based on stock) there is no /proc/mtd that would tell me where to find the "boot" partition. I think it should be one of these:
179 0 1912832 mmcblk0
179 1 128 mmcblk0p1
179 2 512 mmcblk0p2
179 3 6144 mmcblk0p3
179 4 6144 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 2048 mmcblk0p6
179 7 8192 mmcblk0p7
179 8 660480 mmcblk0p8
179 9 1161088 mmcblk0p9
179 10 65536 mmcblk0p10
179 11 128 mmcblk0p11
179 12 128 mmcblk0p12
179 16 15637504 mmcblk1
179 17 15633408 mmcblk1p1
Do anyone know where the boot partition is hiding? Or have an idea on how to find where it is?
Here are some of the partitions:
Code:
loop0 =
/dev/block/mmcblk0 =
/dev/block/mmcblk0p1 =
/dev/block/mmcblk0p2 =
/dev/block/mmcblk0p3 = /boot
/dev/block/mmcblk0p4 = /recovery
/dev/block/mmcblk0p5 = /lgdrm
/dev/block/mmcblk0p6 = /dvp/userdata
/dev/block/mmcblk0p7 =
/dev/block/mmcblk0p8 = /system
/dev/block/mmcblk0p9 = /data
/dev/block/mmcblk0p10 = /cache
/dev/block/mmcblk0p11 =
/dev/block/mmcblk0p12 =
/dev/block/mmcblk1 =
/dev/block/mmcblk1p1 = /sdcard
dm-0 =

Format SD Card? How?

Hey,
i booted CM9 on my tablet. now it says "SD Card damaged". If i format it via CM9, it still says "SD CARD damaged..."...
Even CWM says that there was an error mounting SD Card when i want to mount it!
But i need it want to install CM10 on my touchpad...
i can access via adb, cat says:
~ # cat /proc/partitions
cat /proc/partitions
major minor #blocks name
179 0 31160320 mmcblk0
179 1 102400 mmcblk0p1
179 2 500 mmcblk0p2
179 3 1500 mmcblk0p3
179 4 1 mmcblk0p4
179 5 500 mmcblk0p5
179 6 750 mmcblk0p6
179 7 2500 mmcblk0p7
179 8 10240 mmcblk0p8
179 9 1500 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 4096 mmcblk0p12
179 13 32768 mmcblk0p13
179 14 30504960 mmcblk0p14
254 0 581632 dm-0
254 1 65536 dm-1
254 2 16384 dm-2
254 3 24576 dm-3
254 4 262144 dm-4
254 5 139264 dm-5
254 6 26877952 dm-6
254 7 409600 dm-7
254 8 311296 dm-8
254 9 204800 dm-9
254 10 1572864 dm-10
~ #
How to format/mount the sd card via adb that it works with CM9 so that i can copy files on it for flashing?
Thanks!
You should be able to format it from CWM or TWRP recovery. If that doesn't work you could always run ACMEUninstaller which will reset all Android partitions and you'll have to reinstall using ACMEInstaller.
When you re-install, use acmeinstaller 3.
Edit : on rereading your post, you might have to use this : http://forum.xda-developers.com/showthread.php?t=1426244
If you're having trouble with novaterm, on page 12 of the thread there's a good work around for that.
I know doctoring is a PITA, but you can update from 3.0.0 to 3.0.5 (in webOs) OTA.
Just do not do it through windows
Sent from my SAMSUNG-SGH-T989 using xda premium
chicle_11 said:
When you re-install, use acmeinstaller 3.
Edit : on rereading your post, you might have to use this : http://forum.xda-developers.com/showthread.php?t=1426244
If you're having trouble with novaterm, on page 12 of the thread there's a good work around for that.
I know doctoring is a PITA, but you can update from 3.0.0 to 3.0.5 (in webOs) OTA.
Click to expand...
Click to collapse
Worked for me thanks! =)

[Q] Partitions

Anyone can help to complete this table? I want to know all the partitions. This is what I get:
dev/block: (ext4)
Code:
major minor #blocks Name Description
179 0 7634944 mmcblk0 (Internal NAND)
179 1 16384 mmcblk0p1 /mnt/.lfs
179 2 16384 mmcblk0p2 /modemfs
179 3 626688 mmcblk0p3 /system
179 4 313344 mmcblk0p4 /cache
179 5 2097152 mmcblk0p5 /data
179 6 1536 mmcblk0p6 ?????
179 7 10240 mmcblk0p7 /efs
179 8 4106240 mmcblk0p8 /storage/sdcard0 (?)
179 9 327680 mmcblk0p9 /preload
179 10 1024 mmcblk0p10 ?????
179 11 51200 mmcblk0p11 ?????
179 12 2048 mmcblk0p12 ?????
179 13 16384 mmcblk0p13 ?????
179 14 2048 mmcblk0p14 ?????
179 15 16384 mmcblk0p15 kernel + recovery (?)
179 16 2048 mmcblk0p16 ?????
179 17 16384 mmcblk0p17 kernel2 + recovery (?)
179 64 2048 mmcblk0boot1 ?????
179 32 2048 mmcblk0boot0 ?????
179 96 994816 mmcblk1 (External SD)
179 97 993792 mmcblk1p1 /storage/extSdCard

File request aboot

I have an LG Motion and I would like a copy of your aboot file to try to see if I can get the bootloader unlocked while it's flashed on the motion.
adb shell
su
dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/sdcard/aboot.img
and send that file to me please
Thanks in advaced.
Screw LG's locked bootloaders!!!
Also this may be in the wrong place. If it belongs in development, I'm sorry.
dev/block/platform/msm_sdcc.1/by-name/aboot: cannot open for read: No such file
or directory
reas0n said:
dev/block/platform/msm_sdcc.1/by-name/aboot: cannot open for read: No such file
or directory
Click to expand...
Click to collapse
tegra platform...and we have no partition named aboot
i have x-loader.img and u-boot.img. here:
https://www.box.com/s/a6pyad63qwauos7zdw2b
Tim_Pan said:
tegra platform...and we have no partition named aboot
Click to expand...
Click to collapse
Hmmmm, you think it will still work?
Edit: what are the blocks and names of your partitions?
Sent from my LG-MS770
[email protected]:/ # cat proc/partitions
major minor #blocks name
179 0 15267840 mmcblk0
179 1 10240 mmcblk0p1
179 2 10240 mmcblk0p2
179 3 1572864 mmcblk0p3
179 4 393216 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 81920 mmcblk0p6
179 7 2048 mmcblk0p7
179 8 13062144 mmcblk0p8
179 9 16384 mmcblk0p9
179 10 16384 mmcblk0p10
179 11 20480 mmcblk0p11
179 12 16384 mmcblk0p12
179 13 47104 mmcblk0p13
179 32 2048 mmcblk0boot1
179 16 2048 mmcblk0boot0
179 48 15645696 mmcblk1
179 49 15644672 mmcblk1p1
Code:
ls -l /dev/block/platform/sdhci-tegra.3/by-name
lrwxrwxrwx root root 2013-03-10 23:24 APP -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2013-03-10 23:24 CAC -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2013-03-10 23:24 CAL -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2013-03-10 23:24 DRM -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2013-03-10 23:24 FOT -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2013-03-10 23:24 LNX -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2013-03-10 23:24 MLT -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2013-03-10 23:24 MSC -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2013-03-10 23:24 NVA -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2013-03-10 23:24 SOS -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2013-03-10 23:24 UDA -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2013-03-10 23:24 UDB -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2013-03-10 23:24 USP -> /dev/block/mmcblk0p6
reas0n said:
[email protected]:/ # cat proc/partitions
major minor #blocks name
179 0 15267840 mmcblk0
179 1 10240 mmcblk0p1
179 2 10240 mmcblk0p2
179 3 1572864 mmcblk0p3
179 4 393216 mmcblk0p4
179 5 2048 mmcblk0p5
179 6 81920 mmcblk0p6
179 7 2048 mmcblk0p7
179 8 13062144 mmcblk0p8
179 9 16384 mmcblk0p9
179 10 16384 mmcblk0p10
179 11 20480 mmcblk0p11
179 12 16384 mmcblk0p12
179 13 47104 mmcblk0p13
179 32 2048 mmcblk0boot1
179 16 2048 mmcblk0boot0
179 48 15645696 mmcblk1
179 49 15644672 mmcblk1p1
Click to expand...
Click to collapse
No name of partitions?
Guess I'll have to figure out which partition is which on my own
I figure if your bootloader even does boot, I gotta make sure the partitions are still the same, and if not the same, flash things to the correct partitions according to your bootloader.
Sent from my LG-MS770
Can't flash the file given....our bootloader is 512KBs...yours is 10MBs............
sammyz said:
Can't flash the file given....our bootloader is 512KBs...yours is 10MBs............
Click to expand...
Click to collapse
i dont know if u still need, but download .tot or kdz for your phone and use lg binextractor(is not from lg,search google)extract the tot or kdz and get the aboot.i only have the nexus 4 and l5 so i cant help u much.
Our bootloader cannot be dumped from partitions. It's built into a lower level on the device. The two devices are in no way similar. Ours has a Tegra 3 chipset, yours is MSM.
If you really want to take a look at our bootloader, you can find a dump somewhere in the development section. But even if you find it and it fits for your device, DO NOT flash it by any means!!! It's one of the worst ideas one can come up with. You can very easily brick your device.
reas0n said:
i have x-loader.img and u-boot.img. here:
https://www.box.com/s/a6pyad63qwauos7zdw2b
Click to expand...
Click to collapse
Where did you get these from? It's not for the O4X.
Sent from my OmniROM-powered LG Optimus 4X HD

Does the Nokia 8 use the A/B partition scheme (Seamless Updates) like Pixel?

HMD has been making a lot of noise about how "stock" their Nokia 8 is.
Does it use the A/B partition scheme (seamless updates) such as Pixel phones?
yes. afaik, all native 7.0 devices have to use it.
i left out the rest of partitioninfo:
NB1:/ $ cat /proc/partitions
major minor #blocks name
179 0 125026304 mmcblk0
179 1 125025280 mmcblk0p1
those are the biggest partitions containing both systems.
here is the full partitioninfo:
Code:
NB1:/ $ cat /proc/partitions
major minor #blocks name
1 0 8192 ram0
1 1 8192 ram1
1 2 8192 ram2
1 3 8192 ram3
1 4 8192 ram4
1 5 8192 ram5
1 6 8192 ram6
1 7 8192 ram7
1 8 8192 ram8
1 9 8192 ram9
1 10 8192 ram10
1 11 8192 ram11
1 12 8192 ram12
1 13 8192 ram13
1 14 8192 ram14
1 15 8192 ram15
253 0 524288 zram0
8 0 62193664 sda
8 1 40960 sda1
8 2 8192 sda2
8 3 256 sda3
8 4 16384 sda4
8 5 112640 sda5
8 6 65536 sda6
8 7 3670016 sda7
8 8 40960 sda8
8 9 8192 sda9
8 10 256 sda10
8 11 16384 sda11
8 12 112640 sda12
8 13 65536 sda13
8 14 3670016 sda14
8 15 8 sda15
259 0 32768 sda16
259 1 1024 sda17
259 2 512 sda18
259 3 512 sda19
259 4 8192 sda20
259 5 1024 sda21
259 6 4 sda22
259 7 65536 sda23
259 8 36864 sda24
259 9 16384 sda25
259 10 54202712 sda26
8 32 4096 sdc
8 33 3940 sdc1
8 16 4096 sdb
8 17 3940 sdb1
8 48 49152 sdd
8 49 4 sdd1
8 50 48992 sdd2
8 64 204800 sde
8 65 512 sde1
8 66 2048 sde2
8 67 512 sde3
8 68 512 sde4
8 69 1024 sde5
8 70 4096 sde6
8 71 32768 sde7
8 72 1024 sde8
8 73 512 sde9
8 74 512 sde10
8 75 512 sde11
8 76 128 sde12
8 77 36864 sde13
8 78 512 sde14
8 79 2048 sde15
259 11 512 sde16
259 12 512 sde17
259 13 1024 sde18
259 14 4096 sde19
259 15 32768 sde20
259 16 1024 sde21
259 17 512 sde22
259 18 512 sde23
259 19 512 sde24
259 20 128 sde25
259 21 36864 sde26
259 22 16 sde27
259 23 4 sde28
259 24 1024 sde29
259 25 256 sde30
259 26 256 sde31
259 27 4 sde32
259 28 4 sde33
259 29 1024 sde34
259 30 8192 sde35
259 31 2048 sde36
259 32 29768 sde37
8 80 32768 sdf
8 81 2048 sdf1
8 82 2048 sdf2
8 83 2044 sdf3
8 84 1024 sdf4
8 85 8192 sdf5
8 86 2048 sdf6
8 87 2048 sdf7
8 88 4096 sdf8
8 89 4096 sdf9
8 90 2048 sdf10
8 91 896 sdf11
179 0 125026304 mmcblk0
179 1 125025280 mmcblk0p1
252 0 3612732 dm-0
7 8 14512 loop8
Really? I'm not sure that's true. The only phones I know that use the A/B partition system are the Pixel and the new Xiaomi Android One phones. The likes of Galaxy S8 and LG G6 which all launched with Nougat do not have this.
Well... Nokia 8 does all the update work before reboot. The reboot after an update seems to boot just like a normal one. That would also be a indication of 2 partitions.
Sent from my TA-1004 using Tapatalk
swejuggalo said:
Well... Nokia 8 does all the update work before reboot. The reboot after an update seems to boot just like a normal one. That would also be a indication of 2 partitions.
Click to expand...
Click to collapse
I can second this. Had an OTA update yesterday and thought it had failed at first because I was expecting the restart to take longer and have cog-belly Android on the screen for a while
matthewsteeples said:
I can second this. Had an OTA update yesterday and thought it had failed at first because I was expecting the restart to take longer and have cog-belly Android on the screen for a while
Click to expand...
Click to collapse
Did you notice what the update was for? Size? Etc?
superleeds27 said:
Did you notice what the update was for? Size? Etc?
Click to expand...
Click to collapse
300 and something mb I think. Was the September security update
matthewsteeples said:
300 and something mb I think. Was the September security update
Click to expand...
Click to collapse
Wonder if it contained more than just that. Seems quite large for a security update!
superleeds27 said:
Wonder if it contained more than just that. Seems quite large for a security update!
Click to expand...
Click to collapse
Something else was in it too, Netflix now works, earlier it did only show on half a screen...

Categories

Resources