UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. kwah
    3. Best
    Offline
    • Profile
    • Following 1
    • Followers 1
    • Topics 4
    • Posts 27
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Howto rebuild UBports image for specific device from sources?

      @dobey said in Howto rebuild UBports image for specific device from sources?:

      So, the rootfs is not specific to a device. Pretty much everything that can be built via crossbuilder is part of the rootfs, which you do not need to rebuild for your device. The linked "systemdev" documentation is about developing components at this level (services that run inside ubuntu, unity8 shell, system-settings, etc…).

      Well, what I am looking for is description of steps that one needs to do, if he would like to try fix something in e.g. system-settings.

      If what you want to build is a port for your device, the best place to start is https://docs.halium.org and the porting guide. They describe how to build the device-specific parts.

      I want to understand, full development -> build -> deployment -> test cycle for supported device I have.

      posted in Porting
      kwahK
      kwah
    • RE: Torch not working on Fairphone 2 with UT 16.04 Stable.

      Known issue: https://github.com/ubports/ubuntu-touch/issues/448

      posted in Support
      kwahK
      kwah
    • RE: OTA-6 Call for Testing

      @advocatux Thanks for the tip. Reinstalled 16.04 / stable. Got switcher back... Will try rc 😉

      posted in OS
      kwahK
      kwah
    • RE: bq Aquaris 4.5 Ubuntu Touch (vivid/ubuntu 15.04) is not upgrading.

      @root-ruud said in bq Aquaris 4.5 Ubuntu Touch (vivid/ubuntu 15.04) is not upgrading.:

      1
      I need two SIMs, only bottom slot is working at present, but it worked under the canonical version.
      This is my daily phone and my work phone, I can not miss any calls. This is a deal-breaker.

      Well, works for me. I use 2x SIMs on bq 4.5 / 16.04 - rc. Probably you need to file a bug, so that you can get some advice on how to detect what might be the problem.

      2
      morph browser turns white spontaneously, a restart is required to get pages loading properly.

      Well. Yes. There are some indications that this might be related to amount of physical RAM available on the phone. Although I do not believe that it is related to memory, since for me just reload of the page normally helps.

      3
      I want to know exactly how long my calls lasted, incoming and outgoing.
      not visible at present

      It is there. In your call history - swipe left call you want to have an info on, tap (i). Or do you mean something else?

      posted in Support
      kwahK
      kwah
    • RE: Migrate data from device to device

      Here is an instruction that worked for me to transfer data from Bq 4.5 to Fairphone 2

      Required:

      • SD-card
      • Both device should have SD-card slot
      • adb tools

      Preliminary Steps

      • Check that your SD-card is accessible on both devices
      • While device is booted and connected to PC, figure out SD-card info needed for accessing it when device is booted into recovery:
        • In adb shell issue mount command
        • Note the device that is mounted to /media/phablet/<...>, example in my case
          <... -removed>
          /dev/mmcblk1p1 on /media/phablet/ubackup type vfat (rw,nosuid,nodev,relatime,uid=32011,gid=32011,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
          
          Note that device /dev/mmcblk1p1 is mounted to /media/phablet/ubackup, which is SD card in my case, expect that last part of /media/phablet/ubackup will be different in your case. Make note of the device name (/dev/mmcblk1p1).

      Backup data to SD card

      1. If not done before: connect phone to PC while adb is running
      2. Reboot phone into recovery: adb reboot recovery
      3. Acquire root: adb root
      4. Activate shell: adb shell
      5. In the root shell (command prompt ends with # sign)
        5.1 Mount SD card with the following command (note that /dev/mmcblk1p1 above becomes /dev/block/mmcblk1p1) :
        mount -t vfat -o flush,utf8 /dev/block/mmcblk1p1 /sdcard
        
        5.2 Backup system-data and user-data partitions (commands below will also create log files, that can be examined for possible errors) :
        tar -czpv -f /sdcard/system-data.tgz /data/system-data/ >/sdcard/system-data.out 2>/sdcard/system-data.err
        
        tar -czpv -f /sdcard/user-data.tgz /data/user-data/ >/sdcard/user-data.out 2>/sdcard/user-data.err
        
        5.3 Check created archives. The commands below should not produce any output:
        tar -xzv -f /sdcard/system-data.tgz >/dev/null
        
        tar -xzv -f /sdcard/user-data.tgz >/dev/null
        
      6. Power down your device (example for adb shell) :
        shutdown -P now
        

      Restore data from the backup on SD card

      For me it was repeat of the sequence from the previous section but with the target device connected. The only difference was in the final step.

      In principle, external card reader device may require different device name in mount command of step 5.1 options. You can check it as indicated in the Preliminary Steps section above.

      Repeat steps 1. ... 5.1 to make SD card accessible.

      1. In the root shell (command prompt ends with # sign)
        5.1 Mount as in the 5.1 above
        5.2 Restore data:
        tar -xzv -f /sdcard/system-data.tgz
        
        tar -xzv -f /sdcard/user-data.tgz
        
      2. Reboot your device
      posted in Support
      kwahK
      kwah
    • RE: [SOLVED] UT Tweak Tool: Scaling -> Restore default... Scales everything to tiny elements ~on FP2~.

      @kugiigi Thank you for explanation. Mystery solved. I left my comments in the issue tracker.

      posted in Support
      kwahK
      kwah