| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,700
» Latest member: runongw
» Forum threads: 16,260
» Forum posts: 117,188
Full Statistics
|
| Latest Threads |
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
Yesterday, 02:02 AM
» Replies: 8
» Views: 15,528
|
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 214
|
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: brorean
11-21-2025, 08:45 PM
» Replies: 1
» Views: 147
|
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 116
|
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 616
|
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 180
|
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 481
|
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,179
|
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 109
|
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 106
|
|
|
| UBPorts Battery Observation |
|
Posted by: appdev46 - 02-07-2020, 08:28 AM - Forum: UBPorts on PinePhone
- Replies (17)
|
 |
Has anyone noticed battery issues with UBPorts?
I received my PinePhone and tried out UBPorts. I did upgrade and update and played around a bit. The phone was charged to 100%. I locked the screen and went to bed. In the morning the battery was completely dead.
It appears the OS didn't go to sleep or something was running heavily enough to completely drain battery.
|
|
|
|
Pinebook Pro Build Script Issues |
|
Posted by: TDC_PBP - 02-07-2020, 08:06 AM - Forum: Linux on Pinebook Pro
- Replies (3)
|
 |
Has anyone been able to build a Kali Linux image with the build script? I have tried very hard on both the pinebook pro and another laptop to run it, and I have run into a few obstacles: first, when I run it on the PBP on Manjaro, the ./build-deps.sh script fails because the script uses apt-get. Then, when I switched to Ubuntu Mate, I discovered that the PBP's cross-compiler does not seem to be compatible with arm (apt-get can't find the package). Finally, I switched to another (intel cpu) laptop running elementary os, installed the compiler, and ran the ./build-deps.sh script without issues. But when I tried to run:
Code: ./chromebook-arm-exynos.sh 2019.2
I ran into the error:
Code: Missing cross compiler. Set up PATH according to the README
I am becoming more and more knowledgeable about linux all the time, but this is starting to get over my head! Any help would be much appreciated .
|
|
|
|
| Maskrom recovery mode/Recovering from broken SPI flashes ***IMPORTANT*** |
|
Posted by: as400 - 02-07-2020, 06:48 AM - Forum: Pinebook Pro Tutorials
- No Replies
|
 |
If you accidentally soft brick your PBP there is special mode implemented called maskrom mode. In this mode the device is accessible as regular USB device and can be accessed using rkdevelop tools. Especially to rewrite SPI flash or to erase it.
According to Rockchip documentation it should be accessible following below procedure:
1. Press and hold recovery button.
2. Short press reset.
3. Release recovery button after about 3 seconds.
Unfortunately it is not always the case. I had a clear SPI from factory and had to do this procedure trillion times to eventually get into maskrom mode. There is another person who had the same problems.
The nature of this problem is not clear. There are two suspicions:
- the button is not working correctly or is just prone to failures.
- the problem occurs only when the SPI was previously flashed.
One way or the other the button works shorting two pins in an SPI device. But in some cases it just does nothing. So if you experience such problem there is a way to overcome it. You can short the two pins by yourself.
Procedure:
1. Unscrew bottom cover.
2. Remove the metal shield surrounding main CPU - it is held in place by a tape and micro clamps on pcb.
3. Disconnect all (!!!) boot devices (emmc, sdcard, usb).
4. Locate SPI flash (number 29 on picture).
PBPL_S.jpg (Size: 442.41 KB / Downloads: 7454)
5. Connect pbp with USB-C - USB-A cable to another computer (pbp on USB-C side).
6. Turn on pbp, short pins CLK and VSS and press reset. It should get your pbp into maskrom mode.
spi.png (Size: 1.84 KB / Downloads: 1100)
On another computer:
1. Compile rkdeveloptools --> https://github.com/rockchip-linux/rkdeveloptool
2. Create a file filled with zeros:
Code: dd if=/dev/zero of=zerospi bs=1M count=16
3. Then flash this file to SPI using rkdeveloptool:
Code:
Code: rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin
rkdeveloptool wl 0 zerospi
rkdeveloptool td
rkdeveloptool rd
|
|
|
|
| Sharing photos - please be mindful of modem numbers |
|
Posted by: Luke - 02-07-2020, 04:31 AM - Forum: General Discussion on PinePhone
- No Replies
|
 |
We're pleased that you guys are excited and sharing pictures of your phone. However, it is advisable to keep the caseback ON when sharing photographs of the phone, since a number of potentially sensitive numbers (notably IMEI) are etched on the metal cover of the modem.
If you are keen to show others the internals of the phone, then feel free to share this image. It looks identical to the inside of your phone.
If you already shared pictures with the cover off, don't worry about it; consider this a precautions post.
|
|
|
|
| Lock screen problem? |
|
Posted by: undo - 02-07-2020, 04:24 AM - Forum: SailfishOS on PinePhone
- Replies (5)
|
 |
Hey, having a bit of an issue. I got Sailfish installed and up to a point where the screen is locked and there are arrows pointing out from the sides implying I should swipe. But nothing happens with swipe sideways. The swipe up and down works as expected. Anyone know what's going on?
|
|
|
|
| Did you have to pay import tax and how much was it? |
|
Posted by: Luke - 02-07-2020, 04:16 AM - Forum: General Discussion on PinePhone
- Replies (117)
|
 |
