Android: Difference between revisions
Jump to navigation
Jump to search
NickPGSmith (talk | contribs) |
NickPGSmith (talk | contribs) |
||
Line 70: | Line 70: | ||
* Download from [https://samfw.com/ Sam FW] based on model number (G973F) | * Download from [https://samfw.com/ Sam FW] based on model number (G973F) | ||
* Install [https://developer.samsung.com/android-usb-driver Samsung USB driver] | * Install [https://developer.samsung.com/android-usb-driver Samsung USB driver] | ||
* Use Odin3 to extracted load files (AP, BL, CP, CSC) | * Use [https://odin3download.com/ Odin3] to extracted load files (AP, BL, CP, CSC) | ||
== Google/Asus Nexus 7 (flo) == | == Google/Asus Nexus 7 (flo) == |
Revision as of 06:48, 23 October 2023
Overview and links
- Fastboot - part of ADK that allows you to interact with partitions with no ROM installed
- Windows Drivers
- or see here
- Nexus Root Toolkit
- ADK - Android Open Accessory Development Kit (part of SDK)
- ADB - Android Debug Bridge (part of SDK)
- TWRP (Team Win Recovery Project) to flash recovery partition
- SON/SOFF - security feature that stops any partition other than /data and /cache being written to. Custom ROM: writes to /boot and /system, possibly requires /data and /cache to be cleared.
- Open GApps - pico for minimal Google Play install
- Mounts2SD - allows internal partitions to be redirected to SD card storage
- Magisk Manager
- Enter Developer Mode: 7 clicks on build number
fastboot
- Enter fastboot mode on phone (eg power and down buttons)
Check device is visible:
fastboot devices
Unlock device:
fastboot oem unlock
Boot into recovery without flashing:
fastboot boot twrp-flo.img
Flash recovery:
fastboot flash recovery twrp-flo.img
Reboot:
fastboot reboot
Reboot into bootloader:
fastboot reboot bootloader
Wipe user data:
fastboot -w
ADB
To get a shell prompt:
adb shell
Some useful things:
adb reboot adb reboot recovery adb push c:\somerom.\zip /data adb pull /storage/sdcard0/DCIM/Camera/somepic.jpg c:\ adb logcat
Set default install location to SD Card (0 -> internal)
adb pm set-install-location 2
Format ext
mke2fs /dev/block/mmcblk0p2
In recovery mode, mount SD card then:
adb push c:\somerom.zip /sdcard/somerom.zip
Google/Asus Nexus 7 (flo)
Unlock/Lock bootoader:
- Hold down VolDown + Bixby while plugging in USB
Stock firmware:
- Download from Sam FW based on model number (G973F)
- Install Samsung USB driver
- Use Odin3 to extracted load files (AP, BL, CP, CSC)
Google/Asus Nexus 7 (flo)
- Use Nexus Root Toolkit to root device and install custom bootloader
- Root/unlock device
- Flash recovery: TWRP or Lineage Recovery
- Re-partition
- Later Lineage OS (15+) need a larger system partition for OS and GApps
- Can steal some space from cache partition to increase system from 827 MB to > 1 GB
- Use syspart.zip from here (Further info on partitions)
- XDA Developer page
- Custom ROMs:
- Official Lineage OS 18.1 (11)
- Install OpenGApps at same time as ROM, before reboot
Current Configuration
- TWRP 3.3.1
- ROM: LineageOS 17.1 20200501
Custom ROM Checks
Netflix can't be accessed from Play Store on unlocked device
- APKfrom APK Mirror
- Put in /Download
- install via APKMirror app from Play Store