Thank you all for getting a PinePhone BH. With the release of this early adopters version of the PinePhone we've also taken the opportunity to try out a new shipping method. There are a a number of upsides and drawbacks to this shipping method - which I've listed in the January community update - but shipping cost is probably the most notable positive.
So, then, I (and likely other end-users) would like to find out how many of you were asked to pay import tax on your PinePhone? In the comments feel free to include other relevant info such as country, amount paid, etc.
Thanks
|
|
|
|
| Sailfish install problem. |
|
Posted by: pjsf - 02-06-2020, 10:56 PM - Forum: SailfishOS on PinePhone
- Replies (15)
|
 |
Sailfish is one of the oses i'd like to try out, but it's also the only one I can't get to boot properly.
The flash-it script reported success, the device starts to boot, the sailfish logo appears then it goes to a blank screen and the led comes on. looks kind of pink. I've left it in this state for several minutes but no change.
All other images I've tried have worked fine on the phone, including using the same sd card. any clues? what am I missing?
Edit: That's a bit scary, nothing else would boot on the pinephone until I did a reset (long hold vol down plus power). back to normal now but something's really wrong with sailfish.
|
|
|
|
Flash dhivael's SPI uboot (risky) |
|
Posted by: clover - 02-06-2020, 10:42 PM - Forum: Pinebook Pro Tutorials
- Replies (51)
|
 |
Warning: As far as I am aware, so far, this flash process has had about a 16% failure rate. It is difficult to restore your machine with a bad SPI flash. Please proceed at your own risk, and probably best not to try at all if you don't have experience or the time it takes to recover your machine.
Necessary Items:
- a screwdriver
- USB Type-A to USB-C cable
- Another Computer with a USB-A 3.0 port (I used a Macbook Pro with a type-c dongle, if you use something else, idk.)
Not a requirement but if you want to boot from nvme you need:
- bootable NVME (i.e., with /boot/boot.txt having root=/dev/whatever_your_nvme_is plus some operating system. I use Manjaro. if you are unsure how to do this or want to sync your emmc with your nvme before hand, as400 has a great guide) preferably an intel 660p since it is what I have.
Build and install rkdeveloptool on your other computer, find out all the info to do that on their Github.
sanity test that you have installed it correctly
Code: rkdeveloptool --version
should output: rkdeveloptool ver 1.3
On this other computer, make a directory to hold all of your files in.
You will need to have two files in this directory get them from: SPI_Flash
- the db flash helper(https://www.ironrobin.net/clover/droppy/$/i1mNQ). This prepares the SPI for a binary, in this case, u-boot.
- the uboot binary (https://www.ironrobin.net/clover/droppy/$/H3yzt), built from dhivael's version of u-boot.
Note: This uboot binary was built for SPI environment only. It will not work if you try putting it on your eMMC. It also probably will not work when trying to boot a kernel that is not mainline.
Code: mv rk3399_loader_spinor_v1.15.114.bin ~/PBPBoot
mv dhiv_SPI_uboot.bin ~/PBPBoot
cd ~/PBPBoot
Now that is all set up, we need to get our Pinebook Pro into maskrom mode.
Plug the Type-A end into your non-Pinebook Pro device. Plug the Type-C end into your Pinebook Pro.
Remove all bootable devices from your pinebook pro.
Extra steps to clear SPI
(Only necessary if you have flashed your SPI before, skip to end if you have never flashed anything to your SPI. If you are not sure and want to make sure it is empty, feel free to follow these steps.)
- on other computer:
Code: fallocate -l 16M zerospi
dd if=/dev/zero of=zerospi bs=1M count=16
- Plug your usb-a end into your other computer and usb-c end into your pinebook pro
- On pinebook, get into maksrom mode. If you can't maskrom easily because SPI is bootable (only should be the case if you have flashed uboot or some other boot software to your SPI already) follow as400's guide
- Verify you are in maskrom. On other computer:
look for maksrom output (e.g., DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=1401 Maskrom)
- flash zerospi
Code: rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin
rkdeveloptool wl 0 zerospi
rkdeveloptool td
rkdeveloptool rd
(thanks as400 for this part)
Back to the regular tutorial...
Reboot your computer, it will look like nothing is happening, no LEDs or anything.
to verify you are in maskrom mode, with your computers connected
you should get an output like this
DevNo=1 Vid=0x2207,Pid=0x330c,LocationID=1401 Maskrom
if that is looking good, lets move forward. if you get something like no devices found, either your pinebook is off or you have some bootable device still in your pinebook, or your cable is bad, or your computer doesn't put enough power through its usb. (tried this with two pinebooks and it didn't work)
Now we will flash the flash helper db file.
Code: rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin
if that works you will get output
Downloading bootloader succeeded.
Now for the exciting part
time to flash the new uboot to your SPI
Code: rkdeveloptool wl 0 dhiv_SPI_uboot.bin
your output should end up being
Write LBA from file (100%)
good work, now you can run a test to make sure it's healthy.
hopefully you get Reset Device OK.
Now run
which essentially reboots your pinebook pro.
You should see the red dot almost immediately. if you do see it, congrats! you now have an upstream SPI uboot (don't need to have uboot on emmc anymore. its very cool.)
boot order:
sd -> nvme -> usb -> emmc
|
|
|
|
|